Like SystemiConnectFri 15 Oct 2021, 04:50
Auto Save MessagesLGforumFri 26 Feb 2021, 13:31
New tutorial questionTheCrowMon 15 Feb 2021, 08:12
Support iOS Emojis (and other platforms)LGforumSun 14 Feb 2021, 01:25
LGforum (2806)
Little question Vote_lcapLittle question Voting_barLittle question Vote_rcap 
Mr.Easybb (1587)
Little question Vote_lcapLittle question Voting_barLittle question Vote_rcap 
Bloodbath (745)
Little question Vote_lcapLittle question Voting_barLittle question Vote_rcap 
Rukiafan (533)
Little question Vote_lcapLittle question Voting_barLittle question Vote_rcap 
Dom (513)
Little question Vote_lcapLittle question Voting_barLittle question Vote_rcap 
puppycheese (446)
Little question Vote_lcapLittle question Voting_barLittle question Vote_rcap 
pedro (330)
Little question Vote_lcapLittle question Voting_barLittle question Vote_rcap 
Neymar (301)
Little question Vote_lcapLittle question Voting_barLittle question Vote_rcap 
Hitsu (281)
Little question Vote_lcapLittle question Voting_barLittle question Vote_rcap 
Flora (275)
Little question Vote_lcapLittle question Voting_barLittle question Vote_rcap 


Little question

avatarNelly Nyos
Status : No status yet...

Posts : 37
Join date : 2014-07-26
Mon 10 Aug 2015, 10:40
Hi o/

I have search to display the disconnect, the ban and the kick sentence but I have not found how to do :/

Should you add a plug in that I have not seen?


Thank you in advance o/
HitsuHitsu
Status : Finished on working fmAPI.

Posts : 281
Join date : 2013-09-09
Age : 25
Location : Indonesia
Mon 10 Aug 2015, 10:53
Disconnect sentence, do you mean log out button? It's in the left top of the shout box.

Ban and kick, I'm not sure. I'm on mobile now so I can't do much. Be back when I have a time to open the laptop.
avatarGuest
Mon 10 Aug 2015, 17:07
Ban and kick should be available from the command line (/ban & /kick). If you're not sure which commands are available to your level of staff, just enter /cmd in the message box and hit SEND. A list of all the available options to you should appear. Now, the options you mentioned haven't been available from the (right click) user pull-down menus in chat since the newest AWC release, unfortunately, but I asked @LGforum to bring some of the options that were found in 1.9 back in the next version, like the Add as Friend option.

By the way, LG, I need my friends page to be brought back to life soon. I hate it you killed it without prior notice or us being able to vote. Even as an admin or founder you should have minded your members!
avatarNelly Nyos
Status : No status yet...

Posts : 37
Join date : 2014-07-26
Mon 10 Aug 2015, 18:05
This not the command but the sentence, for exemple: [20:05:01] Nelly Nyos has logged off the chat on Mon 10 Aug - 20:05
avatarGuest
Mon 10 Aug 2015, 18:37
Oh yeah, I hid them a long time ago already. Don't remember how, but here's my CSS:

Code:
[panda=css]/**** AWC DESKTOP STYLING ****************************************/
.custom_placement #avacweb_chat {margin: 0px auto!important;}
.a_chat_pm tr, .a_chat_pm td, .a_chat_tab tr, .a_chat_tab td, .a_chat_cmd tr, .a_chat_cmd td {display:none!important;}
.a_chat_pm:before, .a_chat_tab:before, .a_chat_cmd:before {content: 'Hidden Content';font-style: italic;}
#avacweb_chat {z-index: inherit!important;top: 30px!important;}
#achat_login {font-size: 1.2em!important;}
.user {font-weight: bold!important;}
#awc_header, #awc_footer {background: #FF5100!important;}
#awc_footer {margin-left: 5px!important;}
#chatbox_header {color: #FFF!important;}
#awc_title {font-size: 1.5em!important;color: #FFF!important;font-weight: 700!important;margin-left: 0px!important;}
#awc_rightbox {width: 84.5%!important;height: 94%!important;background-position: center!important;background-image:url('http://i.imgur.com/1EcLzk3.png')!important;background-repeat:no-repeat!important;}
#awc_userlist {margin-top: 1px!important;margin-left: 6px!important;width: 15%!important;height: 94%!important;background-image:none!important;}
#awc_userlist h4.member-title {margin-top: 3px!important;padding: 3px!important;font-weight: 700!important;font-size: 12px!important;color: #FFF!important;border-radius: 0px!important;-moz-border-radius: 2px!important;-webkit-border-radius: 2px!important;box-shadow: inset 0 3px 5px #EEE!important;-moz-box-shadow: inset 0 3px 5px #EEE!important;-webkit-box-shadow: inset 0 3px 5px #EEE!important;background: #FF5100!important;}
#awc_userlist li {font-size: 11px!important;font-weight:700!important;}
.awc_x {font-size: 1.5em!important; font-weight: 1200!important; margin-top: -5px!important;}
/.awc_x:hover {cursor: url(http://i14.servimg.com/u/f14/17/68/63/00/sonic10.gif), pointer!important;}/
#awc_contextmenu {font-size: 12px!important;}
#awc_contextmenu p:hover {cursor: url(http://i14.servimg.com/u/f14/17/68/63/00/sonic10.gif), pointer!important;}
.achat_row .date-and-time {color: #FF5100!important;}
.achat_button {margin-left: 5px!important;text-shadow:none!important;border: none!important;border-radius: 0px!important;-moz-border-radius: 2px!important;-webkit-border-radius: 2px!important;box-shadow: inset 0 3px 5px #EEE!important;-moz-box-shadow: inset 0 3px 5px #EEE!important;-webkit-box-shadow: inset 0 3px 5px #EEE!important;background: #2D68D1!important;color: #FFF!important;font-weight: 700!important;font-size: 12px!important;}
.achat_button:hover {cursor: url(http://i14.servimg.com/u/f14/17/68/63/00/sonic10.gif), pointer!important;color: #FFF!important;border: 0px!important;}
#awc_buttons {margin-right: -8px!important;}
#awc_message {margin-right: 12px!important;margin-top: -5px!important;width: 70%!important;margin-left: 12px!important;padding: 2px 5px!important;}
#achat_user_prefs, #achat_smilies, #achat_colors, #achat_popup {bottom: 2.5%!important;font-weight: bold!important;font-size: 12px!important;}
#achat_user_prefs {margin-left: -50px!important;}
#achat_smilies {margin-left: 35px!important;margin-right: 88px!important}
#achat_colors {margin-left: 126px!important;}
#achat_update {margin-left: 30px!important;display: none!important;}
#ac_plain_text_checkbox:hover {cursor: url(http://i14.servimg.com/u/f14/17/68/63/00/sonic10.gif), pointer!important;color: #FFF!important;border: 0px!important;}
#ac_disable_timeout_checkbox:hover {cursor: url(http://i14.servimg.com/u/f14/17/68/63/00/sonic10.gif), pointer!important;color: #FFF!important;border: 0px!important;}
#ac_newest_first_checkbox:hover {cursor: url(http://i14.servimg.com/u/f14/17/68/63/00/sonic10.gif), pointer!important;color: #FFF!important;border: 0px!important;}
#ac_underline_checkbox:hover {cursor: url(http://i14.servimg.com/u/f14/17/68/63/00/sonic10.gif), pointer!important;color: #FFF!important;border: 0px!important;}
#ac_strike_checkbox:hover {cursor: url(http://i14.servimg.com/u/f14/17/68/63/00/sonic10.gif), pointer!important;color: #FFF!important;border: 0px!important;}
#ac_italic_checkbox:hover {cursor: url(http://i14.servimg.com/u/f14/17/68/63/00/sonic10.gif), pointer!important;color: #FFF!important;border: 0px!important;}
#ac_bold_checkbox:hover {cursor: url(http://i14.servimg.com/u/f14/17/68/63/00/sonic10.gif), pointer!important;color: #FFF!important;border: 0px!important;}
#ac_sound_checkbox:hover {cursor: url(http://i14.servimg.com/u/f14/17/68/63/00/sonic10.gif), pointer!important;color: #FFF!important;border: 0px!important;}
.achat_row {background:none!important;min-height: 14px!important;line-height: 13px!important;font-size: 11px!important;border-top: 0px!important;border-bottom: 0px!important;}
.achat_row.my_message {background:none!important;}
.achat_row .date-and-time {color: #FF5100!important;font-weight: bold!important;}
.achat_row .msg {color: #2D68D1!important;}
#awc_tabs {border-bottom: -30px!important;border-left: 2px solid #ECF3F7!important;border-top: 3px solid #ECF3F7!important;border-right: 1px solid #ECF3F7!important;text-shadow: none!important;border-radius: 0px!important;-moz-border-radius: 2px!important;-webkit-border-radius: 2px!important;box-shadow: inset 0 3px 5px #EEE!important;-moz-box-shadow: inset 0 3px 5px #EEE!important;-webkit-box-shadow: inset 0 3px 5px #EEE!important;background: #2D68D1!important;color: #FFF!important;font-weight: 700!important;font-size: 12px!important;}
.achat_tab {text-shadow:none!important;font-size: 12px!important;padding: 3px 15px!important;border-radius: 0px!important;-moz-border-radius: 2px!important;-webkit-border-radius: 2px!important;box-shadow: inset 0 3px 5px #EEE!important;-moz-box-shadow: inset 0 3px 5px #EEE!important;-webkit-box-shadow: inset 0 3px 5px #EEE!important;background: #2D68D1!important;color: #FFF!important;font-weight: 700!important;font-size: 12px!important;}
.achat_tab.selected {text-shadow:none!important;font-size: 12px!important;border-radius: 0px!important;-moz-border-radius: 2px!important;-webkit-border-radius: 2px!important;box-shadow: inset 0 3px 5px #EEE!important;-moz-box-shadow: inset 0 3px 5px #EEE!important;-webkit-box-shadow: inset 0 3px 5px #EEE!important;background: #FF5100!important;color: #FFF!important;font-weight: 700!important;font-size: 12px!important;}
.achat_tab.new {background: #50D050!important;}
.achat_tab .delete_tab {margin: -8px 2px!important;}
.achat_tab:hover {cursor: url(http://i14.servimg.com/u/f14/17/68/63/00/sonic10.gif), pointer!important;}
.awc_avatar {height: 15px!important; width: 15px!important;}
img {vertical-align: text-bottom!important;}
#awc_help {position: absolute!important;margin-left: 277px!important;padding: 12px!important;display: inline!important;background-repeat: no-repeat!important;background-image:url(http://i19.servimg.com/u/f19/19/05/73/25/sam24q10.png)!important;}
/#specialp {position: absolute!important;margin-left: 305px!important;margin-top: 0px!important;display: inline!important;background-repeat: no-repeat!important;background-image:url(http://i18.servimg.com/u/f18/19/05/73/25/new10.png)!important;}/

It's there somewhere, I'm sure Razz I haven't got the time and don't feel like helping atm. Sorry. Laughing It's CSS related that's 4 sure. Wink
avatarNelly Nyos
Status : No status yet...

Posts : 37
Join date : 2014-07-26
Mon 10 Aug 2015, 18:46
i have all c/c in myè forum test but doesn't work :/

For my in not a css because if you examin the source code, the sentence is not charged :/
avatarGuest
Mon 10 Aug 2015, 19:05
Excuse me? Your English is very offsetting to me. I don't understand. But anyway, gtg now. Bye.

PS: you could try with events, replacing the text with "" I was just thinking. I'm not sure, I need to investigate further on that another day.
avatarNelly Nyos
Status : No status yet...

Posts : 37
Join date : 2014-07-26
Mon 10 Aug 2015, 19:24
Sorry i'm bad in english xD

I copied pasted entirely but it does not work

but I dont think that it is css, when examining the source code we see no trace of the sentence
avatarGuest
Mon 10 Aug 2015, 19:30
Like I said before, I might have mistaken with my CSS and JS, because mine are none at all default setups you may find in everyday life Wink You may wanna look further into EVENTS: http://chat.avacweb.net/events . Like the logout event, one could replace the text being displayed with something different. Or prevent the default from being executed (preventdefault) would be an even better solution I think. I need to look further into that another day, I'm curious too yk. My days are entirely up to the work I need to do at home with 3 kids and family life. JS isn't my strong point, it's CSS. Meanwhile, when other people come up with a working solution, please excuse me. I really gtg now!!!

Btw, some of the points I'm seeing lately on Avacweb have been suggested and asked for before, but they're either still on hold or were never answered properly before. I wish you could see my AWC, you'd be in awe I'm sure Razz See ya!
avatarNelly Nyos
Status : No status yet...

Posts : 37
Join date : 2014-07-26
Tue 11 Aug 2015, 19:10
i dont have understand all of your post and google traslade is very bad, sorry if I'm in on the wrong track xD


the event don't displayed a sentence in the chat box, just display a pop up or send a new phrase right?
avatarGuest
Tue 11 Aug 2015, 19:36
I don't know how to do this exactly, but my best guess would be for the /kick and /ban commands to use something like this:

Code:
[panda=js]avacweb_chat_config.add_event('oncommand' (ban or kick), function(e) {
    e.preventDefault();

and use
Code:
[panda=js]avacweb_chat_config.add_event('onlogout', function(e) {
    e.preventDefault();

and
Code:
[panda=js]avacweb_chat_config.add_event('onlogin', function(e) {
    e.preventDefault();
for the other ones.

These are not the exact codes, because again, I don't know that much about JS.
avatarNelly Nyos
Status : No status yet...

Posts : 37
Join date : 2014-07-26
Tue 11 Aug 2015, 21:40
I have test but not work :/

thank you for the time you grant me o/
avatarGuest
Wed 12 Aug 2015, 01:28
What exact script have you been testing, @Nelly Nyos?
avatarNelly Nyos
Status : No status yet...

Posts : 37
Join date : 2014-07-26
Sat 15 Aug 2015, 09:14
i have tested this:

Code:
[panda=js]        avacweb_chat_config.add_event('oncommand' (ban or kick), function(e) {
            e.preventDefault();});
        avacweb_chat_config.add_event('onlogout', function(e) {
            e.preventDefault();});
        avacweb_chat_config.add_event('onlogin', function(e) {
            e.preventDefault();});
Sponsored content