Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [MJB] Publicly display user status

Quote Reply
Re: [MJB] Publicly display user status In reply to
A simple global should do the trick:

get_linkowner_status
Code:
sub {
return $DB->table('Users')->select( ['Status'], { Username => $_[0] } )->fetchrow;
}

Then call with:

Code:
Status: <%if Review_GuestName%><font class="guest">Guest</font><%else%><%get_linkowner_status($Review_Owner)%><%endif%>

That should do it Smile

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Subject Author Views Date
Thread Publicly display user status MJB 4136 Jul 26, 2011, 2:40 PM
Thread Re: [MJB] Publicly display user status
Andy 4015 Jul 26, 2011, 11:26 PM
Thread Re: [Andy] Publicly display user status
MJB 4015 Jul 27, 2011, 3:23 AM
Thread Re: [MJB] Publicly display user status
Andy 4008 Jul 27, 2011, 4:40 AM
Post Re: [Andy] Publicly display user status
MJB 3986 Jul 27, 2011, 8:36 AM