Hi all

 

I'm fairly new to Ning, I inherited our site from my predecessor, who designed it & set it up. I may have missed something in the setup, but a fairly extensive hunt around has not unearthed any solution to my question!

Is there a way to add text above the window in the chat room? I want to include a message to let people know the times of our regular chats (we have weekly times we fun facilitated chat sessions), but I can't work out how to add a message.

Any help would be much appreciated!

Tags: chat, design, toptip

Views: 1202

Reply to This

Replies to This Discussion

The code above is set to work with networks who have inserted a separate jQuery libary. If you haven't done anything re: this javascript library. Here is the updated code which uses Ning's:

» Updated Chatroom Header Message Code

Hi Ron, it's working for me. Thank you so much. But this code also hide chat in the bottom right of my network. It means that I can only chat when I stay in the chat tab. It's a little bit confused when your member reading contents while chatting. Can you help me to solve the problem? Thank you.  

You're welcome Tuan, Yes, apparently this will only appear on the Chat tab and if you place your chat module above the footer (content body). Hope this helps.

In my case, after attaching your Custom Code 

<script> $('.xg_chat').prepend('<div class="dy-ning-msg">Chat times: 9:00AM to 5:00PM, Mondays to Fridays</div>'); </script>

Nothing Happens.

I see. I think you're not using a separate jQuery library, then just insert an x before the dollar sign in the code. Like this..

x$('.xg_chat..

THIS SOLVES the problem. Thanks

sure thing social, glad it works now.

Hi social.ning,

try inserting the character 'x' before the dollar sign ($) above like this:

<script> x$('.xg_chat...

or see my updated code above.

None of the options work for me. Is it because I'm using the old design studio?

Hi Hugh,

Yes, that could be an issue. This also works only on the new (HTML5) version of chat. What is your network url/address?

Another method is to alter Language Editor.

  • Pull up Language Editor and select the language for your site
  • Under Search.........type in "Chat" and enter
  • Scroll to the bottom of the first page.  The last entry is titled "Main Room"  Alter your chat title as you like, add site name, hours, etc however bear in mind that space is limited.  
  • Save and check your chat box.  Alter as necessary

Yes, that's a good alternative method and I see that it is limited. So the objective and solution is to place it on top with code insertion.

thanks for this Kos.

Thanks Ron an Kos.

Network is Harringayonline.com

Cheers.

RSS

Latest Activity

Allison Leahy replied to Yaron's discussion 'Feature request: The ability to embed music players, in the same way we could embed videos on Ning 3.0?'
"Great news, Yaron. This is totally possible -- you can embed SoundCloud or ReverbNation widgets on…"
6 minutes ago
Jorge Bravo joined Allison Leahy's group
Thumbnail

The Sandbox

Join The Sandbox to experiment with Ning 3.0 now!The Ning Team will be triaging bug reports and…See More
38 minutes ago
Allison Leahy replied to SM's discussion 'Just discovered Disqus commenting on Ning - how do we add more features?'
"Thanks for looking into it, SM!"
53 minutes ago
Kos replied to Gary W Norman's discussion 'Tagline Font Size or Type - can it be changed?'
"You can remove that earlier code and replace it with this.  If you don't want the bold,…"
54 minutes ago
Gary W Norman replied to Gary W Norman's discussion 'Tagline Font Size or Type - can it be changed?'
"too cool! Let me check it out..and I guess i over ride the old one denoting font size with this.…"
58 minutes ago
SM replied to SM's discussion 'Just discovered Disqus commenting on Ning - how do we add more features?'
"I asked Jon if SSO cost money or not? I guess at some point in time used to charge…"
1 hour ago

NC for Hire
Bernard Lama replied to Diego Biasi's discussion 'Remove SignUp function (but keep SignIn)'
"OIC then we can only do this with javacript code. I will try it and let you know. Best Bernard"
1 hour ago
A discussion started by Andrew Sanderson was featured

Video chat for ning network

I hva eread a dew discussions about adding video to ning networks and wanted to get all the…See More
1 hour ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service