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.

How to make chat visible to guests like this forum?

View previous topic View next topic Go down

Solved How to make chat visible to guests like this forum?

Post by Charisma Clash on March 17th 2017, 7:19 am

http://xwauniverse.forumotion.com/forum
I know the actual messages aren't visible but I want guests to at least know it is there like displayed in that link. Anyone know how?


Last edited by Charisma Clash on March 19th 2017, 10:27 pm; edited 1 time in total
avatar
Charisma Clash
Forumember

Posts : 159
Reputation : 2
Language : English

Back to top Go down

Solved Re: How to make chat visible to guests like this forum?

Post by skouliki on March 17th 2017, 8:42 am

avatar
skouliki
Graphic Designer
Graphic Designer

Female Posts : 3011
Reputation : 471
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: How to make chat visible to guests like this forum?

Post by Charisma Clash on March 17th 2017, 10:14 pm

Technically no, in that message I wanted guests to be able to see the messages of the chat, which I guess isn't possible?

In this topic I just want to be able to display that the chat is actually there to guests much like the forumotion forum I linked in the original post.
avatar
Charisma Clash
Forumember

Posts : 159
Reputation : 2
Language : English

Back to top Go down

Solved Re: How to make chat visible to guests like this forum?

Post by Draxion on March 17th 2017, 10:53 pm

Oh, you simply have to display the chatbox either on the top or the bottom of the index page.

Admin Panel --> Modules --> Chatbox --> Configuration -->
• Acitvate the Chatbox (yes)
• ChatBox display (choose either top or bottom)


NEVER provide your founder's account or email
Please provide forum's URL when dealing with design and appearance issues
Don't forget to mark the topic as when the issue is resolved. This helps the staff greatly.
PM Support is prohibited!
TOS | General Rules | FAQ | Tricks & Tips | Latest Updates | Introduce Yourself

avatar
Draxion
Support Moderator
Support Moderator

Male Posts : 1813
Reputation : 227
Language : English
Location : USA

http://www.draxionsgameden.com/

Back to top Go down

Solved Re: How to make chat visible to guests like this forum?

Post by Charisma Clash on March 18th 2017, 12:16 am

Yea I got the chat activated, though to guests they wouldn't know I had a chat on the forum unless they register.
avatar
Charisma Clash
Forumember

Posts : 159
Reputation : 2
Language : English

Back to top Go down

Solved Re: How to make chat visible to guests like this forum?

Post by tylercole on March 18th 2017, 12:21 am

Not sure, but maybe if you add a new button to you navigation bar, titled chat that redirects to the chat box. This way guests knew you had chat, but can't obviously access it until registeted.
avatar
tylercole
Forumember

Posts : 264
Reputation : 15
Language : english

http://insectsandentomolgy.forumotion.com/

Back to top Go down

Solved Re: How to make chat visible to guests like this forum?

Post by Charisma Clash on March 18th 2017, 4:20 am

There has to be a way since the forum I linked in the original post has it Think
avatar
Charisma Clash
Forumember

Posts : 159
Reputation : 2
Language : English

Back to top Go down

Solved Re: How to make chat visible to guests like this forum?

Post by Draxion on March 18th 2017, 4:25 am

What does it have specifically? Cause all I see is the message 'You must be connected in order to use the chatbox". The instructions I said should show that to them.


NEVER provide your founder's account or email
Please provide forum's URL when dealing with design and appearance issues
Don't forget to mark the topic as when the issue is resolved. This helps the staff greatly.
PM Support is prohibited!
TOS | General Rules | FAQ | Tricks & Tips | Latest Updates | Introduce Yourself

avatar
Draxion
Support Moderator
Support Moderator

Male Posts : 1813
Reputation : 227
Language : English
Location : USA

http://www.draxionsgameden.com/

Back to top Go down

Solved Re: How to make chat visible to guests like this forum?

Post by Charisma Clash on March 18th 2017, 5:07 am

How my forum looks when I have the chat activated and viewing as a guest.


Theirs when viewing as a guest and chat activated.


Has to be something, maybe because I'm using ModernBB idk.
avatar
Charisma Clash
Forumember

Posts : 159
Reputation : 2
Language : English

Back to top Go down

Solved Re: How to make chat visible to guests like this forum?

Post by tylercole on March 18th 2017, 6:36 am

Do you mean how it appears on a site like this good ol ant forum ....... correct? http://www.formiculture.com
avatar
tylercole
Forumember

Posts : 264
Reputation : 15
Language : english

http://insectsandentomolgy.forumotion.com/

Back to top Go down

Solved Re: How to make chat visible to guests like this forum?

Post by SLGray on March 18th 2017, 6:36 am

What is your forum's link?


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

avatar
SLGray
Administrator
Administrator

Male Posts : 40516
Reputation : 2733
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Solved Re: How to make chat visible to guests like this forum?

Post by Charisma Clash on March 19th 2017, 4:05 am

SLGray wrote:What is your forum's link?
Sorry for the late reply http://mtwrestling.forumotion.com/
Just a test forum for now.
avatar
Charisma Clash
Forumember

Posts : 159
Reputation : 2
Language : English

Back to top Go down

Solved Re: How to make chat visible to guests like this forum?

Post by Luffy on March 19th 2017, 6:42 pm

Hello,

Try adding this in your forum:
CSS:
Code:
.panel.chatRow {
    height: 250px;
}
.textChat {
    font-size: 16px;
    font-weight: bold;
    font-family: Trebuchet MS;
    color: #DDD;
}

then add this in your index_body above the
Code:
{CHATBOX_BOTTOM}
Code:
<div class="h3">ChatBox</div>
<div class="panel chatRow"><span class="textChat">You have to login in order to view the chatbox.</span></div>

and lastly add this Javascript In all the pages:
Code:
$(function(){
  if (_userdata.session_logged_in){
    $('.panel.chatRow').css("display","none");
    $('.h3:contains("ChatBox")').css("display","none");
  }
});





avatar
Luffy
Manager
Manager

Male Posts : 4828
Reputation : 486
Language : Greek, English
Location : Greece

http://vibes.forumotion.com/

Back to top Go down

Solved Re: How to make chat visible to guests like this forum?

Post by Charisma Clash on March 19th 2017, 6:59 pm

Will try this when ModernBB is out of beta mode. We aren't allowed to access the index body yet, that code does look hopeful though. We wil see soon.
avatar
Charisma Clash
Forumember

Posts : 159
Reputation : 2
Language : English

Back to top Go down

Solved Re: How to make chat visible to guests like this forum?

Post by SLGray on March 19th 2017, 9:22 pm

Do you have the chatbox activate and somewhere on your forum (top or bottom)?


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

avatar
SLGray
Administrator
Administrator

Male Posts : 40516
Reputation : 2733
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Solved Re: How to make chat visible to guests like this forum?

Post by Charisma Clash on March 19th 2017, 9:22 pm

Top
avatar
Charisma Clash
Forumember

Posts : 159
Reputation : 2
Language : English

Back to top Go down

Solved Re: How to make chat visible to guests like this forum?

Post by Luffy on March 19th 2017, 10:00 pm

Hello,

I didn't know you had ModernBB. Add the CSS from above and add this in your Javascript instead:
Code:
$(function(){
    $('<div class="h3">ChatBox</div><div class="panel chatRow"><span class="textChat">You have to login in order to view the chatbox.</span></div>').insertBefore('.linklist.top');
  if (_userdata.session_logged_in){
    $('.panel.chatRow').css("display","none");
    $('.h3:contains("ChatBox")').css("display","none");
  }
});

I believe it will work as you wish it to.. Wink





avatar
Luffy
Manager
Manager

Male Posts : 4828
Reputation : 486
Language : Greek, English
Location : Greece

http://vibes.forumotion.com/

Back to top Go down

Solved Re: How to make chat visible to guests like this forum?

Post by Charisma Clash on March 19th 2017, 10:07 pm

Tried it, didn't seem to work  Think
Deactivated some other Javascript to see if it was interfering with the code you gave me but nope
avatar
Charisma Clash
Forumember

Posts : 159
Reputation : 2
Language : English

Back to top Go down

Solved Re: How to make chat visible to guests like this forum?

Post by Luffy on March 19th 2017, 10:11 pm

Try this instead:
Code:
$(function(){
    $('<div class="h3">ChatBox</div><div class="panel chatRow"><span class="textChat">You have to login in order to view the chatbox.</span></div>').insertBefore('ul.linklist.top');
  if (_userdata.session_logged_in){
    $('.panel.chatRow').css("display","none");
    $('.h3:contains("ChatBox")').css("display","none");
  }
});





avatar
Luffy
Manager
Manager

Male Posts : 4828
Reputation : 486
Language : Greek, English
Location : Greece

http://vibes.forumotion.com/

Back to top Go down

Solved Re: How to make chat visible to guests like this forum?

Post by Charisma Clash on March 19th 2017, 10:23 pm

Hmm, I found the problem. It works on Mozilla Firefox but won't appear on Chrome for some reason.
avatar
Charisma Clash
Forumember

Posts : 159
Reputation : 2
Language : English

Back to top Go down

Solved Re: How to make chat visible to guests like this forum?

Post by Luffy on March 19th 2017, 10:25 pm

It shows up just fine to me on Chrome now. Wink





avatar
Luffy
Manager
Manager

Male Posts : 4828
Reputation : 486
Language : Greek, English
Location : Greece

http://vibes.forumotion.com/

Back to top Go down

Solved Re: How to make chat visible to guests like this forum?

Post by Charisma Clash on March 19th 2017, 10:26 pm

Weird, it started working once I changed the font size to 16. Either way, you figured it out  Good

Thank you so much.
avatar
Charisma Clash
Forumember

Posts : 159
Reputation : 2
Language : English

Back to top Go down

Solved Re: How to make chat visible to guests like this forum?

Post by SLGray on March 19th 2017, 10:27 pm

Problem solved & topic archived.
Please read our forum rules:  ESF General Rules


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

avatar
SLGray
Administrator
Administrator

Male Posts : 40516
Reputation : 2733
Language : English
Location : United States

https://fmthemes.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