As for your other question, it's answered inside the PHP file...
/* Type the page name in quotes. For multiple pages seperate them with a comma as shown. To have your side bar on all pages delete this entire section (Everything between the top and bottom lines of ~~) (leave the ~~) */
Notice in default.php there are tags "BEGIN LINK" and "END LINK" both of which in case code. Just copy from "BEGIN LINK" with all the code to "END LINK"
For instance, you would be copying:
/* BEGIN LINK */
CODES
/* END LINK */
Once you select all that go down after END LINK a few spaces and paste it, then edit it like you would the first link. You will also add a 2 following both of the "TITLE" and "LINK" texts in the body of your 2nd link. And do the same for your 3rd and 4th links.
This is all explained in the 1.0.2 update
Hope this help, if there are any other q's or issues let me know :) And Again, sorry for the confusing editing :)
Thanks for the clarification Dayne. Wouldn't this create a new title AND a new link? I'm trying to have one "title" with multiple "links" under that one title, kind of like a menu.
Hallelujah! It's a lot simpler to use now Dayne, thanks for taking the time to make the extension AND the how to guide. I didn't even realize how much I needed this until I installed it lol
For other rookies who install this, keep in mind that there is two of "LINK#" that you have to change for each link.
Notice: Undefined variable: Panel in /mnt/w0308/d17/s41/b0277ee6/www/bhangratune/extensions/CustomSideBarLink/default.php on line 20
Fatal error: Call to a member function AddList() on a non-object in /mnt/w0308/d17/s41/b0277ee6/www/bhangratune/extensions/CustomSideBarLink/default.php on line 20
Ok, I understand what's going on. I will try to fix it all in a new update. In the mean time I will show you how to manually turn off the extension.
Step One: Open your FTP program and load your forum. Step Two: Open the folder "conf" Step Three: Download the file "extensions.php" Step Four: Open that file in NotePad or WordPad Step Five: Search for and find this line of code: include($Configuration['EXTENSIONS_PATH']."CustomSideBarLink/default.php"); Step Six: Delete that line entirely, leaving no space. Step Seven: Delete the "CustomSideBarLink" folder from your extensions folder
After all this the extensions has been completely erased and you should now be able to log in.
I will have a fix for this issue in version 1.5.1 coming out shortly.
I'm glad the guide worked for you and im sorry about this minor inconvenience.
Thanks a lot Dayne, I didn't bother disabling the extension because I knew you'd be on top of it.
I'll test 1.5.1 in just a moment, I have a feeling it'll work like a breeze.
And Thanks for all the help! You don't need to apologize for anything, this is generally how the open source development process works :)
the sample works great on firefox but not in IE and I found the glitch in AddListItem with the 12x12 icon:
$Panel->AddListItem($ListName, $Context->GetDefinition("LINK"), $link_to .
"\"
target=\"_blank\"
style=\" padding-left: 27px;
background:url(http://example.com/graphics/icon.jpg)
no-repeat 5px center;\" ");
should that last \" be removed like this:
$Panel->AddListItem($ListName, $Context->GetDefinition("LINK"), $link_to .
"\"
target=\"_blank\"
style=\" padding-left: 27px;
background:url(http://example.com/graphics/icon.jpg)
no-repeat 5px center;");
for every link you want to add.
Hallo. Thanks for providing this extension. However, I'm having trouble making it work. Have latest version, on Vanilla 1.1.5a If I want it to appear on all pages, and comment out
The guide is in the zip file for this add-on. I just downloaded it and read it.
From the guide:
If you want to have your sidebar to show up on every page, you will have to encase this specific line of text in specific brackets: /* if(in_array($Context->SelfUrl, array("page.php", "page.php"))) */
This error now appears at the top of my page: Warning: main(/home/content/c/a/s/cassette/html/vanilla/extensions/custom side bar/default.php) [function.main]: failed to open stream: No such file or directory in /home/content/c/a/s/cassette/html/vanilla/conf/extensions.php on line 5
Warning: main(/home/content/c/a/s/cassette/html/vanilla/extensions/custom side bar/default.php) [function.main]: failed to open stream: No such file or directory in /home/content/c/a/s/cassette/html/vanilla/conf/extensions.php on line 5
Warning: main() [function.include]: Failed opening '/home/content/c/a/s/cassette/html/vanilla/extensions/custom side bar/default.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/content/c/a/s/cassette/html/vanilla/conf/extensions.php on line 5
Warning: main(/home/content/c/a/s/cassette/html/vanilla/extensions/CustomSideBar/default.php) [function.main]: failed to open stream: No such file or directory in /home/content/c/a/s/cassette/html/vanilla/conf/extensions.php on line 6
Warning: main(/home/content/c/a/s/cassette/html/vanilla/extensions/CustomSideBar/default.php) [function.main]: failed to open stream: No such file or directory in /home/content/c/a/s/cassette/html/vanilla/conf/extensions.php on line 6
Warning: main() [function.include]: Failed opening '/home/content/c/a/s/cassette/html/vanilla/extensions/CustomSideBar/default.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/content/c/a/s/cassette/html/vanilla/conf/extensions.php on line 6
even though I erased that incorrect directory (Custom Side Bar and CustomSideBar)
Comments
I took a look at the default.php file in a word editor, but how do I make the link open in the same window as opposed to a new window?
And also, how do I add more than one link?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •target=\"_blankto
target=\"_selfBe careful with the quotes.
As for your other question, it's answered inside the PHP file...
/* Type the page name in quotes. For multiple pages seperate them with a comma as shown. To have your side bar on all pages delete this entire section (Everything between the top and bottom lines of ~~) (leave the ~~) */
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Notice in default.php there are tags "BEGIN LINK" and "END LINK" both of which in case code.
Just copy from "BEGIN LINK" with all the code to "END LINK"
For instance, you would be copying:
/* BEGIN LINK */
CODES
/* END LINK */
Once you select all that go down after END LINK a few spaces and paste it, then edit it like you would the first link. You will also add a 2 following both of the "TITLE" and "LINK" texts in the body of your 2nd link. And do the same for your 3rd and 4th links.
This is all explained in the 1.0.2 update
Hope this help, if there are any other q's or issues let me know :)
And Again, sorry for the confusing editing :)
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •For other rookies who install this, keep in mind that there is two of "LINK#" that you have to change for each link.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Notice: Undefined variable: Panel in /mnt/w0308/d17/s41/b0277ee6/www/bhangratune/extensions/CustomSideBarLink/default.php on line 20
Fatal error: Call to a member function AddList() on a non-object in /mnt/w0308/d17/s41/b0277ee6/www/bhangratune/extensions/CustomSideBarLink/default.php on line 20
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Step One: Open your FTP program and load your forum.
Step Two: Open the folder "conf"
Step Three: Download the file "extensions.php"
Step Four: Open that file in NotePad or WordPad
Step Five: Search for and find this line of code:
include($Configuration['EXTENSIONS_PATH']."CustomSideBarLink/default.php");Step Six: Delete that line entirely, leaving no space.
Step Seven: Delete the "CustomSideBarLink" folder from your extensions folder
After all this the extensions has been completely erased and you should now be able to log in.
I will have a fix for this issue in version 1.5.1 coming out shortly.
I'm glad the guide worked for you and im sorry about this minor inconvenience.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •I can login and logout...Ernesto, uninstall the extension and try doing a fresh install by using the newest version.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Thanks for providing this extension. However, I'm having trouble making it work. Have latest version, on Vanilla 1.1.5a
If I want it to appear on all pages, and comment out
if(in_array($Context->SelfUrl, array("page.php", "page.php")))
then I can't log out, or log in!
Help, please!
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •From the guide:
If you want to have your sidebar to show up on every page, you will have to encase this specific line of
text in specific brackets:
/* if(in_array($Context->SelfUrl, array("page.php", "page.php"))) */
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Warning: main(/home/content/c/a/s/cassette/html/vanilla/extensions/custom side bar/default.php) [function.main]: failed to open stream: No such file or directory in /home/content/c/a/s/cassette/html/vanilla/conf/extensions.php on line 5
Warning: main(/home/content/c/a/s/cassette/html/vanilla/extensions/custom side bar/default.php) [function.main]: failed to open stream: No such file or directory in /home/content/c/a/s/cassette/html/vanilla/conf/extensions.php on line 5
Warning: main() [function.include]: Failed opening '/home/content/c/a/s/cassette/html/vanilla/extensions/custom side bar/default.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/content/c/a/s/cassette/html/vanilla/conf/extensions.php on line 5
Warning: main(/home/content/c/a/s/cassette/html/vanilla/extensions/CustomSideBar/default.php) [function.main]: failed to open stream: No such file or directory in /home/content/c/a/s/cassette/html/vanilla/conf/extensions.php on line 6
Warning: main(/home/content/c/a/s/cassette/html/vanilla/extensions/CustomSideBar/default.php) [function.main]: failed to open stream: No such file or directory in /home/content/c/a/s/cassette/html/vanilla/conf/extensions.php on line 6
Warning: main() [function.include]: Failed opening '/home/content/c/a/s/cassette/html/vanilla/extensions/CustomSideBar/default.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/content/c/a/s/cassette/html/vanilla/conf/extensions.php on line 6
even though I erased that incorrect directory (Custom Side Bar and CustomSideBar)
any ideas?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •You might need to open up conf/extensions.php and make sure there aren't any lines referring to those extensions. Look specifically at lines 5 and 6.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •it worked thank you!!!!
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •