PDA

View Full Version : How to add links to here?


New Joe
03-09-2011, 06:11 AM
I would like to add more links here:
https://vborg.vbsupport.ru/external/2011/03/36.png

Which template?
What codes?

thanks for any help.

tonyvh2
03-09-2011, 09:24 AM
template: SHOWTHREAD

place your link within the <div class="navlinks"> and </div>

New Joe
03-09-2011, 12:49 PM
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.

your24hourstore
03-09-2011, 12:51 PM
so add text behind the link like so <a href="http://www.w3schools.com/">Visit W3Schools</a>

tonyvh2
03-09-2011, 01:41 PM
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

New Joe
03-10-2011, 06:57 AM
Thanks to tonyvh2 and your24hourstore i was able to do what i wanted

i would like to remove these 2 links : ? Previous Thread | Next Thread ? as seen in my first screen shot, which codes do I need to delete from the Showthread template?

tonyvh2
03-10-2011, 11:26 AM
just remove anything that was originally in that div so everything between <div class="navlinks"> and </div>

in my version of vbulletin (4.1) it is the following 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>