Username:
Password:
Search for Plugins: Advanced
Please Sign in, Register or Resend Activation Email

Forums

  e107 Coders.org :: Forums :: E107 Plugins :: Suggest a Plugin
 
<< Previous thread | Next thread >>  
UserGroup colors?     Go to page   <<            
Author Post
ShareDXS
Tue Jun 26 2007, 09:04PM
Registered Member #57679
Joined: Mon Jul 24 2006, 09:20PM
Location:
Posts: 22
Thanks...but can I get a link for it? The 110mb.com one doesn't work for me for some reason...
Back to top
Killerpope
Wed Jun 27 2007, 01:41PM

Registered Member #70860
Joined: Sun Jan 07 2007, 03:28PM
Location: Germany
Posts: 290
I've moved to a new host. Now it's killerpopes-world.com
Back to top
Website
12Twisted
Fri Jun 29 2007, 06:15PM
Registered Member #68575
Joined: Tue Dec 05 2006, 01:35PM
Location:
Posts: 46
This is very very nice Killerpope and thanks works great :)
Back to top
septor
Mon Jul 02 2007, 01:23AM
Registered Member #20
Joined: Mon May 05 2003, 01:58AM
Location: Michigan
Posts: 339
Killerpope wrote ...

Killerpope wrote ...


//Insert your logic here to modify the color of the link
return "<a href='".e_BASE."user.php?id.".$post_info['user_id']."'><b>".$post_info['user_name']."</b></a>";


of course you'll have to check whether the user is an admin or not by checking if the constant ADMIN is true. I just wanted to show you where the code has to be changed. Now it's up to you to define who will get different colors


Using the {ADMIN} shortcode won't do what you're wanting. Search the forums for checking if a user has a certain user class. I'll look into this in a bit and post the code. I'm busy right now.
Back to top
Website
ShareDXS
Tue Jul 03 2007, 04:21PM
Registered Member #57679
Joined: Mon Jul 24 2006, 09:20PM
Location:
Posts: 22
Thanks for everything guys. =] Especially Killerpope
Back to top
thakrage
Mon Sep 24 2007, 08:13AM
Registered Member #86973
Joined: Sun Sep 09 2007, 01:47PM
Location:
Posts: 4
Never mind. Great plug-in

[ Edited Mon Sep 24 2007, 08:14AM ]
Back to top
ShareDXS
Fri Apr 15 2011, 05:39AM
Registered Member #57679
Joined: Mon Jul 24 2006, 09:20PM
Location:
Posts: 22
*bump* Sorry for the very long term bumping but is there anyone with this plugin or a plugin like it? I'm using e107 yet again for a site and I'm in need of this plugin...
Back to top
Go to page   <<       

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System
Render time: 0.2282 sec, 0.1471 of that for queries. DB queries: 42.