vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Quick Navigation on v4 Modified (https://vborg.vbsupport.ru/showthread.php?t=233694)

adigaorg 01-20-2010 11:38 PM

Quick Navigation on v4 Modified
 
1 Attachment(s)
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?

Tamtams 01-25-2010 03:17 PM

Another vote for this feature!

Habsy 12-15-2010 02:59 AM

Me three... users begging for it back. Why take it out? Newer is not necessarily better.

BirdOPrey5 12-16-2010 12:26 AM

1 Attachment(s)
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...

https://vborg.vbsupport.ru/attachmen...1&d=1292466333

BirdOPrey5 01-15-2011 03:43 PM

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


All times are GMT. The time now is 01:14 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.01108 seconds
  • Memory Usage 1,719KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete