AjaxChat Integration (latest version 3.2.1)

Started by .HuNTeR., August 27, 2008, 12:59:06 AM

Previous topic - Next topic

Smoky "Rider" Blue

that is ok Killer-B.

i have been around long enough to figure out scripts and what nots..

i did get it going, but i think the mod does need a little improving..

personal oppinion, so please, dont take any offense.  ;)
**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

heinandar

Hello .HuNTeR ,,, I want to request you one thing.
What i want is , i attach Pic .

Whein i click A, A will appear in Text area. Whein i click "How are you", How are you will appear in Text area.

If you have time, please Test it and it will great .  :) :) :)

Shadow03

Does anyone have a solution to my problem on page 39?

[unplugged]

Does anyone have a solution to my problem just one post up from Shadow03's problem on page 39?  :P
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



mrtrc266

@Shadow03 and SunKing

I'm not sure but I thinkt the only time I remember seeing anyone have the problems that you 2 are having is if you have your forum set to UTF-8. I'm not sure of a fix, maybe Hunter can help when he gets back online if this is the case.

[unplugged]

I didnt have it initially set as UTF-8 and it didnt work. Switching it to UTF-8 made no difference.
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



mrtrc266

SunKing, I'm not sure then, I am no coder by any means. Hopefully Hunter will have an answer for ya.

BTW LMAO @ your signature
Quote« Next Edit: Tomorrow at 08:34:45 PM by SunKing »
You had me thinking for a second. Good one :D

Shadow03

Nope. I don't have it set to UTF-8, and switching it didn't make a difference. Any other suggestions to my problems?

mrtrc266

Quote from: Shadow03 on March 15, 2009, 12:03:49 AM
Nope. I don't have it set to UTF-8, and switching it didn't make a difference. Any other suggestions to my problems?

I googled some of your error "should not be called statically" and it seems like it might be a hosting issue, what version of PHP are they using?

Google should not be called statically and you'll see what I mean.

[unplugged]

« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



mrtrc266

Quote from: SunKing on March 15, 2009, 12:48:42 AM
PHP Version 5.2.5

Ok, not sure then...sorry. Out of over 800 posts on this topic I have not seen any errors like the one you are getting. Hopefully Hunter or might have a suggestion.

[unplugged]

I am trying out some of the suggestions I found from Googling "should not be called statically" and will post back here with the results. Thanks again for all of your help.

I have been using nneonneo's shoutbox for quite some time and truly like it (I even helped with some of the advanced options), but I really like the features of this one. If only I could get it working.....
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



mrtrc266

I hope you get it going, this is a great MOD. Not only a shoutbox but a full featured Chat Room for your members. Good luck to you.

.HuNTeR.

@heinandar
wow no time for it not a good idea
but check this:
goto
shoutBox/js/chat.js
find:

insertBBCode: function(bbCode) {

add before

   insertWord: function(word) {
      this.insert(word, '');     
   },


goto shoutBox/lib/template/shoutbox.html
find:

<input type="button" value="[LANG]bbCodeLabelUnderline[/LANG]" title="[LANG]bbCodeTitleUnderline[/LANG]" onclick="ajaxChat.insertBBCode('u');" style="text-decoration:underline;"/>

add after:

<input type="button" value="Hello" title="Hello" onclick="ajaxChat.insertWord('Hello');"/>

this will do the hello ;)




@Shadow03
i have absolutely no idea what cause these errors :(




@SunKing
i checked your test site, no test user no chat... :-X

Smoky "Rider" Blue

Quote from: .HuNTeR. on March 14, 2009, 08:49:05 AM

@SmokyBlue
I've seen this problem before on 3rd party themes
you should go to
chat/lib/config.php
and
shoutBox/lib/config.php

and change:
$config['contentType'] = null;
to
$config['contentType'] = "text/html";
in both files
i think this will fix XML Parsing Error


hmm well the issue happened on a local install of easyphp.. it would not go thru the package manager, but yet on line, it does.. like i said, i manipulated the db tables and got it in local, and it is running on 2 of my sites..

will respond to your pm..  ;)
**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

Joe N

Thanks

This is a great mod!

Joe
Microsoft: "We Need to Imagine Life Without Walls."
I Say: "If There are No Walls Who needs Windows."



My Mods (6) All My Mods Updated To SMF 2.0 RC2 and SMF 1.1.10!


[unplugged]

Quote from: .HuNTeR. on March 15, 2009, 03:42:11 AM
@SunKing
i checked your test site, no test user no chat... :-X

Sorry. I was inbetween another reinstall.  ;D

I am installing it right now.

As for the test account, username is test and password is tester123.
Thanks again for your time.
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



discjocke

Actually, I thought it would be easier to set the chat mod via the package manager, instead of using the software version. If anyone can show me what has to be edited and where, I'll give it a gander. I'll just backup before I try it.

I went to sourceforge and couldn't find any manual on how to set it up. So, I'd like to try the mod, but what I'd like to know is what files (php) have to be edited, and with what has to be inserted.

Quote from: discjocke on March 14, 2009, 05:33:25 PM
Quote from: .HuNTeR. on March 14, 2009, 08:49:05 AM

@discjocke
in new version package manager will do all the things
the only thing you should do is manually add some code in BoardIndex.template.php
and
index.template.php
only in third party themes
no upload/download or file running only upload in package manager and smf package manager
will do the rest ;)

That's the part I'm concerned on doing, is inserting in BoardIndex.template.php and
index.template.php.  I'm not sure in what section of the file to enter the codes. I also don't know what to add into the files.

mrtrc266

#798
Quote from: discjocke on March 14, 2009, 05:33:25 PM

That's the part I'm concerned on doing, is inserting in BoardIndex.template.php and
index.template.php.  I'm not sure in what section of the file to enter the codes. I also don't know what to add into the files.

It would be nice if I can just let package manager do it all. Unfortunately, of what I read, it's not the case. Any assistance would be appreciated. I do know how to edit in file manager. Where do I get more info on installation?

It is easier to install the Chat Mod via the Package Manager. Unforunately when Mods are created they are only made to be installed on the default theme becuase there are TONS of themes out there, it would be impossible to the Author to have it install on EVERY theme made.

You can use a Package Parser to view what edits that need to be done to your files for your custom theme. After you install the MOD put the same Mod in the Package Parser and select the version of SMF you are running and select "Only Theme edits (editing a theme to support a mod)"

It will show you exactly where the code goes and what to do with it, replace, add after, add before, etc. Once again what you see in the Parser might be a little different than what's in your file cuz it's "custom." This should get you going in the right direction.

Of course be sure to back up the 2 or 3 files you edit, after you play around with it if you still can't get it going you can attatch your files here along with a link to your theme and I or someone will take a look. I'll be back after work.

discjocke

Thank you very much. I think I have the theme that already came with the forum initially (below). As far as I know non of my members have changed their theme. I think I didn't give that permission.
   
SMF Default Theme - Core
The default theme from Simple Machines.

I just checked the parser for the first time. Quite beneficial. Thank you very much again. I'll try it today when I can and will give you update on how it went. You explained it in layman's terms, which I appreciate that. I'm a novice at this. One thing I can't afford is to have my forum go down. Thanks again.


Advertisement: