Page Index Toggle Pages: [1] 2 3  Send TopicPrint
Very Hot Topic (More than 25 Replies) [UPDATED] Shoutbox for SP 1.3.1/1.3.2/1.4! (Read 22963 times)
..:X.T.C:..
Forum Administrator
*****
Offline


I love YaBB Forum!

Posts: 656
Location: Spittal
Joined: Dec 22nd, 2002
Gender: Male
[UPDATED] Shoutbox for SP 1.3.1/1.3.2/1.4!
Dec 22nd, 2004 at 8:17pm
Print Post  
Hello

-----------------------------------------------
S h o u t B o x - S P 1.3.1 / 1.3.2 / 1.4!
V e r s i o n - 1.0b5
-----------------------------------------------


Quote:
There are numerous bugs in this mod but at the moment I don't have the time to sort them out. If anyone wishes to take over the mod and release a fixed version, please feel free.

OK .... here is the released and fixed version Wink
.... testet on clear SP 1.3.2 and SP 1.4! boards.

In the ZIP-file you find four mod-files

a) shoutbox.mod
b) shoutbox_right.mod
c) shoutbox_resent_user_list.mod
d) shoutbox_in_resent_user_list.mod
and a german-language-mod

Whats new in this version?
  • Added ShoutBox ON/OFF function
  • Added display function of ShoutBox (Header or Info Center)
  • Added Auto-Refresh ON/OFF function
  • Standard CSS style of shoutbox_template.html looks like SP1.3.2 and SP1.4!
  • Added new placeholder at shoutbox_template.html
    <!-- REFRESH -->
  • Added new meta-tags at shoutbox_template.html
    <meta http-equiv="Cache-Control" content="no-cache">
    <meta http-equiv="pragma" content="no-cache">
  • Added smilies pack use by Shoutbox
  • Fixed any bugs

Screenshots:

- ShoutBox @Header display (all mod-versions)



- ShoutBox @Info Center display (shoutbox.mod)



- ShoutBox @Info Center display (shoutbox_right.mod)



- ShoutBox @Info Center display  (shoutbox_resent_user_list.mod)
- For boards which have install the mod "resent_user_list"



- ShoutBox @Info Center display  (shoutbox_in_resent_user_list.mod)
- For boards which have install many Info Center Mods and the mod "resent_user_list"
[No Screenshot] ... use the following link to see it in action ...
http://www.xonder.com/cgi-bin/yabbserver/foren/F_0001/YaBB.cgi#shoutbox


- ShoutBox Admin-settings


History:
Changes in v1.0b5 by XTC

- Added ShoutBox ON/OFF function
- Added display function of ShoutBox (Header or Info Center)
- Added Auto-Refresh ON/OFF function
- Standard CSS style of shoutbox_template.html looks like SP1.3.2 and SP1.4!
- Fixed any bugs


Changes in v1.0b4: by Ronnie

- Added SSI and <yabb shoutbox> support. More details below.
- Fixed the guest access error where the whole page was shown in the shoutbox after logging out.
- Removed the hard-coded CSS from the submit, refresh and wipe buttons, so they now take their appearance from the main board stylesheet.
- Fixed a little HTML error on the boardindex.


lg XTC
« Last Edit: Dec 23rd, 2004 at 8:43pm by ..:X.T.C:.. »  

shoutbox_1_b5.zip ( 32 KB | Downloads )

Back to top
WWW  
IP Logged
 
Romplayer
Full Member
***
Offline


Do you know the Muffin
Man?

Posts: 216
Location: Augsburg
Joined: Oct 22nd, 2003
Gender: Male
Re: [UPDATED] Shoutbox for SP 1.3.1/1.3.2/1.4!
Reply #1 - Dec 22nd, 2004 at 10:16pm
Print Post  
Okay, here's again my suggestion for shoutbox.mod and shoutbox_right.mod.

In the "Forum Statistics" part put the right column below the left one.
The effect of this is, that there are not so many free lines and there is more width space for the shoutbox.

So... well? Roll Eyes
  
Back to top
WWWICQ  
IP Logged
 
Carlos
Full Member
***
Offline


I love YaBB 1G - SP1.2!

Posts: 219
Joined: Aug 28th, 2004
Gender: Male
Re: [UPDATED] Shoutbox for SP 1.3.1/1.3.2/1.4!
Reply #2 - Dec 22nd, 2004 at 10:31pm
Print Post  
I agree Romplayer. Not really an issue for me, because I don't have the shoutbox in the info centre, but most will. It's even more critical for those with a screen resolution of 800x600. The right column can easily be moved by anyone though.

I'll see if I can get to this tomorrow, and play around with it.
  
Back to top
 
IP Logged
 
DelaMn
Full Member
***
Offline


I love boardmod.org

Posts: 136
Joined: Nov 13th, 2004
Re: [UPDATED] Shoutbox for SP 1.3.1/1.3.2/1.4!
Reply #3 - Dec 22nd, 2004 at 11:59pm
Print Post  
..:X.T.C:.. wrote on Dec 22nd, 2004 at 8:17pm:
Hello

-----------------------------------------------
S h o u t B o x - S P 1.3.1 / 1.3.2 / 1.4!
-----------------------------------------------


1.3.1 ??? Are you sure? who test it? the original versión does work with 1,3,1 but if you want to tell this one "S P 1.3.1 / 1.3.2 / 1.4" must be sure it works for 1.3.1  Wink


Plus:

Suggestion... YABBC tag is not necesarily needed + more smilies option could be interesting.
  
Back to top
 
IP Logged
 
..:X.T.C:..
Forum Administrator
*****
Offline


I love YaBB Forum!

Posts: 656
Location: Spittal
Joined: Dec 22nd, 2002
Gender: Male
Re: [UPDATED] Shoutbox for SP 1.3.1/1.3.2/1.4!
Reply #4 - Dec 23rd, 2004 at 5:36am
Print Post  
Hi

Romplayer wrote on Dec 22nd, 2004 at 10:16pm:
In the "Forum Statistics" part put the right column below the left one.
The effect of this is, that there are not so many free lines and there is more width space for the shoutbox.

Sorry @Romplayer .... my testboard Server is down at this time ..... so i have not test this code ...

Take this one ....

Code
Select All
<edit file>
Sources/BoardIndex.pl
</edit file>

<search for>
	  <table width="98%" cellpadding="3" align="center">
	    <tr>
		<td valign="top" align="left" width="60%"><font size="1">
		$txt{'490'} <B>$totalt</B> &nbsp; - &nbsp; $txt{'489'} <B>$totalm</B>
	    ~;
	if($Show_RecentBar) {
		require "$sourcedir/Recent.pl";
		&LastPost;
	}
	$yymain .= qq~
	    </font></td>
	    <td valign="top" align="left" width="40%"><font size="1">
	    $txt{'488'} <a href="$scripturl?action=mlall"><B>$memcount</B></a>
	    ~;
	if ($showlatestmember) {
		&LoadUser($latestmember);
		$yymain .= qq~<BR>$txt{'201'}: <a erprofile{$latestmember}->[1]</b></a>~;
	}
	$yymain .= qq~
	    $ims
	    </font></td>
	  </tr>
	</table>
</search for>

<replace>
	  <table width="98%" cellpadding="3" align="center">
	    <tr>
		<td valign="top" align="left" width="100%"><font size="1">
		$txt{'490'} <B>$totalt</B> &nbsp; - &nbsp; $txt{'489'} <B>$totalm</B>
	    ~;
	if($Show_RecentBar) {
		require "$sourcedir/Recent.pl";
		&LastPost;
	}
	$yymain .= qq~
	    </font><br><font size="1"><HR class="hr" size="1">
	    $txt{'488'} <a href="$scripturl?action=mlall"><B>$memcount</B></a>
	    ~;
	if ($showlatestmember) {
		&LoadUser($latestmember);
		$yymain .= qq~<BR>$txt{'201'}: <a erprofile{$latestmember}->[1]</b></a>~;
	}
	$yymain .= qq~
	    $ims
	    </font></td>
	  </tr>
	</table>
</replace> 



DelaMn wrote on Dec 22nd, 2004 at 11:59pm:
1.3.1 ??? Are you sure? who test it? the original versión does work with 1,3,1 but if you want to tell this one "S P 1.3.1 / 1.3.2 / 1.4" must be sure it works for 1.3.1  Wink

Yes i am sure  Wink

Ronnies version 1.0b4 is testet on SP 1.3.1 .... and my version have not more code points ....

Quote:
Suggestion... YABBC tag is not necesarily needed +

This is not a new feature .... i have only at "click buttons" and "javascript code" Wink

Quote:
more smilies option could be interesting.

Will take a look of it  Smiley

lg XTC

« Last Edit: Dec 23rd, 2004 at 10:25am by ..:X.T.C:.. »  

Back to top
WWW  
IP Logged
 
DelaMn
Full Member
***
Offline


I love boardmod.org

Posts: 136
Joined: Nov 13th, 2004
Re: [UPDATED] Shoutbox for SP 1.3.1/1.3.2/1.4!
Reply #5 - Dec 23rd, 2004 at 11:57am
Print Post  
I mean: make available a version without the "yabb tag" bar  Wink
  
Back to top
 
IP Logged
 
..:X.T.C:..
Forum Administrator
*****
Offline


I love YaBB Forum!

Posts: 656
Location: Spittal
Joined: Dec 22nd, 2002
Gender: Male
Re: [UPDATED] Shoutbox for SP 1.3.1/1.3.2/1.4!
Reply #6 - Dec 23rd, 2004 at 12:18pm
Print Post  
Hi

DelaMn wrote on Dec 23rd, 2004 at 11:57am:
I mean: make available a version without the "yabb tag" bar  Wink

If you dont want to display the tag_buttons .... change this code (Shoutbox.pl)

Seach for ...

Code
Select All
	if ($shout_header == 1) {$shout_output .= qq~
<td>
    <table cellpadding="4" cellspacing="1" border="0" width="100%">
$shout_outputadds
~;
} else { $shout_output .= qq~$shout_outputadds~;} 


and replace with this code ....

Code
Select All
	if ($shout_header == 1) {$shout_output .= qq~
<td>
    <table cellpadding="4" cellspacing="1" border="0" width="100%">
~;
} else { $shout_output .= "";} 



lg XTC
  

Back to top
WWW  
IP Logged
 
Romplayer
Full Member
***
Offline


Do you know the Muffin
Man?

Posts: 216
Location: Augsburg
Joined: Oct 22nd, 2003
Gender: Male
Re: [UPDATED] Shoutbox for SP 1.3.1/1.3.2/1.4!
Reply #7 - Dec 23rd, 2004 at 1:12pm
Print Post  
Is it possible to insert a <br> after the date and username in the shoutbox?
Because there isn't so much space after the name, and so it looks a bit stupid if one word is in the first line and the rest in the second.

Instead of
Quote:
18:42: Forum Admin: Hello
everybody, how are you?

make this:
Quote:
18:42: Forum Admin:
Hello everybody, how are you?
  
Back to top
WWWICQ  
IP Logged
 
..:X.T.C:..
Forum Administrator
*****
Offline


I love YaBB Forum!

Posts: 656
Location: Spittal
Joined: Dec 22nd, 2002
Gender: Male
Re: [UPDATED] Shoutbox for SP 1.3.1/1.3.2/1.4!
Reply #8 - Dec 23rd, 2004 at 1:36pm
Print Post  
Hi

@Romplayer

You can add a "<br>" yourself!

Go in the Shoutbox setting .... and edit the first setting field ....

This one ...
<tr><td class="BGCOLOR"><b>TIME: NAME</b>: SHOUT</td></tr>

To this code ...
<tr><td class="BGCOLOR"><b>TIME: NAME</b>:<br>SHOUT</td></tr>

lg XTC
  

Back to top
WWW  
IP Logged
 
DelaMn
Full Member
***
Offline


I love boardmod.org

Posts: 136
Joined: Nov 13th, 2004
Re: [UPDATED] Shoutbox for SP 1.3.1/1.3.2/1.4!
Reply #9 - Dec 23rd, 2004 at 7:33pm
Print Post  
Danke xonder  Roll Eyes
  
Back to top
 
IP Logged
 
..:X.T.C:..
Forum Administrator
*****
Offline


I love YaBB Forum!

Posts: 656
Location: Spittal
Joined: Dec 22nd, 2002
Gender: Male
Re: [UPDATED] Shoutbox for SP 1.3.1/1.3.2/1.4!
Reply #10 - Dec 25th, 2004 at 3:25pm
Print Post  
Hallo

No bugs or problems @ [UPDATED] Shoutbox for SP 1.3.1/1.3.2/1.4! ?

Can it get "final"!?  Cheesy

lg XTC
  

Back to top
WWW  
IP Logged
 
Romplayer
Full Member
***
Offline


Do you know the Muffin
Man?

Posts: 216
Location: Augsburg
Joined: Oct 22nd, 2003
Gender: Male
Re: [UPDATED] Shoutbox for SP 1.3.1/1.3.2/1.4!
Reply #11 - Dec 26th, 2004 at 2:04pm
Print Post  
If you put it final, put the possible modifications you wrote in this thread into the mod file.
  
Back to top
WWWICQ  
IP Logged
 
Dam Yankee
God Member
*****
Offline



Posts: 1538
Location: Maryville
Joined: Jun 13th, 2003
Gender: Female
Re: [UPDATED] Shoutbox for SP 1.3.1/1.3.2/1.4!
Reply #12 - Jan 1st, 2005 at 6:15pm
Print Post  
Hi Xonder! Happy New Year, everyone!

I've just installed this mod on my test board and found a couple of things. There is an error in Shoutbox.pl which causes the shoutbox to be blank when it is viewed for the first time on a page visit. I originally reported the problem  here. The solution is posted here.

Currently, Shoutbox.pl has this
Code
Select All
	$iframe = ($shout_add_to_top) ? qq~<iframe src="" name="chatout" width="100%" height="$shout_box_height" align="center" border="0" frameborder="0" leftmargin="0" topmargin="0" marginwidth="2" marginheight="2" scrolling="$scrolling"><font size="2" face="Verdana">Your browser does not support inline frames or is currently configured not to display inline frames.</font></iframe>~ : qq~<iframe src="$cgi;action=shoutboxdisplay" onload="window.chatout.scrollTo(0,99999);" name="chatout" width="100%" height="$shout_box_height" align="center" border="0" frameborder="0" leftmargin="0" topmargin="0" marginwidth="2" marginheight="2" scrolling="$scrolling"><font size="2" face="Verdana">Your browser does not support inline frames or is currently configured not to display inline frames.</font></iframe>~; 



When it should be this
Code
Select All
	$iframe = ($shout_add_to_top) ? qq~<iframe src="$cgi;action=shoutboxdisplay" name="chatout" width="100%" height="$shout_box_height" align="center" border="0" frameborder="0" leftmargin="0" topmargin="0" marginwidth="2" marginheight="2" scrolling="$scrolling"><font size="2" face="Verdana">Your browser does not support inline frames or is currently configured not to display inline frames.</font></iframe>~ : qq~<iframe src="$cgi;action=shoutboxdisplay" onload="window.chatout.scrollTo(0,99999);" name="chatout" width="100%" height="$shout_box_height" align="center" border="0" frameborder="0" leftmargin="0" topmargin="0" marginwidth="2" marginheight="2" scrolling="$scrolling"><font size="2" face="Verdana">Your browser does not support inline frames or is currently configured not to display inline frames.</font></iframe>~; 



After adding
Code
Select All
$cgi;action=shoutboxdisplay 

to the first iframe src, the shoutbox displays immediately on a page view without needing to refresh.


Another thing... When using SSI, the standard smiles do not appear in the text field when you click on them (vulcan and lol do appear). The standard smileys do appear when using the shoutbox displayed on the board index.
  
Back to top
WWW  
IP Logged
 
..:X.T.C:..
Forum Administrator
*****
Offline


I love YaBB Forum!

Posts: 656
Location: Spittal
Joined: Dec 22nd, 2002
Gender: Male
Re: [UPDATED] Shoutbox for SP 1.3.1/1.3.2/1.4!
Reply #13 - Jan 8th, 2005 at 3:45pm
Print Post  
Hi Dam Yankee

Sorry for my late answer ....
.... but at this time i work on many "YaBB Server Updates + AddOns".  Wink

Thank you .... for your feedback @Shoutbox  Wink ... i will take a look of it and bring a update soon.

lg XTC

  

Back to top
WWW  
IP Logged
 
Carlos
Full Member
***
Offline


I love YaBB 1G - SP1.2!

Posts: 219
Joined: Aug 28th, 2004
Gender: Male
Re: [UPDATED] Shoutbox for SP 1.3.1/1.3.2/1.4!
Reply #14 - Jan 15th, 2005 at 2:39am
Print Post  
Quote:
Another thing... When using SSI, the standard smiles do not appear in the text field when you click on them (vulcan and lol do appear). The standard smileys do appear when using the shoutbox displayed on the board index.


I haven't had a chance to get to this till now.

DamYankee, this fault is also in the original by Ronnie. This is one of the reasons I was looking forward to this version.

In Ronnies version, the first two smilies work, but the rest work intermittantly. I've looked at the code, and I can see no syntax differences between the smilies in the origianl version. What could cause intermittant bugs like this?

Xonder, I'll try and install this over the weekend, and tell you how I get on. I take it it still has the shoutbox tag? Well, I'll soon find out I suppose.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: [1] 2 3 
Send TopicPrint