Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Print Who Is Online for SP1.4 (Read 2363 times)
Administrator
Forum Administrator
*****
Offline


Yummm

Posts: 7
Location: Modders Rile
Joined: Oct 7th, 2014
Gender: Male
Print Who Is Online for SP1.4
Dec 19th, 2004 at 12:32am
Print Post  
I tested my Print Who Is Online mod on SP1.4 and it works fine, no changes to the mod required.

Smiley
  

The Administrator.
Back to top
WWW  
IP Logged
 
Sermonator
Junior Member
**
Offline


PastorStaff Search

Posts: 68
Location: New Waverly
Joined: Mar 13th, 2005
Gender: Male
Re: Print Who Is Online for SP1.4
Reply #1 - Apr 4th, 2005 at 1:43pm
Print Post  
Would it be possible to add "Your Instant Messages = ?" to the mod?

Have combined yours and Zoo's Latest Topics on one html page and would like it to also show if you have IM's.

Have an idea of the code I need to add, but thought you would do a much cleaner job of coding  Grin

Thanks
  
Back to top
WWW  
IP Logged
 
Administrator
Forum Administrator
*****
Offline


Yummm

Posts: 7
Location: Modders Rile
Joined: Oct 7th, 2014
Gender: Male
Re: Print Who Is Online for SP1.4
Reply #2 - Apr 4th, 2005 at 4:25pm
Print Post  
Uhm this mod is about users online information, there are no plans to extend the functionality to anything else.
  

The Administrator.
Back to top
WWW  
IP Logged
 
Sermonator
Junior Member
**
Offline


PastorStaff Search

Posts: 68
Location: New Waverly
Joined: Mar 13th, 2005
Gender: Male
Re: Print Who Is Online for SP1.4
Reply #3 - Apr 4th, 2005 at 8:59pm
Print Post  
Thanks,

I figured it out. Didn't take much after I looked at subroutine.

added

Code
Select All
$ims = @immessages; 




Then modified

Code
Select All
		else { print qq~$guests $txt{'141'}, $numusers $txt{'142'}<BR>$users~; } 



to read

Code
Select All
		else { print qq~$guests $txt{'141'}, $numusers $txt{'142'}<BR>$users, <p>$txt{'796'} <a href="$scripturl?action=im">$ims</a>~; } 



Now with your mod and Zoo's mod it looks this way and also auto-refreshes.

  

screen.jpg ( 66 KB | Downloads )
screen.jpg
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint