Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
Replacement 'GO' button Details »»
Replacement 'GO' button
Version: 1.00, by jonty jonty is offline
Developer Last Online: Nov 2021 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 4.0.3 Rating:
Released: 05-27-2010 Last Update: Never Installs: 28
Template Edits
Re-useable Code  
No support by the author.

Members wanting the (showthread) 'Go' button back?

I never used it myself, but our members use it to jump back to the forum that the thread is on.
Now that the forumjump has changed, the 'Go' button has been removed.

So, to create a replacement button that jumps back to the forum the current thread is in:

In the SHOWTHREAD template, find
Code:
<div id="pagination_bottom" class="pagination_bottom">
	<vb:if condition="$show['pagenav']">
		{vb:raw pagenav}
	</vb:if>
		{vb:raw forumjump}
	</div>
</div>
and replace with:
Code:
<a href="{vb:link forum, {vb:raw thread}, null, 'forumid', 'forumtitle'}" class="button" style="float:{vb:stylevar right}; font-size:11px; margin:10px;"><b>{vb:rawphrase go}</b> Back to forum</a>

<div id="pagination_bottom" class="pagination_bottom">
	<vb:if condition="$show['pagenav']">
		{vb:raw pagenav}
	</vb:if>
		{vb:raw forumjump}
	</div>
</div>

Screenshots

File Type: jpg showthread-go.JPG (12.5 KB, 0 views)

Show Your Support

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

Comments
  #2  
Old 05-28-2010, 06:54 PM
jonty jonty is offline
 
Join Date: Dec 2006
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*reserved* :up:
Reply With Quote
  #3  
Old 05-30-2010, 03:28 PM
COL NIL SATIS COL NIL SATIS is offline
 
Join Date: Aug 2009
Location: Liverpool UK
Posts: 802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

will try this later...tagged !!
Reply With Quote
  #4  
Old 05-30-2010, 09:43 PM
markwein markwein is offline
 
Join Date: Feb 2009
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed. works great. it's one of the biggest requests my users have had since I upgraded to 4.0.

Thanks!
Reply With Quote
  #5  
Old 06-03-2010, 08:46 PM
jonty jonty is offline
 
Join Date: Dec 2006
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by markwein View Post
Installed. works great. it's one of the biggest requests my users have had since I upgraded to 4.0.

Thanks!
You're welcome Mark - it's only one line but it makes such a difference
Reply With Quote
  #6  
Old 06-07-2010, 10:22 AM
COL NIL SATIS COL NIL SATIS is offline
 
Join Date: Aug 2009
Location: Liverpool UK
Posts: 802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works great....thanks Jonty
Reply With Quote
  #7  
Old 06-07-2010, 07:19 PM
FighterO'Foo FighterO'Foo is offline
 
Join Date: Mar 2009
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Brilliant stuff. Been looking to sort this out for ages. I installed it, but made a few changes to it to make it look a little smarter:



Same template, just put it here instead:

Code:
<div id="pagination_bottom" class="pagination_bottom">
	<vb:if condition="$show['pagenav']">
		{vb:raw pagenav}
	</vb:if>
		{vb:raw forumjump}
	</div>
</div>

<a href="{vb:link forum, {vb:raw thread}, null, 'forumid', 'forumtitle'}" class="button" style="float:{vb:stylevar right}; font-size:11px; margin-bottom:5px; padding:3.33333px 6.66667px;"><b>{vb:rawphrase go}</b> back to forum</a>
Reply With Quote
  #8  
Old 08-01-2010, 04:13 AM
Gero50's Avatar
Gero50 Gero50 is offline
 
Join Date: Oct 2009
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It wont find the code when I search for it. Can you help please.
Reply With Quote
  #9  
Old 09-16-2010, 08:06 PM
jacobsen1 jacobsen1 is offline
 
Join Date: Dec 2007
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

damn, been +++++ing about this since December 2009 (4.0.0) and just upgraded to 4.0.7 assuming it was one of the fixes....

installed.
Reply With Quote
Reply

Thread Tools

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 01:47 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.03988 seconds
  • Memory Usage 2,288KB
  • Queries Executed 23 (?)
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
  • (3)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (1)postbit_attachment
  • (9)postbit_onlinestatus
  • (9)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