[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.
k35hav
I've Been Banned!
Posts: 18
Joined: Fri May 09, 2008 3:59 am

Re: [Alpha] Ajax Shoutbox

Post by k35hav »

i have install ajax chat in my forum and it is fine,
the messages r appearing like this

Tue May 13, 2008 10:18 am
hello
k5

HOW CAN I MAKE IT APPEAR ON THE SAME LINE LIKE THIS??

k5 « Tue May 13, 2008 10:18 pm » hello
One.
Registered User
Posts: 4
Joined: Sat Jan 12, 2008 6:01 am

Re: [Alpha] Ajax Shoutbox

Post by One. »

I probably screwed this up since haven't installed mod in while now but this is what I did.

Downloaded
Put files in same folder on my server as they were in folder I downloaded.
Now I see nothing in admin control panel about shoutbox and for sure know shoutbox on main page but I dunno if it's supposed to.

How or where do I go to find shoutbox.
User avatar
Zaid
Registered User
Posts: 590
Joined: Thu Nov 08, 2007 2:06 pm
Location: South Pacific Ocean

Re: [Alpha] Ajax Shoutbox

Post by Zaid »

Thanx i will try out this mod now.. hope it works... want it to appear in index thou.. saw some random guy here who has it on their index..i will try ...lets see..

thanx
User avatar
Zaid
Registered User
Posts: 590
Joined: Thu Nov 08, 2007 2:06 pm
Location: South Pacific Ocean

Re: [Alpha] Ajax Shoutbox

Post by Zaid »

houseplanet wrote:Very good and useful mod. Thanx to author!
It works almost perfect >>> http://www.houseplanet.dj/forum/

Anyway I'm looking for few edits:

1. How to decrease date & time size?
2. How to decrease height of the shoutbox? I tried in shoutbox.php
$shoutbox_width = ( !$shoutbox_width ) ? 900 : intval($shoutbox_width);
$shoutbox_height = ( !$shoutbox_height ) ? 350 : intval($shoutbox_height);
But it appears not correctly when I decreased the height.
3. How to add smiles & colors to users?

Thanx for any helping!


Your,
http://www.HousePlanet.DJ



i need this on index can u help me?
User avatar
Zaid
Registered User
Posts: 590
Joined: Thu Nov 08, 2007 2:06 pm
Location: South Pacific Ocean

Re: [Alpha] Ajax Shoutbox

Post by Zaid »

I used Iframe code to the shoutbox.php but that doesn't match my forum template, i need to it be looking / matching same as the one in chat.php
User avatar
Zaid
Registered User
Posts: 590
Joined: Thu Nov 08, 2007 2:06 pm
Location: South Pacific Ocean

Re: [Alpha] Ajax Shoutbox

Post by Zaid »

how do i change colors...pls help me out!
mgutt
Registered User
Posts: 346
Joined: Tue Sep 21, 2004 2:54 pm
Location: Germany, Sankt Augustin
Contact:

Re: [Alpha] Ajax Shoutbox

Post by mgutt »

@ Kinfule
What do you think about:

Code: Select all

var now = new Date();
var time = Math.round(now.getTime()/1000);

function Time() {
	now = new Date();
	return Math.round(now.getTime()/1000);
}

function resetTime() {
	time = Time();
	refresh_time = 4000;
}

//...

		if (results.length > 2) {
//...
						insertNewContent(results[i+2],results[i+3],results[i+4] ,lastID); 
						resetTime();
//...
		}
		else {
			// no new comment since..
			// 60 seconds
			if ( refresh_time == 4000 & ((time + 60) < Time()) ) {
				// set refresh to 10 seconds
				refresh_time = 10000;
			}
			// 5 minutes
			else if ( refresh_time == 10000 & ((time + 300) < Time()) ) {
				// set refresh to 30 seconds
				refresh_time = 30000;
			}
			// 30 minutes
			else if ( refresh_time == 30000 & ((time + 1800) < Time()) ) {
				// set refresh to 2 minutes
				refresh_time = 120000;
			}
			// 60 minutes
			else if ( refresh_time == 120000 & ((time + 3600) < Time()) ) {
				// set refresh to 5 minutes
				refresh_time = 300000;
			}
		}
I have many users who let the window open for hours and some for days, so this was a good step to reduce server load :mrgreen:

Maybe you find a better way. If (yes) { alert('Give feedback'); } ;)
Forums: Honda || phpBB Categories Hierarchy
Mods: Spamfilter against bot registrations || Seo Urls
User avatar
kiiriik
Registered User
Posts: 1
Joined: Tue Nov 06, 2007 8:44 am

Re: [Alpha] Ajax Shoutbox

Post by kiiriik »

Hi all

This is my problem I am noob in forum development but willing to learn about it.

My problem is I cant find topic on where to put Ajax Shoutbox in PhPBB3.0 forum I searched like for 4 days now to find it and I cant seem to manage it.

Can you please I beg you help me I am in hell becouse of this...

You can PM or some simular thing on this..

I cant Install it I dont get it how.
tupeu
Registered User
Posts: 320
Joined: Wed Jul 25, 2007 5:47 pm
Location: roFLmania
Contact:

Re: [Alpha] Ajax Shoutbox

Post by tupeu »

this mod should be adapted for phpBB3 cause we really need a WORKING shoutbox for phpBB3 :/
User avatar
Renodil
Registered User
Posts: 668
Joined: Mon Nov 14, 2005 8:48 am
Contact:

Re: [Alpha] Ajax Shoutbox

Post by Renodil »

I just finished installing the style mods for a new style on my forum. For some reason the shoutbox doesn't open fully. All you see is the title. The body of it doesn't open up.

Never mind. I fixed it.
aagaag
Registered User
Posts: 26
Joined: Mon Jan 07, 2008 8:13 am

Re: [Alpha] Ajax Shoutbox

Post by aagaag »

The download link is to another forum.
However that forum is giving and error (Could not connect to database).

Image

When will your forum be up again? I want to download and test this :)
kitt52uk
Registered User
Posts: 6
Joined: Sun May 11, 2008 2:20 pm

Re: [Alpha] Ajax Shoutbox

Post by kitt52uk »

General Error
Language file shout.php couldn't be opened.

im getting the above error, any ideas
izamurni
Registered User
Posts: 6
Joined: Fri Mar 14, 2008 4:42 am

Re: [Alpha] Ajax Shoutbox

Post by izamurni »

can u teach me how to put the shoutbox at the main page (index file)?
can u give me the steps to put this shoutbox can appear at the bottom of the mainpage...thanks :idea:
izamurni
Registered User
Posts: 6
Joined: Fri Mar 14, 2008 4:42 am

Re: [Alpha] Ajax Shoutbox

Post by izamurni »

izamurni wrote:can u teach me how to put the shoutbox at the main page (index file)?
can u give me the steps to put this shoutbox can appear at the bottom of the mainpage...thanks :idea:
problem solved...thank you... 8-)
Paladin
Registered User
Posts: 4
Joined: Wed Nov 13, 2002 1:30 pm

Re: [Alpha] Ajax Shoutbox

Post by Paladin »

I have tried to implement the shoutbox on my phpbb2 version 2.0.23 and I did everything to the letter.
After I completed all stages I did not see anything appearing on my main board, so I went on to check the Administrator Panel, guessing there would be an added option there.

When I went to the Administration Panel, much to my surprise the main body was ok, but the left sided menu is nowhere. I get an empty frame there, consequently rendering me unable to do ANYTHING administrator wise, to my board, from config, to users, to groups etc...

I reverted to my old files which I backed up before the installation attempt, and even removed the 2 new tables from the SQL plus the values added in the phpbb_config but the Admin left sided frame is still empty. I refreshed my page numerous times, I even cleared all cookies and so on, but still the left frame on the admin panel is empty.

Please help? :(
Post Reply

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