![]() |
[beta] Dropdown instead of temporary buttons
1 Attachment(s)
it's not beta anylonger ;)
updated 09/25/2003 notes: my first :) description: this mod. replaces the 5 temporary buttons with a dropdown menu :) demo: attached ;) download: here |
If I'm not mistaken, you are supposed to put it in a file and attatch it. Seems like a nice mod though, thanks.
|
Nice mod, but as Bad Bunny said you're meant to document it.
|
1 Attachment(s)
Fixed the bug
<option value="javascript:window.open('misc.php?do=buddylist&focus=1','budd ylist','statu sbar=no,menubar=no,tool bar=no,scrollbars=yes,resizable=yes,width=180,heig ht=300');return false;">Open Buddy List</option> should be <option value="window.open('misc.php?do=buddylist&focus=1' ,'buddylist','statusbar=no,men ubar=no,tool bar=no,scrollbars=yes,resizable=yes,width=180,heig ht=300');return false;">Open Buddy List</option> Also put it in a txt for easy download, i hope Mrnase you don't mind. |
Yes, please edit your post and attach the intructions as referenced.
|
done :)
thx for you help, next time i'll attach it right from the start ;) |
nice hack btw i'v been making gfx buttons for them, no need now ;)
|
i think the most people removed them already...
could someone please change that title? It's not beta anymore ;) |
Very nice. Installed. :)
|
Neat idea. :)
|
Only thing i noticed is that the OPEN BUDDIES LIST does not work for me and SIMPLE SEARCH. everything else does. Any suggestions/ideas? thanks
|
I fixed the problem with the simple search. The code has listed "java script" when it should be "javascript" there is a typo , the extra space needs to be removed.
However i cannot get the buddylist to work... I tried making some changes to the buddylist code and couldnt make anything happen, so i just made the value "#" for the time being so that it doesnt generate a missing page error. Hopefully someone knows java better than I and can point out the problem :) |
uhm, it's was working for me?!
The Buddylist had problems but Hiall fixed them... I don't know why but vB3 adds a space between java and script :( |
Quote:
|
yeah, got it :)
This one worx when you have an url like www.sportboard.de/v2 but not when you have an url like www.sportboard.de/v2/index.php because in this case (as mymilkrotted) figured out the scripts tries to open http://www.sportboard.de/v2/index.ph...hp?do=markread :( To fix this you should redownload the instruction above and add the Board URL with a trailing slash ('/') BEVORE: login.php?do=logout misc.php?do=buddylist search.php?do=getnew forumdisplay.php?do=markread like: http://www.sportboard.de/v2/login.php?do=logout http://www.sportboard.de/v2/misc.php?... ... Another fix: edit your code and delete the space between java and script @ Quote:
I'll update the instructions now :) |
Quote:
<option value="window.open('misc.php?do=buddylist&focus=1' ,'buddylist','statusbar=no,menubar=no,tool bar=no,scrollbars=yes,resizable=yes,width=180,heig ht=300');return false;">Open Buddy List</option> With this: <option value="misc.php?do=buddylist&focus=1','buddylist', 'statusbar=no,menubar=no,toolbar=no,scrollbars=yes ,resizable=yes,width=180,height=300');return false;">Open Buddy List</option> I did not need to add the url of the board anywhere in the navbar template edit. (Using beta 5) Hamish |
Quote:
|
ive gotten this a little further although the code isnt perfect but it seems to be working but the page goes to full screen
in header include place this above the code asked in the instructions <SCRIPT LANGUAGE="JavaScript"> function Start(page) { OpenWin = this.open(page, "CtrlWindow", "toolbar=yes,menubar=yes,location=yes,scrollbars=y es,resizable=yes"); } </SCRIPT> then for the buddy list option use this <option value="javascript:Start('misc.php?do=buddylist&focus=1','buddylist' ,'statusbar=n o,menubar=no,tool bar=no,scrollbars=yes,resizable=yes,width=180,heig ht=300')">Open Buddy List</option> hopfully someone can work with this more and fix it faster than i can |
Excellent, just applied it to my board, and it works perfectly.
Thanks for a great, VERY useful mod! |
oh, could someone please attach the fixed file?
I deleted it while updating the first post :( |
:\ i could really use this :\
you could redo the mod and reattach the file... |
1 Attachment(s)
i think this is the fixed file the buddy list window size is fixed also
|
thx, the download is linked and available :)
Faranth? You can download it now :) |
1 Attachment(s)
It still didn't work totally for me but I've altered it and it works perfectly. Just needs the paths altering.
|
Very nice, thanks!
|
thanks alot going to give it at trry
|
Great mod! Took a little while to figure out that my wordpad was set to wordwrap which caused some problems, but after that it's really snazzy! :)
|
installed. :)
|
thanks for your feedback :)
the first post is edited now and the download is linking to adwhitworth's version. I'd be really pleased if a mod could rename the topic title to '[release] Dropdown instead of temporary buttons ' :) thank you. |
Does anyone have this working with vB3 B 6? I keep getting a js error when choosing an item from the dropdown. The error is:
Code:
'box.options' is null or not an object |
All times are GMT. The time now is 04:45 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|