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

Views: 150

Reply to This

Replies to This Discussion

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

Great Jen!

The code is working on my network, in the main room (see screen capture).

Really what I need is add a message at top of chat box, in private room, only when any member contact with network admin. Is it posible?

Thanks!

Claudio

 

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

Great, thanks for the feedback!

=)

RSS

Members

© 2024   Created by JenSocial.   Powered by

Badges  |  Report an Issue  |  Terms of Service

Home
VIP Ning Tips