SimplePortal

Customization => Blocks and Modifications => Block Requests => Topic started by: gossebezak on August 18, 2010, 09:45:47 AM

Title: 2 SI chat and who's online.
Post by: gossebezak on August 18, 2010, 09:45:47 AM
Hello!
Is it possible to connect the 2SI chat mod and the who's online block?
I would like to have a window of chat when I click on the name of a member.
Can you help me please??
Thank you  ;D

I use SP 2.3.2 SMF 2.0 RC3
The mod 2SI chat is here : http://custom.simplemachines.org/mods/index.php?mod=2534
My website : www.boudu.org
 ;)

This page can help
http://mods.2-si.net/2si_chat_support/2si_chat_tips_tricks_18.0.html
Title: Re: 2 SI chat and who's online.
Post by: gossebezak on August 20, 2010, 01:10:42 PM
What is the exact code line in the portalblocks.php that defines the link when clicking on a username.

I will try by myself...
Thank you :nervous-happy:
Title: Re: 2 SI chat and who's online.
Post by: gossebezak on August 23, 2010, 10:02:25 AM
HUmm no idea??
Please can somebody help me?  ;)
Title: Re: 2 SI chat and who's online.
Post by: tfs on August 26, 2010, 09:31:09 PM
x2

This would be a nice feature.  I've always avoided "popup" type of anything on my forum, but 2-SI chat is actually becoming a very cool, and reasonably unobtrusive, addition.

I'd love to see a Who's Online block that incorporates 2-SI.
Title: Re: 2 SI chat and who's online.
Post by: Afro on September 26, 2010, 08:43:24 PM
+2
Title: Re: 2 SI chat and who's online.
Post by: AngelinaBelle on September 27, 2010, 04:30:33 PM
You can look in the function sp_whosOnline for $user['link'].
 
And you can replace that bit of the code with anything you like.
You can see that this array is filled up in ssi_whosOnline, which will give you an idea of how to build the string you are going to use instead.
 
 
Title: Re: 2 SI chat and who's online.
Post by: rocknroller on February 08, 2011, 02:19:04 PM
Autor of this is manix i am developer
this is for HTML block
block will be refreshed every 30 sek.

Code: [Select]
<html>
<head>
</head>
<body>
<iframe src ="../online.php" style="margin:0; padding:0;" width="96%">
  <p>browser not support iframes.</p>
</iframe>
</body>
</html>

and save online.php in root of the forum
SimplePortal 2.3.8 © 2008-2024, SimplePortal