The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Chat box visible by

View previous topic View next topic Go down

Solved Chat box visible by

Post by Luffy on November 23rd 2013, 3:20 am

hello once again!! Very Happy 

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

Luffy
Manager
Manager

Male Posts : 4239
Reputation : 424
Language : Greek, English
Location : Greece

http://helpgr.forumgreek.com/forum

Back to top Go down

Solved Re: Chat box visible by

Post by SLGray on November 23rd 2013, 3:30 am

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.


SLGray
Administrator
Administrator

Male Posts : 36648
Reputation : 2443
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Solved Re: Chat box visible by

Post by Luffy on November 23rd 2013, 3:39 am

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






Luffy
Manager
Manager

Male Posts : 4239
Reputation : 424
Language : Greek, English
Location : Greece

http://helpgr.forumgreek.com/forum

Back to top Go down

Solved Re: Chat box visible by

Post by SLGray on November 23rd 2013, 3:40 am

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.


SLGray
Administrator
Administrator

Male Posts : 36648
Reputation : 2443
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Solved Re: Chat box visible by

Post by Luffy on November 23rd 2013, 3:46 am

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?






Luffy
Manager
Manager

Male Posts : 4239
Reputation : 424
Language : Greek, English
Location : Greece

http://helpgr.forumgreek.com/forum

Back to top Go down

Solved Re: Chat box visible by

Post by SLGray on November 23rd 2013, 3:50 am

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.


SLGray
Administrator
Administrator

Male Posts : 36648
Reputation : 2443
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Solved Re: Chat box visible by

Post by Luffy on November 23rd 2013, 3:55 am

ok thanks.. solved






Luffy
Manager
Manager

Male Posts : 4239
Reputation : 424
Language : Greek, English
Location : Greece

http://helpgr.forumgreek.com/forum

Back to top Go down

Solved Re: Chat box visible by

Post by SLGray on November 23rd 2013, 4:06 am

Topic Solved & Locked


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


SLGray
Administrator
Administrator

Male Posts : 36648
Reputation : 2443
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


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