Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-09-2011, 06:11 AM
New Joe's Avatar
New Joe New Joe is offline
 
Join Date: May 2009
Posts: 1,128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How to add links to here?

I would like to add more links here:


Which template?
What codes?

thanks for any help.
Reply With Quote
  #2  
Old 03-09-2011, 09:24 AM
tonyvh2 tonyvh2 is offline
 
Join Date: Oct 2008
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

template: SHOWTHREAD

place your link within the
HTML Code:
<div class="navlinks">
and
Code:
</div>
Reply With Quote
  #3  
Old 03-09-2011, 12:49 PM
New Joe's Avatar
New Joe New Joe is offline
 
Join Date: May 2009
Posts: 1,128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

But i will need it to be readable, if I just added the link between the above it would show the full url not the name of the link i think.
Reply With Quote
  #4  
Old 03-09-2011, 12:51 PM
your24hourstore your24hourstore is offline
 
Join Date: Feb 2010
Posts: 1,226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so add text behind the link like so
HTML Code:
<a href="http://www.w3schools.com/">Visit W3Schools</a>
Reply With Quote
  #5  
Old 03-09-2011, 01:41 PM
tonyvh2 tonyvh2 is offline
 
Join Date: Oct 2008
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by New Joe View Post
But i will need it to be readable, if I just added the link between the above it would show the full url not the name of the link i think.
Whta I meant to say is that you can place the html of your link etc between those html codes, because that div is the place you want to place your links, but looking at your answer I am not sure if you know how to do that.

Also, everything you put there will be aligned in the center, it will be confusing to have prrevoius|next|other link nect to eachother
Reply With Quote
  #6  
Old 03-10-2011, 06:57 AM
New Joe's Avatar
New Joe New Joe is offline
 
Join Date: May 2009
Posts: 1,128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks to tonyvh2 and your24hourstore i was able to do what i wanted

i would like to remove these 2 links :
Quote:
? Previous Thread | Next Thread ?
as seen in my first screen shot, which codes do I need to delete from the Showthread template?
Reply With Quote
  #7  
Old 03-10-2011, 11:26 AM
tonyvh2 tonyvh2 is offline
 
Join Date: Oct 2008
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

just remove anything that was originally in that div so everything between
Code:
<div class="navlinks">
and
Code:
</div>
in my version of vbulletin (4.1) it is the following code:

Code:
<vb:if condition="$vboptions['nextprevlinks']">
	<vb:if condition="$prevthreadinfo">
	<strong>&laquo;</strong>
	<a href="{vb:link thread, {vb:raw prevthreadinfo}}">{vb:raw prevthreadinfo.title}</a>
	</vb:if>
	<vb:if condition="$prevthreadinfo && $nextthreadinfo">
	|
	</vb:if>
	<vb:if condition="$nextthreadinfo">
	<a href="{vb:link thread, {vb:raw nextthreadinfo}}">{vb:raw nextthreadinfo.title}</a>
	<strong>&raquo;</strong>
	</vb:if>
	<vb:else />
	<strong>&laquo;</strong>
	<a href="showthread.php?{vb:raw session.sessionurl}t={vb:raw threadid}&amp;goto=nextoldest" rel="nofollow">{vb:rawphrase prev_thread}</a>
	|
	<a href="showthread.php?{vb:raw session.sessionurl}t={vb:raw threadid}&amp;goto=nextnewest" rel="nofollow">{vb:rawphrase next_thread}</a>
	<strong>&raquo;</strong>
	</vb:if>
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 01:50 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.04324 seconds
  • Memory Usage 2,222KB
  • Queries Executed 11 (?)
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
  • (4)bbcode_code
  • (2)bbcode_html
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete