Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules
Author Message
metalgovy
New Member
New Member


Joined: Sep 09, 2009
Posts: 2

PostPosted: Wed Sep 09, 2009 7:21 am Reply with quote

Hi All,

I am looking for someone that can tell me how i can change the Online / Offline status colors in the module Your Account.

I am using RavenNuke[tm] Version 2.30.02

I hope you can help me out..

Greetings Peter-Jan
 
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6383

PostPosted: Wed Sep 09, 2009 10:22 am Reply with quote

Do you mean on the profile page?

If so, in modules/Your_Account/language/lang-english.php (or your language files):
Code:
define('_OFFLINE','Offline');

if(!defined('_ONLINE')) define('_ONLINE','Online');

to:
Code:
define('_OFFLINE','<span style="color:red;">Offline</span>');

if(!defined('_ONLINE')) define('_ONLINE','<span style="color:green;">Online</span>');

_________________
I google, therefore I exist...
Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
kguske
PostPosted: Wed Sep 09, 2009 10:24 am Reply with quote

Of course, you can use HTML colors, too (e.g. #ff0000 instead of red and #00ff00 instead of green).
 
metalgovy
PostPosted: Wed Sep 09, 2009 10:33 am Reply with quote

Awesome!

Thank You Sir! Smile
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©