SA Chat

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

Previous topic - Next topic

anakmacan

Could you give me the code to show this mod inside simpleportal block instead?

SA™

#361
@mibodega
yes uninstall then reinstall

@anakmacan
try the atttached package it allowes you to chooss where the bar shows
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 -___-

Enzofielt

Hello, i have installed SA Chat Bar Beta2 rev38.
Where can i find the code to paste in a EZportal block.
Thanks  ;)
Running my forum on SMF 2.0.13

Yngwiedis

#363
After install the new version i cant see the bar at all.
I forgot to do something ?

Thank you.


EDIT: Problem fixed after i change permissions of sachat folder to 755.

Thank you.

EDIT2: New problem. In the Who Is Online list i see all the members of the forum and not only the online members.
What i do wrong ?

Thank you.
AmityHost.com - The Affordable Host

anakmacan

Quote from: SA™ on April 25, 2011, 11:51:14 PM
@mibodega
yes uninstall then reinstall

@anakmacan
try the atttached package it allowes you to chooss where the bar shows

Ive downloaded, and i uninstalled SA chat, dropped old chat database, and then installed the file you gave me. I dont find any menu or option to choose where the bar will show. I mustve made mistake somwhere :/

SA™

@anakmacan
it in sa chat admin

Actions to Show Bar on (separated by comma)
right at the bottom

@Yngwiedis
pos up your sachat/index.php
please

or in that file

find
if ($results){
while ($row = $smcFunc['db_fetch_assoc']($results)) { //show_online
if ($row['id_member'] != $member_id){
          $context['friends'][] = $row;
$user_settings = loadUserSettings($row['id_member']);
}
}
$smcFunc['db_free_result']($results);
}


replace with

if ($results){
while ($row = $smcFunc['db_fetch_assoc']($results)) { //show_online
if (isset($row['session']) && $row['id_member'] != $member_id){
          $context['friends'][] = $row;
$user_settings = loadUserSettings($row['id_member']);
}
}
$smcFunc['db_free_result']($results);
}
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 -___-

mibodega

I have to figure out how to uninstall Beta 1. I get the following errors

Execute Modification   ./Themes/default/languages/Modifications.english.php   Test failed
   1.   Replace   ./Themes/default/languages/Modifications.english.php   Test failed

I think I am just going to hang with Beta 1 for now until I see more happy faces ;D

SA™

there text strings youd be ok to uninstall it still it wont break the forum ;)
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 -___-

Yngwiedis

Quote from: SA™ on April 26, 2011, 08:55:15 PM

@Yngwiedis
pos up your sachat/index.php
please

or in that file

find
if ($results){
while ($row = $smcFunc['db_fetch_assoc']($results)) { //show_online
if ($row['id_member'] != $member_id){
          $context['friends'][] = $row;
$user_settings = loadUserSettings($row['id_member']);
}
}
$smcFunc['db_free_result']($results);
}


replace with

if ($results){
while ($row = $smcFunc['db_fetch_assoc']($results)) { //show_online
if (isset($row['session']) && $row['id_member'] != $member_id){
          $context['friends'][] = $row;
$user_settings = loadUserSettings($row['id_member']);
}
}
$smcFunc['db_free_result']($results);
}


OK. After this fix the members list is now showing only the online members.
Thank you for that.

Can you tell me now how can i change the dimensions of the chat window ?

Thank you very very much.
AmityHost.com - The Affordable Host

cnywrestling

Quote from: SA™ on March 20, 2011, 03:25:22 PM
@eyeseven
try attached file

I had the same problem with gadgets - they just didn't work at all.  I saved the body.js.php file from the above resolution and now gadgets are "trying" to work, but there are problems in all browsers.  In IE, I get a "404 not found" error.  In Chrome and Firefox, nothing shows.  To simplify things, I just put a little table in the gadget:

<table>
  <tr>
    <td>Test Gadget</td>
  </tr>
</table>


But all I get are the above mentioned errors.  Little Help??

Thanks!

SA™

missing global in the chat bar template

in sachat\themes\default/template.php

find
function gadget_template() {

global $themeurl, $context;


replace with
function gadget_template() {

global $boardurl, $themeurl, $context;


it actualy fixed in the package a few post back just i need todo more testing before i realse that package properly
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 -___-

cnywrestling

Sorry, but that really threw things off.  All that did was cause a JS error:

Script Error
Description: 'document.all.friends.style' is null or not an object
Source: http://www.cnywrestling.com/smd/sachat/index.php?action=body
Line: 383


I changed the one line back, but the javascript error won't go away.  Doesn't make sense.  I had to disable it for now.

SA™

that error has nothing todo with what i told you todo hence why it dont go away

beta 2-1 rev39 realsed
now you can define where the bar show
online list now shows avatars
fixed gadgets now showing when clicking them
now has a simple yet powerful theme manager
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 -___-

Yngwiedis

After installing the new release i get this error when i click on SA Chat Administration:

QuoteFatal error: Cannot redeclare isallowedextension() (previously declared in /home/xxxxxx/public_html/Sources/sachatAdmin.php:209) in /home/xxxxxx/public_html/Sources/FB_Connect/FB_Connect_Subs.php on line 62

Also SA can you tell me how can i change the chat window dimensions ?

Thank you.
AmityHost.com - The Affordable Host

SA™

QuoteFatal error: Cannot redeclare isallowedextension() (previously declared in /home/xxxxxx/public_html/Sources/sachatAdmin.php:209) in /home/xxxxxx/public_html/Sources/FB_Connect/FB_Connect_Subs.php on line 62
fixed pls download and reinstall

QuoteAlso SA can you tell me how can i change the chat window dimensions ?
look in sachat/themes/yourtheme/style.css
i dont know the excact class  of hand tho
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 -___-

Yngwiedis

Quote from: SA™ on April 28, 2011, 11:53:44 AM
QuoteFatal error: Cannot redeclare isallowedextension() (previously declared in /home/xxxxxx/public_html/Sources/sachatAdmin.php:209) in /home/xxxxxx/public_html/Sources/FB_Connect/FB_Connect_Subs.php on line 62
fixed pls download and reinstall

OK. Everything is fine now...

Quote from: SA™ on April 28, 2011, 11:53:44 AM
QuoteAlso SA can you tell me how can i change the chat window dimensions ?
look in sachat/themes/yourtheme/style.css
i dont know the excact class  of hand tho

I find it. I am OK now.

Thank you very very much.
AmityHost.com - The Affordable Host

Capion

nice ..nice..
but how do I get rid of that very annoying, and unwanted..unexpected... google translate ---- annoy-me-bar ?
( unexpected..because it has not a thing to do with what I thought I was installing )
*if it works, dont fix it*

SA™

in sa chat admin you can disable it
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 -___-

chinaren

Hi, I've installed this but there's no chat bar showing anywhere? 


I added the lines to the index.template.php as specified on the first page of this mod, but still nothing (probably out of date now). 


The directories are on 755.


I can see the mod settings in admin okay though.


Help?

The Opus Path - The Next Generation of the Written Word

SA™

first off you dont need to make any edits for this mod o work it uses hooks and sub templates to show the bar

second thing
directories and files should be 755 for the chat bar to work
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 -___-

Advertisement: