SA Chat

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

Previous topic - Next topic

Realinfo

1. Many send link with "www" instead of (http|https|ftp).............

2. I don't want Chat bar 100% or any PX............ I want it can be as long as many buttons or minimized chat users in it............. I mean not of fix width.............


beanflying

#681
Quote from: SA™ on August 31, 2012, 06:33:53 PM
it does trigger it just you have to scroll upto see it  ill see if i can fix that

Got a fix for it :)

!@#$ it not working in Chrome !!!! Works fine in IE and FF.

In template.php

'.($modSettings['2sichat_ico_adthis'] ? '<a class="addthis_button" style="position:fixed; !important" addthis:ui_cobrand="xyz Forum" href="http://www.addthis.com/bookmark.php?v=250&amp;pubid=xa-503f263237ff99da">

I have been playing a little with the ui commands from here to tweak add this for my own forum but you might be able to pull the forum name into there using the cobrand one? Lots of others too if you want to look http://support.addthis.com/customer/portal/articles/381263-addthis-client-api#configuration-ui
Owner of many many shiny toys.

SA™

Quote from: beanflying on September 02, 2012, 01:02:13 AM
Quote from: SA™ on August 31, 2012, 06:33:53 PM
it does trigger it just you have to scroll upto see it  ill see if i can fix that

Got a fix for it :)

!@#$ it not working in Chrome !!!! Works fine in IE and FF.

In template.php

'.($modSettings['2sichat_ico_adthis'] ? '<a class="addthis_button" style="position:fixed; !important" addthis:ui_cobrand="xyz Forum" href="http://www.addthis.com/bookmark.php?v=250&amp;pubid=xa-503f263237ff99da">

I have been playing a little with the ui commands from here to tweak add this for my own forum but you might be able to pull the forum name into there using the cobrand one? Lots of others too if you want to look http://support.addthis.com/customer/portal/articles/381263-addthis-client-api#configuration-ui

lol was just gonna say it not working in chrome
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 -___-

beanflying

Bring back Netscape I say  ;D 2 out of 3 is a start I suppose

Minor permissions thing too. The Bar can't be made show to Guests currently but it was visible in the earlier version.
Owner of many many shiny toys.

SA™

it can and it wasnt shoing on your site before eaither have you changed permission for guest to show bar

permissions Disable Bar untick
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 -___-

SA™

Quote1. Many send link with "www" instead of (http|https|ftp).............

that will detect any link with our with out www even with or with out  (http|https|ftp). it regex it searches for a pattern dont have to contain  (http|https|ftp).

Quote2. I don't want Chat bar 100% or any PX............ I want it can be as long as many buttons or minimized chat users in it............. I mean not of fix width.............

i dont think it wil work like that the thing it need a max width set in the min chat area so if theres is many it will fit them in i couldent get max width to work myself this is why i made the default_new theme it can hold a few more min chats than the default theme and looks a lot better in my opinion
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 -___-

Realinfo

1. can't I have 200px width of Chat bar only, and for minimized users it will grow upward (instead of Chat Bar I needed Chat Tower)...........
200px width Chat bar was working fine for me, but now as u added minimized users, so there's problem............

2. Users can still able to send website link like this www.realinfo.tv (may when they try to send http://realinfo.tv then it got failed)

3. Can we also censor some words ( so one user can't send those words to other users)

SA™

Quote1. can't I have 200px width of Chat bar only, and for minimized users it will grow upward (instead of Chat Bar I needed Chat Tower)...........
200px width Chat bar was working fine for me, but now as u added minimized users, so there's problem...........

it will probaly be better just to make a new theme your self then or remove the minamised chat feature

Quote2. Users can still able to send website link like this www.realinfo.tv (may when they try to send http://realinfo.tv then it got failed)

oh iim sry i assumed it woulda worked ill look into this later

Quote3. Can we also censor some words ( so one user can't send those words to other users)

ill see cos i would probaly need to write my own function to do this as it seems includng smf files causes loads of errors in server error logs [create a bbc gadget and your see what i mean it dont work] shouldent be too hard to write a censer function 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 -___-

Realinfo

1. How we can remove minimized options

2. Can we have Transparent Bar ( so only written things appear and not bar)

3. Can one day you also add option of Voice chat and video chat

4. Instead of who's Online I just want to make it "online"

SA™

Quote2. Users can still able to send website link like this www.realinfo.tv (may when they try to send http://realinfo.tv then it got failed)

try in sachat/index.php

$data = preg_replace("#((http|https|ftp)://(\S*?\.\S*?))(\s|\;|\)|\]|\[|\{|\}|,|\"|'|:|\<|$|\.\s)#ie", "'<a href=\"$1\" target=\"_blank\">$3</a>$4'", $data);

replace with
$data = preg_replace("#(((http|https|ftp)://?|[\w\d]+[.])[^\s()<>]+(?:\([\w\d]+\)|([^[:punct:]\s]|/)))#ie", "'Link aint allowed'", $data);

it in the file twice do both

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 -___-

beanflying

Failed on finding  fix for the Chrome position:fixed quirk too. Only way around it I suspect is onhover have the page scroll up to meet it but that's not a wonderful look either? Or some sort of javascript scroll offset and a little maths (way beyond my skills) and force the sucker down to meet the position on the page without the 'fixed' ?

Apart from that working well  8)
Owner of many many shiny toys.

Realinfo

Quote from: SA™ on September 03, 2012, 12:35:53 AM
Quote2. Users can still able to send website link like this www.realinfo.tv (may when they try to send http://realinfo.tv then it got failed)

try in sachat/index.php

$data = preg_replace("#((http|https|ftp)://(\S*?\.\S*?))(\s|\;|\)|\]|\[|\{|\}|,|\"|'|:|\<|$|\.\s)#ie", "'<a href=\"$1\" target=\"_blank\">$3</a>$4'", $data);

replace with
$data = preg_replace("#(((http|https|ftp)://?|[\w\d]+[.])[^\s()<>]+(?:\([\w\d]+\)|([^[:punct:]\s]|/)))#ie", "'Link aint allowed'", $data);

it in the file twice do both




Yes............ Now It's ok.............. also guide me about

Quote from: Realinfo on September 02, 2012, 08:52:32 PM
1. How we can remove minimized options

2. Can we have Transparent Bar ( so only written things appear and not bar)

3. Can one day you also add option of Voice chat and video chat

4. Instead of who's Online I just want to make it "online"

pevanis

Hi,

at first thanks for chat :-)

I have a problem with that window, it suck and i can't get rid of it :-( can You hep ??


Have a nice day

SA™

Quote from: Realinfo on September 02, 2012, 08:52:32 PM
1. How we can remove minimized options

2. Can we have Transparent Bar ( so only written things appear and not bar)

3. Can one day you also add option of Voice chat and video chat

4. Instead of who's Online I just want to make it "online"

to remve the minimized sachat/themes/yourtheme/template.php

find and remove
<a href="javascript:void(0)" onclick="javascript:minchat(\''.$buddy_settings['id_member'].'\',\''.$buddy_settings['real_name'].'\'); return false;">
&nbsp;<img name="rollover'.$buddy_settings['id_member'].'" src="'.$themeurl.'/images/minimize.png" border="0" alt="-" />
</a>


and

$data .='&nbsp;&nbsp;<span id="minchats"></span>';

to change the whos online to online it sachat/themes/yourtheme/languages/
$txt['whos_on'] = 'Who&#39;s Online';

Quote from: pevanis on September 03, 2012, 11:34:10 AM
Hi,

at first thanks for chat :-)

I have a problem with that window, it suck and i can't get rid of it :-( can You hep ??


Have a nice day

try clearing you brouser cookie and cache
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 -___-

pevanis




Quote from: pevanis on September 03, 2012, 11:34:10 AM
Hi,

at first thanks for chat :-)

I have a problem with that window, it suck and i can't get rid of it :-( can You hep ??


Have a nice day

try clearing you brouser cookie and cache
[/quote]
:-( it works :-) thans Stupid me :-(

Realinfo

As I removed two things from template.php (as u told)

See name goes upward..............

SA™

yeah i fogot that one in sachat/themes/yourtheme/style.css

#top_cont_avatar{
position: relative;
bottom: 45px;
right: 5px;
width: 180px;
height: 40px;
}


ajust down
bottom: 45px;
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 -___-

Tien

I have this SA Chat installed in my forum running on 2.0.2. The scrollbar is not working when chat has been activated. A friend of mine asked me to advise my forum users whose using IE9 to go to "Tools" and clicked on the "Compatibility View" and the scroll bar started working again with the SA Chat on. Hope this little information helps.  ;D

SA™

dam ie again huh? im not able to replicate this issue myself ive tryed with ie9 compate and without compat the only thing i did notice is befor the last update it did not work in ie9 with compat mode this was fixed in the last realse


can i have a link to your site to see it hapening? pm if you wanted
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 -___-

Realinfo

Quote from: Tien on September 05, 2012, 02:28:47 AM
I have this SA Chat installed in my forum running on 2.0.2. The scrollbar is not working when chat has been activated. A friend of mine asked me to advise my forum users whose using IE9 to go to "Tools" and clicked on the "Compatibility View" and the scroll bar started working again with the SA Chat on. Hope this little information helps.  ;D

Yes....... This works on my site also............. But we need to guide all users for it.............. my site is www.realinfo.tv but Guests and Newbie can't see Chatbar..................

Advertisement: