Quote:
Originally Posted by Kurtie
i tried that:
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]<if usergroupid="Administrators"><img src="URL"></if></a>
and it brings me an error, what might be the problem?
|
try change it to :
<if usergroupid="6">
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]<img src="URL"></a>
</if>
supuse to work
or in functions_showthread.php do
PHP Code:
if ($bbuserinfo['usergroupid'] == "6" )
{ // means user is administrator
$adminurl = "images/admin.gif"; // replace with real url
}
then on templte do
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]
<if condition="$adminurl"><img src="$adminurl"></if></a>
there are few more ways to do it
if the ways i said not working just tell...