Arrow Home arrow Forums
larger font smaller font default font Fixed screen resolution Auto adjust screen size

Joomlapolis Forums  


Change some code
Date: 2008/09/06 15:52 By: dutchadmin Status: User  
Karma: 1  
Fresh Joomlapolitan

Posts: 24
graphgraph
Hi, How can I make this work.

I would like to add some "online and Offline images to this code instate of using the ONLINE and OFFLINE text.

Code:

         // Online Status         if ($ueConfig['allow_onlinestatus']==&& $params->get('online''1')==1) {             $_CB_database->setQuery("SELECT COUNT(*) FROM #__session WHERE userid =". (int) $user->id) . " AND (guest = 0) AND (NOT ( usertype is NULL OR usertype = '' ))";             $isonline $_CB_database->loadResult();             $mi = array(); $mi["_UE_MENU_STATUS"]["_UE_ONLINESTATUS"]["_UE_ONLINESTATUS"]=null;             $this->_addMenuItem$mi, ($isonline 0) ? _UE_ISONLINE _UE_ISOFFLINE,"""",             "",""_UE_ONLINESTATUS_DESC,"" );



Can some one gide me in the right directions

Thanks

Post edited by: dutchadmin, at: 2008/09/06 15:53

Post edited by: dutchadmin, at: 2008/09/06 15:56
Click here to see the profile of this user The administrator has disabled public write access.

Documentation

Documentation Subscription Service
(updated for CB 1.2 RC2)

What?

Why?

Where?

Just click here for answers!

Click here for a yearly subscription: subscribe now

Download Latest Release

The latest stable Community Builder Release is version 1.1 for Joomla 1.0 and Mambo.
You need to be a registered member of Joomlapolis to download.

The latest release candidate of Community Builder is version 1.2 RC3, native for Joomla 1.0, 1.5 and Mambo.
It is available as "thank you" to all CB documentation subscribers at this time.

CB Login