This is a pro_portal block that shows who is in chat
Assumptions:
Your chat is located as so: www . yoursite/(path to forum if site is in sub-directory)/chat/
Requirements
For the pro_portal block to work then you will need to have the AjaxChat installed on your board.
Installing to ProPortal:
When you add the ajax_chat block, put this in the block settings
block_title = <a href="http://www.yoursite.com/forums/chat">Chat</a>
Use Custom Block Template = NO
Block File: ajaxchat
Assumptions:
Your chat is located as so: www . yoursite/(path to forum if site is in sub-directory)/chat/
Requirements
For the pro_portal block to work then you will need to have the AjaxChat installed on your board.
Installing to ProPortal:
When you add the ajax_chat block, put this in the block settings
block_title = <a href="http://www.yoursite.com/forums/chat">Chat</a>
Use Custom Block Template = NO
Block File: ajaxchat
Filesize 1.03 KB |
File Name WhoIsInAJAXChat.rar | # of Downloads 98
File Updated 18-03-2012
File Updated 18-03-2012
Comments
#12
04-03-2011
ok thanks i really appreciate this
PHP Code:
<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
</head>
<body>
{$header}
<table width="100%" cellspacing="0" cellpadding="0" border="0" align="center">
<tr>
<td valign="top" width="{$proportal->settings['leftcolwidth']}" style="padding-left:{$proportal->settings['verticalspace']}px">
{$leftblocks}
</td>
<td valign="top">
{$centerblocks}
</td>
<td valign="top" width="{$proportal->settings['rightcolwidth']}" style="padding-right:{$proportal->settings['verticalspace']}px">
{$rightblocks}
</td>
</tr>
</table>
<table width="100%" cellspacing="0" cellpadding="0" border="0" align="center">
<tr>
<td align="center" width="100%" class="smalltext"></td>
</tr>
</table>
{$footer}
</body>
</html>
#13
04-03-2011
Ok, here you go.
You need to install pirata's Shoutbox of course. See it on Testfish
[html]
<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
</head>
<body>
{$header}
<table width="100%" cellspacing="0" cellpadding="0" border="0" align="center">
<tr>
<td valign="top" width="{$proportal->settings['leftcolwidth']}" style="padding-right:{$proportal->settings['verticalspace']}px">
{$leftblocks}
</td>
<td valign="top">
{myshoutbox}
{$centerblocks}
</td>
<td valign="top" width="{$proportal->settings['rightcolwidth']}" style="padding-left:{$proportal->settings['verticalspace']}px">
{$rightblocks}
</td>
</tr>
</table>
<table width="100%" cellspacing="0" cellpadding="0" border="0" align="center">
<tr>
<td align="center" width="100%" class="smalltext"><a href="http://www.promybb.com/" target="_blank">Pro Portal 1.0</a> © 2010 <a href="http://atopal.com/" target="_blank">Adnan TOPAL</a></td>
</tr>
</table>
{$footer}
</body>
</html>
[/html]
IMPORTANT
If you have updated the portal.php using the edits you will need to put it back to how it was. File attached
You need to install pirata's Shoutbox of course. See it on Testfish
[html]
<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
</head>
<body>
{$header}
<table width="100%" cellspacing="0" cellpadding="0" border="0" align="center">
<tr>
<td valign="top" width="{$proportal->settings['leftcolwidth']}" style="padding-right:{$proportal->settings['verticalspace']}px">
{$leftblocks}
</td>
<td valign="top">
{myshoutbox}
{$centerblocks}
</td>
<td valign="top" width="{$proportal->settings['rightcolwidth']}" style="padding-left:{$proportal->settings['verticalspace']}px">
{$rightblocks}
</td>
</tr>
</table>
<table width="100%" cellspacing="0" cellpadding="0" border="0" align="center">
<tr>
<td align="center" width="100%" class="smalltext"><a href="http://www.promybb.com/" target="_blank">Pro Portal 1.0</a> © 2010 <a href="http://atopal.com/" target="_blank">Adnan TOPAL</a></td>
</tr>
</table>
{$footer}
</body>
</html>
[/html]
IMPORTANT
If you have updated the portal.php using the edits you will need to put it back to how it was. File attached
The site don't jive? PRESS F5
#16
15-03-2012
- Yin
I'm using this plug in, but when I replace the portal page, I get an error saying this isn't supposed to be used in mybb when I go to my portal page. I've replace the template, I have ajax chat installed. I pointed my block to the chatroom. Can you help me with this? I'm using 1.6.6.
#18
15-03-2012
OK, this is a conflict with Pirata Nervo's shoutbox - they are both called the same thing - it is his shoutbox file that is returning the error. I will repackage the upload with the Ajax chat shoutbox PHP included - and the css line.
Sorry for the trouble
Sorry for the trouble
The site don't jive? PRESS F5
#19
15-03-2012
- Yin
Also, when I remove the portal and just use the block, I get an error on the portal page.
Access denied for user 'username'@localhost (using password: NO)
Ooooh ok. I'm not even using the shoutbox anymore since I'm using the chatroom. Can I just remove the shoutbox files? It's not installed or activated.
Access denied for user 'username'@localhost (using password: NO)
leefish;10594 Wrote:OK, this is a conflict with Pirata Nervo's shoutbox - they are both called the same thing - it is his shoutbox file that is returning the error. I will repackage the upload with the Ajax chat shoutbox PHP included - and the css line.
Sorry for the trouble
Ooooh ok. I'm not even using the shoutbox anymore since I'm using the chatroom. Can I just remove the shoutbox files? It's not installed or activated.
#20
15-03-2012
- Yin
Ha ha, sorry, I'd edit my post, but there's no edit option probably because I am a guest. Replacing the shoutbox file with the new download actually resolved the first error, but now I'm having trouble figuring out what the second error is all about.