Previous Thread
Next Thread
Print Thread
Rate Thread
#180563 02/04/2003 2:18 PM
Joined: Jan 2003
Posts: 58
Member
Member
Offline
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

Sponsored Links
#180564 02/04/2003 5:40 PM
Joined: Nov 2001
Posts: 1,704
CTM Offline
Moderator / Da Masta
Moderator / Da Masta
Offline
Joined: Nov 2001
Posts: 1,704
Check out $user_profile[8] - It will contain either "Administrator", "Moderator" or "Member". smile

#180565 02/05/2003 12:04 AM
Joined: Jan 2003
Posts: 58
Member
Member
Offline
Joined: Jan 2003
Posts: 58
Where do I go to search for that? I'm new to this.

#180566 02/05/2003 1:10 PM
Joined: Nov 2001
Posts: 1,704
CTM Offline
Moderator / Da Masta
Moderator / Da Masta
Offline
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. smile

#180567 02/05/2003 3:02 PM
Joined: Jan 2003
Posts: 58
Member
Member
Offline
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.

Sponsored Links
#180568 02/05/2003 6:12 PM
Joined: Dec 2001
Posts: 699
Member
Member
Offline
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...

#180569 02/05/2003 7:04 PM
Joined: Jan 2003
Posts: 58
Member
Member
Offline
Joined: Jan 2003
Posts: 58
I'll give it a go. Thanx Dave.


Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)