How to add 'Activation Code' cell to the navbar for usergroup 3

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mazinger
    Senior Member
    • Jul 2005
    • 2399
    • 3.7.x

    How to add 'Activation Code' cell to the navbar for usergroup 3

    How to add a cell 'Activation Code' in the navbar for group 3 (users awaiting email confirmation):

    In Navabr template:

    Search for:

    PHP Code:
    <if condition="$show['member']">
       <
    td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]onclick="return log_out()">$vbphrase[log_out]</a></td>
      </if> 
    Add after:

    PHP Code:
    <if condition="$bbuserinfo['usergroupid'] ==3">
    <
    td class="vbmenu_control"><a href="register.php?do=requestemail">Activation Code</a></td>
    </if> 
    You may change Activation Code to whatever you want...

    I tried to use $vbphrase[activation_code] instead of Activation Code, but that didn't work.
    Attached Files
    $post[signature]
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...