Is the shoutbox used on this website available for PHPBB3 or is it an Icy Phoenix Mod?
I was going to use the Shoutbox/Chat from STG but I found out is shows hidden members :mryellow:
Any help on what the best chat/Shout box is for PHPBB3?
Shoutbox For PHPBB3?
Subject: Re: Shoutbox For PHPBB3?
All stuffs you see on this site have been coded (or recoded where I didn't like original mods) for Icy Phoenix which is NOT based on phpBB 3.
Regarding other Shoutbox, Chat system, unfortunately I didn't test any of the existing mods, so I cannot help. :sad:
GlosterMan wrote: [View Post]
All stuffs you see on this site have been coded (or recoded where I didn't like original mods) for Icy Phoenix which is NOT based on phpBB 3.
Regarding other Shoutbox, Chat system, unfortunately I didn't test any of the existing mods, so I cannot help. :sad:
Subject: Re: Shoutbox For PHPBB3?
I have a shoutbox running from AJAX on a phpBB3 forum. I also adapted the black pearl style to it.
You can have a look at trf.mc-sig.de at the very bottom of this side. The only disadvantage until now: The messages disappaer after a timeperiod (can be setup i guess^^).
If you want more detail - pls let me know
Greez...
You can have a look at trf.mc-sig.de at the very bottom of this side. The only disadvantage until now: The messages disappaer after a timeperiod (can be setup i guess^^).
If you want more detail - pls let me know
Greez...
Subject: Re: Shoutbox For PHPBB3?
It would be great if you share shoutbox template files for other users who may need them.
Thanks. :wink:
Huor wrote: [View Post]
It would be great if you share shoutbox template files for other users who may need them.
Thanks. :wink:
Subject: Re: Shoutbox For PHPBB3?
Well as i don't know really where to post this. I insert it here ;)
The following changes can be done to include the AJAX-Shoutbox to the bottom of your PHPBB3 forum.
Look at the following steps.
BTW you should consider the installation steps to integrate the AJAX Shoutbox to your forum -> click here.
This should be done before the following changes of Black Pearl Template...
OPEN <phpBB3 dir>/styles/black_pearl/template/overall_footer.html
FIND
ADD BEFORE
That should be all, it works ;)
Much fun and luck for your own trials...
edit: shoutbox code changed. previous one was not correct!
Last edited by Huor on Sat 25 Oct, 2008 15:13; edited 1 time in total
Mighty Gorgon wrote: [View Post]
Well as i don't know really where to post this. I insert it here ;)
The following changes can be done to include the AJAX-Shoutbox to the bottom of your PHPBB3 forum.
Look at the following steps.
BTW you should consider the installation steps to integrate the AJAX Shoutbox to your forum -> click here.
This should be done before the following changes of Black Pearl Template...
OPEN <phpBB3 dir>/styles/black_pearl/template/overall_footer.html
FIND
<div style="text-align:center;">
<!-- IF U_ACP -->
<br />
<br />
<span class="gensmall">
[ <a href="{U_ACP}">{L_ACP}</a> ]
</span><br /
><br />
<!-- ENDIF --></div>
<!-- IF not S_IS_BOT -->
{RUN_CRON_TASK}
<!-- ENDIF -->
</div>
<!-- IF U_ACP -->
<br />
<br />
<span class="gensmall">
[ <a href="{U_ACP}">{L_ACP}</a> ]
</span><br /
><br />
<!-- ENDIF --></div>
<!-- IF not S_IS_BOT -->
{RUN_CRON_TASK}
<!-- ENDIF -->
</div>
ADD BEFORE
<div id="shoutbox_h" style="display:none;">
<div>
<div class="tbl-h-l">
<div class="tbl-h-r">
<div class="tbl-h-c">
<img style="padding-top:9px;padding-right:6px;float:right;cursor:pointer;"
src="./styles/black_pearl/theme/images/icon_minimize.gif"
onclick="javascript:ShowHide('shoutbox_nh','shoutbox_h','shoutbox_nh');"
alt="Shoutbox" />
<div class="tbl-title">
<h4>
Shoutbox
</h4>
</div>
</div>
</div>
</div>
<table class="tablebg" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td class="row1">
<span class="gensmall"> </span>
</td>
</tr>
</table>
<div class="tbl-f-l">
<div class="tbl-f-r">
<div class="tbl-f-c"> </div>
</div>
</div>
</div>
</div>
<div id="shoutbox_nh">
<script type="text/javascript">
<!--
tmp = 'shoutbox';
if(GetCookie(tmp) == '2')
{
ShowHide('shoutbox_nh', 'shoutbox_h', 'shoutbox_nh');
}
//-->
</script>
<div>
<div class="tbl-h-l">
<div class="tbl-h-r">
<div class="tbl-h-c">
<img style="padding-top:9px;padding-right:6px;float:right;cursor:pointer;"
src="./styles/black_pearl/theme/images/icon_minimize.gif"
onclick="javascript:ShowHide('shoutbox_nh','shoutbox_h','shoutbox_nh');"
alt="Shoutbox" />
<div class="tbl-title">
<h4>
Shoutbox
</h4>
</div>
</div>
</div>
</div>
<table class="tablebg" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td>
<!-- IF not S_IS_BOT -->
<div style="font-size:1.2em; margin-bottom:20px;">
{SHOUTBOX}
</div>
<!-- ELSE -->
<div id="ajaxChatCopyright">
<a href="https://blueimp.net/ajax/">AJAX Chat</a> © <a href="https://blueimp.net">blueimp.net</a>
</div>
<!-- ENDIF -->
</td>
</tr>
</table>
<div class="tbl-f-l">
<div class="tbl-f-r">
<div class="tbl-f-c"> </div>
</div>
</div>
</div>
</div>
<div>
<div class="tbl-h-l">
<div class="tbl-h-r">
<div class="tbl-h-c">
<img style="padding-top:9px;padding-right:6px;float:right;cursor:pointer;"
src="./styles/black_pearl/theme/images/icon_minimize.gif"
onclick="javascript:ShowHide('shoutbox_nh','shoutbox_h','shoutbox_nh');"
alt="Shoutbox" />
<div class="tbl-title">
<h4>
Shoutbox
</h4>
</div>
</div>
</div>
</div>
<table class="tablebg" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td class="row1">
<span class="gensmall"> </span>
</td>
</tr>
</table>
<div class="tbl-f-l">
<div class="tbl-f-r">
<div class="tbl-f-c"> </div>
</div>
</div>
</div>
</div>
<div id="shoutbox_nh">
<script type="text/javascript">
<!--
tmp = 'shoutbox';
if(GetCookie(tmp) == '2')
{
ShowHide('shoutbox_nh', 'shoutbox_h', 'shoutbox_nh');
}
//-->
</script>
<div>
<div class="tbl-h-l">
<div class="tbl-h-r">
<div class="tbl-h-c">
<img style="padding-top:9px;padding-right:6px;float:right;cursor:pointer;"
src="./styles/black_pearl/theme/images/icon_minimize.gif"
onclick="javascript:ShowHide('shoutbox_nh','shoutbox_h','shoutbox_nh');"
alt="Shoutbox" />
<div class="tbl-title">
<h4>
Shoutbox
</h4>
</div>
</div>
</div>
</div>
<table class="tablebg" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td>
<!-- IF not S_IS_BOT -->
<div style="font-size:1.2em; margin-bottom:20px;">
{SHOUTBOX}
</div>
<!-- ELSE -->
<div id="ajaxChatCopyright">
<a href="https://blueimp.net/ajax/">AJAX Chat</a> © <a href="https://blueimp.net">blueimp.net</a>
</div>
<!-- ENDIF -->
</td>
</tr>
</table>
<div class="tbl-f-l">
<div class="tbl-f-r">
<div class="tbl-f-c"> </div>
</div>
</div>
</div>
</div>
That should be all, it works ;)
Much fun and luck for your own trials...
edit: shoutbox code changed. previous one was not correct!
Last edited by Huor on Sat 25 Oct, 2008 15:13; edited 1 time in total
Subject: Re: Shoutbox For PHPBB3?
Thanks this is the one I have installed in my sandbox installation and it shows hidden members online.
It is a great little chat and easy to install but I do not want to anger members that choose to remain hidden.
Rob
It is a great little chat and easy to install but I do not want to anger members that choose to remain hidden.
Rob
ThE KuKa wrote: [View Post]
Subject: Re: Shoutbox For PHPBB3?
Last edited by GlosterMan on Wed 12 Mar, 2008 17:13; edited 1 time in total
Huor
Thanks for all the great help and info :mrgreen:
I sent you a PM
Rob "GlosterMan"
Thanks for all the great help and info :mrgreen:
I sent you a PM
Rob "GlosterMan"
Huor wrote: [View Post]
Last edited by GlosterMan on Wed 12 Mar, 2008 17:13; edited 1 time in total
Subject: Re: Shoutbox For PHPBB3?
I'm having some problems with the integration of the Ajax shoutbox
When I insert the line
'SHOUTBOX' => getShoutBoxContent(),
the shoutbox works perfect but the layout of the forum is totally changed, the font size is doubled. This only happens in Internet Explorer but it works perfect in Firefox!
[img=h**p://img135.imageshack.us/img135/6606/phpbb3ij7.th.png]
Could anybody help me to fix this? Thx
When I insert the line
'SHOUTBOX' => getShoutBoxContent(),
the shoutbox works perfect but the layout of the forum is totally changed, the font size is doubled. This only happens in Internet Explorer but it works perfect in Firefox!
[img=h**p://img135.imageshack.us/img135/6606/phpbb3ij7.th.png]
Could anybody help me to fix this? Thx
Subject: Re: Shoutbox For PHPBB3?
sorry for my english, i like to try this code, but how if i put that shoutbox at the top of forum...? i'm newbie... :mrgreen:
Huor wrote: [View Post]
sorry for my english, i like to try this code, but how if i put that shoutbox at the top of forum...? i'm newbie... :mrgreen:
Subject: Re: Shoutbox For PHPBB3?
then just take the overall_header.html file instead and look for the proper position - below the menu i would recommend.
I changed the code for the shoutbox: Now it should be more usable ;)
cayoga wrote: [View Post]
then just take the overall_header.html file instead and look for the proper position - below the menu i would recommend.
I changed the code for the shoutbox: Now it should be more usable ;)
<div id="shoutbox_h" style="display:none;">
<div>
<div class="tbl-h-l">
<div class="tbl-h-r">
<div class="tbl-h-c">
<img style="padding-top:9px;padding-right:6px;float:right;cursor:pointer;"
src="./styles/black_pearl/theme/images/icon_minimize.gif"
onclick="javascript:ShowHide('shoutbox_nh','shoutbox_h','shoutbox_nh');"
alt="Shoutbox" />
<div class="tbl-title">
<h4>
Shoutbox
</h4>
</div>
</div>
</div>
</div>
<table class="tablebg" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td class="row1">
<span class="gensmall"> </span>
</td>
</tr>
</table>
<div class="tbl-f-l">
<div class="tbl-f-r">
<div class="tbl-f-c"> </div>
</div>
</div>
</div>
</div>
<div id="shoutbox_nh">
<script type="text/javascript">
<!--
tmp = 'shoutbox';
if(GetCookie(tmp) == '2')
{
ShowHide('shoutbox_nh', 'shoutbox_h', 'shoutbox_nh');
}
//-->
</script>
<div>
<div class="tbl-h-l">
<div class="tbl-h-r">
<div class="tbl-h-c">
<img style="padding-top:9px;padding-right:6px;float:right;cursor:pointer;"
src="./styles/black_pearl/theme/images/icon_minimize.gif"
onclick="javascript:ShowHide('shoutbox_nh','shoutbox_h','shoutbox_nh');"
alt="Shoutbox" />
<div class="tbl-title">
<h4>
Shoutbox
</h4>
</div>
</div>
</div>
</div>
<table class="tablebg" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td>
<!-- IF not S_IS_BOT -->
<div style="font-size:1.2em; margin-bottom:20px;">
{SHOUTBOX}
</div>
<!-- ELSE -->
<div id="ajaxChatCopyright">
<a href="https://blueimp.net/ajax/">AJAX Chat</a> © <a href="https://blueimp.net">blueimp.net</a>
</div>
<!-- ENDIF -->
</td>
</tr>
</table>
<div class="tbl-f-l">
<div class="tbl-f-r">
<div class="tbl-f-c"> </div>
</div>
</div>
</div>
</div>
<br />
<div>
<div class="tbl-h-l">
<div class="tbl-h-r">
<div class="tbl-h-c">
<img style="padding-top:9px;padding-right:6px;float:right;cursor:pointer;"
src="./styles/black_pearl/theme/images/icon_minimize.gif"
onclick="javascript:ShowHide('shoutbox_nh','shoutbox_h','shoutbox_nh');"
alt="Shoutbox" />
<div class="tbl-title">
<h4>
Shoutbox
</h4>
</div>
</div>
</div>
</div>
<table class="tablebg" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td class="row1">
<span class="gensmall"> </span>
</td>
</tr>
</table>
<div class="tbl-f-l">
<div class="tbl-f-r">
<div class="tbl-f-c"> </div>
</div>
</div>
</div>
</div>
<div id="shoutbox_nh">
<script type="text/javascript">
<!--
tmp = 'shoutbox';
if(GetCookie(tmp) == '2')
{
ShowHide('shoutbox_nh', 'shoutbox_h', 'shoutbox_nh');
}
//-->
</script>
<div>
<div class="tbl-h-l">
<div class="tbl-h-r">
<div class="tbl-h-c">
<img style="padding-top:9px;padding-right:6px;float:right;cursor:pointer;"
src="./styles/black_pearl/theme/images/icon_minimize.gif"
onclick="javascript:ShowHide('shoutbox_nh','shoutbox_h','shoutbox_nh');"
alt="Shoutbox" />
<div class="tbl-title">
<h4>
Shoutbox
</h4>
</div>
</div>
</div>
</div>
<table class="tablebg" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td>
<!-- IF not S_IS_BOT -->
<div style="font-size:1.2em; margin-bottom:20px;">
{SHOUTBOX}
</div>
<!-- ELSE -->
<div id="ajaxChatCopyright">
<a href="https://blueimp.net/ajax/">AJAX Chat</a> © <a href="https://blueimp.net">blueimp.net</a>
</div>
<!-- ENDIF -->
</td>
</tr>
</table>
<div class="tbl-f-l">
<div class="tbl-f-r">
<div class="tbl-f-c"> </div>
</div>
</div>
</div>
</div>
<br />
Subject: Re: Shoutbox For PHPBB3?
still not show the box for i write a message for shoutbox ... :|
Huor wrote: [View Post]
still not show the box for i write a message for shoutbox ... :|
Subject: Re: Shoutbox For PHPBB3?
Hi, I am trying to implement the Ajax Chat, and trying to follow the instructions to what i need to edit in the functions.php script, but I got a feeling Im gonna end up with bugs due to syntax and what I should be adding exactly, so was wondering if someone could assist me with this?
I will highlight the bits in the following code I need help with..
function getShoutBoxContent()
{
global $phpEx, $phpbb_root_path;
// Get the URL to the chat directory:
if (!defined('AJAX_CHAT_URL')) WHEN IT ASKS FOR THE CHAT URL HERE, DO I INCLUDE HTTP:// ?
{
define('AJAX_CHAT_URL', $phpbb_root_path . 'chat/'); AND I ADD THE SAME AS ABOVE HERE??
}
// Get the real path to the chat directory:
if (!defined('AJAX_CHAT_PATH')) DO I NEED TO EDIT THIS BIT? IF SO, DO I ADD EXACTLY THE SAME???
{
if (empty($_SERVER['SCRIPT_FILENAME'])) IT NOW JUST ASKS FOR THE SCRIPT NAME, DO I SIMPLY ENTER INDEX.PHP HERE?
{
$_SERVER['SCRIPT_FILENAME'] = $_SERVER['DOCUMENT_ROOT'] . $_SERVER['SCRIPT_URL']; AND IT ASKS FOR THE SCRIPT NAME AGAIN AND SCRIPT FILE NAME. WHAT SHOULD BE PUT HERE???
}
define('AJAX_CHAT_PATH', realpath(dirname($_SERVER['SCRIPT_FILENAME']) . '/chat') . '/'); AND HERE AGAIN FOR BOTH CHAT PATH AND SCRIPT FILE NAME
}
// Validate the path to the chat:
if (@is_file(AJAX_CHAT_PATH . 'lib/classes.' . $phpEx)) AND WHAT DO I ENTER HERE IN ALL THESE SECTIONS?
{
// Include Class libraries:
require_once(AJAX_CHAT_PATH.'lib/classes.' . $phpEx);
// Initialize the shoutbox:
$ajaxChat = new CustomAJAXChatShoutBox();
// Parse and return the shoutbox template content:
return $ajaxChat->getShoutBoxContent();
}
return null;
I will highlight the bits in the following code I need help with..
function getShoutBoxContent()
{
global $phpEx, $phpbb_root_path;
// Get the URL to the chat directory:
if (!defined('AJAX_CHAT_URL')) WHEN IT ASKS FOR THE CHAT URL HERE, DO I INCLUDE HTTP:// ?
{
define('AJAX_CHAT_URL', $phpbb_root_path . 'chat/'); AND I ADD THE SAME AS ABOVE HERE??
}
// Get the real path to the chat directory:
if (!defined('AJAX_CHAT_PATH')) DO I NEED TO EDIT THIS BIT? IF SO, DO I ADD EXACTLY THE SAME???
{
if (empty($_SERVER['SCRIPT_FILENAME'])) IT NOW JUST ASKS FOR THE SCRIPT NAME, DO I SIMPLY ENTER INDEX.PHP HERE?
{
$_SERVER['SCRIPT_FILENAME'] = $_SERVER['DOCUMENT_ROOT'] . $_SERVER['SCRIPT_URL']; AND IT ASKS FOR THE SCRIPT NAME AGAIN AND SCRIPT FILE NAME. WHAT SHOULD BE PUT HERE???
}
define('AJAX_CHAT_PATH', realpath(dirname($_SERVER['SCRIPT_FILENAME']) . '/chat') . '/'); AND HERE AGAIN FOR BOTH CHAT PATH AND SCRIPT FILE NAME
}
// Validate the path to the chat:
if (@is_file(AJAX_CHAT_PATH . 'lib/classes.' . $phpEx)) AND WHAT DO I ENTER HERE IN ALL THESE SECTIONS?
{
// Include Class libraries:
require_once(AJAX_CHAT_PATH.'lib/classes.' . $phpEx);
// Initialize the shoutbox:
$ajaxChat = new CustomAJAXChatShoutBox();
// Parse and return the shoutbox template content:
return $ajaxChat->getShoutBoxContent();
}
return null;
Page 1 of 2
You cannot post new topicsYou cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events
This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by Icy Phoenix based on phpBB
Generation Time: 0.2405s (PHP: 16% SQL: 84%)
SQL queries: 13 - Debug Off - GZIP Enabled