|
Page 1 of 2
|
GlosterMan 
Joined: December 2007
Posts: 10
|
 Shoutbox For PHPBB3?
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
Any help on what the best chat/Shout box is for PHPBB3?
|
#1 Mon 25 Feb, 2008 03:20 |
|
Sponsors

|
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.
|
|
Mighty Gorgon 
Luca Libralato
Joined: August 2006
Posts: 7192
Location:  Borgo San Michele
|
 Re: Shoutbox For PHPBB3?
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
Any help on what the best chat/Shout box is 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.
____________ Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
|
#2 Mon 25 Feb, 2008 09:55 |
|
Huor 
Joined: October 2007
Posts: 35
Location:  Brunswick, Germany
|
 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...
|
#3 Mon 25 Feb, 2008 20:23 |
|
ThE KuKa 
Joined: August 2006
Posts: 489
Location:  Sabadell
|
 Re: Shoutbox For PHPBB3?
|
#4 Mon 25 Feb, 2008 22:07 |
|
Mighty Gorgon 
Luca Libralato
Joined: August 2006
Posts: 7192
Location:  Borgo San Michele
|
 Re: Shoutbox For PHPBB3?
I also adapted the black pearl style to it.
It would be great if you share shoutbox template files for other users who may need them.
Thanks.
____________ Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
|
#5 Tue 26 Feb, 2008 00:31 |
|
Huor 
Joined: October 2007
Posts: 35
Location:  Brunswick, Germany
|
 Re: Shoutbox For PHPBB3?
I also adapted the black pearl style to it.
It would be great if you share shoutbox template files for other users who may need them.
Thanks. 
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>
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>
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 |
#6 Tue 26 Feb, 2008 20:06 |
|
GlosterMan 
Joined: December 2007
Posts: 10
|
 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
|
#7 Wed 27 Feb, 2008 20:54 |
|
GlosterMan 
Joined: December 2007
Posts: 10
|
 Re: Shoutbox For PHPBB3?
Huor
Thanks for all the great help and info
I sent you a PM
Rob "GlosterMan"
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...
Last edited by GlosterMan on Wed 12 Mar, 2008 17:13; edited 1 time in total |
#8 Wed 27 Feb, 2008 20:56 |
|
Huor 
Joined: October 2007
Posts: 35
Location:  Brunswick, Germany
|
 Re: Shoutbox For PHPBB3?
yw m8 - you got a PM back
|
#9 Wed 27 Feb, 2008 21:16 |
|
jorisaeles
Joined: April 2008
Posts: 1
|
 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
|
#10 Mon 28 Apr, 2008 21:33 |
|
cayoga 
Joined: October 2008
Posts: 2
|
 Re: Shoutbox For PHPBB3?
Huor wrote: [View Post] Mighty Gorgon wrote: [View Post] Huor wrote: [View Post] I also adapted the black pearl style to it.
It would be great if you share shoutbox template files for other users who may need them.
Thanks.
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>
ADD BEFORE
<div id="shoutbox_nh">
<script type="text/javascript">
<!--
tmp = 'birthdays';
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="h**ps://blueimp.net/ajax/">AJAX Chat</a> © <a href="h**ps://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...
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...
|
#11 Fri 24 Oct, 2008 06:41 |
|
Huor 
Joined: October 2007
Posts: 35
Location:  Brunswick, Germany
|
 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... 
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 />
|
#12 Fri 24 Oct, 2008 20:08 |
|
cayoga 
Joined: October 2008
Posts: 2
|
 Re: Shoutbox For PHPBB3?
Huor wrote: [View Post] cayoga 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...
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="h**ps://blueimp.net/ajax/">AJAX Chat</a> © <a href="h**ps://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 />
still not show the box for i write a message for shoutbox ...
|
#13 Mon 27 Oct, 2008 04:14 |
|
motoxtreme 
Joined: November 2008
Posts: 1
|
 Re: Shoutbox For PHPBB3?
anyone hv chat_body.html for Black Pearl ??
|
#14 Tue 11 Nov, 2008 13:39 |
|
Itsacraig 
Joined: February 2010
Posts: 2
|
 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;
|
#15 Sun 14 Feb, 2010 19:18 |
|
|
Page 1 of 2
|
Was this topic useful?
Was this topic useful?
Link this topic |
URL |
|
BBCode |
|
HTML |
|
Similar Topics
Similar Topics
You cannot post new topics You 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
|
|
|
|