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

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

Kos replied to John Bizley's discussion 'File Manager NO DELETION option anymore ? Plus can you expand the file name size box.' in the group The Sandbox
"It's a glitch on Ning's end; plain and simple"
32 minutes ago
John Bizley replied to John Bizley's discussion 'File Manager NO DELETION option anymore ? Plus can you expand the file name size box.' in the group The Sandbox
"Thanks Riccardo, it took a bit of moving the mouse about to find it but my mouse does change to the…"
37 minutes ago
Riccardo Rossini replied to John Bizley's discussion 'File Manager NO DELETION option anymore ? Plus can you expand the file name size box.' in the group The Sandbox
"John, actually the button is only hidden, more or less you'll find it here your pointer will…"
48 minutes ago
Kos replied to John Bizley's discussion 'File Manager NO DELETION option anymore ? Plus can you expand the file name size box.' in the group The Sandbox
"Even a photo preview would be wonderful so we're certain we're selecting the right…"
1 hour ago
Jordon McGee (Jords) replied to soaringeagle's discussion '3.0 feature request'
"+1"
2 hours ago

NC for Hire
JFarrow replied to JFarrow's discussion 'Become a Youtube Master with These 4 Tricks'
"apparently ning strips that.."
2 hours ago
Chris replied to soaringeagle's discussion '3.0 feature request'
"This is a standard feature of most forums, and very important! Hopefully it will be implemented."
3 hours ago
Ambroise replied to JFarrow's discussion 'Become a Youtube Master with These 4 Tricks'
"I see nothing between line "compared to this:" and lien "When the user hits the play…"
3 hours ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service