Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[beta] Dropdown instead of temporary buttons Details »»
[beta] Dropdown instead of temporary buttons
Version: , by MrNase MrNase is offline
Developer Last Online: Sep 2010 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 08-05-2003 Last Update: Never Installs: 0
 
No support by the author.

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

Download Now

File Type: (21.4 KB, 20 views)
File Type: (21.4 KB, 22 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 08-12-2003, 11:45 AM
DeeperImage DeeperImage is offline
 
Join Date: Nov 2001
Location: Kennesaw, GA
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #13  
Old 08-12-2003, 02:53 PM
mymilkexpired mymilkexpired is offline
 
Join Date: Mar 2003
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #14  
Old 08-13-2003, 03:41 AM
MrNase MrNase is offline
 
Join Date: May 2003
Location: Germany
Posts: 670
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #15  
Old 08-14-2003, 10:54 AM
mymilkexpired mymilkexpired is offline
 
Join Date: Mar 2003
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MrNase
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
Paste the line of code you are using for the buddylist menu option. When i choose that option it appends the "link" to the url already listed in the menu bar... i think thats part of the problem.
Reply With Quote
  #16  
Old 08-14-2003, 02:58 PM
MrNase MrNase is offline
 
Join Date: May 2003
Location: Germany
Posts: 670
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
<option value="java script:simplesearch();">Simple Search</option>
(vb3 seems to make it autom.)

I'll update the instructions now
Reply With Quote
  #17  
Old 08-17-2003, 04:36 PM
kendo kendo is offline
 
Join Date: May 2004
Location: Tokyo
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mymilkrotted
Paste the line of code you are using for the buddylist menu option. When i choose that option it appends the "link" to the url already listed in the menu bar... i think thats part of the problem.
To get the buddylist menu option to work, replace this:

<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
Reply With Quote
  #18  
Old 08-18-2003, 11:21 AM
mymilkexpired mymilkexpired is offline
 
Join Date: Mar 2003
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hamish
To get the buddylist menu option to work, replace this:

<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
The only problem with doing that, is that it will open the link in the current window. This forces you to have to go back a page to continue where you were at. There has to be a way to correct this problem so that the buddylist will open correclty in a new window.
Reply With Quote
  #19  
Old 08-23-2003, 11:34 AM
orb orb is offline
 
Join Date: Apr 2003
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #20  
Old 08-26-2003, 04:23 AM
imported_ronman imported_ronman is offline
 
Join Date: Aug 2003
Location: Central Florida
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent, just applied it to my board, and it works perfectly.

Thanks for a great, VERY useful mod!
Reply With Quote
  #21  
Old 08-26-2003, 02:59 PM
MrNase MrNase is offline
 
Join Date: May 2003
Location: Germany
Posts: 670
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oh, could someone please attach the fixed file?

I deleted it while updating the first post
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:25 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05202 seconds
  • Memory Usage 2,330KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete