|
|
Joined: Jan 2003
Posts: 58
Member
|
Member
Joined: Jan 2003
Posts: 58 |
I'm planning on making the public names within topics glow on my board. I was wondering, how I can define the difference between admins/mods/regular members, so that I can assign each person a different glow text color. Any help would be appreciated. Thanx
|
|
|
|
Joined: Nov 2001
Posts: 1,704
Moderator / Da Masta
|
Moderator / Da Masta
Joined: Nov 2001
Posts: 1,704 |
Check out $user_profile[8] - It will contain either "Administrator", "Moderator" or "Member".
|
|
|
|
Joined: Jan 2003
Posts: 58
Member
|
Member
Joined: Jan 2003
Posts: 58 |
Where do I go to search for that? I'm new to this.
|
|
|
|
Joined: Nov 2001
Posts: 1,704
Moderator / Da Masta
|
Moderator / Da Masta
Joined: Nov 2001
Posts: 1,704 |
You can refer to it anywhere you like inside public_topic_page.pl, which is the "Topic Page" Template file.
|
|
|
|
Joined: Jan 2003
Posts: 58
Member
|
Member
Joined: Jan 2003
Posts: 58 |
Thanx so far. When you siad "It will contain" I thought you ment it was file somewhere.
So far adding $user_profile[8] does display what type of member someone is. Do I put like $user_profile[8]="administrator"
Or something like that, so that I can then define that an administrator gets such and such color for their display name? This is all so confusing.
|
|
|
|
Joined: Dec 2001
Posts: 699
Member
|
Member
Joined: Dec 2001
Posts: 699 |
It'd be something more like:
[code][/code]And insert $somevar into your templates... But I've probably not been very helpful there...
|
|
|
|
Joined: Jan 2003
Posts: 58
Member
|
Member
Joined: Jan 2003
Posts: 58 |
I'll give it a go. Thanx Dave.
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|