Ning Developer Network

Can anyone help on how this "warning" text was added to the view video page. I would love to add this all the comment type pages. It appears in all the pages(video and photo) above the comment box

Share

Reply to This

Replies to This Discussion

You can do this by using the Language Editor, search for Add a Comment and the then add the extra text.

Reply to This

Try pasting this into your Analytics textbox which you'll find by clicking Manage and then clicking the Analytics icon:


<script type="text/javascript">

x$(document).ready(function() {

// Put a Message under "Add a Comment" and above textbox:
x$("p#add-comment").append('
MESSAGE: I\'m here!
');
});
</script>


Replace my test Message with your message. Notice that if you put a single quote in your message, you'll need to have a backslash ( \ ) before the single quote ( ' ).

Let me know if this works for you.

Best wishes,

"TJ" (More code hacks and mods at www.TheNingMaster.com)

Reply to This

Won't this go on every page where the site has "Add a Comment"???

Reply to This

If you use doone's suggestion of using the Language editor, which is a very good suggestion, then the message will go everywhere the site has "Add a Comment". If that's what is desired, then that might be the way to go.

If you want the mod to only appear on certain pages, that can be done with a few more lines of jQuery. i wrote a little guide called "Code to put things just on certain pages" over at www.TheNingmaster.com .....

Reply to This

Wow Thanks everyone, for all the great suggestions, i will let you know which one works best,
First time ever i have such immediate responses from the forum. sadly the network creators area which used to be so good was stopped from providing help such as this.

Reply to This

It's still available, you just have to join the appropriate group and then post your discussion within the group.

Reply to This

Tried to sign up and it said I needed an invitation. Oh well.

Reply to This

Tj, i tried to join your site , but i require an invitation :)

Reply to This

thanks tj and doone.

I used the language editor , and it did the trick. The forums and blogs is a little more tricky because the "add a reply" appears after EVERY comment. So i cant use the wordy warning script. I am just using one line for those. But would prefer a single block to add at the beginning of each forum or discussion page.
Thanks guys

Reply to This

Just so you know, that site is "pay for services". It's very affordable, and has good CSS help as well as coding.

I give a lot of free information here on this forum but I also will be giving some exclusive code mods over at theNingMaster. Gotta pay the bills, I hope you all will understand. :)

Reply to This

Reply to This

RSS

© 2009   Created by Ning Developer Admin

Badges  |  Report an Issue  |  Privacy  |  Terms of Service