The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Force Users To Join Chat

2 posters

Go down

Force Users To Join Chat Empty Force Users To Join Chat

Post by rippx July 27th 2016, 10:35 pm

Hello,

I would like to force users that have already registered to join chat automatically, without having to click "log in." (If there is code involved could you tell me where exactly I have to paste it)



And one other question please. I was looking up an old thread to see if I can increase increase the max avatar size and somebody stated, "Use this code:"

.postprofile img{
max-width: 250px !important;
max-height: 300px !important;
}

Can you please tell me where exactly I paste this code into?

thanks
avatar
rippx
New Member

Posts : 10
Reputation : 0
Language : English

Back to top Go down

Force Users To Join Chat Empty Re: Force Users To Join Chat

Post by Ace July 27th 2016, 10:57 pm

Hey,

Use this JS:
Code:
  $(function(){
    if(document.getElementById('logout')) $.post('/chatbox/chatbox_actions.forum?archives','mode=send&sent=');
    });
Modules >> JavaScript pages

About the other code, its a CSS Style. Follow this path:

Force Users To Join Chat Chat110

Regards!
Ace
Ace
Forumember

Posts : 250
Reputation : 49
Language : Portuguese & English

http://ajuda.forumeiros.com/u39577

Back to top Go down

Force Users To Join Chat Empty Re: Force Users To Join Chat

Post by rippx July 27th 2016, 11:09 pm

Okay, thank you they both worked.
avatar
rippx
New Member

Posts : 10
Reputation : 0
Language : English

Back to top Go down

Back to top

- Similar topics

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