Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
  #1  
Old 01-20-2010, 11:38 PM
adigaorg's Avatar
adigaorg adigaorg is offline
 
Join Date: Oct 2009
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Quick Navigation on v4 Modified

Hello
in vb 3 forum jump just select forum and click go
in vb 4 must search in list of the forum

How can I make the list as it was in version 3?
Attached Images
File Type: jpg Clip.jpg (20.6 KB, 0 views)
File Type: jpg Clip_2.jpg (28.1 KB, 0 views)
Reply With Quote
  #2  
Old 01-25-2010, 03:17 PM
Tamtams Tamtams is offline
 
Join Date: Nov 2009
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Another vote for this feature!
Reply With Quote
  #3  
Old 12-15-2010, 02:59 AM
Habsy Habsy is offline
 
Join Date: Sep 2006
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Me three... users begging for it back. Why take it out? Newer is not necessarily better.
Reply With Quote
  #4  
Old 12-16-2010, 12:26 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK... This will add the "Go" button back when viewing a thread (which is the only time I think it is necessary)

First you need to Add a New Plugin...

In Admin CP go to Plugin Manager -> Add a New Plugin
Product: vBulletin
Hook Location: showthread_start
Title: Go Button Register ShowThread
Execution Order: 5

Plugin Code:
PHP Code:
$goforum $threadinfo['forumid'];

vB_Template::preRegister('forumjump',array('goforum' => $goforum)); 
Set Active to YES

and SAVE.

Now you must edit the forumjump template.

In Admin CP -> Style Manager -> Edit Templates -> forumjump

Find the line:
Code:
<a href="{vb:raw navpopup.link}" class="popupctrl"><span class="ctrlcontainer">{vb:raw navpopup.title}</span></a>
Below it Add:
Code:
<vb:if condition="THIS_SCRIPT=='showthread'"><a href="forumdisplay.php?f={vb:raw goforum}" class="textcontrol" onclick="document.location='forumdisplay.php?f={vb:raw goforum}';return false;">Go</a></vb:if>
Save Changes... Repeat for all styles you use.

You will get a Go button like in the picture...

Attached Images
File Type: jpg ss_gobutton.jpg (3.7 KB, 0 views)
Reply With Quote
  #5  
Old 01-15-2011, 03:43 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

FYI I made this into a mod:
https://vborg.vbsupport.ru/showthread.php?t=257179
Reply With Quote
Reply

Thread Tools
Display Modes

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 03:21 PM.


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.04090 seconds
  • Memory Usage 2,216KB
  • Queries Executed 12 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (3)postbit_attachment
  • (5)postbit_onlinestatus
  • (5)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete