how to hide this?

Discussion in 'vBulletin' started by Divvy, Aug 13, 2011.

  1. #1
    Hello guys,

    Maybe someone can help me...

    I have this code:
    $template_hook['postbit_userinfo_right_after_posts'] .= '<div style="clear:both;" class="left"><a target="_blank" href="'.$mylink.''.$usernumber.'">'.$mylinktitle.'</a></div>';
    PHP:
    That shows a link at postbit with all topics from the user at a two specific forums.

    I need that:
    - the link only shows when the user have threads at least in one of that two forums.
    - If not, the link doesn't appear.

    It is possible? Please? :)

    Or else, I had another idea...
    The links only appear If the user belongs to a specific group.
     
    Divvy, Aug 13, 2011 IP
  2. johnnyboy1988

    johnnyboy1988 Peon

    Messages:
    35
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    http://www.adminaddict.net/forum/vbulletin/vbulletin-4-template-conditionals-list-3391/index2/
    Code (markup):
     
    johnnyboy1988, Aug 14, 2011 IP