Chat box visible by

Go down

Solved Chat box visible by

Post by Luffy on Sat 23 Nov - 4:20

hello once again!! Very Happy 

how can i make my chat visible only to mods and admins?
avatar
Luffy
Manager
Manager

Male Posts : 5370
Reputation : 580
Language : Greek, English
Location : Greece

https://www.crossroadz.net

Back to top Go down

Solved Re: Chat box visible by

Post by SLGray on Sat 23 Nov - 4:30

You can use the chatbox widget and set the permissions to administrators and moderators.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 43109
Reputation : 3054
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Solved Re: Chat box visible by

Post by Luffy on Sat 23 Nov - 4:39

by writing in the script,

{chatbox}

what do i have to write in the widget to be shown, as it is.. I am using a non default version of a forum..

version:punbb



avatar
Luffy
Manager
Manager

Male Posts : 5370
Reputation : 580
Language : Greek, English
Location : Greece

https://www.crossroadz.net

Back to top Go down

Solved Re: Chat box visible by

Post by SLGray on Sat 23 Nov - 4:40

The permission button is on the widget.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 43109
Reputation : 3054
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Solved Re: Chat box visible by

Post by Luffy on Sat 23 Nov - 4:46

Look.. I am using this:


Javascript:
Code:
var avacweb_chat_config = {
  version : '1-8',
  new_chat_title : 'Information Forum Chat Box',
  light_up_color : 'white',
  auto_log_in : 'open',
  archives : 1,
  sound_file : 'http://www.freesfx.co.uk/rx2/mp3s/2/1305_1256857800.mp3',
  stylesheet : 'http://chat.avacweb.net/avacweb_chat.css',
  disable_timeout : 0,
  allow_private_messaging : 1,
  allow_user_resize : 1,
  message_hook : [],
  user_hook : [],
  commands : {},
  events : {},
  add_event : function(type, fn) {
      type = /^on/.test(type) ? type : 'on' + type;
      type in this.events ? this.events[type].push(fn) : this.events[type] = [fn];
  }
};
document.write('<script type="text/javascript" src="http://chat.avacweb.net/v' + avacweb_chat_config.version + '.js" id="achat_script"></script>');

avacweb_chat_translation = {
  'log in' : 'Σύνδεση',
  'log out': 'Αποσύνδεση',
  'chat'  : 'Chat',
  'on'    : 'Ενεργοποίηση',
  'off'    : 'Απενεργοποίηση',
  'close'  : 'Κλείσιμο',
  'smilies': 'Φατσούλες',
  'colors' : 'Χρώματα',
  'send'  : 'Αποστολή',
  'archives' : 'Πληροφορίες Chat',
  'message': 'Mήνυμα',
  'refresh': 'Ανανέωση',
  'you are disconnected. click log in to join the chat.' : 'Έχετε αποσυνδεθεί. Συνδεθείτε και πάλι.',
  'user options' : 'Επιλογές χρήστη',
  'color' : 'Χρώμα',
  'sound' : 'Ήχος',
  'bold' : 'Έντονη Γράφη',
  'underline' : 'Υπογράμιση',
  'strike' : 'Strike',
  'italic' : 'Πλάγια Γραφή',
  'newest first' : 'Πρόσφατα',
  'Merge messages' : 'Συγχώνευσε τα μηνύματα',
  'private message' : 'Προσωπικό Μήνυμα',
  'loading smilies...' : 'Φόρτωση...',
  'this command is not available or does not exist' : 'Η ενέργεια αυτή δεν μπορεί να πραγματοποιηθεί.',
  'user not found' : 'Λάθος χρήστης',
  'view profile' : 'Προφίλ',
  'send private message' : 'Αποστολή Προσωπικού Μηνύματος',
  'kick from chat' : 'Διώξε από το Chat',
  'remove from moderators' : 'Αφαίρεση από Συντονιστής',
  'send friend request' : 'Στείλε αίτημα φιλίας',
  'add to moderators' : 'Προσθήκη στους Συντονιστές',
  'away' : 'Λείπω',
  'reading' : 'Διαβάζω',
  'start private conversation' : 'Ξεκίνα προσωπική συζήτηση',
  'conversation with' : 'Συζήτηση με',
  'public' : 'Δημόσιο'
};

and

CSS:
Code:
                  /* AvacWeb Chat CSS */
#avacweb_chat {
  position: fixed;
  bottom: 40px!important;
  right: 5px;
  height: 65% !important;
  width: 70% !important;
}
#avacweb_chat iframe {
  border: 2px solid #2e2e2e!important;
}
#avacweb_chat_button {
  right: 0px!important;
  padding: 5px 7px!important;
}
#achat_login {
  background: #cbc3ca!important;
  border: 1px solid #2e2e2e!important;
  box-shadow: 0 10px 15px #888 inset!important;
  -moz-box-shadow: 0 10px 15px #888 inset!important;
  -webkit-box-shadow: 0 10px 15px #888 inset!important;
  color: #fffff0!important;
  text-shadow: 0 1px #CC0000!important;
}
.achat_button {
margin-top:2px!important;
}
                     /* Already Existing elements */
#chatbox_messenger_form {
  color: #cbc3ca!important;
}
#chatbox_header, #chatbox_footer {
background-color: #cbc3ca!important;
  color: DDD;
  box-shadow: inset 0 0px 0px #cc0000 !important;
  -moz-box-shadow: inset 0 0px 0px #cc0000 !important;
  -webkit-box-shadow: inset 0 0px 0px #cc0000 !important;
  text-shadow: 0 1px #cc0000!important;
}
.chatbox_row_1 {
  background-color: #fafafa !important;
        font-size: 14px; !important;
}
.chatbox_row_2 {
  background-color: #fafafa!important;
        font-size: 14px; !important;
}
#chatbox_members .member-title {
  background-color: #cbc3ca!important;
  color: #fffff0!important;
  border: 1px solid #2e2e2e!important;
  box-shadow: inset 0 10px 10px #888!important;
  -moz-box-shadow: inset 0 10px 10px #888!important;
  -webkit-box-shadow: inset 0 10px 10px #888!important;
  text-shadow: 0 1px #cc0000!important;
}
.chatbox {
  background-color: #cbc3ca!important;
}
.chatbox-title, .chatbox-title a.chat-title {
color: #000000!important;
}
#chatbox_header {
text-shadow: 0 1px #999!important;
font-weight: bold!important;
}
#chatbox_footer {
text-shadow: 0 0px #ffffff!important;
font-weight: none!important;
}

what am i supposed to put in the widget to put in forum?



avatar
Luffy
Manager
Manager

Male Posts : 5370
Reputation : 580
Language : Greek, English
Location : Greece

https://www.crossroadz.net

Back to top Go down

Solved Re: Chat box visible by

Post by SLGray on Sat 23 Nov - 4:50

It would best to ask for help on Avacweb as that is where the code comes from.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 43109
Reputation : 3054
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Solved Re: Chat box visible by

Post by Luffy on Sat 23 Nov - 4:55

ok thanks.. solved



avatar
Luffy
Manager
Manager

Male Posts : 5370
Reputation : 580
Language : Greek, English
Location : Greece

https://www.crossroadz.net

Back to top Go down

Solved Re: Chat box visible by

Post by SLGray on Sat 23 Nov - 5:06

Topic Solved & Locked


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 43109
Reputation : 3054
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum