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.

Satff chatbox?

View previous topic View next topic Go down

Solved Satff chatbox?

Post by UmxOwnz on August 23rd 2011, 11:30 am

Is there a way for a staff chatbox at all?

If there is already a tut then give a link please.

UmxOwnz
Forumember

Posts : 68
Reputation : 7
Language : Engulash

http://thegamingdash.forumotion.com/

Back to top Go down

Solved Re: Satff chatbox?

Post by Ahmedvirus on August 23rd 2011, 1:01 pm

hi
You will find everything for the Chatbox
The Chatbox


or go to
AP/Modules/Chatbox/Configuration
or Chatbox/Moderators
But I did not understand why you want to specifically

Ahmedvirus
Forumember

Male Posts : 321
Reputation : 59
Language : English

http://help.forumotion.com

Back to top Go down

Solved Re: Satff chatbox?

Post by Nera. on August 23rd 2011, 1:58 pm

Hi,

Ahmed I think he wants a chat only for staff on his forum.

You can take any of free chatbox codes like http://www.cbox.ws/

Make your code and paste it in AP > General > Forum > Categories and forums > Your staff forum and in the forum description if you want it visible on index. Of coruse permissions of that forum must be set for staff only.

You can add it to a topic to.

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

Solved Re: Satff chatbox?

Post by UmxOwnz on August 23rd 2011, 8:38 pm

Not like that i want like a pop-out chatnox only for the staff.

UmxOwnz
Forumember

Posts : 68
Reputation : 7
Language : Engulash

http://thegamingdash.forumotion.com/

Back to top Go down

Solved Re: Satff chatbox?

Post by kirk on August 24th 2011, 7:41 am

@UmxOwnz wrote:Not like that i want like a pop-out chatnox only for the staff.

well what you do is enable your forums chat, have it not show on the top or bottom of the page,
Then you have to go into your home page index template towards the bottom in the who's online section and remove the (join in chat) click save an publish.

Now you will be able to have a custom chat code to be placed somewhere staff only have access.
If you have a staff board putting it in the forums desecration of that would be the best place.

Check back here in a bit and i will give you pop-out code for the chat box.
Or if you need help finding the (join in chat) part it in the template.

kirk
Forumaster

Male Posts : 11037
Reputation : 651
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Solved Re: Satff chatbox?

Post by UmxOwnz on August 24th 2011, 10:49 am

Ok thank you Kirk i will look at this every day Smile

UmxOwnz
Forumember

Posts : 68
Reputation : 7
Language : Engulash

http://thegamingdash.forumotion.com/

Back to top Go down

Solved Re: Satff chatbox?

Post by kirk on August 25th 2011, 8:13 am

@UmxOwnz wrote:Ok thank you Kirk i will look at this every day Smile

oh sorry, i got sidetracked and forgot.

ok fist go activate the chat box and choose not to display

Admin panel>modules>chat box>activate>yes>choose not to display>click save

Now
Do you have anything you added edited in your Home page=index template?

if not then go to.

Admin panel> display>templates>general>
go to
index_body Home page (template) remove all the code/content thats in there now
and add this whole code in place of it then hit save.
Now go back to the template and click on the green + Icon to publish

Code:
{JAVASCRIPT}
<!-- BEGIN message_admin_index -->
<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
   <!-- BEGIN message_admin_titre -->
   <tr>
      <td class="catHead" height="28"><span class="cattitle">{message_admin_index.message_admin_titre.MES_TITRE}</span></td>
   </tr>
   <!-- END message_admin_titre -->
   <!-- BEGIN message_admin_txt -->
   <tr>
      <td class="row1" rowspan="3" align="center" valign="middle">
      <div class="gensmall">{message_admin_index.message_admin_txt.MES_TXT}</div>
      </td>
   </tr>
   <!-- END message_admin_txt -->
</table>
<!-- END message_admin_index -->

<!-- BEGIN switch_user_login_form_header -->
<form action="{S_LOGIN_ACTION}" method="post" name="form_login">
   <!-- BEGIN switch_fb_connect_no -->
   <table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline">
      <tr>
         <td class="row1" align="center">
            <table border="0" cellspacing="0" cellpadding="0">
               <tr>
                  <td><span class="genmed">{L_USERNAME}:</span></td>
                  <td><input class="post" type="text" size="10" name="username"/></td>
                  <td>
                     <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} />
                     <span class="gensmall">{L_AUTO_LOGIN}</span>
                  </td>
               </tr>

               <tr>
                  <td><span class="genmed">{L_PASSWORD}:</span></td>
                  <td><input class="post" type="password" size="10" name="password"/></td>
                  <td>{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" /></td>
               </tr>
            </table>
         </td>
      </tr>
   </table>
   <!-- END switch_fb_connect_no -->

   <!-- BEGIN switch_fb_connect -->
   <table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline">
      <tr>
         <td valign="top" width="100%"  class="row1" align="center">
            <table width="100%">
               <tr>
                  <td width="55%" valign="middle" align="right">
                     <table class="right">
                        <tr>
                           <td><span class="genmed">{L_USERNAME}:</span></td>
                           <td><input class="post" type="text" size="10" name="username"/></td>
                           <td>
                              <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} />
                              <span class="gensmall">{L_AUTO_LOGIN}</span>
                           </td>
                        </tr>

                        <tr>
                           <td><span class="genmed">{L_PASSWORD}:</span></td>
                           <td><input class="post" type="password" size="10" name="password"/></td>
                           <td>{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" /></td>
                        </tr>
                     </table>
                  </td>
                  <td width="10%" align="center" valign="middle">
                     <span class="genmed fb_or">{switch_user_login_form_header.switch_fb_connect.L_OR}</span>
                  </td>
                  <td width="35%" class="align_gauche"><fb:login-button size="large" onlogin="window.location='/facebook_connect.forum'" v="2" perms="{switch_user_login_form_header.switch_fb_connect.L_FB_PERMISSIONS}">{switch_user_login_form_header.switch_fb_connect.L_FB_LOGIN_BUTTON}</fb:login-button></td>
               </tr>
            </table>
         </td>
      </tr>
   </table>
   <!-- END switch_fb_connect -->
</form>
<!-- END switch_user_login_form_header -->

{CHATBOX_TOP}
{BOARD_INDEX}
<table width="100%" border="0" cellspacing="0" cellpadding="0">
   <tr>
      <td width="50%" valign="top">
         <!-- BEGIN switch_user_logged_in -->
         <span class="gensmall"><a href="{U_MARK_READ}" class="gensmall">{L_MARK_FORUMS_READ}</a>
         <!-- END switch_user_logged_in -->
         <!-- BEGIN switch_delete_cookies -->
         
<a href="{switch_delete_cookies.U_DELETE_COOKIES}" class="gensmall">{switch_delete_cookies.L_DELETE_COOKIES}</a>
         <!-- END switch_delete_cookies -->
         </span>
      </td>
      <td width="50%" align="right">
         <span class="gensmall">
            <a href="{U_TODAY_ACTIVE}" class="gensmall">{L_TODAY_ACTIVE}</a>

            <a href="{U_TODAY_POSTERS}" class="gensmall">{L_TODAY_POSTERS}</a>

            <a href="{U_OVERALL_POSTERS}" class="gensmall">{L_OVERALL_POSTERS}</a>
            <!-- BEGIN switch_on_index -->
               <!-- BEGIN switch_delete_cookies -->
               
<a href="{switch_on_index.switch_delete_cookies.U_DELETE_COOKIES}" class="gensmall">{switch_on_index.switch_delete_cookies.L_DELETE_COOKIES}</a>
               <!-- END switch_delete_cookies -->
            <!-- END switch_on_index -->
         </span>
      </td>
   </tr>
</table>

<!-- BEGIN switch_user_login_form_footer -->
<form action="{S_LOGIN_ACTION}" method="post" name="form_login">
   <!-- BEGIN switch_fb_connect_no -->
   <table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline">
      <tr>
         <td class="row1" align="center">
            <table border="0" cellspacing="0" cellpadding="0">
               <tr>
                  <td><span class="genmed">{L_USERNAME}:</span></td>
                  <td><input class="post" type="text" size="10" name="username"/></td>
                  <td>
                     <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} />
                     <span class="gensmall">{L_AUTO_LOGIN}</span>
                  </td>
               </tr>

               <tr>
                  <td><span class="genmed">{L_PASSWORD}:</span></td>
                  <td><input class="post" type="password" size="10" name="password"/></td>
                  <td>{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" /></td>
               </tr>
            </table>
         </td>
      </tr>
   </table>
   <!-- END switch_fb_connect_no -->

   <!-- BEGIN switch_fb_connect -->
   <table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline">
      <tr>
         <td valign="top" width="100%"  class="row1" align="center">
            <table width="100%">
               <tr>
                  <td width="55%" valign="middle">
                     <table class="right">
                        <tr>
                           <td><span class="genmed">{L_USERNAME}:</span></td>
                           <td><input class="post" type="text" size="10" name="username"/></td>
                           <td>
                              <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} />
                              <span class="gensmall">{L_AUTO_LOGIN}</span>
                           </td>
                        </tr>

                        <tr>
                           <td><span class="genmed">{L_PASSWORD}:</span></td>
                           <td><input class="post" type="password" size="10" name="password"/></td>
                           <td>{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" /></td>
                        </tr>
                     </table>
                  </td>
                  <td width="10%" align="center" valign="middle">
                     <span class="genmed fb_or">{switch_user_login_form_footer.switch_fb_connect.L_OR}</span>
                  </td>
                  <td width="35%" class="align_gauche"><fb:login-button size="large" onlogin="window.location='/facebook_connect.forum'" v="2" perms="{switch_user_login_form_footer.switch_fb_connect.L_FB_PERMISSIONS}">{switch_user_login_form_footer.switch_fb_connect.L_FB_LOGIN_BUTTON}</fb:login-button></td>
               </tr>
            </table>
         </td>
      </tr>
   </table>
   <!-- END switch_fb_connect -->
</form>
<!-- END switch_user_login_form_footer -->

<!-- BEGIN disable_viewonline -->
<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
   <tr>
      <td class="catHead" colspan="2" height="28">
      <!-- BEGIN switch_viewonline_link -->
      <span class="cattitle"><a class="cattitle" href="{U_VIEWONLINE}" rel="nofollow">{L_WHO_IS_ONLINE}</a></span>
      <!-- END switch_viewonline_link -->

      <!-- BEGIN switch_viewonline_nolink -->
      <span class="cattitle">{L_WHO_IS_ONLINE}</span>
      <!-- END switch_viewonline_nolink -->
      </td>
   </tr>
   <tr>
      <td class="row1" rowspan="6" align="center" valign="middle"><img src="{L_ONLINE_IMG}" id="i_whosonline" alt="{L_WHO_IS_ONLINE}" /></td>
      <td class="row1" width="100%"><span class="gensmall">{TOTAL_POSTS}

      {TOTAL_USERS}

      {NEWEST_USER}</span></td>
   </tr>
   <tr>
      <td class="row1"><span class="gensmall">{TOTAL_USERS_ONLINE}

      {RECORD_USERS}

      

      {LOGGED_IN_USER_LIST}</span></td>
   </tr>
   {L_CONNECTED_MEMBERS}
   {L_WHOSBIRTHDAY_TODAY}
   {L_WHOSBIRTHDAY_WEEK}
   <tr>
      <td class="row1"><span class="gensmall">{LEGEND}:{GROUP_LEGEND}</span></td>
   </tr>
   
</table>
<!-- END disable_viewonline -->
{CHATBOX_BOTTOM}
<br clear="all" />
<!-- BEGIN switch_legend -->
<table border="0" cellspacing="3" cellpadding="0" align="center">
   <tr>
      <td align="center" width="20"><img src="{FORUM_NEW_IMG}" alt="{L_NEW_POSTS}" /></td>
      <td><span class="gensmall">{L_NEW_POSTS}</span></td>
      <td></td>
      <td align="center" width="20"><img src="{FORUM_IMG}" alt="{L_NO_NEW_POSTS}" /></td>
      <td><span class="gensmall">{L_NO_NEW_POSTS}</span></td>
      <td></td>
      <td align="center" width="20"><img src="{FORUM_LOCKED_IMG}" alt="{L_FORUM_LOCKED}" /></td>
      <td><span class="gensmall">{L_FORUM_LOCKED}</span></td>
   </tr>
</table>
<!-- END switch_legend -->

{AUTO_DST}

<!-- BEGIN switch_fb_index_login -->
<div id="fb-root"></div>
<script type="text/javascript">
//<![CDATA[
FB.init({
   appId: '{switch_fb_index_login.FACEBOOK_APP_ID}',
     status: true,
     cookie: true,
     xfbml: true
});
//]]>
</script>
<!-- END switch_fb_index_login -->

ok so now your chat box is activated and we have taken out the (join in chat) from your who's online box at the bottom of the forum Smile

so now all you do is you can add this chat box code to your staff forum in the description.

Code:
<iframe src="http://thegamingdash.forumotion.com/chatbox/chatbox.forum" scrolling="no" width="810px" frameborder="0" height="300"></iframe>

if you would rather have it as a pop out.

then you can go here and create the code how you wish using this link.
http://thegamingdash.forumotion.com/chatbox/chatbox.forum

or just use this code.

Code:
<a href="http://thegamingdash.forumotion.com/chatbox/chatbox.forum" target="_blank" onclick="window.open('http://thegamingdash.forumotion.com/chatbox/chatbox.forum','STAFF CHAT','resizable=1,width=810,height=310,top=60,left=60');return false;">STAFF CHAT BOX</a>

Now be sure whatever code you use for the chat, being the first iframe or the pop-out that you only have it posted where just staff have permissions to In the rare case that a member finds their way to the chat, remember to always clear messages and archives, and if someone dose find there way in, just kick /ban then from the chat.
But it's rare that you would have a member find their way in.

and if you did not want to use the forums chat, you can always get a axat or something and create or add the code the same way, just be sure it's only somewhere staff will see it.

Any problems just hit me back here.
If you mess anything up with the template, which i am sure you wont, but if you do? Remember you can always delete the template and it will go back to it's default state.

Now if you have edited things in there already, then i will have to show you where to remove the chat thing so you dont lose what ever you may have edited in the template already.

So be sure not to do it if you already have added custom stuff to the template






kirk
Forumaster

Male Posts : 11037
Reputation : 651
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Solved Re: Satff chatbox?

Post by UmxOwnz on August 25th 2011, 10:47 pm

ok thank you!

UmxOwnz
Forumember

Posts : 68
Reputation : 7
Language : Engulash

http://thegamingdash.forumotion.com/

Back to top Go down

Solved Re: Satff chatbox?

Post by Jophy on August 26th 2011, 12:31 am

Since this thread appears to be solved, I will lock this thread and mark it as solved now.

Important: You can also help the moderators to know if your topic/problem is solved by EDITING your first post and marking the topic as solved. Thank you.

~ Joph25

Jophy
ForumGuru

Male Posts : 17924
Reputation : 835
Language : English
Location : Somewhere

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