[Alpha] Ajax Shoutbox

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
Post Reply
Kinfule
Registered User
Posts: 706
Joined: Tue Mar 02, 2004 12:16 am
Location: Chile

[Alpha] Ajax Shoutbox

Post by Kinfule » Sun May 07, 2006 2:41 am

Name: Ajax Shoutbox
Description: An Ajax based shoutbox that doesn't need to make page refreshes to work.
Version: 0.1.6
FAQ:: Click Here (READ BEFORE POSTING)

Please update to lasted version is very important that you do so.
Download: Here


Demo: Here

Thanks To Features:
  • Smilies
  • PhpBB word censor
  • BBcode
  • Flood control
  • Fading new messages
  • Online List
  • Completely intregated to PhpBB
  • Easy to Include in other pages (Both HTML and PHP)
  • Simple Auth System (Public, Guest Read Only, Registered Users)
  • Admin can delete shouts.
  • XML Usage
To Do in the Future:
  • Some good request. :P
To do for next Release:
  1. Fix possible Bugs
Know Issues:
  • The easy to include function is still under development.
Last edited by Kinfule on Tue Mar 06, 2007 12:43 am, edited 39 times in total.
My Mods:
Show Voters || Moderate Own Topics || Thanks Mod || Tibian Char BBcode || Tibian Guild BBCode
Working on:
Ajax Shoutbox
I don't support by PM

Kinfule
Registered User
Posts: 706
Joined: Tue Mar 02, 2004 12:16 am
Location: Chile

Frequently Asked Questions

Post by Kinfule » Sun May 07, 2006 3:56 pm

FAQ:
P = Problem
A = Answer
  • P: I don't know what the SQL instructions means.
    A: They are queries you need to run on your database managment tool.
    If you don't know how to run them I would recommend you to read this tutorial or else use Easymod (Search in the ModDB for the lastest version).
  • P: I get this error when inserting the queries to the config table "#1136 - Column count doesn't match value count at row 1"
    A: Some mod you have installed has changed your default config table.
    Try using this queries:

    Code: Select all

    INSERT INTO phpbb_config (config_name, config_value) VALUES ('shoutbox_floodinterval', '3');
    INSERT INTO phpbb_config (config_name, config_value) VALUES ('display_shouts', '10');
    INSERT INTO phpbb_config (config_name, config_value) VALUES ('stored_shouts', '25');
    INSERT INTO phpbb_config (config_name, config_value) VALUES ('shoutbox_refreshtime', '4000');
    INSERT INTO phpbb_config (config_name, config_value) VALUES ('shout_allow_guest', '1');
  • P: I can't change or I don't see the default configuration of the shoutbox.
    A: Be sure you added the SQL queries.
  • P: I didn't add them, how do I add them?
    A: You need a program like PhpMyAdmin, which comes included almost every hosting packages. One of the first things you should see when you open the program is a text field and a button labelled "go" or something to that effect. You need to paste the SQL stuff you posted here into the box and hit go to execute the queries.
  • How can I have my shoutbox on the index of the forum.
    This feature isn't ready yet. Wait till it's ready and a tutorial will be posted. I wont help you till this feature is ready!
  • P: Can you have the shoutbox have X feature?
    A: I don't guaranty anything but you may post your suggestion and maybe it gets done in the next release of the shoutbox.
  • P: How do I change the refresh rate?
    A: Go to the ACP and in "Configuration" you should find the option there.
Last edited by Kinfule on Sat Dec 16, 2006 8:25 pm, edited 16 times in total.
My Mods:
Show Voters || Moderate Own Topics || Thanks Mod || Tibian Char BBcode || Tibian Guild BBCode
Working on:
Ajax Shoutbox
I don't support by PM

Kinfule
Registered User
Posts: 706
Joined: Tue Mar 02, 2004 12:16 am
Location: Chile

Post by Kinfule » Sun May 07, 2006 6:32 pm

eviL<3 wrote: This is so awesome! Make it, so you can add it to viewtopic ;) Reminds me of that cool vbulletin Shoutbox. :D

Actually the demo will be really a contrib to the mod.

shoutbox.php will just be the shoutbox so it can be included anywhere on your forum(By a include or by an iframe for html pages) and the demo I posted (with the header, footer and a list of online shouters I'm working on) will be in another file called (can be change) chat.php.
Last edited by Kinfule on Mon May 08, 2006 12:23 am, edited 1 time in total.
My Mods:
Show Voters || Moderate Own Topics || Thanks Mod || Tibian Char BBcode || Tibian Guild BBCode
Working on:
Ajax Shoutbox
I don't support by PM

User avatar
igorw
Former Team Member
Posts: 8024
Joined: Fri Dec 16, 2005 12:23 pm
Location: {postrow.POSTER_FROM}
Name: Igor Wiedler

Post by igorw » Sun May 07, 2006 9:16 pm

That's awesome! :D I'll definateley install this!


.SlimDog.
Registered User
Posts: 29
Joined: Tue Jan 10, 2006 11:22 pm

Post by .SlimDog. » Sun May 07, 2006 9:32 pm

You could add date of posted message, add option to dissalow guest shouting.

Kinfule
Registered User
Posts: 706
Joined: Tue Mar 02, 2004 12:16 am
Location: Chile

Post by Kinfule » Sun May 07, 2006 11:04 pm

.SlimDog. wrote: You could add date of posted message, add option to dissalow guest shouting.


The time of the shout is already stored at the DB, I'm thinking if showing it or not.

Thats for sure something to be done, Also there should be the option to hide the shoutbox from guest or let them see it without shouting and let them shout in it.
My Mods:
Show Voters || Moderate Own Topics || Thanks Mod || Tibian Char BBcode || Tibian Guild BBCode
Working on:
Ajax Shoutbox
I don't support by PM

User avatar
*=Matt=*
Registered User
Posts: 389
Joined: Mon Dec 20, 2004 11:56 pm
Location: Oakdale, Wisconsin

Post by *=Matt=* » Mon May 08, 2006 12:11 am

When looking at your mod, I found a bug. It shows double like umm just look at my screenshot
Image

Kinfule
Registered User
Posts: 706
Joined: Tue Mar 02, 2004 12:16 am
Location: Chile

Post by Kinfule » Mon May 08, 2006 12:25 am

You choose a bad moment to look at it Matt, I was working on it (Tester says you hello :P)

Please tell me if that happens to you again cause that happened to me while I was fixing the tpl usage but now It should be fixed.
My Mods:
Show Voters || Moderate Own Topics || Thanks Mod || Tibian Char BBcode || Tibian Guild BBCode
Working on:
Ajax Shoutbox
I don't support by PM

User avatar
igorw
Former Team Member
Posts: 8024
Joined: Fri Dec 16, 2005 12:23 pm
Location: {postrow.POSTER_FROM}
Name: Igor Wiedler

Post by igorw » Mon May 08, 2006 4:26 am

What this MOD needs is some proper permission management :D. Because i will disable this for Guests ;)

EDIT: And it's all double and tripple at the moment

User avatar
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 24791
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Post by Paul » Mon May 08, 2006 9:41 am

I hope that you has rewritten that script, the scripting is not very well.
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development

Kinfule
Registered User
Posts: 706
Joined: Tue Mar 02, 2004 12:16 am
Location: Chile

Post by Kinfule » Mon May 08, 2006 7:35 pm

paul999 wrote:
I hope that you has rewritten that script, the scripting is not very well.

Why do you say that?
My Mods:
Show Voters || Moderate Own Topics || Thanks Mod || Tibian Char BBcode || Tibian Guild BBCode
Working on:
Ajax Shoutbox
I don't support by PM

User avatar
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 24791
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Post by Paul » Mon May 08, 2006 8:03 pm

It requires register_globals, there is will be at some pagerequest make more then 3 db connections, etc.
I don't say, you must not use it, but I personally think, that you not must use that script.
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development

Kinfule
Registered User
Posts: 706
Joined: Tue Mar 02, 2004 12:16 am
Location: Chile

Post by Kinfule » Mon May 08, 2006 8:13 pm

paul999 wrote: It requires register_globals, there is will be at some pagerequest make more then 3 db connections, etc.
I don't say, you must not use it, but I personally think, that you not must use that script.


Ah yes, I thought you talked about the javascript.
Almost all server side script has been rewritten to work with phpBB2, also this mod doesn't use the register_globals.

I'm mainly keeping the javascript with some modifications.
My Mods:
Show Voters || Moderate Own Topics || Thanks Mod || Tibian Char BBcode || Tibian Guild BBCode
Working on:
Ajax Shoutbox
I don't support by PM

User avatar
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 24791
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Post by Paul » Mon May 08, 2006 8:26 pm

Javascript looks better then the php code, but I believe, you can better use XML for this.
With XML you can better see the difference by messages.
Only thing is that the JS part will be a little bigger.
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development

Post Reply

Return to “[2.0.x] MODs in Development”

Who is online

Users browsing this forum: No registered users and 23 guests