Previous Thread
Next Thread
Print Thread
Hop To
Joined: Jul 2006
Posts: 50
M
mag
Offline
journeyman
journeyman
M Offline
Joined: Jul 2006
Posts: 50
We have a group of members that are 'Staff' (which have their own color). How can I add 'Staff to the key under the Who's online island?

Thanks.

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Well, you'd simply add additional code

In:
templates/default/island_whos_online.tpl

After:
Code
<span class="modname"><?php echo $ubbt_lang['MOD_NAME'] ?></span>


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jul 2006
Posts: 50
M
mag
Offline
journeyman
journeyman
M Offline
Joined: Jul 2006
Posts: 50
Thanks for the reply, Gizmo.

It doesn't show after I added this:
<span class="staffname"><?php echo $ubbt_lang['STAFF_NAME'] ?></span>

Maybe because I just added the Staff in group management?
I added the color individially to each person's name - not through 'styles'.

Joined: Jun 2006
Posts: 1,344
G
veteran
veteran
G Offline
Joined: Jun 2006
Posts: 1,344
Did you clear your cache?

Joined: Dec 2003
Posts: 6,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
Also did you add STAFF_NAME to the language file.
If the language file does not have a STAFF_NAME field there will be nothing to display.
I believe it is in portal_islands.php
And if you are using a class to define color ,then you would need to add the class to the style


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jul 2006
Posts: 50
M
mag
Offline
journeyman
journeyman
M Offline
Joined: Jul 2006
Posts: 50
Thank you for the response, gliderdad and Ruben.

How do I add the class to the style? I can't find Misc properties edit.

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
you know, it is just for you, so all you really have to do is:
<span class="staffname">Staff</span>

Then just go into your style and add a custom code (see the last option of the style editor:
Code
.staffname {
color: #000000;
}

The color code will be whatever hex code you're using for your staff color.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jul 2006
Posts: 50
M
mag
Offline
journeyman
journeyman
M Offline
Joined: Jul 2006
Posts: 50
Thanks, Gizmo.

I have Staff showing and I have added the hex code (as above post) at Extra properties in Styles but the color is still white.

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Link?


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jul 2006
Posts: 50
M
mag
Offline
journeyman
journeyman
M Offline
Joined: Jul 2006
Posts: 50
Just to add to the PM that the color that I placed for Staff is #0099FF.

OMG - the color changed to blue. I'm sorry to bother you but I did the clear cache while waiting. Wow - grin

Thanks, Gizmo, Ruben and gliderdad.

Last edited by mag; 09/04/2009 10:56 PM.
Joined: Jun 2006
Posts: 1,344
G
veteran
veteran
G Offline
Joined: Jun 2006
Posts: 1,344
Always a good habit to clear cache if you want to see if the changes are applied when modifying those types of files wink

Joined: Jul 2006
Posts: 50
M
mag
Offline
journeyman
journeyman
M Offline
Joined: Jul 2006
Posts: 50
Thanks. I'll remember that. Appreciate the responses and help.

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Looks good; just got your PM tongue


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jul 2006
Posts: 50
M
mag
Offline
journeyman
journeyman
M Offline
Joined: Jul 2006
Posts: 50
Thanks, Gizmo.

Joined: Aug 2010
Posts: 21
A
stranger
stranger
A Offline
Joined: Aug 2010
Posts: 21
can I change the Admin name to Director and Change Global Mod to Super Moderator ?

Joined: Jan 2004
Posts: 2,474
Likes: 3
D
Pooh-Bah
Pooh-Bah
D Offline
Joined: Jan 2004
Posts: 2,474
Likes: 3
Use the language editor under 'display Options' in the admin CP.

Search for the phrase you want, I think it's in generic.php smile


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
1 members (Geoff), 1,124 guests, and 219 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240501)