Help
General ArrowChat talk that doesn't fit any other forum.
User avatar
mnicholet
Customer
 
Posts: 3
Joined: 10 Dec 2012, 16:03

 

by mnicholet 13 Dec 2012, 09:38

is there anyway i can remove the Chat (0) on the tool bar for geusts and then make it available for them once they login to chat to other members?

I still want geusts to be able to use the chat room. thanks
You do not have the required permissions to view the files attached to this post.
User avatar
Jason
Customer
 
Posts: 2330
Joined: 12 Dec 2009, 16:06

 

by Jason 13 Dec 2012, 09:56

You could add the CSS #arrowchat_buddy_list_tab{display:none} but you'd need to only do it for guests.

So in the external.php file, after this line:

Code: Select all
require_once (dirname(__FILE__) . '/themes/' . $theme . '/css/style.css');


...you could do something like this:

Code: Select all
      if (check_if_guest($userid))
      {
         echo '#arrowchat_buddy_list_tab{display:none}';
      }


Untested but something like that (hopefully exactly that) will work.
User avatar
Staff Bot
ArrowChat Team
 
Posts: 8996
Joined: 07 Nov 2012, 13:41

 

by Staff Bot 16 Dec 2014, 00:26

[b]This thread has been locked because the last post is greater than six months old. There is a good chance that the information in this thread is outdated. Please open a new topic if you wish to discuss this further.[/b]