MyBB Community Forums

Full Version: ajax chat help
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi, I installed Ajax chat, and i want to ask how do i "lock" the themes so vistors don't see the change theme button and they won't use the dault theme when they first login...

and can i change where it say Ajax chat to KS chat ??
Moved to Code Modifications Support
ok i find my thead here .... anyone have answer....
Okay, I'm gonna try to help but given the limited time that I have, I don't promise much. You better go to the Ajax Chat tracker @ sourceforge.org; there you'll certainly get support from the developer himself.

Quote:and can i change where it say Ajax chat to KS chat ??
Go to chat/lib/template/ & edit the file "loggedout", & find:
Code:
<title>[LANG]title[/LANG]</title>
Replace with:
Code:
<title>KS Chat</title>
The find:
Code:
<h1>[LANG]title[/LANG]</h1>
And replace with:
Code:
<h1>KS Chat</h1>
Then repeat the same two renaming procedures with the file "loggedin".

Quote:how do i "lock" the themes so vistors don't see the change theme button and they won't use the dault theme when they first login

I don't know how you can lock it, I'd have to look into it. You could nevertheless delete the other themes, so your visitors would only be using the theme you set as default.
To do that, open chat/lib/config with a text editor, the find & edit this bit to your likings:
Code:
// Available styles:
$config['styleAvailable'] = array('beige','black','grey','Oxygen','Lithium','Sulfur','Cobalt','Mercury','Rad​ium','prosilver','subsilver2','subblack2','subSilver','Core','MyBB','vBulletin')​;
// Default style:
$config['styleDefault'] = 'MyBB';
Say, if you want to keep the Oxygen theme only & have it as your default theme, delete the other entries so that the code would be like:
Code:
// Available styles:
$config['styleAvailable'] = array('Oxygen');
// Default style:
$config['styleDefault'] = 'Oxygen';
it work ! but now i can't login.... go to http://ksbsm.co.cc/forums/chat/ and how did you login with hmm accont without register last time.. ?
What's the meaning of this:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
umm.. are you asking me ?? it like say what kind of doc it is but idk about 3... and i reupload and re import the stuff but it don't work can't login,,, y?
I get an error for that reason.
ksclans Wrote:it work ! but now i can't login.... go to http://ksbsm.co.cc/forums/chat/ and how did you login with hmm accont without register last time.. ?

Editing the title & header of the page shouldn't affect the chat or logging function in any way. So make sure you haven't modified something else by mistake.

I was able to login without registering last time simply by entering a username & no password, Toungue since you're allowing unregistrated visitors to enter your chat. To disallow them, edit the config file.

Your chat works alright, btw, I just checked in.
OOOK then the guest thingy is good i should tell ppl on the login page can i make a simple HTML doc there or need some kind of script ?
and where do i see other things like those..... are there more things ? it my 3am when you come in can talk to you....
Pages: 1 2
Reference URL's