The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How To: Forum Link to New Window?
How do I have a forum link open a new browser window? (instead of redirecting my users away from my site?)
Thanks - |
#2
|
||||
|
||||
Add target="_blank" in the code.
e.g. Code:
<a href="index.php" target="_blank"></a> |
#3
|
|||
|
|||
I know that part, where do I set this in the styles? templates, etc...
|
#4
|
||||
|
||||
For "Forum" tab edit navbar template.
This line: HTML Code:
<li class="selected"><a class="navtab" href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}">{vb:rawphrase forum}</a> |
#5
|
|||
|
|||
Let me try again...
I made a forum which is set as a link type, which redirects to an external site (link). ie. like the Vbulletin.com, vBulletin Customization @ vBulletin.org (which opens up an external link) My question is simply, how/what do I need to do to cause that link to open in a new window. I know the right code, just not where to set... Thanks in advance - |
#6
|
||||
|
||||
Now we getting somewhere you need to edit two templates:
forumhome_forumbit_level1_post forumhome_forumbit_level2_post Find this line and edit it: HTML Code:
<h2 class="forumtitle"><a href="{vb:link forum, {vb:raw forum}}">{vb:raw forum.title}</a></h2> |
#7
|
|||
|
|||
Awesome, thanks! It worked great!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|