[BETA] AJAX Chat MOD

MODs and Styles for phpBB3.

To post your MOD or style, go to the STG MOD Manager
Forum rules
Go to http://startrekguide.com/mods to submit your MOD or style

Re: [BETA] AJAX Chat MOD

Postby isterios » 08 Dec 2008, 15:30

Is there a way to put the chat at top of the page?

And a way to reduce the size of the window?

I tried changing these settings in chat_body.html, but it has not been taken into account. So I renamed the file cat_body, to see if it is still used, and the chat still works!!

p.s. I am using subsilver2 and put the file in subsilver2/.../template
isterios
Crewman
Crewman
 
Posts: 2
Joined: 08 Dec 2008, 10:14
Gender: Male


Re: [BETA] AJAX Chat MOD

Postby primetime33 » 11 Dec 2008, 07:02

isterios wrote:Is there a way to put the chat at top of the page?

And a way to reduce the size of the window?

I tried changing these settings in chat_body.html, but it has not been taken into account. So I renamed the file cat_body, to see if it is still used, and the chat still works!!

p.s. I am using subsilver2 and put the file in subsilver2/.../template


If you are talking about placing it right after the header, then open your index_body.html file of of your style

at the top do this...
Spoiler:
Code: Select all
<!-- INCLUDE overall_header.html -->
<!-- IF S_USER_LOGGED_IN -->
<!-- INCLUDE chat_body.html -->
<!-- ENDIF -->
primetime33
Ensign
Ensign
 
Posts: 70
Joined: 17 Nov 2008, 15:48
Gender: Male
phpBB Knowledge: 4

Re: [BETA] AJAX Chat MOD

Postby primetime33 » 11 Dec 2008, 07:14

Handyman wrote:Chat archive page, by nicholasalipaz

note: I have not personally checked this file and I don't know much about it currently.
This is posted as a for the benefit of everybody who's asking for one and since Nicholas was nice enough to make one, here it is :)
Good luck with it :good:
Nicholas should be around if you have any questions about it.

chat_archive.zip


Thank you for the MOD for the MOD. Looks like I was the first to download it. Quick question,
Where do the files get uploaded to? :)
primetime33
Ensign
Ensign
 
Posts: 70
Joined: 17 Nov 2008, 15:48
Gender: Male
phpBB Knowledge: 4

Re: [BETA] AJAX Chat MOD

Postby primetime33 » 11 Dec 2008, 13:52

Sniper_E wrote:Hey, Handyman did that with our chat and it had to go. That got annoying after awhile.
I don't have the old files to see how he did it but I bet it's posted in one of his old posts in his first topic.
But I refuse to go through those 337 pages of his to find it. :rotfl:


I would like that feature but only when your username is typed. Just like in mIRC.
primetime33
Ensign
Ensign
 
Posts: 70
Joined: 17 Nov 2008, 15:48
Gender: Male
phpBB Knowledge: 4

Re: [BETA] AJAX Chat MOD

Postby Sniper_E » 12 Dec 2008, 08:28

I can't help you with putting sound in the chat, but the files to the chat_archive.zip go here:
The chat_archive.php goes in the root of your forum.
The chat_arch_body goes in the template directory of your style. (It's a prosilver template by the way.)
You pull it up by going to http://yoursite.com/forum/chat_archive.php and it looks like it needs some work.
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!
User avatar
Sniper_E    
STG Jedi Master
STG Jedi Master
 
Posts: 6985
Joined: 31 May 2006, 06:29
Location: Shreveport, LA
Favorite Team: The STG Team
Gender: Male
phpBB Knowledge: 6

Re: [BETA] AJAX Chat MOD

Postby Yuki » 12 Dec 2008, 09:29

i want to ask some help..

"i have a site which is using phpbb3 and i want to install Ajax Chat 2.0 beta to my site.. but there a problem on it my site was using SQLLite database not MYSQL database and when i see through ajax chat 2.0 installation that the chat mod not support SQLLite database, it only support MYSQL, MYSQL4 and MYSQLi"

what i want to ask for help
is anyone can tweak the "Ajax Chat Mod" so it support to SQLLite database

thanks

Regard
- Yuki -
Yuki    
Crewman
Crewman
 
Posts: 6
Joined: 08 Dec 2008, 15:09
Gender: Male
phpBB Knowledge: 1

Re: [BETA] AJAX Chat MOD

Postby Randyb » 12 Dec 2008, 09:42

Hey guys, i was wondering what line and what file is the place to edit the height of the box on the main page?

Thanks
Randyb    
Crewman
Crewman
 
Posts: 3
Joined: 11 Dec 2008, 21:33
Gender: Male
phpBB Knowledge: 10

Re: [BETA] AJAX Chat MOD

Postby Sniper_E » 12 Dec 2008, 10:03

The height is adjusted with these two classes in the chat_body.html template.
Code: Select all
      .shouts {
         width: 85%;
         height:300px;
         overflow:auto;
         float:left;
      }
      .onlinelist {
         width: 15%;
         overflow:auto;
         height:300px;
      }

You can have it small in the index page and larger in the chat page by changing to this....
Code: Select all
      .shouts {
         width: 85%;
         height:<!-- IF S_CHAT -->400px<!-- ELSE -->200px<!-- ENDIF -->;
         overflow:auto;
         float:left;
      }
      .onlinelist {
         width: 15%;
         overflow:auto;
         height:<!-- IF S_CHAT -->400px<!-- ELSE -->200px<!-- ENDIF -->;
      }
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!
User avatar
Sniper_E    
STG Jedi Master
STG Jedi Master
 
Posts: 6985
Joined: 31 May 2006, 06:29
Location: Shreveport, LA
Favorite Team: The STG Team
Gender: Male
phpBB Knowledge: 6

Re: [BETA] AJAX Chat MOD

Postby Randyb » 12 Dec 2008, 10:05

Thanks, i got it. :wave:
Randyb    
Crewman
Crewman
 
Posts: 3
Joined: 11 Dec 2008, 21:33
Gender: Male
phpBB Knowledge: 10

Re: [BETA] AJAX Chat MOD

Postby firezz » 12 Dec 2008, 17:22

Hi,
just installed the chat mOD and wondering whether is it possible to add it on the top of the header so that when users are reading each thread, they are still able to chat and post message all the time.
i wonder whether is this code does the trick ?
<!-- INCLUDE overall_header.html -->
<!-- IF S_USER_LOGGED_IN -->
<!-- INCLUDE chat_body.html -->
<!-- ENDIF -->


I have ACP announcement and it is on the top header.. can i add any html codes to be placed here as well ,just in case ?
Mnay thanks
firezz    
Crewman
Crewman
 
Posts: 7
Joined: 12 Dec 2008, 13:44
Gender: Male
phpBB Knowledge: 5

PreviousNext

Return to phpBB3 Customizations

Who is online

Users browsing this forum: Baidu [spider] and 14 guests