News:

Wondering if this will always be free?  See why free is better.

Main Menu

SA Chat

Started by Diego Andrés, July 21, 2010, 10:36:59 PM

Previous topic - Next topic

PS4DEV

yep thanks a lot, my mistake ^^

tuantt

Dear Sir or Madam:

I've installed SAChat and it worked fine. However, when I check my index.php by View Source, the to script for sachat 'head' and 'body' seems not to be at "correct place". (the head script below my forum menu and the body script is not at the end of my body tag).

I looked in sachathook.php and it seem be differed from what I've read this thread (there is no $buffer, just a simple echo' <script...)

Though SAchat still work but this above may lead to a problem of javascript on my page (a yellow critical indecate that javascript get an error but not relate to SAChat, I believe).

I would like to know how to place the script at the "correct place" (to check if there still is an js error). Please give me some information.

Thank in advance.

Tuan Tran

SA™

if it is working the script is in the right place :)
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

tuantt

Oh, I am not sure about that. Please have a look

<div class="navigate_section">
<ul>
<li class="last">
<a href="http://www.bizad.tk/diendan/index.php"><span>My forum name</span></a>
</li>
</ul>
</div><script type="text/javascript" src="http://www.bizad.tk/diendan/sachat/index.php?action=head&amp;theme=default"></script>
<div class="title_barIC">

the script for 'head' is not in the head section.
Anh here, the script for 'body'

oCookieOptions: {

bUseCookie: false,

sCookieName: 'upshrinkIC'

}

});

// ]]></script><script type="text/javascript" src="http://www.bizad.tk/diendan/sachat/index.php?action=body&amp;theme=default"></script>
<div class="bottom_quicklinks clear">...

the script is not only at the end of body section but also be "commented".

SA™

Quote from: SA™ on July 21, 2011, 02:10:05 PM
if it is working the script is in the right place :)

it is in the right place
it uses subtemplates to show the bar so no edits are made
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

LC

#445
Got this error on install.

Fatal error: Call to undefined function twosichatAdmin() in /Sources/Admin.php on line 560

Seems that the mod wasn't installed properly, even though the package manager did not report any errors. My error log did however say some files were not writable, but it was the file that comes with the mod, not any edits made to the other few files.

Did I goof somewhere? Should I do a manual install?


2.0 Final with a Custom theme, with some other mods.


Resolved, had to go back in my FTP and manually delete files. Seems I had extra copies.

tuantt

Quote from: SA™ on July 22, 2011, 01:03:53 PM
it is in the right place
it uses subtemplates to show the bar so no edits are made

Ok, thank for your supporting information

dj_king

A very good chat! Thank you!
SMF 2.0.1

Hege

hello. i've got a problem with this chat. i installed it without any problem, i did that thing in index.template. now, i can see the bar. BUT. when i'm logged in, it says " Welcome Guest, please login or register. " what should i have to do? please help.!!

check it.
www (dot) nlrp (dot) net ( it's hungarian, but the problem is the same.

SA™

try this?

admin/server settings/cookies and sessions

disable
Use subdomain independent cookies
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

Hege

it did not work. it's already disabled... :/

mxcape21

#451
I get this error http://techraffle.com/forum area=2sichat;sa=gadget;xxxxxxx=xxx .....
Unable to load the '2sichat' template <--- should i still have a "2si chat" template?
I think I have a bad install of SA chat, should I still have 2si chat files after installing?

SMF 2.0 RC5 --  http://techraffle.com/forum/index.php
The only thing I can presume, since I know I'm not crazy (certifiably at least), is that everybody else is until they prove otherwise! 8)
http://techraffle.com/forum/index.php

Hege

#452
hm... it works in internet explorer ( with many bugs ), and in chrome/firefox dont work. any ideas? :/

mxcape21

Ok I removed hooks.php manually and that seems to have fixed it, thanks for a great mod  :D
The only thing I can presume, since I know I'm not crazy (certifiably at least), is that everybody else is until they prove otherwise! 8)
http://techraffle.com/forum/index.php

Rawn

Hi, I *love* this mod. My users are HUGE fans of it. Easily one of the best additions to my website. I have one question, though, and I;ve dug around everywhere to try and figure out how, but is there a way I can disable the mod for specific themes?

I have a mobile theme for my forums and the bar shows up on it and doesnt work too well on mobile devices.

divecall

I have the "Ajax Recent Topics"-Mod installed.

Is there any way to create a widget for the SA-Chat-bar, to show the recent topics in realtime (with ajax support)?

Thank you in advance...

AcidFMHQ

#456
Getting a error after deleting a gadget saying

Fatal error: Cannot redeclare chat_window_template() (previously declared in themes/default/template.php:10) in /themes/dark/template.php on line 59

it pops up and can't be closed please help

Also getting this error with the default SA chat theme

Fatal error: Wrong value type sent to the database. Integer expected. (gid)(index.php-244) in /Sources/Subs-Db-mysql.php on line 684

studiowi33

The chat bar covers up the RSS link at the bottom of my index page. And when I create a post, it also covers the last line of my typing.

Are there any easy solutions to these small inconveniences? I LUV the chat mod.

As always, any insight is appreciated.

-s.w
SMF 2.0.2

nend

Quote from: AcidFMHQ on August 02, 2011, 04:43:16 AM
Getting a error after deleting a gadget saying

Fatal error: Cannot redeclare chat_window_template() (previously declared in themes/default/template.php:10) in /themes/dark/template.php on line 59

it pops up and can't be closed please help

Also getting this error with the default SA chat theme

Fatal error: Wrong value type sent to the database. Integer expected. (gid)(index.php-244) in /Sources/Subs-Db-mysql.php on line 684
You may have to delete your cookies for the site in your browser. The cookies are telling the chat to try to load the gadget that you deleted.

braddasexy

I installed this and it installed beautifully and work on all the themes except the one I need it to work on.  I have helios installed and I have tried everything to make it show up.  If I switch to one of the other themes it shows up fine and works fine.

Any ideas on this?  I would very much appreciate the help!

Thanks.

Advertisement: