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
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 ( ' ).
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 .....
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.
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
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. :)