 |
 |
 |
 |
#224548 - 09/28/02 01:32 PM
Re: Mod Name / Version - Show User Groups v1.1
[Re: JacquiL]
|
I type Like navaho
Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
|
Lisa,<br /><br />I'm not 100% sure... I don't have this installed, but I looked at it.<br /><br />I wonder if changing this:<br /><pre><font class="small">code:</font><hr><br /><br /><br />// Show User Groups Hack<br /> $userrow[$i]['Group'] = $Groups;<br /> $userrow[$i]['Group'] = str_replace("0","",$userrow[$i]['Group']);<br /> $userrow[$i]['Group'] = str_replace("1","Administrators",$userrow[$i]['Group']);<br /> $userrow[$i]['Group'] = str_replace("2","Moderators",$userrow[$i]['Group']);<br /> $userrow[$i]['Group'] = str_replace("3","Users",$userrow[$i]['Group']);<br /> $userrow[$i]['Group'] = str_replace("4","Guests",$userrow[$i]['Group']);<br /> $userrow[$i]['Group'] = str_replace("-"," ",$userrow[$i]['Group']);<br />// end Show User Groups Hack</pre><hr><br /><br />to this:<br /><pre><font class="small">code:</font><hr><br /><br /><br />// Show User Groups Hack<br /> $userrow[$i]['Group'] = $Groups;<br /> $userrow[$i]['Group'] = str_replace("0","",$userrow[$i]['Group']);<br /> $userrow[$i]['Group'] = str_replace("1","Administrators <br />",$userrow[$i]['Group']);<br /> $userrow[$i]['Group'] = str_replace("2","Moderators<br />",$userrow[$i]['Group']);<br /> $userrow[$i]['Group'] = str_replace("3","Users<br />",$userrow[$i]['Group']);<br /> $userrow[$i]['Group'] = str_replace("4","Guests<br />",$userrow[$i]['Group']);<br /> $userrow[$i]['Group'] = str_replace("-"," ",$userrow[$i]['Group']);<br />// end Show User Groups Hack</pre><hr><br /><br />I think that might do the trick.<br /><br />Don't shoot me if it doesn't though. <img src="/forum/images/graemlins/smile.gif" alt="" />
|
|
Top
|
|
|
|
 |
 |
 |
 |
|
|