Admin Name Color (forumhome)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • s.sami
    New Member
    • Aug 2011
    • 15
    • 3.8.x

    Admin Name Color (forumhome)

    Hi how can i do red admin name color on the forumhome

    i tryed this but this is not working
    Code:
     <if condition="$lastpostinfo[postusergroupid] == 6">
    my forumhome_lastpostby template

    Code:
    <if condition="$show['lastpostinfo']">
    <div class="smallfont" align="$stylevar[left]">
        <div>
            <span style="white-space:nowrap">
            <if condition="$show['icon']"><img class="inlineimg" src="$icon[iconpath]" alt="$icon[title]" border="0" /></if>
            <if condition="$lastpostinfo['prefix']">
                $lastpostinfo[prefix]
                </span><if condition="is_browser('safari')"><!--bug#24775-->&nbsp;</if>
                <span style="white-space:nowrap">
            </if>
            <a href="showthread.php?$session[sessionurl]goto=newpost&amp;t=$lastpostinfo[lastthreadid]" class="hak" style="white-space:nowrap" title="<phrase 1="$lastpostinfo[lastthread]">$vbphrase[go_first_unread_in_thread_x]</phrase>"><strong>$lastpostinfo[trimthread]</strong></a></span>
        </div>
    
     <if condition="$lastpostinfo[postusergroupid] == 6">
    <div style="white-space:nowrap<if condition="is_browser('ie', 6)">; float:$stylevar[left]</if>">
            yazan<a href="member.php?$session[sessionurl]find=lastposter&f=$lastpostinfo[forumid]"> <font color="red">$lastpostinfo[lastposter]</font></a>
        </div>
    
    <else />
    <div style="white-space:nowrap<if condition="is_browser('ie', 6)">; float:$stylevar[left]</if>">
            yazan<a href="member.php?$session[sessionurl]find=lastposter&f=$lastpostinfo[forumid]"> $lastpostinfo[lastposter]</a>
        </div></if>
    
        <div align="$stylevar[right]" style="white-space:nowrap">
            $lastpostinfo[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$lastpostinfo[lastposttime]</span></if>
            <a href="showthread.php?$session[sessionurl]p=$lastpostinfo[lastpostid]#post$lastpostinfo[lastpostid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a>
        </div>
    </div>
    <else />
    <div class="smallfont" align="$stylevar[right]">
        $lastpostinfo[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$apostinfo[lastposttime]</span></if>
        <a href="showthread.php?$session[sessionurl]p=$lastpostinfo[lastpostid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a>
    </div>
    </if>
  • Trevor Hannant
    vBulletin Support
    • Aug 2002
    • 24359
    • 5.7.X

    #2
    Where on forumhome? There's a few places it could show so which do you want?
    Vote for:

    - Admin Settable Paid Subscription Reminder Timeframe (vB6)
    - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...