View Full Version : Custom Navbar Links
harmor19
10-20-2005, 10:00 PM
Author: Andrew Harmor
Version: 1.20
File Edits: 0
Template Edits: 1
Difficulty: Easy
Please click https://vborg.vbsupport.ru/ (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=98934)
Description:
Adds a drop down menu on your navbar which contains links you add through the ACP.
################################################## ###############
FAQ
Q: The link doesn't look right on the navbar
A: While on your forums view the source and search for id="navbar_search"
To the right should be "class" (For the default skin the class is "vbmenu_control")
Edit the navbar template
Find:
<td id="custom_links" class="vbmenu_control">
Replace the "class" so it's the same as the search's class.
Let's say you're class is "nav_element" then it should look like this
<td id="custom_links" class="nav_element">
Open the product xml in an editor
Find:
<td class='vbmenu_control'>
Replace with your class.
<td class='nav_element'>
################################################## ###############
To get this to work with CMPS (Thanks To: drl2005)
In your CMPS settings under Portal Output Global Variables place:
custom_droplinks
custom_singlelinks
###########Changelog################
1.00
Initial Release
1.02
All Phrases are now in the product xml
The option to have link open in new window
1.03
Option to add new links on navbar as a stand alone link or in the drop down menu.
1.04
Sort the display order of links in the drop down menu.
1.05
16x16 images can be added to both stand-alone and drop down links
1.06
Templates are now cached
1.07
Fixed bug in product.
Changed the maximum characters for "name" from "20" to "100"
1.20
Usergroup permissions per link
SnowBot
10-21-2005, 12:11 PM
Any screenshots mate?
harmor19
10-21-2005, 12:12 PM
Just posted them, SnowBot
SnowBot
10-21-2005, 12:13 PM
LOL yer i just hit refrsh :) OK mate gonna take a look but this is the sort of thing i have been looking for :)
LOL...dude...this is wonderful.
I think that the navbar should be fed from the admincp instead of a templet....it just makes more sense.
The Realist
10-21-2005, 01:05 PM
Add The Following Phrases to Error Messages
What error mesages
Do you mean to add these new phrases to cp stop messages?
harmor19
10-21-2005, 01:12 PM
Add The Following Phrases to Error Messages
What error mesages
Do you mean to add these new phrases to cp stop messages?
I was looking at "faq.php" and I saw "saved_faq_x_successfully"
I search for it and I got the following results
Error Messages Phrases Containing 'saved_faq_x_successfully'
saved_faq_x_successfully Standard Phrase Saved FAQ <i>{1}</i> Successfully
and that isn't an error message as you can see.
I already tried "cp stop messages" but it didn't work.
The Realist
10-21-2005, 01:19 PM
Same here M8
I was looking at "faq.php" and I saw "saved_faq_x_successfully"
I search for it and I got the following results
Error Messages Phrases Containing 'saved_faq_x_successfully'
saved_faq_x_successfully Standard Phrase Saved FAQ <i>{1}</i> Successfully
and that isn't an error message as you can see.
I already tried "cp stop messages" but it didn't work.
nexialys
10-21-2005, 01:25 PM
suggestion for the tool: - new structure for editing the links:
a: Name of the Link
b: URL of the link
c: TARGET (new window or not)
d: Title for the title tag when hovering
;)
<a href="$url" target="$target" title="$title">$name</a>
harmor19
10-21-2005, 01:29 PM
suggestion for the tool: - new structure for editing the links:
a: Name of the Link
b: URL of the link
c: TARGET (new window or not)
d: Title for the title tag when hovering
;)
<a href="$url" target="$target" title="$title">$name</a>
@c
I'll have to find the function for the radio buttons
@d
do you mean when hovering it shows text in the status bar?
The Realist
10-21-2005, 01:35 PM
The instructions state:
--------------------------------------------------------------
Add The Following Phrases to Error Messages
--------------------------------------------------------------
Varname: custom_link_added
Text: The custom link has successfully been added.
Varname: custom_link_edited
Text: The custom link has successfully been edited
Varname: custom_link_deleted
Text: The custom link has successfully been deleted
The instructions should state the following:
--------------------------------------------------------------
Add The Following Phrases to "Front-End Error Messages" in Phrase Manager > Add New Phrase.
--------------------------------------------------------------
Varname: custom_link_added
Text: The custom link has successfully been added.
Varname: custom_link_edited
Text: The custom link has successfully been edited.
Varname: custom_link_deleted
Text: The custom link has successfully been deleted.
Laters
Cyricx
10-21-2005, 03:51 PM
Should those phrases just add in through the product? :)
Nice hack!! Definately will use this and prolly tweak it abit to handle multiple menus :)
harmor19
10-21-2005, 04:02 PM
Should those phrases just add in through the product? :)
Nice hack!! Definately will use this and prolly tweak it abit to handle multiple menus :)
I don't know how to add phrases automatically but I'll look through some hacks and figure it out.
nexialys
10-21-2005, 04:04 PM
@c
I'll have to find the function for the radio buttons
@d
do you mean when hovering it shows text in the status bar?
the TITLE tag show the information in a popup when you hover the link, like everywhere here... not in the navbar...
for the radio button: something like this: print_yes_no_row($vbphrase['theoptions_text'], 'link[theoptions]', $link['theoptions']);
harmor19
10-21-2005, 04:12 PM
I'm working on the phrases in the product then I'll add that hover thingy.
I already added the "open in new window" option (check the screenshots)
The Realist
10-21-2005, 05:46 PM
Uninstalled due to errors on forum. Will wait until its out of beta.
harmor19
10-21-2005, 05:50 PM
What errors were you recieving?
Has anyone else recieved any errors?
New screenshots added
The Realist
10-21-2005, 06:07 PM
They were database errors but removed hack now so cant recover error text.
yinyang
10-21-2005, 06:36 PM
how many extra queries does this run? (if any)
Cyricx
10-21-2005, 06:41 PM
Just add the phrases and in the product drop down select your product, then when you export your product it'll have it in the xml :)
harmor19
10-21-2005, 06:51 PM
how many extra queries does this run? (if any)
Only one on the board and admin panel
Just add the phrases and in the product drop down select your product, then when you export your product it'll have it in the xml
I looked at another plugin and noticed the <phrasetype> tags.
Phlex
10-21-2005, 07:20 PM
great mod !!
Chris M
10-21-2005, 11:36 PM
The instructions state:
The instructions should state the following:
Laters
Error Messages is in fact the correct name for the phrasegroup - Your's is called Front-End Error Messages because you upgraded from vB 3.0.x and the phrasegroup name has not been altered correctly ;)
Chris
The Realist
10-22-2005, 09:10 AM
Wrong, I was originally using 3.5.0 and installed this hack ands phrases manually because thats how the developer produced the install file.
Then the developer introduced the hack as a plugin so I removed the manual entries and used the new install system and thats when I got the database erors.
Laters
Error Messages is in fact the correct name for the phrasegroup - Your's is called Front-End Error Messages because you upgraded from vB 3.0.x and the phrasegroup name has not been altered correctly ;)
Chris
harmor19
10-22-2005, 11:22 AM
@The Realist
hmmm,
Did you uninstall the product from the product manager then re-upload the xml?
If not please do so and report back with your results.
Chris M
10-22-2005, 02:45 PM
Wrong, I was originally using 3.5.0 and installed this hack ands phrases manually because thats how the developer produced the install file.
Then the developer introduced the hack as a plugin so I removed the manual entries and used the new install system and thats when I got the database erors.
Laters
Has your forum, at any point, been 3.0.x?
A completely fresh installation of vB 3.5.x will name the phrasegroup as "Error Messages", which is what the correct name is - If you have, at any point, used the 3.0.x database to upgrade to the 3.5 BETAs, then that is why your phrasegroup is called "Front-End Error Messages" ;) (Mike Sullivan @ vB.com - http://www.vbulletin.com/forum/showpost.php?p=979806&postcount=3)
Chris
harmor19
10-22-2005, 09:04 PM
I have added the option to have the link as a stand alone or in the drop down menu.
Look at the last screen shot
When trying to import the xml file in "manage product" this happens
MySQL Error : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'Messages = 'a:4:{s:17:\"custom_link_added\";s:44:\"The custom l
Error Number : 1064
Date : Sunday, October 23rd 2005 @ 12:41:57 AM
Referrer : https://xxxxxx-xxxxxx.dk/admincp/plugin.php?do=productadd
UPDATE language SET title = title, phrasegroup_user = 'a:226:{s:21:\"activate_your_account\";s:17:\"Aktiver din konto\";s:15:\"activation_code\";s:15:\"Aktiveringskode\";s:20:\"add_x_to_ignore_list\";s:35:\"Tilf?j %1$s til din \"Ignorer liste\"\";s:23:\"add_x_to_your_buddylist\";s:33:\"Tilf?j %1$s til din \'Buddy Liste\'\";s:22:\"additional_information\";s:28:\"Yderligere brugerinformation\";s:16:\"additional_users\";s:18:\"Yderligere brugere\";s:29:\"administrators_may_send_email\";s:175:\"Engang i mellem vil Forum Admin gerne ha lov til at sende dig E-mail.<br />\r\n <br />\r\n Hvis du ikke ?nsker at modtage E-mail fra Forum Admin, frav?lg denne mulighed.\";s:15:\"aim_screen_name\";s:14:\"AIM Brugernavn\";s:3:\"all\";s:4:\"Alle\";s:27:\"allow_daylight_savings_time\";s:53:\"<br>Ydeligere, kan du indstille til sommertid<br><br>\";s:28:\"allow_members_send_you_email\";s:50:\"Du kan tillade andre brugere at sende dig E-mails.\";s:20:\"allow_vcard_download\";s:21:\"Tillad vCard download\";s:25:\"anyone_free_to_join_group\";s:53:\"Alle har tilladelse til at indg? i denne brugergruppe\";s:30:\"are_you_sure_you_want_to_add_x\";s:26:\"Tilf?j %1$s til din liste?\";s:33:\"are_you_sure_you_want_to_remove_x\";s:25:\"Fjern %1$s fra din liste?\";s:23:\"attachments_posted_by_x\";s:28:\"Vedh?ftninger postet af %1$s\";s:33:\"automatically_detect_dst_settings\";s:28:\"Automatisk indstil sommertid\";s:6:\"avatar\";s:6:\"Avatar\";s:15:\"avatar_category\";s:15:\"Avatar kategori\";s:28:\"avatars_small_graphics_short\";s:90:\"En Avatar, er et lille billede der kan vises sammen med dit brugernavn hvergang du poster.\";s:28:\"basic_editor_simple_text_box\";s:35:\"Simpel Editor - standard tekst boks\";s:10:\"birth_date\";s:10:\"F?dselsdag\";s:8:\"birthday\";s:10:\"F?dselsdag\";s:31:\"board_can_be_shown_any_language\";s:133:\"Vores forum kan ikke overs?tte det egentlige indhold af indl?g, men indstillinger og hj?lpetekster kan bliver vist p? f?lgende sprog.\";s:14:\"board_language\";s:15:\"Forum sprogvalg\";s:10:\"board_skin\";s:12:\"Forum \'Skin\'\";s:30:\"browsing_when_receive_pm_popup\";s:113:\"Hvis du l?ser i forummet og du modtager D-mail, kan du bede om notifikation i form af en popup, om de nye D-mail.\";s:27:\"can_automatically_subscribe\";s:229:\"N?r du laver eller svare p? et nyt indl?g kan du v?lge automatisk at tilf?je det din liste over <a href=\"%1$s\">Abonnerede tr?de</a>.<br><br>\r\nDette giver dig ogs? mulighed for tilsendelse
......... and so on (maybe forever) Please help...
harmor19
10-22-2005, 10:01 PM
I'm sorry I cannot reproduce that error.
Perhaps trying to upload the product again.
Is anybody else recieving and such error?
Tried to uninstall and reupload files, with exact same result :o
BTW in the control panel, it displays strange, text is missing
In "Add" no text are displayed
In modify/delete it only displays this
test [] [] [Drop]
[] [] [Single]
[] [] [Single]
[] [] [Single]
(links I've tried make)
- the button, "extras" in navbar is existant and displays at drop-down, named "extras"
Any help would be much appreciated.
TIA
gael11
10-23-2005, 08:25 AM
Hello, I have succesfull install this hack, but I have a small problem. I don't know how to tell it so look at the screen:
https://vborg.vbsupport.ru/
I'd want to align the drop menu below the menu title.
Thanks.
Gizmo5h1t3
10-23-2005, 02:01 PM
just thought id add that the templates for this are showing as uncached....
apart from that, quality piece of kit m8!!
gael11
10-23-2005, 02:10 PM
just thought id add that the templates for this are showing as uncached....
apart from that, quality piece of kit m8!!
what do you mean ? I don't understand :speechless:
harmor19
10-23-2005, 09:35 PM
Hello, I have succesfull install this hack, but I have a small problem. I don't know how to tell it so look at the screen:
http://www.image-dream.com/up/1130059865-screen.jpg
I'd want to align the drop menu below the menu title.
Thanks.
I'm sorry but I'm not good with html and tables to help you with your problem.
again I apologize.
aflax045
10-23-2005, 09:55 PM
Error when importing the .xml:
Database error in vBulletin 3.5.0:
Invalid SQL:
Blah Blah Blah
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Messages = 'a:4:{s:17:\"custom_link_added\";s:44:\"The custom link has successfu' at line 1
Error Number : 1064
harmor19
10-23-2005, 10:12 PM
Error when importing the .xml:
Database error in vBulletin 3.5.0:
Invalid SQL:
Blah Blah Blah
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Messages = 'a:4:{s:17:\"custom_link_added\";s:44:\"The custom link has successfu' at line 1
Error Number : 1064
Looks like there's a problem with the phrases.
It's weird it doesn't work for some but works for others.
I'm new to coding vbulletin so I'll ask an advanced coder about it.
harmor19
10-23-2005, 11:57 PM
I may have a solution
Open "product-custom_links.xml" in an editor
Find:
<phrasetype name="Error Messages" fieldname="Error Messages">
Replace With:
<phrasetype name="Front-End Error Messages" fieldname="Front-End Error Messages">
If this works I'll make another xml for people receiving that error.
aflax045
10-24-2005, 12:02 AM
I may have a solution
Open "product-custom_links.xml" in an editor
Find:
<phrasetype name="Error Messages" fieldname="Error Messages">
Replace With:
<phrasetype name="Front-End Error Messages" fieldname="Front-End Error Messages">
If this works I'll make another xml for people receiving that error.
Worked great. Thanks man.
aflax045
10-24-2005, 12:06 AM
Another problem:
The "Open link in new window" option doesn't seem to work. Whatever I select, it always opens in a new window. Thoughts?
harmor19
10-24-2005, 12:06 AM
I'm glad to hear it.
I'll make the xml and send out updates.
About the new window problem
I've been editing, re-editing so I probably messed it up.
I'll see what the problem is.
nine45
10-24-2005, 12:09 AM
Another problem:
The "Open link in new window" option doesn't seem to work. Whatever I select, it always opens in a new window. Thoughts?
Same problem here
aflax045
10-24-2005, 12:11 AM
Aside from the minor bugs. This is a great add-on. It makes adding links to the navbar idiot-proof.
harmor19
10-24-2005, 12:35 AM
About the links opening in new window.
I have fixed the problem
Redownload the zip and re-upload the xml product.
@aflax045:
Make sure you upload "product-custom_links(front-end_error_messages.xml"
eNforce
10-24-2005, 12:39 AM
I get this error when uploading the product xml
MySQL Error : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'Messages = 'a:4:{s:17:\"custom_link_added\";s:44:\"The custom l
Error Number : 1064
Date : Sunday, October 23rd 2005 @ 08:36:36 PM
Script : http://www.***.com/admincp/plugin.php
Referrer : http://www.***.com/admincp/plugin.php?do=productadd
IP Address : 137.186.156.***
Username : Brad
Classname : vB_Database
harmor19
10-24-2005, 12:45 AM
I get this error when uploading the product xml
MySQL Error : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'Messages = 'a:4:{s:17:\"custom_link_added\";s:44:\"The custom l
Error Number : 1064
Date : Sunday, October 23rd 2005 @ 08:36:36 PM
Script : http://www.***.com/admincp/plugin.php
Referrer : http://www.***.com/admincp/plugin.php?do=productadd
IP Address : 137.186.156.***
Username : Brad
Classname : vB_Database
Try the solution on post# 37.
aflax045
10-24-2005, 12:54 AM
Both problems fixed. Great :)
eNforce
10-24-2005, 12:54 AM
That worked, sorry for not reading.. I'm impatient and I was really really looking forward to a mod like this :D
Good work, this is awesome!
harmor19
10-24-2005, 12:59 AM
@eNforce & aflax045
I'm glad to hear it.
I'll wait a couple more days and if no one reports any errors I'll take it out of beta.
eNforce
10-24-2005, 01:01 AM
A nice feature would be to be able to sort the order of the links in the drop down menu, like you would your forums and categories. ;)
Edit: When adding a link with too much text the drop down menu does not expand in width.
Edit 2: How about an option to add categories in the drop down menu? lol I have too many ideas i'll shutup now.
harmor19
10-24-2005, 01:12 AM
A nice feature would be to be able to sort the order of the links in the drop down menu, like you would your forums and categories. ;)
Edit: When adding a link with too much text the drop down menu does not expand in width.
Edit 2: How about an option to add categories in the drop down menu? lol I have too many ideas i'll shutup now.
1. I'll add the ability to sort the links in the drop down menu
2. it exapands for me (check the screen shot below)
3. I'll see how to make categories then I'll implement into my script.
Don't shut up, the more ideas the better.
G_Gekko
10-24-2005, 01:31 AM
Nice work
Just one question. How do i change the name of the dropdown menu from "Extras" to something else?
harmor19
10-24-2005, 01:34 AM
Nice work
Just one question. How do i change the name of the dropdown menu from "Extras" to something else?
crap, I forgot to add that in the phrases.
open navbar and find "Extras"
just replace it with whatever you want
harmor19
10-24-2005, 02:20 AM
A nice feature would be to be able to sort the order of the links in the drop down menu, like you would your forums and categories. ;)
Edit: When adding a link with too much text the drop down menu does not expand in width.
Edit 2: How about an option to add categories in the drop down menu? lol I have too many ideas i'll shutup now.
I'd already got the sort feature coded.
I can make categories manually but I don't know how to go about making them automatically.
I'll brainstorm and see if something comes to mind, if not then I'll upload the files.
G_Gekko
10-24-2005, 02:22 AM
Thanks
That solves the problem with the name in the Nav bar put it still has Extras in first position in the drop down menu.
harmor19
10-24-2005, 02:28 AM
Thanks
That solves the problem with the name in the Nav bar put it still has Extras in first position in the drop down menu.
sorry pal,
look for "Extras" again. (there's two instances of the word.)
G_Gekko
10-24-2005, 02:32 AM
I am the one that should sorry. I looked for another Extras but was blind ;-)
I appriciate if you provide the information on how to create categories manually if you fail to find a way to do it from the adminCP.
Regards and thanks for a great hack
twitch
10-24-2005, 02:52 AM
very cool extension
harmor19
10-24-2005, 07:08 AM
You can now sort the display order in the drop down menu.
New screen shots posted
I still cannot figure out how I would do categories with mysql.
I was so close but I couldn't get it.
TygerTyger
10-24-2005, 02:46 PM
Hm... I have this in the forum itself error (with either version of the XML) after uploading:
Database error in vBulletin 3.5.0:
Invalid SQL:
SELECT * FROM vb_custom_singlelinks WHERE linkid ORDER BY number ASC;
MySQL Error : Unknown column 'number' in 'order clause'
Error Number : 1054
Date : Monday, October 24th 2005 @ 04:39:30 PM
Script : http://www.xxx.co.uk/index.php
Referrer : http://www.xxx.co.uk/showthread.php?t=90
IP Address : Bzzt.
Username : TygerTyger
Classname : vb_database
and this error in the Product Manager itself when uploading:
MySQL Error : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the
right syntax to use near '-End Error Mess = 'a:4:{s:17:\"custom_link_added\";s:44:\"The c
Error Number : 1064
Date : Monday, October 24th 2005 @ 04:39:23 PM
Script : http://www.xxxr.co.uk/admincp/plugin.php
Referrer : http://www.xxx.co.uk/admincp/plugin.php?do=productadd
IP Address : Bzzt.
Username : TygerTyger
Classname : vb_database
I also have the vbFavorites mod installed, which adds to the navbar as well in case that is relevant.
harmor19
10-24-2005, 03:12 PM
Re-download the zip and replace "admin_custom_links.php" and import the product. xml.
TygerTyger
10-24-2005, 03:29 PM
No dice I'm afraid, same again.
harmor19
10-24-2005, 03:37 PM
I'm so tired so forgive me.
I'm looking for it.
TygerTyger
10-24-2005, 03:40 PM
Do you not want the attachment then?
No worries mate, any and all help is appreciated. If it doesn't work it doesn't work, I'll live.
harmor19
10-24-2005, 03:43 PM
Do you not want the attachment then?
No worries mate, any and all help is appreciated. If it doesn't work it doesn't work, I'll live.
I don't even know why I asked for it.
re-download the zip and just re-import the product.
TygerTyger
10-24-2005, 03:54 PM
Success! After the 10th-odd redownload and import or so it worked. Did you change anything or was that just weird.
harmor19
10-24-2005, 04:03 PM
Success! After the 10th-odd redownload and import or so it worked. Did you change anything or was that just weird.
I had to change something I overlooked.
TygerTyger
10-24-2005, 04:05 PM
Oh well done, thank you. I have some more bad news though (sorry), the drop-down menu does not display added links. Standalone links display correctly. It just has the title Extras in the dropdown menu and then nothing. Not even a blank space.
harmor19
10-24-2005, 04:11 PM
Open the product xml
Find & Remove:
$vbulletin->templatecache['custom_droplinks'] = str_replace('$custom_droplinks', '$custom_droplinks Testing', $vbulletin->templatecache['custom_droplinks']);
Re-import the xml using overwrite.
I was trying something while I was helping and forgot to remove it.
TygerTyger
10-24-2005, 04:15 PM
Heh, no problem. Now working perfectly, thanks for the prompt help.
b6gm6n
10-24-2005, 09:42 PM
Is there a way to catorgarize links with seperators? ...
If you entered some text for the cat heading but didn't enter a link then the seperator would appear! - sound good?
-b6
TygerTyger
10-24-2005, 09:47 PM
There's on more minor bug, if you set the links to open in a new window, they only do so if you click on the link itself in the drop-down menu. Clicking the link background opens the link in the same window.
harmor19
10-24-2005, 10:27 PM
Are yuou saying that links that are not in the drop down menu opens in a new window regardless of what setting you put them?
harmor19
10-24-2005, 10:28 PM
Is there a way to catorgarize links with seperators? ...
If you entered some text for the cat heading but didn't enter a link then the seperator would appear! - sound good?
-b6
you'll have to do it manually.
I'll make a tutorial that will show you how soon
harmor19
10-25-2005, 01:55 AM
I have taken this hack out of beta.
Hopefully more people will check it out now.
Rhoads
10-25-2005, 07:04 AM
Thnx harmor19, working perfectly.
Only in my CMPS it's not working, maby you have a fix for that :)
Edit: fixed, see below
TygerTyger
10-25-2005, 07:12 AM
Are yuou saying that links that are not in the drop down menu opens in a new window regardless of what setting you put them?
No, sorry mate. It's working perfectly, except if you click on the link background (the table cell bit that changes colour) it opens the link in the same window, even if it's set for a new window. If you click on the link text itself, it opens in a new window as it should. Very minor, really.
Something else which I believe might have been mentioned, but possibly not...I'm running the Microstats plugin and it is displaying this information:
(1 queries for uncached templates)
Uncached templates: custom_droplinks (1)
No clue if that's right or wrong or what, just FYI.
And I have a small suggestion in case you were interested, would be really nice to be able to specify a 16x16 icon to go with a link you have added as an option.
Thanks for the Extension again, really great stuff.
Rhoads
10-25-2005, 07:22 AM
Oke I have already found a solution to work with CMPS.
In your CMPS settings under Portal Output Global Variables place:
custom_droplinks
custom_singlelinks
Now it's working with CMPS
harmor19
10-25-2005, 07:38 AM
No, sorry mate. It's working perfectly, except if you click on the link background (the table cell bit that changes colour) it opens the link in the same window, even if it's set for a new window. If you click on the link text itself, it opens in a new window as it should. Very minor, really.
I see what you mean, I don't know how to fix it.
And I have a small suggestion in case you were interested, would be really nice to be able to specify a 16x16 icon to go with a link you have added as an option.
I'll think about it.
harmor19
10-25-2005, 08:05 AM
Oke I have already found a solution to work with CMPS.
In your CMPS settings under Portal Output Global Variables place:
custom_droplinks
custom_singlelinks
Now it's working with CMPS
I posted the solution on that hack info thingy at the top.
Neutral Singh
10-25-2005, 08:36 AM
This is what i have been looking for, for a long long time, should be standard in vBulletin. Where can i edit the formatting of stand alone links? Thanks
harmor19
10-25-2005, 08:43 AM
what do you mean by "formatting"?
Neutral Singh
10-25-2005, 08:48 AM
Adding user permissions to the buttons would make it even more powerful.
harmor19
10-25-2005, 08:52 AM
I think adding user permissions to buttons would it even more powerful.
That would be great.
I'll see what I can do.
Neutral Singh
10-25-2005, 09:36 AM
by formatting i meant changing the look and feel of the link generated as the link presently generated is good for default skin only.
SnowBot
10-25-2005, 10:12 AM
by formatting i meant changing the look and feel of the link generated as the link presently generated is good for default skin only.
On custom skins the button does not look right, see screenshot
Also when editing a link the button says "Edit" Shouldnt that button say "Save"? One last thing maybe useful, when editing a link their is no option to change it from a stand alone to a dropdown link.
harmor19
10-25-2005, 02:52 PM
On custom skins the button does not look right, see screenshot
Also when editing a link the button says "Edit" Shouldnt that button say "Save"? One last thing maybe useful, when editing a link their is no option to change it from a stand alone to a dropdown link.
Edit the navbar template
Find:
<td id="custom_links" class="vbmenu_control">
Replace with
<td id="custom_links" class="element_control_nav">
Open the xml in an editor.
Find:
<td class='vbmenu_control'>
Replace with
<td class='element_control_nav'>
Parture
10-25-2005, 07:54 PM
How do you know if you have front end error messages?
harmor19
10-25-2005, 07:59 PM
How do you know if you have front end error messages?
Go into the phrase manager
In the Drop Down Menu Look For "Front-End Error Messages" if you see it then you have it.
SnowBot
10-25-2005, 08:18 PM
Edit the navbar template
Find:
<td id="custom_links" class="vbmenu_control">
Replace with
<td id="custom_links" class="element_control_nav">
Open the xml in an editor.
Find:
<td class='vbmenu_control'>
Replace with
<td class='element_control_nav'>
Worked like a charm Sir :) appreciated mate!
harmor19
10-26-2005, 04:53 PM
I'm glad to hear it.
I want to add more to this so I'll take the suggestion and have the admin choose a 16x16 image to place by the image.
NxTek
10-26-2005, 05:13 PM
Open the product xml
Find & Remove:
$vbulletin->templatecache['custom_droplinks'] = str_replace('$custom_droplinks', '$custom_droplinks Testing', $vbulletin->templatecache['custom_droplinks']);
Re-import the xml using overwrite.
This doesn't exist. Here is my product xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<product productid="custom_links-Harmor19" active="1">
<title>Custom Links</title>
<description>Add custom links in a drop down box on the navbar</description>
<version>1.0.0</version>
<codes>
<code version="1.0.0">
<installcode><![CDATA[
$db->query_write("CREATE TABLE `" . TABLE_PREFIX . "custom_droplinks` (
`linkid` mediumint(10) unsigned NOT NULL auto_increment,
`url` varchar(120) NOT NULL default '',
`name` varchar(20) NOT NULL default '',
`new_window` tinyint(2) NOT NULL default '',
`alt` varchar(60) NOT NULL default '',
`number` int(20) NOT NULL default '',
PRIMARY KEY (`linkid`)
);");
$db->query_write("CREATE TABLE `" . TABLE_PREFIX . "custom_singlelinks` (
`linkid` mediumint(10) unsigned NOT NULL auto_increment,
`url` varchar(120) NOT NULL default '',
`name` varchar(20) NOT NULL default '',
`new_window` tinyint(2) NOT NULL default '',
`alt` varchar(60) NOT NULL default '',
PRIMARY KEY (`linkid`)
);");
$db->show_errors();]]></installcode>
<uninstallcode><![CDATA[$db->hide_errors();
$db->query_write("DROP TABLE `" . TABLE_PREFIX . "custom_droplinks`;");
$db->query_write("DROP TABLE `" . TABLE_PREFIX . "custom_singlelinks`;");
$db->show_errors();]]></uninstallcode>
</code>
</codes>
<templates>
<template name="custom_droplinks" templatetype="template" date="1128881080" username="harmor19" version="3.5.0"><![CDATA[$custom_droplinks
]]></template>
<template name="custom_singlelinks" templatetype="template" date="1128881080" username="harmor19" version="3.5.0"><![CDATA[$custom_singlelinks
]]></template>
</templates>
<plugins>
<plugin active="1">
<title>Custom Links</title>
<hookname>global_start</hookname>
<phpcode><![CDATA[
$getdroplinks = $db->query_read("SELECT * FROM " . TABLE_PREFIX . "custom_droplinks WHERE linkid ORDER BY number ASC");
while($dlink = $db->fetch_array($getdroplinks))
{
if($dlink['new_window'] == 1)
{
$new = "_blank";
}
else
{
$new = "";
}
$custom_droplinks .= "<tr><td class='vbmenu_option'><a href='".$dlink['url']."' target='$new' title='".$dlink['alt']."'>".$dlink['name']."</a></td></tr>";
eval('$custom_droplinks = "' . fetch_template('custom_droplinks') . '";');
}
$getsinglelinks = $db->query_read("SELECT * FROM " . TABLE_PREFIX . "custom_singlelinks WHERE linkid");
while($slink = $db->fetch_array($getsinglelinks))
{
if($slink['new_window'] == 1)
{
$new = "_blank";
}
else
{
$new = "";
}
$custom_singlelinks .= "<td class='vbmenu_control'><a href='".$slink['url']."' target='$new' title='".$slink['alt']."'>".$slink['name']."</a></td>";
eval('$custom_singlelinks = "' . fetch_template('custom_singlelinks') . '";');
}
]]></phpcode>
</plugin>
</plugins>
<phrases>
<phrasetype name="Error Messages" fieldname="Error Messages">
<phrase name="custom_link_added"><![CDATA[The custom link has successfully been added.]]></phrase>
<phrase name="custom_link_edited"><![CDATA[The custom link has successfully been added.]]></phrase>
<phrase name="ruleshack_add_rule_text"><![CDATA[The custom link has successfully been edited]]></phrase>
<phrase name="custom_link_deleted"><![CDATA[The custom link has successfully been deleted]]></phrase>
</phrasetype>
<phrasetype name="GLOBAL" fieldname="global">
<phrase name="custom_links_link"><![CDATA[Extras]]></phrase>
</phrasetype>
<phrasetype name="Control Panel Global" fieldname="Control Panel Global">
<phrase name="cl_add_link"><![CDATA[Add Drop Link]]></phrase>
<phrase name="cl_single_link"><![CDATA[Add Stand Alone Link]]></phrase>
<phrase name="stand_alone"><![CDATA[Stand Alone]]></phrase>
<phrase name="drop"><![CDATA[Drop]]></phrase>
<phrase name="cl_add_custom_link"><![CDATA[Add Custom Link]]></phrase>
<phrase name="cl_hover_text"><![CDATA[Hover Text]]></phrase>
<phrase name="cl_name"><![CDATA[Name]]></phrase>
<phrase name="cl_url"><![CDATA[URL]]></phrase>
<phrase name="display_number"><![CDATA[Display No.]]></phrase>
<phrase name="display_number_message"><![CDATA[(Only applies in drop down menu)]]></phrase>
<phrase name="cl_new_window"><![CDATA[Open In New Window]]></phrase>
<phrase name="cl_add_button"><![CDATA[Add]]></phrase>
<phrase name="cl_edit_link"><![CDATA[Edit Link]]></phrase>
<phrase name="cl_edit_link"><![CDATA[Edit Link]]></phrase>
<phrase name="cl_edit_custom_link"><![CDATA[Edit Custom Link]]></phrase>
<phrase name="cl_edit_button"><![CDATA[Edit]]></phrase>
<phrase name="cl_delete_confirm"><![CDATA[Are You Sure You Want to Delete This Link?]]></phrase>
<phrase name="cl_delete_button"><![CDATA[Delete]]></phrase>
<phrase name="cl_edit_delete_message"><![CDATA[Edit / Delete a Custom Link]]></phrase>
</phrasetype>
</phrases>
<options>
</options>
</product>
hendri
10-27-2005, 12:04 AM
installed thanks !
twitch
10-27-2005, 10:56 PM
I am not seeing any menu to change the order of the links and I don't understand what difference its supposed to make for setting the link as a standalone or drop down only. I tried setting them both ways and didn't notice anything different. Also, how would I go about changing the title of the drop down box from "extras" to "links"
Thanks for this extension, very cool idea!
harmor19
10-28-2005, 12:11 AM
@NxTek
It's not there because I removed it and re-uploaded te file.
Just upload the xml as is.
@twitch
If you have recently downloaded my hack search for "Extras" in the phrase manager.
If it's not there open the "navbar" template and look for "Extras" (it's in there twice).
harmor19
10-28-2005, 12:19 AM
I am not seeing any menu to change the order of the links and I don't understand what difference its supposed to make for setting the link as a standalone or drop down only. I tried setting them both ways and didn't notice anything different. Also, how would I go about changing the title of the drop down box from "extras" to "links"
Thanks for this extension, very cool idea!
Setting it as a stand alone will put a link on the navbar, the other will put the link in the drop down box.
twitch
10-28-2005, 01:07 AM
Setting it as a stand alone will put a link on the navbar, the other will put the link in the drop down box.
doesn't matter what I set it, its always in the drop down box. And I can't find the place to sort the order the links are in.
harmor19
10-28-2005, 01:17 AM
doesn't matter what I set it, its always in the drop down box. And I can't find the place to sort the order the links are in.
Does your the "Custom Links" page in the ACP look like this?
https://vborg.vbsupport.ru/attachment.php?attachmentid=36414
If not then redownload the zip and just overwrite the product and replace the file that goes in the admincp directory.
b6gm6n
10-28-2005, 02:32 PM
Hey harmor19, could i be a pain and give you a reminder about those features missing from this great mod....icons, seperators etc ;)
-b6
TygerTyger
10-28-2005, 02:52 PM
Hey harmor19, could i be a pain and give you a reminder about those features missing from this great mod....icons, seperators etc ;)
-b6
Patience Padwan ;) it's only just been released. I'd say the lack of caching the templates was more important than icons, personally. I'm itching to get rid of the bright red message microstats is giving me :nervous:
harmor19
10-28-2005, 07:36 PM
Hey harmor19, could i be a pain and give you a reminder about those features missing from this great mod....icons, seperators etc ;)
-b6
Sorry, I am currently working on ecards for my site.
The ecards use php. Iuse a form where you type some stuff and it appears on the image.
I am also working on my testimonial mod and some ajax thingy.
@TygerTyger
I fix it sometime today.
twitch
10-28-2005, 08:23 PM
Does your the "Custom Links" page in the ACP look like this?
https://vborg.vbsupport.ru/attachment.php?attachmentid=36414
If not then redownload the zip and just overwrite the product and replace the file that goes in the admincp directory.
Thanks, that fixed it
harmor19
10-28-2005, 08:28 PM
Thanks, that fixed it
I'm glad to hear it.
Come one people I want to get HOTM award.
Andyrew
10-28-2005, 08:45 PM
Ive installed this but don't see anything in my admin cp to add links.????
TygerTyger
10-28-2005, 08:48 PM
It's underneath Announcements and Forums and Moderators in the main menu frame.
Andyrew
10-28-2005, 09:01 PM
It's underneath Announcements and Forums and Moderators in the main menu frame.
Working now, stupid me uploaded into the includes folder and should have been includes/xml :o
b6gm6n
10-28-2005, 10:50 PM
Come one people I want to get HOTM award.
For this hack? well adding icons, user perms & seperators may ensure you of that! - seems like you quite busy though.
-b6
harmor19
10-29-2005, 08:50 AM
I don't know to go about making user permissions and the icon will be easy but that's second on my list after I get my new hack working properly.
Andyrew
10-29-2005, 12:43 PM
It cannot use more than 20 caracters when adding a name. ?? try putting the alphabet in. :ermm:
harmor19
10-29-2005, 04:20 PM
It cannot use more than 20 caracters when adding a name. ?? try putting the alphabet in. :ermm:
I'll fix that now
Andyrew
10-29-2005, 05:43 PM
I'll fix that now
Thanks worked great :banana:
Cyricx
11-02-2005, 08:37 PM
Man this would be so awesome if you could use it to build multiple dropdown windows. :)
SilentNoise
11-02-2005, 09:24 PM
I modded the Navbar link to say Member Sites instead of Extras just to specify it more to my needs.
Thanks for the add-on.
harmor19
11-03-2005, 08:48 PM
Man this would be so awesome if you could use it to build multiple dropdown windows. :)
I want to do that and I want to give the user the ability to add categories per drop down.
b6gm6n
11-07-2005, 10:28 PM
I cant wait for these new options, any update on progress? :)
-b6
KrisJacobs
11-18-2005, 10:09 PM
OK this is darn near exactly what I'm trying to do - BUT! :)
I want to make my navbar "Calendar" link a custom drop down / pop up menu, populated exactly how the Calendar Jump menu is populated.
Calendar Jump code from the calendarjump template:
<form action="calendar.php" method="get">
<div class="smallfont" style="text-align:$stylevar[left]; white-space:nowrap">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="month" value="$month" />
<input type="hidden" name="year" value="$year" />
<input type="hidden" name="do" value="$docalendar" />
<strong>$vbphrase[calendar_jump]</strong><br />
<select name="c" onchange="this.form.submit();">
<optgroup label="$vbphrase[please_select_one]">
$jumpcalendarbits
</optgroup>
</select>$gobutton
</div>
</form>
and here is the code from the calendarjumpbit template:
<form action="calendar.php" method="get">
<div class="smallfont" style="text-align:$stylevar[left]; white-space:nowrap">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="month" value="$month" />
<input type="hidden" name="year" value="$year" />
<input type="hidden" name="do" value="$docalendar" />
<strong>$vbphrase[calendar_jump]</strong><br />
<select name="c" onchange="this.form.submit();">
<optgroup label="$vbphrase[please_select_one]">
$jumpcalendarbits
</optgroup>
</select>$gobutton
</div>
</form>
Thanks!
TygerTyger
11-19-2005, 07:59 AM
And don't forget the template needs caching still :P
Chadi
11-21-2005, 09:05 PM
Any way to add sorting capability? I wish to sort everything alphabetically but unfortunately no option for that :)
johon
11-22-2005, 07:09 AM
Too bad, installation always causes SQL-Errors
Invalid SQL:
UPDATE vb3_language SET title = title, phrasegroup_global = 'a:529:{s:9:\"1_day_ago\"........
Product works, but no text in descriptions and buttons in ACP and after this installation, no other installation of a product works any more.
It's a german vBulletin 3.5.1, but also the translated version doesn't work.
I'm so sorry I have to uninstall because it was just the thing i have looked for :disappointed:
Greetz
Jo
Chadi
12-01-2005, 10:34 PM
any way to add this to forumhome instead? I'm trying to implement in a vertical navbar on my right side column in forumhome
https://vborg.vbsupport.ru/showthread.php?s=&threadid=99318
Ramsesx
12-09-2005, 02:21 AM
I love it, thank you harmor19
Installed on 3.5.2 and it works great, thank you
Ramsesx
12-11-2005, 04:56 AM
It would be perfect if would possible to add a phrase as linkname.
suryoyena
12-12-2005, 02:45 AM
Hey,
do you think it's possible to modify this (great) hack, that my
user can organize theirown custom links? it would be more than great.
chris
don't forget: no h?tchen, no spiel :D
b6gm6n
12-12-2005, 05:21 PM
icons...permissions! :) where are they?...haha joking...no hassle! :)
-b6
Firestar.chkn
12-21-2005, 06:44 PM
Hi Harmor19,
I've got a problem simular to the one below.
I may have a solution
Open "product-custom_links.xml" in an editor
Find:
<phrasetype name="Error Messages" fieldname="Error Messages">
Replace With:
<phrasetype name="Front-End Error Messages" fieldname="Front-End Error Messages">
If this works I'll make another xml for people receiving that error.
After installing your normal xml (not the front page error messages one), I got this error. I then tried uninstalling it, but couldn't. I tried reinstalling and uninstalling a couple of times, with no results. When trying to uninstall, I just cannot. The button doesn't do anything. I select uninstall in the product screen from the dropdown list, but the "go" button doesn't actually do anything when I click it.
Now, I do have a couple of other hacks installed, and I wonder if that didn't mess around a bit, but I need to know how to get rid of this thing now. The problem is that I cannot install or uninstall anything else now. It's completely broken.
If you need anything to try and help out, I'd be more than happy to give you an admin username and password to my server, to have a look around, if that'll help.
Please, I am despirate. I need to get rid of this and get my server stable again, and be able to install and uninstall other hacks again.
Thanks for your help.
Firestar.
harmor19
12-30-2005, 02:51 PM
any way to add this to forumhome instead? I'm trying to implement in a vertical navbar on my right side column in forumhome
https://vborg.vbsupport.ru/showthread.php?s=&threadid=99318
I guess you take the code that I have you put in the navbar and just put it into the side bar.
@Firestar.chkn
I'm sorry but I have the slightest idea what the problem could be.
As for the stuff I said I was going to add, I was really busy and never got around to do it.
If anyone wants they can make add-on hacks.
harmor19
12-30-2005, 03:04 PM
How would I do the template caching?
vonedaddy
12-30-2005, 11:00 PM
Is there a way I can add 2 of these? I have one working and I love it!
YOimYO
12-31-2005, 02:28 AM
Where can i edit the settings of what this does ? I would like the new buttons to be created below. not beside the word extras.
thx :)
works nicely btw with 3.5.0 gold :D
harmor19
12-31-2005, 08:23 AM
Is there a way I can add 2 of these? I have one working and I love it!
I'm glad you like my hack.
Well I lost my site that I did my hacks on so I can't help, sorry.
I guess I'll have to set up one of those home servers.
Where can i edit the settings of what this does ? I would like the new buttons to be created below. not beside the word extras.
I'm affraid not, sorry.
harmor19
12-31-2005, 03:06 PM
I have finally upgraded my hack.
16x16 images can be added to both stand-alone and drop down links.
Download the zip file, extract, browse to "upgrades" and follow the text file.
b6gm6n
12-31-2005, 03:11 PM
I have finally upgraded my hack.
16x16 images can be added to both stand-alone and drop down links.
Download the zip file, extract browse to "upgrades" and follow the text file.
very nice, exellent work!
-b6
I can easily add a "Stand alone" link, but when i am adding a drop down link, this is what happens! :surprised:
Database error in vBulletin 3.5.1:
Invalid SQL:
INSERT INTO custom_droplinks
(
url,
name,
new_window,
alt,
number,
image
) VALUES (
'http://www.test.org',
'test.org Site',
'',
'Official Site',
'',
''
);
MySQL Error : Unknown column 'image' in 'field list'
Error Number : 1054
Date : Tuesday, January 3rd 2006 @ 12:53:41 AM
Script : http://www.****.org/forum/admincp/admin_custom_links.php
Referrer : http://www.****.org/forum/admincp/admin_custom_links.php?do=add
IP Address : ********
Username : ****
Classname : vb_database
YOimYO
01-03-2006, 03:55 AM
updated with 3.5.0 Gold with no probs ;)
harmor19
01-03-2006, 04:26 AM
I can easily add a "Stand alone" link, but when i am adding a drop down link, this is what happens! :surprised:
Database error in vBulletin 3.5.1:
Invalid SQL:
INSERT INTO custom_droplinks
(
url,
name,
new_window,
alt,
number,
image
) VALUES (
'http://www.test.org',
'test.org Site',
'',
'Official Site',
'',
''
);
MySQL Error : Unknown column 'image' in 'field list'
Error Number : 1054
Date : Tuesday, January 3rd 2006 @ 12:53:41 AM
Script : http://www.****.org/forum/admincp/admin_custom_links.php
Referrer : http://www.****.org/forum/admincp/admin_custom_links.php?do=add
IP Address : ********
Username : ****
Classname : vb_database
I'm sorry about that
Run this query in your ACP
ALTER TABLE custom_droplinks ADD vb_image varchar(60) DEFAULT '0' NOT NULL;
Change the prefix "vb_" to the prefix you're vbulletin is using.
If that doesn't work re-download the product, uninstall your current one and upload the newly downloaded one.
YOimYO
01-03-2006, 09:17 AM
ok. I upgraded last night. I went in to add a photo ( smilie ) as the pic.
but i get this error on submit. Now i cannot customize my links at all. no matter what changes i do. I stull get the same error :P
any suggestions ?
Database error in vBulletin 3.5.0:
Invalid SQL:
UPDATE custom_droplinks
SET url = 'http://www.******.com/Treasure/online.php',
name = 'Who\'s Online',
new_window = '1',
alt = 'Who is Visiting the board Right now',
number = '0',
image = '0',
WHERE linkid = 4;
MySQL Error : You have an error in your SQL syntax near 'WHERE linkid = 4
' at line 9
Error Number : 1064
Date : Tuesday, January 3rd 2006 @ 06:15:54 AM
Script : http://www.******.com/Treasure/admincp/admin_custom_links.php
Referrer : http://www.******.com/Treasure/admincp/admin_custom_links.php?do=edit&linkid=4
IP Address : **.64.**.194
Username : ******
Classname : vb_database
thx
LockeAG
01-03-2006, 08:27 PM
ok. I upgraded last night. I went in to add a photo ( smilie ) as the pic.
but i get this error on submit. Now i cannot customize my links at all. no matter what changes i do. I stull get the same error :P
any suggestions ?
Database error in vBulletin 3.5.0:
Invalid SQL:
UPDATE custom_droplinks
SET url = 'http://www.******.com/Treasure/online.php',
name = 'Who\'s Online',
new_window = '1',
alt = 'Who is Visiting the board Right now',
number = '0',
image = '0',
WHERE linkid = 4;
MySQL Error : You have an error in your SQL syntax near 'WHERE linkid = 4
' at line 9
Error Number : 1064
Date : Tuesday, January 3rd 2006 @ 06:15:54 AM
Script : http://www.******.com/Treasure/admincp/admin_custom_links.php
Referrer : http://www.******.com/Treasure/admincp/admin_custom_links.php?do=edit&linkid=4
IP Address : **.64.**.194
Username : ******
Classname : vb_database
thx
Same Problem... but its weird, 'cos when I apply the quarry the problem began.
harmor19
01-03-2006, 08:35 PM
I'm sorry again, hopefully people will install this hack despite my mistakes.
@YOimYO and LockeAG
Re-download the zip and upload "admin/admin_custom_links.php"
JohnBee
01-03-2006, 10:04 PM
Simply AMAZING!
This is one great and useful hack! - thanks for this, installed...
harmor19
01-04-2006, 04:21 AM
I guess I fixed the errors since no one reported any.
I'm kind of debating on adding stuff to this hack or make another one.
I have no idea how I would go about making it permission based.
I am brainstorming on how I would have it so you can add multiple drop down lists.
I guess I can start with Admin Permissions, like what admin(s) can add, edit, and delete the links.
Thank all of you for liking my hack :)
Devil Woman
01-04-2006, 05:18 AM
Am I blind, lol I cant find where it is in the admin cp, can anyone help me?
harmor19
01-04-2006, 05:52 AM
Did you upload vb_custom_links\new_install\includes\cpnav_custom_ links.xml to your_forum_root/includes/xml/?
If so it should be under
Forums & Moderators
Devil Woman
01-04-2006, 07:31 AM
Thanks I have that sorted but now when I add a link it shows up next to the extras and not in the drop down
Also my extras link in the navbar is highlighted and doesnt look like the rest of my links in the navbar, can anyone help please
Thankyou
harmor19
01-04-2006, 07:39 AM
Thanks I have that sorted but now when I add a link it shows up next to the extras and not in the drop down
Also my extras link in the navbar is highlighted and doesnt look like the rest of my links in the navbar, can anyone help please
Thankyou
Please read through the Q and A's at the top.
Devil Woman
01-04-2006, 08:43 AM
I have done this one
Q: The link doesn't look right on the navbar
edited all it tells me to edit but still nothing could it be that nav_element is not my class if it's not where would I find what mine is
Thanks
harmor19
01-04-2006, 08:56 AM
You can PM me your site or post it here.
I'll tell you what your class is.
TechDawgFan
01-04-2006, 12:45 PM
I really like this hack. Install went fine once I uploaded the right xml file.
Question:
I do not want images to show up next to my links, or, if that isn't possible, a simple dot or something. How do I disable the link images?
TDF
harmor19
01-04-2006, 12:57 PM
When adding the link do not put anything in the text box that's asking for the image.
P.S.
Fix your homepage and put http:// infront of it
i.e. http://www.latechbbb.com
Works a treat, Thank you harmor19.
harmor19
01-05-2006, 10:11 AM
Updates (Just incase you installed my hack and didn't click the "Install" Button)
I found a bug when adding images to a drop down link.
Redownload the archive and re-upload 'admincp/admin_custom_links.php'.
This is minor but I fixed how the the image works.
Before it would show the image tag either or not you added an image.
Now the image tag is created only for links where you added the image.
Snake
01-05-2006, 11:18 AM
Is this going to work on 3.5.3?
harmor19
01-05-2006, 12:02 PM
Is this going to work on 3.5.3?
It should.
It wouldn't hurt to try it.
TechDawgFan
01-05-2006, 12:02 PM
When adding the link do not put anything in the text box that's asking for the image.
P.S.
Fix your homepage and put http:// infront of it
i.e. http://www.latechbbb.com
Thanks! I got my link fixed. Thank you for pointing that out.
I see you've updated the hack to fix the problem. I was leaving the field blank and was having the problem you described in your update. I had done a work around and just removed all the image code in the .xml to get around it. But now I've installed the upgrade and it is working fine.
Appreciate the quick response and support!
TDF
TechDawgFan
01-05-2006, 12:04 PM
It should.
It wouldn't hurt to try it.
I did the vBulletin upgrade via plugin and it still works fine. Don't know about the full vBulletin upgrade, though.
TDF
bogene2020
01-05-2006, 07:58 PM
I installed the hack and it works well . Thanks for that .
Question 1 - How do I rename the Title "EXTRAS" to something else
Question 2 - How do I move the link "EXTRAS" to a different location on the Nav Bar
Question 3 - I want to make another Navbar table under the the default navbar can I still use this hack to populate the new table ?
Question 4 I want to be able to have multiple links with drop downs like
http://www.synergyforums.com/forum/index.php? and http://www.haitiwebs.com/
I thought they were using your hack but in ACP under custom links I just have 2 options Add and Modify / Delete
Thank You ..
harmor19
01-05-2006, 08:41 PM
I installed the hack and it works well . Thanks for that .
Question 1 - How do I rename the Title "EXTRAS" to something else
Question 2 - How do I move the link "EXTRAS" to a different location on the Nav Bar
Question 3 - I want to make another Navbar table under the the default navbar can I still use this hack to populate the new table ?
Question 4 I want to be able to have multiple links with drop downs like
http://www.synergyforums.com/forum/index.php? and http://www.haitiwebs.com/
I thought they were using your hack but in ACP under custom links I just have 2 options Add and Modify / Delete
Thank You ..
Question 1 - How do I rename the Title "EXTRAS" to something else
--Admin CP --> Languages & Phrases --> Phrase Manager click "Search".
In the "Search for Text" box type "Extras" and click "Find".
Click The "Edit" button on the page that comes up.
In the "English (US) Translation" box type the word you would like to use and click "Save".
Question 2 - How do I move the link "EXTRAS" to a different location on the Nav Bar
--Edit the navbar and place the code below in the template where you want it
<td id="custom_links" class="vbmenu_control"><a href="#custom_links">$vbphrase[custom_links_link]</a> <script type="text/javascript"> vbmenu_register("custom_links"); </script></td>
$custom_singlelinks
Question 3 - I want to make another Navbar table under the the default navbar can I still use this hack to populate the new table ?
--Apply the direction under Edit navbar in the readme.txt to the new navbar.
Question 4 I want to be able to have multiple links with drop downs like
http://www.synergyforums.com/forum/index.php? and http://www.haitiwebs.com/
--Custom Links --> Add change the "Add Stand Alone Link" setting to "No".
bogene2020
01-05-2006, 09:59 PM
Question 4 I want to be able to have multiple links with drop downs like
http://www.synergyforums.com/forum/index.php? and http://www.haitiwebs.com/
--Custom Links --> Add change the "Add Stand Alone Link" setting to "No".
I can add extra links to the navbar but the only one that lets me have a drop down is "EXTRAS" if I do Custom Links --> Add change the "Add Stand Alone Link" setting to "No" it adds the link under "EXTRAS"
This my Site (http://georgiadatabase.com/vbgdbase/links/index.php) I added the link "Public Records" . Is it possible to make the Public Records Link a Dropdown Like Extras . Thanks
harmor19
01-05-2006, 10:09 PM
If you added the link via my script then you cannot make it into a drop down menu.
I am trying to figure out how to add it.
Here's a tutorial on how to make a drop down menu
http://www.vbulletin.com/forum/showpost.php?p=769703&postcount=4
bogene2020
01-05-2006, 10:16 PM
Thanks for the very prompt reply .. I will look at the tutorial .
YOimYO
01-06-2006, 04:45 AM
*Thanks* /me installs .....
kremer4
01-06-2006, 01:48 PM
Getting the following error message; any suggestions.
Database error in vBulletin 3.5.2:
Invalid SQL:
CREATE TABLE `custom_droplinks` (
`linkid` mediumint(10) unsigned NOT NULL auto_increment,
`url` varchar(120) NOT NULL default '',
`name` varchar(20) NOT NULL default '',
`new_window` tinyint(2) NOT NULL default '',
`alt` varchar(60) NOT NULL default '',
`number` int(20) NOT NULL default '',
`image` varchar(60) NOT NULL default '',
PRIMARY KEY (`linkid`)
);;
MySQL Error : Invalid default value for 'new_window'
Error Number : 1067
Date : Friday, January 6th 2006 @ 10:42:24 AM
Script : http://cmbb/admincp/plugin.php
Referrer : http://cmbb/admincp/plugin.php?do=productadd
IP Address : 157.185.92.99
Username : administrator
Classname : vB_Database
harmor19
01-06-2006, 06:30 PM
That's weird, I'll do some research on why you recireved that error.
kremer4
01-06-2006, 06:35 PM
Thanks :up:
shadowdancer36
01-06-2006, 07:55 PM
Is it a way I can change the word extras to something else? :ermm:
harmor19
01-06-2006, 11:07 PM
Is it a way I can change the word extras to something else? :ermm:
In the phrase manager search for "Extras".
Edit the wird and in the "English Translation" box put what you want it to say.
harmor19
01-08-2006, 01:52 AM
Getting the following error message; any suggestions.
Database error in vBulletin 3.5.2:
Invalid SQL:
CREATE TABLE `custom_droplinks` (
`linkid` mediumint(10) unsigned NOT NULL auto_increment,
`url` varchar(120) NOT NULL default '',
`name` varchar(20) NOT NULL default '',
`new_window` tinyint(2) NOT NULL default '',
`alt` varchar(60) NOT NULL default '',
`number` int(20) NOT NULL default '',
`image` varchar(60) NOT NULL default '',
PRIMARY KEY (`linkid`)
);;
MySQL Error : Invalid default value for 'new_window'
Error Number : 1067
Date : Friday, January 6th 2006 @ 10:42:24 AM
Script : http://cmbb/admincp/plugin.php
Referrer : http://cmbb/admincp/plugin.php?do=productadd
IP Address : 157.185.92.99
Username : administrator
Classname : vB_Database
I haven't forgot about you.
Perhaps I need to make it "unsigned"?
Edit:
I made it unsigned and I made the default value "0".
If you are stilling recieving an error do not hesitate to report it.
Andyrew
01-08-2006, 03:56 AM
I have been getting database errors ever since i did the last upgrade of your hack.
So i decided to remove it and start again, all is working ok now apart from i cannot put long names in the name field.
I did a fresh install several times of the hack downloaded from the start of this thread but it just won't let me add more than 20 characters.
It was working before after you did the fix for this but now even after installing and doing the upgrade it still won't allow more than 20 characters. :confused:
harmor19
01-08-2006, 04:40 AM
I have been getting database errors ever since i did the last upgrade of your hack.
So i decided to remove it and start again, all is working ok now apart from i cannot put long names in the name field.
I did a fresh install several times of the hack downloaded from the start of this thread but it just won't let me add more than 20 characters.
It was working before after you did the fix for this but now even after installing and doing the upgrade it still won't allow more than 20 characters. :confused:
I'm sorry about that.
You can now type "100" characters for the name.
You'll have to uninstall the current product and upload the new one.
Andyrew
01-08-2006, 08:45 AM
Working now :) whats the upgrade2.xml for do i need to run this even though its working now.
harmor19
01-08-2006, 09:02 AM
You do not need to run upgrade2.
It's to add images to links.
YOimYO
01-08-2006, 11:26 AM
OK. i have installed this when you added the images to the buttons. that same day.
its working ok. but i want to make sure i have the most recent version.
what do i need to do to reinstall the newest ? do i need to completely uninstall the older version ?
thx ;)
harmor19
01-08-2006, 11:56 AM
I didn't make that big of changes so no need to uninstall and lose all your links, well unless you want to.
All I did was increase the characters that "name" accepts from "20" to "100".
YOimYO
01-08-2006, 12:38 PM
ok thx for the fst response ;)
I dont use long names. so not needed. Ill wait till next upgrade if there will be one :D
thx
kremer4
01-09-2006, 04:00 PM
I haven't forgot about you.
Perhaps I need to make it "unsigned"?
Edit:
I made it unsigned and I made the default value "0".
If you are stilling recieving an error do not hesitate to report it.
Thanks it's working now, the only thing is that the drop down menu is not lined up with extras links.
harmor19
01-09-2006, 04:31 PM
If it's a problem I can try to fix it tonight.
P.S.
Click "Install"!!
kremer4
01-09-2006, 04:39 PM
I'm up and running, all is good. Thanks for the great support.
<<INSTALLED IS NOW CLICKED>>
Devil Woman
01-11-2006, 10:09 PM
Hi, had a member come to me with a problem on my board, I have Paul M's Display Unread Posts hack installed and when members click on the no posts to be read link and then go to the extra's link in the navbar it doesn't show up any links that are in extra's dropdown but yet when you go onto the main forum page and into the forums and the posts the extra's link is fine, is this because this modification is not compatible with Paul M's hack or is there a problem?
Thanks
harmor19
01-11-2006, 11:45 PM
I guess there's a problem with my hack but what's new?
I'll be upgrading this hack to use usergroup permissions soon so I let me do that and I'll see why it's not working.
kartik786
01-14-2006, 09:20 PM
Gr8 Hack...
Really Helpful ....
.. But the extra bar Pi****s me off .. I just want to take it off somehow . :|
Ne other ppl havin d same prob ?
Thanatos
01-15-2006, 09:51 PM
I was running this previously, though I only had 2 links in it. I just upgraded to 3.5.3 and it doesn't work for me. I did the full upgrade.
I copied my navbar changes over to the new navbar template and did an install/overwrite and it does not add any links, whether they are drop downs or stand alones.
I have uninstalled, deleted the copy/pastes out of the navbar. Reinstalled, put them back and added test links (Stand alone and drop down) and none appear.
YOimYO
01-16-2006, 01:03 AM
Gr8 Hack...
Really Helpful ....
.. But the extra bar Pi****s me off .. I just want to take it off somehow . :|
Ne other ppl havin d same prob ?
I managed to get the words extra off. but not the little arrow dropdown thingy. :p
Ill get it off tomorrow. and hopefully remember how I did it so i can tell you how :p
ciao
YOimYO
01-18-2006, 10:09 AM
welp as i thought. I have managed to get the thing into my custom style and modified the way i want it.
But im very sry i cannot rememeber all the changes i made.
I had to chop it up to get it in the right place. so sry I wont be of any help :(
if you want to see the total code i can do that. but not sure if it will help.
Good Luck !
YOimYO
01-18-2006, 10:31 AM
ok i just went and looke ;)
to remove the little arrow just add ,1
example :
<a href="$show[nojs_link]#TTC"><img src="$stylevar[imgdir_misc]/fusion_header_faq.gif" width="50" height="38" border="0" alt="Xtra Links #2" /></a><script type="text/javascript">vbmenu_register("TTC" ,1)
I rewrote the whole thing so the java script name is not the same as yours. but I thnk youll understand.
see the ("TTC" ,1)
well , it was just ("TTC") I added the ,1 and it goes away :D
I hope this helps you ....... Good Luck ;)
Stone Cold 3:16
01-18-2006, 11:13 AM
How do you add a link under 'Extras'
bogene2020
01-18-2006, 01:04 PM
How do you add a link under 'Extras'
Go to the Admin Control Panel and look on the left you will see a section for custom links
sellbuydomain
01-18-2006, 04:58 PM
i did everything right in 3.5.3 , after all , and add the links. but it did not show up any link when i click the extra manu, it has the word " extra" , no links come in drop manu, is there anything i did wrong? help please
Stone Cold 3:16
01-18-2006, 11:13 PM
Yeah i add a link, and it doesnt go UNDER the catergory 'Extras' it goes and makes a whole new bar.
harmor19
01-20-2006, 05:40 PM
When you add a link change "Add Stand Alone Link" setting to "No"
sellbuydomain
01-22-2006, 07:15 AM
not working, still not work, i choose No, no links out there. only see word "extra"
rudiviss1
01-22-2006, 09:04 AM
not working, still not work, i choose No, no links out there. only see word "extra"
Did you put the number 1 into the "Display No." option??
:ermm:
Devil Woman
01-25-2006, 10:44 PM
Is there any possible way with this to stop guests from seeing what is in the custom links drop down @ all
Thanks
harmor19
01-25-2006, 11:44 PM
The only way to stop guests from viewing the links in the drop down list is use a conditional.
I'll will write one up and post it.
harmor19
01-25-2006, 11:47 PM
Find:
<td id="custom_links" class="vbmenu_control">
Above Add:
<if condtion="$bbuserinfo[userid] != 0">
Find:
vbmenu_register("custom_links"); </script></td>
Below Add:
</if>
I would like to note that this is untested but I am very confident that will work.
Snake
01-27-2006, 10:49 AM
Works fine on 3.5.3?
scottct1
01-29-2006, 12:31 AM
How do I add a second drop down?
Thanks!
harmor19
01-29-2006, 12:53 AM
How do I add a second drop down?
Thanks!
You can't, sorry.
Andreas
02-07-2006, 12:30 AM
Warning
Do NOT import product-custom_links(front-end_error_messages).xml, this can seriously mess up your database!
Rover416
02-08-2006, 02:09 PM
Nice hack.
The only thing is my members keep getting logged out if the forum when clicking any of the links,any idea why.
TeaTree
02-10-2006, 09:06 PM
Hey,
Have been using your navbar hack and I have to say it's really good
How would I go about changing the drop down menu's name from Extra's to SamsterTeenz Other
???
Many Thanks,
Sam
harmor19
02-12-2006, 10:12 PM
Warning
Do NOT import product-custom_links(front-end_error_messages).xml, this can seriously mess up your database!
In the description and readme.txt I put a message saying which one to upload after finding this out
https://vborg.vbsupport.ru/showpost.php?p=803233&postcount=38
harmor19
02-12-2006, 10:13 PM
Nice hack.
The only thing is my members keep getting logged out if the forum when clicking any of the links,any idea why.
I'm sorry, I don't know.
TeaTree
02-13-2006, 09:23 PM
Hey,
Have been using your navbar hack and I have to say it's really good
How would I go about changing the drop down menu's name from Extra's to SamsterTeenz Other
???
Many Thanks,
Sam
How do I go about changing this please?
harmor19
02-13-2006, 09:38 PM
How do I go about changing this please?
Admin CP --> Languages & Phrases --> Phrase Manager click "Search".
In the "Search for Text" box type "Extras" and click "Find".
Click The "Edit" button on the page that comes up.
In the "English (US) Translation" box type the word you would like to use and click "Save".
GoTTi
02-22-2006, 07:22 AM
um...where do i use this tool in admincp???
GoTTi
02-22-2006, 07:23 AM
neverind
wes.wilhour@sbc
02-23-2006, 04:05 PM
I'm new to vbullitine but I did read this entire post.
I do not have an Extra on my toolbar, just the drop down button.
Any suggestions?
Thank you.
kizzmet
02-23-2006, 08:19 PM
This is awesome! Thanks for the great hack.
harmor19
02-23-2006, 10:15 PM
I'm new to vbullitine but I did read this entire post.
I do not have an Extra on my toolbar, just the drop down button.
Any suggestions?
Thank you.
Did you upload product-custom_links.xml into your Product Manager?
wes.wilhour@sbc
02-24-2006, 02:30 PM
Sorry I missed that line in the install.txt.
Thank you for the help.
TheHeartSmasher
02-26-2006, 10:24 PM
This link works pretty well now what do I put in the links mmm.
TheHeartSmasher
02-27-2006, 02:11 AM
Is there a way to get the links to appear as the same on the navigation bar for advanced vbulletin CMS. The Extra's appear there but the links are not there.
MorrisMcD
02-27-2006, 03:21 AM
I know this is minor, but its kinda annoying.. when you use the new posts on the navbar a lot, you will notice it.. when you go to new posts and there arent any new posts, (from that page) the extras menu drops down with nothing.. Any ideas why?
SaN-DeeP
02-27-2006, 02:47 PM
this extension will come handy for quick editing navbar.. :)
in 3.5.3 the line
<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
is not there ?
anybody know where to place it?
harmor19
02-28-2006, 02:35 AM
Is there a way to get the links to appear as the same on the navigation bar for advanced vbulletin CMS. The Extra's appear there but the links are not there.
You could try the same method that works for the CMPS
In your CMPS settings under Portal Output Global Variables place:
custom_droplinks
custom_singlelinks
I know this is minor, but its kinda annoying.. when you use the new posts on the navbar a lot, you will notice it.. when you go to new posts and there arent any new posts, (from that page) the extras menu drops down with nothing.. Any ideas why?
I have no idea why it does that.
in 3.5.3 the line
<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
is not there ?
anybody know where to place it?
Search for $vbphrase[calendar]
Search for $vbphrase[calendar][/QUOTE]
i found that in the forumhome template.
but <!-- / NAVBAR POPUP MENUS --> was no in there
here is what my navbar template looks like
<script type="text/javascript">
<!--
function log_out()
{
ht = document.getElementsByTagName("html");
ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grays cale=1)";
if (confirm('$vbphrase[sure_you_want_to_log_out]'))
{
return true;
}
else
{
ht[0].style.filter = "";
return false;
}
}
//-->
</script>
<!-- top category table setup -->
<table width="100%" style="background-image:url($stylevar[imgdir_misc]/cat_back.gif)" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="140" height="27" align="left" valign="top"><img src="$stylevar[imgdir_misc]/cat_top_ls.gif" width="140" height="27" alt=" " border="0" /></td>
<td width="100%" style="background-image:url($stylevar[imgdir_misc]/cat_back.gif)" valign="middle"> </td>
<td width="140" height="27" align="right" valign="top"><img src="$stylevar[imgdir_misc]/cat_top_rs.gif" width="140" height="27" alt=" " border="0" /></td>
</tr>
</table>
<!-- End top category table setup -->
<!-- breadcrumb, login, pm info -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%">
<if condition="is_array($navbits)">
<table cellpadding="0" cellspacing="0" border="0">
<tr valign="bottom">
<td><a href="#" onclick="history.back(1)"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td>
<td> </td>
<td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php?$session[sessionurl]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td>
</tr>
<tr>
<td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"><a href="$scriptpath"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="$vbphrase[reload_this_page]" border="0" /></a> <strong>$navbits[lastelement]</strong></td>
</tr>
</table>
<else />
<div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php?$session[sessionurl]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div>
</if>
</td>
<if condition="$bbuserinfo['userid']">
<td class="alt2" valign="top" nowrap="nowrap">
<div class="smallfont">
<!--<span style="float:$stylevar[right]">[<a href="login.php?$session[sessionurl]do=logout&u=$bbuserinfo[userid]" onclick="return log_out()">$vbphrase[log_out]</a>]</span>-->
<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
<if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl]">$vbphrase[private_messages_nav]</phrase></if>
</div>
</td>
<else />
<td class="alt2" nowrap="nowrap" style="padding:0px">
<!-- login form -->
<form action="login.php" method="post" onsubmit="md5hash(vb_login_password,vb_login_md5password)">
<script type="text/javascript" src="clientscript/vbulletin_md5.js"></script>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td class="smallfont">$vbphrase[username]</td>
<td><input type="text" class="button" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="1" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td>
<td class="smallfont" colspan="2" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="3" id="cb_cookieuser_navbar" accesskey="c" checked="checked" />$vbphrase[remember_me]</label></td>
</tr>
<tr>
<td class="smallfont">$vbphrase[password]</td>
<td><input type="password" class="button" name="vb_login_password" size="10" accesskey="p" tabindex="2" /></td>
<td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="4" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td>
</tr>
</table>
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="login" />
<input type="hidden" name="forceredirect" value="1" />
<input type="hidden" name="vb_login_md5password" />
</form>
<!-- / login form -->
</td>
</if>
</tr>
</table>
<!-- / breadcrumb, login, pm info -->
<!-- bottom table setup -->
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="70" align="left" valign="top"><img src="$stylevar[imgdir_misc]/ls_main_table_bottom.gif" width="70" height="14" alt=" " border="0" /></td>
<td width="100%" style="background-image:url($stylevar[imgdir_misc]/extended_main_table_bottom.gif)"><img src="$stylevar[imgdir_misc]/clear.gif" width="100%" height="14" alt=" " border="0" /></td>
<td width="70" align="right" valign="top"><img src="$stylevar[imgdir_misc]/rs_main_table_bottom.gif" width="70" height="14" alt=" " border="0" /></td>
</tr>
</table>
<!-- End bottom table setup -->
<div style="padding: 7px 7px 7px 7px;"></div>
<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->
<if condition="$show['searchbuttons']">
<!-- header quick search form -->
<div class="vbmenu_popup" id="navbar_search_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[search_forums]</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<form action="search.php" method="post">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="showposts" value="0" />
<input type="text" class="bginput" name="query" size="20" />$gobutton<br />
</form>
</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php?$session[sessionurl]" accesskey="4">$vbphrase[advanced_search]</a></td>
</tr>
</table>
</div>
<!-- / header quick search form -->
</if>
<if condition="$show['member']">
<!-- user cp tools menu -->
<div class="vbmenu_popup" id="usercptools_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead">$vbphrase[quick_links]</td></tr>
<if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getnew">$vbphrase[new_posts_nav]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td></tr>
<tr><td class="vbmenu_option"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&focus=1','buddylist','statusbar=no,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td></tr>
<tr><td class="thead"><a href="usercp.php?$session[sessionurl]">$vbphrase[user_control_panel]</a></td></tr>
<if condition="$show['siglink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr></if>
<if condition="$show['avatarlink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a></td></tr>
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr>
<tr><td class="thead">$vbphrase[miscellaneous]</td></tr>
<if condition="$show['pmstats']"><tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]">$vbphrase[private_messages]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="subscription.php?$session[sessionurl]">$vbphrase[subscribed_threads]</a></td></tr>
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td></tr>
<if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php?$session[sessionurl]">$vbphrase[whos_online]</a></td></tr></if>
</table>
</div>
<!-- / user cp tools menu -->
</if>
<!-- / NAVBAR POPUP MENUS -->
</if>
harmor19
02-28-2006, 04:35 AM
can you post a link to your site so I can see what's going on.
shadowdancer36
02-28-2006, 05:50 AM
In the phrase manager search for "Extras".
Edit the wird and in the "English Translation" box put what you want it to say.
Few Questions:
Is it away to keep it from showing up twice? You have extra ON the navbar, then it looks as if you did a thead with extra in it again. Can I remove the 2nd instance? Or name it something else?
Also, is it possible to do more than one dropdown per stand alone link?
Last but not least, is it possible to keep the drop downs lined up with standalone it's under? My drops are showing left justified or something. Is it a tag that centers the drops that I might've changed by mistake?
hmm dunno doesnt seem like this something for me.
either my style uses a different navbar or the template changed in 3.5.3 and 3.5.4
it is in the header though, but then again the <!-- / NAVBAR POPUP MENUS -->
is not int he header its in the navbar
Devil Woman
03-04-2006, 09:52 PM
I am having the same problem in 3.5.4 there is nothing in the navbar template to do with calandar and I have take a look loads of times, I can however find $vbphrase[calendar] in the forumhome template but that is not the same as what it asks to look for however I can find <!-- / NAVBAR POPUP MENUS --> in the navbar template so I can do the 2nd part but not the first as I can not find anything to do with calendar in the navbar template
Thanks
Devil Woman
03-08-2006, 03:27 PM
Is there no possible way to add this into vb 3.5.4?
Nikki x
BC_IZZ
03-10-2006, 06:18 PM
this Hacks sounds great will you be working on getting it to work with 3..5.4 ?
or has it been fixed allready ? thnx .;)
Devil Woman
03-11-2006, 03:23 PM
Still awaiting this for 3.5.4 haven't managed to get it working yet and have tried everything I can think of to get it wokring
Nikki
MoveOver.cc
03-20-2006, 08:09 AM
Firstly great hack and apologies if I am repeating what has already been asked.
I have followed the instructions, but when I look click on Extras, all that I see in the drop down box is Extras, and none of the links I have added.
Can anybody help.
Thanks
Lost_Prophet
03-20-2006, 09:07 AM
I've installed it into 3.5.4 and it works fine.
Any way to rename it from 'Extras' to something else? I may have missed that in the thread, I'll go back and look.
Lost_Prophet
03-20-2006, 09:21 AM
Nvm got it :)
harmor19
03-23-2006, 05:12 AM
Still awaiting this for 3.5.4 haven't managed to get it working yet and have tried everything I can think of to get it wokring
Nikki
If you like I could try and install it for you.
I have followed the instructions, but when I look click on Extras, all that I see in the drop down box is Extras, and none of the links I have added.
When you add a link make sure you check the radio box "Add Stand Alone Link" to "No"
mudanoman
03-25-2006, 08:29 PM
I installed the extension (files to appropriate locations) and it seems to work fine on my navigation bar. However, I cant seem to find the Options to add/change links in the ACP?! Any help appreciated. Thanks, Ivan
webgeek247
03-27-2006, 09:37 PM
Nice hack :cool:
One question, is there a way of getting rid of the extras link and drop down menu as i just want to display a home page link to my main websites index page as a stand alone :confused:
tipoboy
03-27-2006, 10:36 PM
Nice hack :cool:
One question, is there a way of getting rid of the extras link and drop down menu as i just want to display a home page link to my main websites index page as a stand alone :confused:
look at your original post
Brandon Sheley
03-28-2006, 04:26 AM
/me clicks install
works great on 3.5.4
*edit* I don't really understand the standalon option,, but the other works good..
harmor19
03-28-2006, 04:40 PM
I installed the extension (files to appropriate locations) and it seems to work fine on my navigation bar. However, I cant seem to find the Options to add/change links in the ACP?! Any help appreciated. Thanks, Ivan
It should be under "Announcements"
*edit* I don't really understand the standalon option,, but the other works good..
The stand alone option works as a regular link such as calendar, New Posts, or Member List while the drop down option works like Quick Links.
MorrisMcD
03-29-2006, 03:49 AM
I asked earlier in the thread, but I never saw a response... Not a huge deal, but is there a way for the extra dropdown and any standalone links I added to work on the search.php pages? For example... If I do NEW POSTS, it disappears on that one screen.. Extras is there.. But nothing in the menu.. And the stand alone links I added go away too..
harmor19
03-29-2006, 05:21 AM
I asked earlier in the thread, but I never saw a response... Not a huge deal, but is there a way for the extra dropdown and any standalone links I added to work on the search.php pages? For example... If I do NEW POSTS, it disappears on that one screen.. Extras is there.. But nothing in the menu.. And the stand alone links I added go away too..
I have no clue why, sorry.
MorrisMcD
03-29-2006, 05:25 AM
I have no clue why, sorry.
Ok cool.. No big deal.. Thanks for the response though... It really isnt that big of a deal and I can definately live with it
mudanoman
03-31-2006, 01:49 AM
It should be under "Announcements".
I reinstalled it again, uploaded both files and installed the xml. However, there is still no sign of the custom links option. Very strange. Any advice much appreciated. I would be more than happy to send you login info for you to see for yourself.
Best,
Ivan
cmbehan
04-05-2006, 08:37 PM
I reinstalled it again, uploaded both files and installed the xml. However, there is still no sign of the custom links option. Very strange. Any advice much appreciated. I would be more than happy to send you login info for you to see for yourself.
Best,
Ivan
I'm having the same problem.
Any help would be sincerely appreciated.
Traxdata
04-10-2006, 06:14 PM
I reinstalled it again, uploaded both files and installed the xml. However, there is still no sign of the custom links option. Very strange. Any advice much appreciated. I would be more than happy to send you login info for you to see for yourself.
Best,
Ivan
did you refresh your acp? aol user?
cmbehan
04-10-2006, 06:18 PM
did you refresh your acp? aol user?
Yes, I refreshed my Admincp, logged out and back in, cleared all temp internet files, etc...
I'm still only getting "Announcement Manager" and "Add New Announcement" under the Announcement menu.
harmor19
04-11-2006, 09:44 PM
It's not in the Announcements category, it's immediately below it.
What is the URL to your site?
dreck
04-12-2006, 11:09 PM
Will this allow you have more than 1 drop down menu?
dreck
04-13-2006, 02:00 AM
I found the answer to my question.
Be nice if you could. :(
Very great hack... love it
Great hack, thanks. Worked great on my 3.5.4 install.
Is there any way to rename the Extra drop down menu to something else?
thanks,
kif
Never Mind I found it here:
Link (https://vborg.vbsupport.ru/showpost.php?p=899478&postcount=203)
Killer_Charge
04-13-2006, 10:41 PM
<td id="custom_links" class="vbmenu_control"><a href="#custom_links">$vbphrase[custom_links_link]</a> <script type="text/javascript"> vbmenu_register("custom_links"); </script></td>
$custom_singlelinks
dude, help me plz i realy need this! it just dont work, my site is www.neronix.com/forum/index.php
please help, all that i see is the extras bit, then it drops down to reveal notin
harmor19
04-14-2006, 05:41 PM
<td id="custom_links" class="vbmenu_control"><a href="#custom_links">$vbphrase[custom_links_link]</a> <script type="text/javascript"> vbmenu_register("custom_links"); </script></td>
$custom_singlelinks
dude, help me plz i realy need this! it just dont work, my site is www.neronix.com/forum/index.php
please help, all that i see is the extras bit, then it drops down to reveal notin
You must've fixed it because it works for me.
b6gm6n
04-21-2006, 02:22 AM
All workin... just wondered about the images... they show, but have a small border to them...though this might be my css, but it's there with the default style to... just a small black border appears to each image on the bottom and to the right... and thats it... very odd, see attached... i may just need to remove the <img> link info for the images....
-b6
EDIT - sussed that is was the image sizes....mine were 15x15... the plugin called them up to 16x16 thus the graphical glitch!
sandalwood
04-24-2006, 06:57 PM
Yes, I refreshed my Admincp, logged out and back in, cleared all temp internet files, etc...
I'm still only getting "Announcement Manager" and "Add New Announcement" under the Announcement menu.
I have the exact same problem. I came here installed, I have installed maybe 20 addons or plugins and ALL worked perfect 100% the first time every time, because I am a smart user who follows all the directions.
This extension is broken. It FAILS to add a link in the admincp to be able to access from the acp.
I added it myself manually, but you should know your software has a bug and looks like several other users here reported the same thing.
harmor19
04-24-2006, 06:59 PM
The only think I can think of is that the people who cannot see the category in the Admin CP didn't upload the cpnav xml file to the correct location.
sandalwood
04-24-2006, 07:31 PM
The only think I can think of is that the people who cannot see the category in the Admin CP didn't upload the cpnav xml file to the correct location.
what kind of weird sht are you pulling here buddy? you must not be thinking very hard if the "only thing you can think of" is that we must have failed to follow directions. we all followed the directions perfectly. the flaw is yours.
1. by default it DOES NOT add a link in the admincp. it just doesn't. all the people who installed this but *didn't* complain either have some nonstandard setup, or they just uninstalled it and didn't bother to post about their experience.
2. you have a PERMISSIONS mask set
permissions="canadminmyhack"
that is totally un-FCKING-documented anywhere, so it won't even show up unless you have that set.
i finally tracked down what you did:
https://vborg.vbsupport.ru/showthread.php?t=95918&highlight=canadminmyhack
MOST PEOPLE DONT HAVE THAT VARIABLE SET and that code installed! :(
the only people who this could have possibly ever worked for are people like me who had to go in an change everything manually and force it... or people who had for some warped reason set up further admin privelege settings as per that other thread, and only if they used the EXACT phrase "canadminmyhack" and set it up in advance.
SOME OF US don't want that extra sht "custom admin persmissions" crap that is a whole SEPARATE thing and extremely unwelcome! I'm pissed that you tried to jam that crap in with your mod.
sandalwood
04-24-2006, 07:41 PM
ok look sorry perhaps i have a hot temper.
the solution is easy.
remove the text i quoted, from cpnav_custom_links.xml
so remove permissions="canadminmyhack"
then it will show up in cpadmin
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.