vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   [beta] Dropdown instead of temporary buttons (https://vborg.vbsupport.ru/showthread.php?t=88353)

DeeperImage 08-12-2003 11:45 AM

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

mymilkexpired 08-12-2003 02:53 PM

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 :)

MrNase 08-13-2003 03:41 AM

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 :(

mymilkexpired 08-14-2003 10:54 AM

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.

MrNase 08-14-2003 02:58 PM

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 :)

kendo 08-17-2003 04:36 PM

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

mymilkexpired 08-18-2003 11:21 AM

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.

orb 08-23-2003 11:34 AM

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

imported_ronman 08-26-2003 04:23 AM

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

Thanks for a great, VERY useful mod!

MrNase 08-26-2003 02:59 PM

oh, could someone please attach the fixed file?

I deleted it while updating the first post :(


All times are GMT. The time now is 08:43 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01092 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete