News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

SA Chat

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

Previous topic - Next topic

Realinfo

Quote from: SA™ on August 23, 2012, 10:18:49 PM
Quoteand tell how member can disable it for himself

sure install the dev build
https://github.com/SAMods/SAChatBar/downloads

as I install it.......... Now it show "who's online" zero..............

while SA_Chat_Beta_5_Rev44.zip show right number of users online.................

can't we do manual edit in profile.template

SA™

that part was modifyed to take into account the users who disabled the bar  if it disabled it wont show them in the list but i do see the issue here the problem is this mod look in the themes table for show_cbar if it is 1 then bar is disabled for that person now the problem is that vlaue probaly wont exsist untill all members set that in there prifule lookand layout so  i need to think on this one for a bit longer to get it right
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 -___-

hcfwesker

Quote from: Realinfo on August 23, 2012, 12:00:57 PM
Can member for forum can disable it for himself............. is there any such option as some members just don't want while many others like it...............

@ SA, I remember you doing this in the past.  It allowed members to turn it off under their options in look & layout preferences.

EDIT:::

Just found it 9 pages back.  ;)

http://www.simplemachines.org/community/index.php?topic=391961.msg3157578#msg3157578


SA™

yeah that code has changed since then 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 -___-

hcfwesker

Derped!  lol.  didn't realize that, haven't checked updates since last year.

Realinfo

echo ' <li> <input type="hidden" name="default_options[show_cbar]" value="0" /> <label for="show_cbar"><input type="checkbox" name="default_options[show_cbar]" id="show_cbar" value="1"', !empty($context['member']['options']['show_cbar']) ? ' checked="checked"' : '', ' class="input_check" /> Hide chat bar?</label> </li>';
echo '
<li>
<input type="hidden" name="default_options[view_newest_first]" value="0" />
<label for="view_newest_first"><input type="checkbox" name="default_options[view_newest_first]" id="view_newest_first" value="1"', !empty($context['member']['options']['view_newest_first']) ? ' checked="checked"' : '', ' class="input_check" /> ', $txt['recent_posts_at_top'], '</label>
</li>';


I tried to do manual edit............ But this not disable SA Chat bar............

and I also have this issue...............

When I have the chat enabled, the scroll bar doesn't work.  If I disable it through config, the scroll bar works again.  I also have simple portal installed. IE9.

GREAT MOD BTW!!

SA™

you need more than that to disable the bar all ou have todo is keep anyu eye here
https://github.com/SAMods/SAChatBar
for any updates wich one has been aded todo just this so download the mod from there
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™

anybody fancy testing this?
https://github.com/SAMods/SAChatBar/downloads

here some of the chnages

two new options in profile look and layout hide chat bar and show only buddies in chat bar
member count auto refresh
removed 2sichat_list_type from admin members can now choose themself
initJs() refactured
custom head js per theme
bug fixes and code changes
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

Nice new features but if possible I would still like to have Admin control over If the members can use them or not. So can you leave them as additional permission settings such as-

Users hide/show chatbar
Users select buddies/open/off (that is still show the chatbar and the other gadgets)

so rather than an admin setting a permission is more flexible.
Owner of many many shiny toys.

SA™

so permissions to use this profile features you mean?
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

Yes. For example I may like to Force all users of a certain group or groups to view the bar so the gadgets are available (including for guests). But allow users to switch on of off the chat side of it (or select buddies only).

I think it just gives more flexibility to customize it for most admins with little to no programming skills needed.
Owner of many many shiny toys.

SA™

https://github.com/SAMods/SAChatBar/downloads
try that

added two permissions to use the settings
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

#652
Some strange things going on my Admin account is the only one showing as whos online to regular users. They can chat to me and I can chat back but as I can't see them I can't start a chat?

I suspect maybe a permission around the wrong way  :-\


Cleared the cache on both browsers and all as it should be  :) I will leave it up live on our site and see how it goes.
Owner of many many shiny toys.

SA™

cool i registerd there as Wine

tho i just pushed another update that will update the users better
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

I wondered who the stray UK member was when I was approving it :laugh: Tim or Beanflying is me BTW.

Seems our existing members are still stuck with cached versions of the old bar, know of an easy way server or smf side to clear this?
Owner of many many shiny toys.

SA™

hmm not sure
im only seeing aswell 2 people in chat have the others set there settings to disabled or buddies you know?
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

Very unlikely all of the others would have run off to disable the settings in the 30 minutes or so it has been up. I did also remove the permissions for member disable to test that too but no change to the members showing online.
Owner of many many shiny toys.

SA™

yeah i see the issue now 8)
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

#658
 8) Success thanks to some SA mod work  ;D

The Current version linked above works, still has an issue with new members to be resolved but SA was going to sleep - No dedication at all ;)
Owner of many many shiny toys.

SA™

Quote from: beanflying on August 27, 2012, 02:48:42 AM
8) Success thanks to some SA mod work  ;D

The Current version linked above works, still has an issue with new members to be resolved but SA was going to sleep - No dedication at all ;)

:D thanks lol

just pushed another update
!new member default settings
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: