Page Index Toggle Pages: 1
Topic Tools
Normal Topic Changing Online | Offline to images (Read 1,206 times)
fpsbrian
Full Member
***
Offline



Posts: 108
Location: New Jersey
Re: Changing Online | Offline to images
Reply #2 - Mar 2nd, 2011 at 9:20pm
Post Tools
perfect!
  

Back to top
IP Logged
 
Derek Barnstorm
Support Team
YaBB Next Team
Development Team
Beta Testers
****
Offline



Posts: 1,269
Location: United Kingdom

None
Re: Changing Online | Offline to images
Reply #1 - Mar 2nd, 2011 at 8:31pm
Post Tools
Hi Brian,

Sources/Subs.pl

Code (Perl)
Select All
        $users_online{$userToCheck} = qq~<span class="useronline">$maintxt{'60'}</span>~ . (${$uid.$userToCheck}{'stealth'} ? "*" : "");
    } else {
        $users_online{$userToCheck} = qq~<span class="useroffline">$maintxt{'61'}</span>~;
    }
    # enable 'away' indicator $enable_MCaway: 0=Off; 1=Staff to Staff; 2=Staff to all; 3=Members
    if (!$iamguest && $enable_MCstatusStealth &&
        (($enable_MCaway == 1 && $staff) || $enable_MCaway > 1) &&
        ${$uid.$userToCheck}{'offlinestatus'} eq 'away') {
        $users_online{$userToCheck} = qq~<span class="useraway">$maintxt{'away'}</span>~; 

« Last Edit: Mar 2nd, 2011 at 8:33pm by Derek Barnstorm »  
Back to top
 
IP Logged
 
fpsbrian
Full Member
***
Offline



Posts: 108
Location: New Jersey
Changing Online | Offline to images
Mar 2nd, 2011 at 8:01pm
Post Tools
I was looking into changing the online and offline text fields in posts to be images, I'm not sure where the best place is to start looking...
  

Back to top
IP Logged
 
Page Index Toggle Pages: 1
Topic Tools
 
  « Board Index ‹ Board  ^Top