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: 1188

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

Apostle Solael replied to Allison Leahy's discussion 'Changes to Ning 3.0 Based on Your Feedback'
"Okay, thank you."
22 minutes ago
Dustin Craig replied to Dustin Craig's discussion 'My Notes [Updated 5/21]' in the group The Sandbox
"Updated with a couple comments and scratched off some things from today's release."
1 hour ago
Writer Chick {Diane} replied to John Bizley's discussion 'Show Your Ning 3.0 Sites'
"Goodness, that's harsh.  Beauty is in the eye of the beholder (and the members.) "
1 hour ago
Profile IconMarisa, Cigdem Kobu, Justin Tisbury and 3 more joined Creators
2 hours ago
Chazz replied to John Bizley's discussion 'I have a Question about the Social Channels ( youtube, vimeo )' in the group The Sandbox
"I understand that completely my friend. I admittedly do pay for my external site. Luckily it…"
2 hours ago
Melanie Cooley replied to Phil McCluskey's discussion 'Site Manager Updates for Ning 3.0 Networks'
"Awesome!!!!! Thrilled about the ability to set security by member category. Thank you!  Any…"
2 hours ago
Riccardo Rossini replied to Phil McCluskey's discussion 'Site Manager Updates for Ning 3.0 Networks'
"Phil it's a great news, but for my heath.. () nex time you add new classes pleas advice us…"
2 hours ago
John Bizley replied to John Bizley's discussion 'I have a Question about the Social Channels ( youtube, vimeo )' in the group The Sandbox
"Thanks Chazz I appreciate that and your thoughts. I do already have video lists and players on my…"
2 hours ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service