Page Index Toggle Pages: [1] 2 3 ... 7 Send TopicPrint
Very Hot Topic (More than 25 Replies) Shoutbox 5.5 for YaBB 2.4 (Read 3320 times)
ThM
God Member
*****
Offline



Posts: 585
Location: Germany, Nds.
Joined: May 21st, 2006
Gender: Male
Shoutbox 5.5 for YaBB 2.4
Apr 21st, 2009 at 9:29am
Print Post  
On January 2009, Batchmann has startet a community projekt to call back to life the shoutbox mod from Loney Pandora. Since these day a great member projekt was born and some people worked on it successfully. The Shoutbox mod for YaBB 2.3.1 was relaesed in a RC beta Version. For the complete development please read this thread. At the moment Unilat is working on a advanced (Ajax) Version, but i'll working further on the "perl" edition.

Now, with some changes and additionals i release the shoutbox for YaBB 2.4 but before, i say: "Thank you!" to the other great guys they worked on this project.

  • Batchman
  • DOT-COM
  • Derek Barnstorm
  • Unilat
  • Driven

It was a great pleasure for me to cooperate with you on this project!

..... not to forget .....
  • MasterKarmann (He checked the english language on errors)
  • deti (He gave the solution for the error 500 in conjunction Shoutbox and YaBB 2.4)

Did I forget someone now let me know please.

For YaBB 2.3.1 we have stoped the work on the revision number RC5. The first revision number for YaBB 2.4 called RC 5.4.1. Actually we have the

Shoutbox - Version 5.5


Description:

It allows a "shoutbox" to be placed on your forum. This allows members to chat quickly, rather than making posts. This is NOT designed to be a chat-system, but is somewhere inbetween posting, and realtime chat.

Features:

Most of the settings are full configurable in your Shoutbox Settings over the admin panel. Take a look on the following screenshots  Wink

Screenshot 1: Shoutbox display with default template (Shout highlighted on mouseover and autoscroll function below the box, if the features enabled)



Screenshot 2: Shoutbox display with yabb21 template



Screenshot 3: Shoutbox general settings



Screenshot 4: Shoutbox layout settings



Screenshot 4a: Scrollbar settings



Screenshot 5: Shoutbox delete shouts



Screenshot 6: Shoutbox user profile options



Screenshot 7 and 8: Shoutbox user profile display




Screenshot 9: Admin profile setting for banning user from the shoutbox



Screenshot 10: External window by onclick on more options link



Please notice: The form field limiter and the highlighted shout feature that i'll added, based on external javascript from the dynamic drive website. Let the copyright notice from the developer in the source code!

The form field limiter works only with the "onkeypress" function! It doesn't  support copy and paste or onclick on any smilie or bb code.

Mod Package:

  • shoutbox24_RC5_5.mod
  • shoutbox24_templateRC5_5.mod
  • shoutbox24_RC5_5_German_Du.mod
  • shoutbox24_RC5_5_German.mod


Installation:

1) Modify YaBB files using BoardMod or manually.
2) Load modified files to your server in ASCII mode.

  • cgi-bin/yabb2/AdminIndex.pl
  • cgi-bin/yabb2/Admin/AdminSubList.pl (ASCII)
  • cgi-bin/yabb2/Admin/ModList.pl (ASCII)
  • cgi-bin/yabb2/Sources/Register.pl (ASCII)
  • cgi-bin/yabb2/Sources/SubList.pl (ASCII)
  • cgi-bin/yabb2/Sources/System.pl (ASCII)
  • cgi-bin/yabb2/Sources/Profile.pl (ASCII)
  • cgi-bin/yabb2/Sources/Palette.pl (ASCII)
  • cgi-bin/yabb2/Languages/English/Error.lng (ASCII)


Before install the template mod with BoardMod:

Copy both files below to your cgi-bin/yabb2 directory (same directory as YaBB.pl)
- /yabbfiles/Templates/Forum/default.css
- /yabbfiles/Templates/Forum/yabb21.css
- Apply Shoutbox24_templateRC5.5 mod
- Return both css files above back to their original directory
- Transfer all changed files to your server.

  • cgi-bin/yabb2/Templates/default/BoardIndex.template (ASCII)
  • cgi-bin/yabb2/Templates/yabb21/BoardIndex.template (ASCII)


Upload files from Zip Package:

  • cgi-bin/yabb2/ShoutDisplay.pl (ASCII and CHMOD 755)
  • cgi-bin/yabb2/Admin/ShoutAdmin.pl (ASCII and ChMOD 755)
  • cgi-bin/yabb2/Languages/English/Shoutbox.lng (ASCII and CHMOD 666)
  • cgi-bin/yabb2/Languages/German/Shoutbox.lng (ASCII and CHMOD 666) - if you want
  • cgi-bin/yabb2/Languages/German_Du/Shoutbox.lng (ASCII and CHMOD 666) - if you want
  • cgi-bin/yabb2/Sources/Shoutbox.pl (ASCII and CHMOD 755)
  • cgi-bin/yabb2/Variables/shoutsettings.txt (ASCII and CHMOD 666)
  • cgi-bin/yabb2/Variables/shouts.txt (ASCII and CHMOD 666)

  • yabbfiles/ModImages/Shoutbox/all Files (BINARY)
  • yabbfiles/Templates/Forum/yabb21/all Files (BINARY)
  • yabbfiles/shout.js (ASCII)
  • yabbfiles/shoutnew.js (ASCII)


The shoutbox works best together with IE 8 and Firefox Webbrowser. Tested with both and IE 7 on a fresh installed YaBB 2.4 Version. Not tested with others. I can not ruled out (and not tested) conflicts with other installed mods.

Mod History:

  • 1. First relaese for YaBB 2.4 on 21th Apr. 2009 (8 Downloads)
  • 2. Updated on 5.4.2 on 22th Apr. 2009 (Small changes - look at this post) (27 Downloads)
  • 3. Updated on 5.5 on 20th May. 2009
    What's new:
    1. Encrypted usernames
    2. Groupcolors on usernames
    3. Link to Profile by onclick username
    4. Last online Feature by mouseover username
    5. Removed Font and Size Button in shout window - added TT Font and Palette Button on shout window
    6. Removed Font and Size Button in more options window - added Dropdown Field for that and Palette Button for Font Color
    7. New scrollbar color feature in admin shout settings
    8. Bugfix on yabb21 template


Feedback, hints and suggestions welcome .....  Wink

« Last Edit: May 26th, 2009 at 3:59pm by ThM »  

shoutbox24_RC5_5.zip ( 52 KB | Downloads )

Greeting ThM
Back to top
 
IP Logged
 
MasterKarman
Junior Member
**
Offline


YaBB 2.5.2

Posts: 90
Location: Karmanville
Joined: Feb 14th, 2009
Gender: Male
Re: Shoutbox 5.4.1 for YaBB 2.4
Reply #1 - Apr 21st, 2009 at 2:12pm
Print Post  
I've been using this on 2.3.1 without any problems. (haven't upgraded to 2.4 yet..kinda leery with all the changes I've made)
There are some issues with IE6 not displaying properly but that browser is becoming outdated and there isn't much that can be done about it. Works and looks great with IE7 and FireFox.
Great work everyone on this project. It's a very popular addition and the features are excellent.
  

Now using YaBB 2.5.2 with 40+mods
"The world is a dangerous place to live. Not because of the evil in it, but because of the people who don't do anything about it."


Back to top
IP Logged
 
batchman
Global Moderator
*****
Offline


What's up?!

Posts: 1280
Location: Orlando
Joined: Apr 28th, 2002
Gender: Male
Re: Shoutbox 5.4.1 for YaBB 2.4
Reply #2 - Apr 21st, 2009 at 2:27pm
Print Post  
Congratulations, ThM, when I find the time to do a 2.4 board, I'll add this in for testing and use ... right after I get my quiz mod updated. (That has to be my first goal, of course.)
  

Improving my forum, one mod at a time!


Now up and running again, with an accurate link.


Back to top
WWW  
IP Logged
 
mick
Senior Member
****
Offline


I love YaBB

Posts: 345
Location: Dorsten
Joined: Nov 29th, 2005
Gender: Male
Re: Shoutbox 5.4.1 for YaBB 2.4
Reply #3 - Apr 21st, 2009 at 7:00pm
Print Post  
Hi,

thanks for updating the mod.

When I send a shout, I get this error:

Quote:
Not Found

The requested URL /cgi-bin/forum24/YaBB.pl was not found on this server.

We use YaBB.cgi
  
Back to top
WWW  
IP Logged
 
ThM
God Member
*****
Offline



Posts: 585
Location: Germany, Nds.
Joined: May 21st, 2006
Gender: Male
Re: Shoutbox 5.4.1 for YaBB 2.4
Reply #4 - Apr 21st, 2009 at 8:34pm
Print Post  
I try to find tomorrow a solution (i have an idea), but i don't know if it works.
  

Greeting ThM
Back to top
 
IP Logged
 
mick
Senior Member
****
Offline


I love YaBB

Posts: 345
Location: Dorsten
Joined: Nov 29th, 2005
Gender: Male
Re: Shoutbox 5.4.1 for YaBB 2.4
Reply #5 - Apr 21st, 2009 at 8:38pm
Print Post  
ThM wrote on Apr 21st, 2009 at 8:34pm:
I try to find tomorrow a solution (i have an idea), but i don't know if it works. 

I have time. It's a testboard. We upgrade to YaBB 2.4,
when most Mods runs.
If I can test something, say it.
  
Back to top
WWW  
IP Logged
 
batchman
Global Moderator
*****
Offline


What's up?!

Posts: 1280
Location: Orlando
Joined: Apr 28th, 2002
Gender: Male
Re: Shoutbox 5.4.1 for YaBB 2.4
Reply #6 - Apr 22nd, 2009 at 4:26am
Print Post  
Just got this installed, and did some testing ... I have to say, very nice!

Installed without any serious problems (the search string for one of the files in the template mod isn't right ... it is looking for Version 1.6 to add after, and it is actually something like 1.6.2.7 or something), and all the features that I could think to try seemed to work nicely.

Still have to figure out that hide username / usergroup colors thing at some point, but an extremely nice product at this point!

Edited:
Oops ... now I remember the problem I noticed. The icons for the UBBC code are asking for the wrong icons. They are asking for font face and size, which aren't used in the shoutbox mod, and aren't any of the uploaded icons, so they show up as red X's. Can't say for sure which are the ones that are supposed to be there, but those two aren't them.!
« Last Edit: Apr 22nd, 2009 at 5:47am by batchman »  

Improving my forum, one mod at a time!


Now up and running again, with an accurate link.


Back to top
WWW  
IP Logged
 
mick
Senior Member
****
Offline


I love YaBB

Posts: 345
Location: Dorsten
Joined: Nov 29th, 2005
Gender: Male
Re: Shoutbox 5.4.1 for YaBB 2.4
Reply #7 - Apr 22nd, 2009 at 7:52am
Print Post  
batchman wrote on Apr 22nd, 2009 at 4:26am:
Oops ... now I remember the problem I noticed. The icons for the UBBC code are asking for the wrong icons. They are asking for font face and size, which aren't used in the shoutbox mod, and aren't any of the uploaded icons, so they show up as red X's. Can't say for sure which are the ones that are supposed to be there, but those two aren't them.!


Hi,
I think you need the size.gif and face.gif I asked for there:

http://www.boardmod.org/yabb2/YaBB.pl?num=1240346903/3#3
  
Back to top
WWW  
IP Logged
 
ThM
God Member
*****
Offline



Posts: 585
Location: Germany, Nds.
Joined: May 21st, 2006
Gender: Male
Re: Shoutbox 5.4.1 for YaBB 2.4
Reply #8 - Apr 22nd, 2009 at 11:17am
Print Post  
mick wrote on Apr 21st, 2009 at 7:00pm:
We use YaBB.cgi 


@mick

Please test this. In  ShoutDisplay.pl search for:

Code
Select All
if ($ENV{'SERVER_SOFTWARE'} =~ /IIS/) {

	$yyIIS = 1;
	$0 =~ m~(.*)(\\|/)~;
	$yypath = $1;
	$yypath =~ s~\\~/~g;
	chdir($yypath);
	push(@INC, $yypath);
} 



and add after

Code
Select All
	$yyexec = "YaBB";
	$script_root = $ENV{'SCRIPT_FILENAME'};
	$script_root =~ s/\/$yyexec\.(pl|cgi)//ig; 



and tell me if it works.

batchman wrote on Apr 22nd, 2009 at 4:26am:
the search string for one of the files in the template mod isn't right ... it is looking for Version 1.6 to add after, and it is actually something like 1.6.2.7 or something), 


I download the yabb package again und you are right. There is an update from a update aviable Grin
I'll will fix the step and add the missing icons.

@all: Thanks for the report



  

Greeting ThM
Back to top
 
IP Logged
 
mick
Senior Member
****
Offline


I love YaBB

Posts: 345
Location: Dorsten
Joined: Nov 29th, 2005
Gender: Male
Re: Shoutbox 5.4.1 for YaBB 2.4
Reply #9 - Apr 22nd, 2009 at 1:36pm
Print Post  
ThM wrote on Apr 22nd, 2009 at 11:17am:
and tell me if it works.


Hi,

it works! Thx!
  
Back to top
WWW  
IP Logged
 
ThM
God Member
*****
Offline



Posts: 585
Location: Germany, Nds.
Joined: May 21st, 2006
Gender: Male
Re: Shoutbox 5.4.1 for YaBB 2.4
Reply #10 - Apr 22nd, 2009 at 3:50pm
Print Post  
Ok ...

new zip File - Version 5.4.2 in the first Post

Changelog:

- Added missing icons Edited:
Removed - No longer needed with Version 5.5

- Fix step in the template modfile
- Added a small code piece in ShoutDisplay.pl
« Last Edit: May 26th, 2009 at 10:06pm by ThM »  

Greeting ThM
Back to top
 
IP Logged
 
mtagoon
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 16
Location: Bangkok
Joined: Oct 28th, 2006
Gender: Male
Re: Shoutbox 5.4.2 for YaBB 2.4
Reply #11 - Apr 29th, 2009 at 9:10pm
Print Post  
Thank you very much for this mod. 
Very nice update. Great work!

Installed with some problem : Can not save settings for Shoutbox Settings in YaBB Admin Center.

File : ShoutAdmin.pl
Lines : 54
From :
     $yymain .= qq~<center>$shout_txt{'42'}<br /><br /><a href="$boarddir/AdminIndex.pl?action=shoutadmin">$shout_txt{'44'}</a></center>~;

To :
     $yymain .= qq~<center>$shout_txt{'42'}<br /><br /><a href="$boardurl/AdminIndex.pl?action=shoutadmin">$shout_txt{'44'}</a></center>~;

Lines : 136
From :
     $yySetLocation = qq~$boarddir/AdminIndex.pl?action=shoutadmin~;

To :
     $yySetLocation = qq~$boardurl/AdminIndex.pl?action=shoutadmin~;

Smiley
  
Back to top
WWW  
IP Logged
 
cjs12505
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 22
Joined: Jan 3rd, 2009
Re: Shoutbox 5.4.2 for YaBB 2.4
Reply #12 - Apr 30th, 2009 at 10:08pm
Print Post  
Works well here, thanks lads, excellent (2.31 upgraded to 2.4)

At first I had issues with the install but later found out that the *.txt  CHMOD's were not set to 666 course as stated in the readme text...


  
Back to top
 
IP Logged
 
cjs12505
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 22
Joined: Jan 3rd, 2009
Re: Shoutbox 5.4.2 for YaBB 2.4
Reply #13 - May 1st, 2009 at 12:30pm
Print Post  
A very minor point is that on my test board if 'Show number of remaining characters?' is activated then the line 'Past Shouts  |  Smileys  |  REFRESH' is not displayed in that you can just see the very top pf the characters but thats it...  The row containing this data does not resize to allow for the extra line of information ...
  
Back to top
 
IP Logged
 
ThM
God Member
*****
Offline



Posts: 585
Location: Germany, Nds.
Joined: May 21st, 2006
Gender: Male
Re: Shoutbox 5.4.2 for YaBB 2.4
Reply #14 - May 2nd, 2009 at 6:16am
Print Post  
It seems you set the shoutbox width value on 380 or higher.
If so, then open the ShoutDisplay.pl, search for:

Code
Select All
######################################################
# Increasing the number below increases the height
#of the bottom portion of the shoutbox. The top
#portion containing the actual shouts will auto size
#accordingly.
####
	$shout_text_height = 92;
###################################################### 



and change the highlighted on 110.
  

Greeting ThM
Back to top
 
IP Logged
 
Page Index Toggle Pages: [1] 2 3 ... 7
Send TopicPrint