Page Index Toggle Pages: [1] 2 3 ... 42 Send TopicPrint
Very Hot Topic (More than 25 Replies) Community Project -- Shoutbox Mod 2.3.1 RC3 (Read 152673 times)
batchman
Global Moderator
*****
Offline


What's up?!

Posts: 1280
Location: Orlando
Joined: Apr 28th, 2002
Gender: Male
Community Project -- Shoutbox Mod 2.3.1 RC3
Jan 20th, 2009 at 4:23pm
Print Post  
Shoutbox Mod 2.3.1 RC 3
Shoutbox is now ready for production forum use!


A test version can be seen online here, but you may have to register an account.

This mod will provide a shoutbox in which your members can post quick, short messages to one another. It comes with a second mod to install it in your Info Center, or you can code it yourself to place it anywhere else you would like. It is pretty full-featured, and quite robust.

Board Index Display:


Admin Center Settings:


User CP Profile Settings:


Additions when viewing user profiles:
/

For the average user, willing to put this mod in the Info Center, this mod is simple to use and install. Those wishing to customize where it will be displayed will need to have decent HTML coding skills.

Credits


Several people have been working on this project for the YaBB 2.3 series. These include (in no particular order) Batchman, Driven, Derek Barnstorm, DOT-COM, ThM, MF-B and Unilat. If I have missed anybody, please let me know.

It was created from and based on Loony Pandora's original Shoutbox mods for 1.x and 2.1 YaBBs, with some changes suggested by tompocz, Sermonator, DOT-COM, jans, and others.

This is a community project, and many people have been helping with it. If I have missed somebody on this credit list, please let me know, and I'll be glad to include them.

Future features ... still to be done


- username encryption not working (all links with plain text usernames removed) --> moved to wishlist, might or might be done
- add a "check all" button in admin section to select whole pages of shouts to delete --> future release

Versions


02/28/2009 Release Candidate 3 -- With Unilat's help, all known bugs have been extinguished, and many improvements have been made. This is now ready for full use.

made.02/01/2009 beta 0.8 -- More bux fixes and layout improvements, standardization of languge file.

01/30/2009 beta 0.6 -- Many bug fixes, and great improvements to layout and display, especially in connection with placing on board index

01/27/2009 beta 0.2 -- bug fixes, including click on smilies and bbc code now work, more strings moved to language file, so no hard coding comments, more corrections.

01/25/2009  beta 0.1 -- first truly working version for 2.3.1

01/18/2009  alpha 0.7 -- mod file updated to work on 2.3.1, but not yet functioning.

2005            beta 0.7 for YaBB 2.1 by Loony Pandora.
« Last Edit: Feb 28th, 2009 at 8:36pm by batchman »  

shoutbox231_RC3aa.zip ( 41 KB | Downloads )

Improving my forum, one mod at a time!


Now up and running again, with an accurate link.


Back to top
WWW  
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Community Project -- Shoutbox Mod 2.3.1 (alpha)
Reply #1 - Jan 20th, 2009 at 5:44pm
Print Post  
To get more info on 500 errors, see THIS in the YaBB Codex.

If you add that line to ShoutDisplay.pl you'll get this info:

Undefined subroutine &main::encode_session called at ShoutDisplay.pl line 103.

Which is this line in ShoutDisplay.pl

Code
Select All
	$formsession = &encode_session($mbname, $masterseed); 



So it's maybe got something to do with this:

Code
Select All
	# Guardian Form spofing protection

	$masterseed = substr($date, length($date) - 4, length($date));

	$formsession = &encode_session($mbname, $masterseed);

	$formsession .= $masterseed; 



If you remove that code from ShoutDisplay.pl then the ShoutBox will actually display, but if you try to post then you will get a form spoofing alert:

Error: ALERT!! Form Spoofing Detected coming from IP address:

I haven't got a clue how to fix it though... I have had a look in the past and got as far as yourself... It maybe needs a total rewrite...


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


What's up?!

Posts: 1280
Location: Orlando
Joined: Apr 28th, 2002
Gender: Male
Re: Community Project -- Shoutbox Mod 2.3.1 (alpha)
Reply #2 - Jan 20th, 2009 at 5:57pm
Print Post  
Sounds like something to write Ron about ... the Guardian was his baby.

I'll get a pm off to him, and see if he can advise on the specific small section of code.

Seems I may want to add that little bit to several files while working on this. I was annoyed at how little information that error gave me! Thanks!

Edited:
Where do you get the information from, when you use that? My error log no longer shows an error at all ... and the page, itself, only shows this: The website cannot display the page
HTTP 500 
   Most likely causes:
The website is under maintenance.
The website has a programming error.

   What you can try:
     Refresh the page.

     Go back to the previous page.

     More information

This error (HTTP 500 Internal Server Error) means that the website you are visiting had a server problem which prevented the webpage from displaying.

For more information about HTTP errors, see Help.
  

Improving my forum, one mod at a time!


Now up and running again, with an accurate link.


Back to top
WWW  
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Community Project -- Shoutbox Mod 2.3.1 (alpha)
Reply #3 - Jan 20th, 2009 at 8:37pm
Print Post  
If you add this line:

Code
Select All
use CGI::Carp qw(fatalsToBrowser);  


Directly below:

Code
Select All
#!/usr/bin/perl -- 


In ShoutDisplay.pl, instead of the 500 Error you should see the info - See attached image...
  

ShoutError.png ( 31 KB | Downloads )
ShoutError.png
Back to top
 
IP Logged
 
batchman
Global Moderator
*****
Offline


What's up?!

Posts: 1280
Location: Orlando
Joined: Apr 28th, 2002
Gender: Male
Re: Community Project -- Shoutbox Mod 2.3.1 (alpha)
Reply #4 - Jan 20th, 2009 at 8:44pm
Print Post  
Weird. Maye my host is one of the ones that do not have the needed module ... what I posted was the different response that showed, once I added the line.

The previous error was even less informative than this one.
  

Improving my forum, one mod at a time!


Now up and running again, with an accurate link.


Back to top
WWW  
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Community Project -- Shoutbox Mod 2.3.1 (alpha)
Reply #5 - Jan 20th, 2009 at 8:48pm
Print Post  
batchman wrote on Jan 20th, 2009 at 8:44pm:
Maye my host is one of the ones that do not have the needed module

Yep... Seems that way.
  
Back to top
 
IP Logged
 
D0T-C0M
God Member
*****
Offline



Posts: 806
Location: Tracadie
Joined: Sep 22nd, 2001
Gender: Male
Re: Community Project -- Shoutbox Mod 2.3.1 (alpha)
Reply #6 - Jan 24th, 2009 at 2:01am
Print Post  
Yeah I got as far as you guys did.  I'm getting the ip spoofing alert.  I tried remove the guardian settings with no luck.  Hopefully Ron can help.
  
Back to top
 
IP Logged
 
D0T-C0M
God Member
*****
Offline



Posts: 806
Location: Tracadie
Joined: Sep 22nd, 2001
Gender: Male
Re: Community Project -- Shoutbox Mod 2.3.1 (alpha)
Reply #7 - Jan 24th, 2009 at 2:11am
Print Post  
oh btw in the zip the shoutbox.lng is in german I think. No english is included
  
Back to top
 
IP Logged
 
batchman
Global Moderator
*****
Offline


What's up?!

Posts: 1280
Location: Orlando
Joined: Apr 28th, 2002
Gender: Male
Re: Community Project -- Shoutbox Mod 2.3.1 (alpha)
Reply #8 - Jan 24th, 2009 at 2:23am
Print Post  
Seriously?!?

Well, I'll have to hunt down the English again, then.

I guess the one that said it was an updated language file wasnt the updated laguage file I thought it was. (remember, I pulled all the little bits of updates from a 16 page thread on the older version.)

Still no suggestions on the Guardian bit that is currently killing this dead, but eventually Ron will pop in, if nothing else, and I'm sure he could throw a quick correction our way, since that is his baby.
  

Improving my forum, one mod at a time!


Now up and running again, with an accurate link.


Back to top
WWW  
IP Logged
 
D0T-C0M
God Member
*****
Offline



Posts: 806
Location: Tracadie
Joined: Sep 22nd, 2001
Gender: Male
Re: Community Project -- Shoutbox Mod 2.3.1 (alpha)
Reply #9 - Jan 24th, 2009 at 3:09am
Print Post  
yes I hope he does because I think we are really getting close to getting it to work.
  
Back to top
 
IP Logged
 
LWS
Senior Member
****
Offline


seek and ye shall find...i
must be BLIND!!

Posts: 285
Location: Southern Ohio
Joined: Feb 25th, 2007
Re: Community Project -- Shoutbox Mod 2.3.1 (alpha)
Reply #10 - Jan 24th, 2009 at 2:26pm
Print Post  
Hi guys.. just noticed this thread. maybe this thread will help give you something to examine??
http://www.boardmod.org/yabb2/YaBB.pl?num=1232292489

Good luck!
  

LoneWebSurfer.com Nothing but YaBB templates
Back to top
WWW  
IP Logged
 
batchman
Global Moderator
*****
Offline


What's up?!

Posts: 1280
Location: Orlando
Joined: Apr 28th, 2002
Gender: Male
Re: Community Project -- Shoutbox Mod 2.3.1 (alpha)
Reply #11 - Jan 24th, 2009 at 5:47pm
Print Post  
Driven, thank you!

I'll spenda little time playing with that, and see if I can figure it out.

(Remember, I'm not a programmer, I just tweak ... something to try, though, is a good thing!)

Edited:
No luck on my side of things. The file in question uses that code the only time it tries to post data. It may not use it right, I don't know enough to tell, but it uses it.)
  

Improving my forum, one mod at a time!


Now up and running again, with an accurate link.


Back to top
WWW  
IP Logged
 
D0T-C0M
God Member
*****
Offline



Posts: 806
Location: Tracadie
Joined: Sep 22nd, 2001
Gender: Male
Re: Community Project -- Shoutbox Mod 2.3.1 (alpha)
Reply #12 - Jan 24th, 2009 at 7:21pm
Print Post  
Ah jeez so close and yet so far LOL.  I've been trying to search various different forums seeing if anyone has discussed this or a similar topic. So far nothing.  At least there is hope.
  
Back to top
 
IP Logged
 
LWS
Senior Member
****
Offline


seek and ye shall find...i
must be BLIND!!

Posts: 285
Location: Southern Ohio
Joined: Feb 25th, 2007
Re: Community Project -- Shoutbox Mod 2.3.1 (alpha)
Reply #13 - Jan 24th, 2009 at 11:38pm
Print Post  
heading off to work.... but.. played a little with this ..
results of my tinkering is
http://www.lonewebsurfer.com/area51/cgi-bin/yabb2/YaBB.pl

log on = test
Pass= testingit
  

LoneWebSurfer.com Nothing but YaBB templates
Back to top
WWW  
IP Logged
 
D0T-C0M
God Member
*****
Offline



Posts: 806
Location: Tracadie
Joined: Sep 22nd, 2001
Gender: Male
Re: Community Project -- Shoutbox Mod 2.3.1 (alpha)
Reply #14 - Jan 25th, 2009 at 1:36am
Print Post  
Ahhhhh looks promising, at least you can post. Smileys are not working yet but thats great that you could get this mod to where its at.


What did you do to get it to work thus far?
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: [1] 2 3 ... 42
Send TopicPrint