Social Web Directory :: Social Network Directory :: Ning Tips and Ning Support
Hi everyone
It´s posible add default text (and link) to my chat? visible text when anybody contact me.
And, add default text on main room?
Excuseme for my english.
Thanks
Claudio
Tags:
Claudio,
I'm not sure this is what you want. This code will add a message at top of chat box, in Main Room. See example here on JenSocial. I am certain this tip is on JenSocial. I remember writing it. I looked everywhere and couldn't locate the tip, even in VIP Club. Ning sites are so frustrating when searching. Try editing the code below with your message, and adding to Custom Code Box via: My Network/Tools/Custom Code. The code you will replace with yours is: Welcome to JenSocial! <a href="http://jensocial.com/group/premiumningtipsbyjen">Access VIP Club</a>.:
Full Code Block:
<script type="text/javascript">
if (typeof(x$) != 'undefined') {
x$(".xg_chat div#mainChatContainer.xg_verticalPane div.xg_chatWindow div.xg_chatBar").after('<div style="padding:10px;border-bottom:8px solid #e6e6e6;">Welcome to JenSocial! <a href="http://jensocial.com/group/premiumningtipsbyjen">Access VIP Club</a>.</div>');
}
else{
}
</script>
Best,
Jen
Claudio,
I believe it can be done for the private room, but adding the same message for all. To add a message specific to an Administrator would take some serious coding, and not certain it could be done. To add a simple message for all private rooms, this might work:
<script type="text/javascript">
if (typeof(x$) != 'undefined') {
x$(".xg_chat .xg_privateChat.xg_verticalPane div.xg_chatWindow div.xg_chatBar").after('<div style="padding:10px;border-bottom:8px solid #e6e6e6;">Private Room Message<a href="http://jensocial.com/group/premiumningtipsbyjen">Access VIP Club</a>.</div>');
}
else{
}
</script>
Best Regards,
Jen
Hi Jen
Yes, I thought that it would be more complicated to do it.
Now, the code is working on the private rooms too.
Very grateful!
Good night!
Claudio
Welcome to
JenSocial: Social Web Directory and Ning Tips
Posted by JenSocial on May 7, 2018 at 8:35pm 9 Comments 1 Favorite
Posted by JenSocial on January 6, 2017 at 4:00pm 10 Comments 1 Favorite
Posted by JenSocial on October 22, 2016 at 1:05am 0 Comments 0 Favorites
Posted by JenSocial on September 17, 2016 at 12:00am 26 Comments 1 Favorite
Posted by JenSocial on August 31, 2016 at 3:30pm 13 Comments 0 Favorites
Ning 3.0 Tip - Add Buttons/Links Below Status Update (Quick Links to Add Photos, Posts, Discussions)
Started by Ning.spruz.com in Ning 3.0 Feb 19. 0 Replies 0 Favorites
Started by Evelina in Ning 3.0 Aug 30, 2023. 0 Replies 0 Favorites
Started by Evelina in Ning 3.0 Aug 27, 2023. 0 Replies 0 Favorites
© 2024 Created by JenSocial. Powered by
© Copyright JenSocial.