Announcement

Collapse
No announcement yet.

Open a link forum in a new window.

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • Orcun
    replied
    ...

    Leave a comment:


  • Orcun
    replied
    Code:
    <if condition="$forum[link]">
    <if condition="$forum[id]==91">target="_blank"</if></if>
    Tried this but got no result.

    Leave a comment:


  • Orcun
    replied
    Lets make it more specific.

    I dont know the exact syntax for php and cant modify.

    I want this if (the one you stated above) is valid for all links. But I have links that I dont want them to be opened in a new window like vBArcade or Registration link.

    I want to expand the if clause like this;

    <if condition="$forum['link']"> and $forum[forumid] = 10, open in a new page.

    I dont know the exact syntax.

    I also found this out
    http://www.vbulletin.com/forum/showthread.php?t=116782

    Thanks.

    Leave a comment:


  • Floris
    replied
    Admin Control Panel > Styles & Templates > Style Manager > dropdown: Edit Templates > Expand the group for forum home templates > open the template forumhome_forumbit_level2_post and find the code:
    Code:
    <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
    and replace it with:
    Code:
    <if condition="$forum['link']">
    <a href="$forum[link]" target="_blank"><strong>$forum[title]</strong></a>
    <else />
    <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
    </if>
    And save the template.

    Leave a comment:


  • Orcun
    started a topic Open a link forum in a new window.

    Open a link forum in a new window.

    I have a forum thats a link to FlashChat.

    I want it to be opened in a new window. How can I do that ?


    Thanks.
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X
😀
🥰
🤢
😎
😡
👍
👎