vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How to add links to here? (https://vborg.vbsupport.ru/showthread.php?t=260085)

New Joe 03-09-2011 06:11 AM

How to add links to here?
 
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
HTML Code:

<div class="navlinks">
and
Code:

</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
HTML Code:

<a href="http://www.w3schools.com/">Visit W3Schools</a>

tonyvh2 03-09-2011 01:41 PM

Quote:

Originally Posted by New Joe (Post 2171371)
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 :
Quote:

? 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
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>



All times are GMT. The time now is 06:15 PM.

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.02542 seconds
  • Memory Usage 1,730KB
  • 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
  • (4)bbcode_code_printable
  • (2)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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