We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Locked Topic
[ C ] All Rights Reserved; A copy right for each post
Topic Started: Jan 21 2010, 09:36 PM (377 Views)
twilighterlove
Member
[ * ]
Board Address: http://z10.invisionfree.com/UnbreakableVow/index.php?
Type of Request: Simple Script
Description: On Proboards someone created a code where you can have a copy right attached to each of your posts, and it has the posters name, it looks something like this;


Unbreakable-Vow ©2009, Danica Jonston, All Rights Reserved.

I'm not good at doing codes, in fact, I don't know how to do them, can some one create a code for my site that does just thing? I would highly appreciate it!! If you need to see the code I can get it for you just let me know.


Thank you


Offline Profile Goto Top
 
Viral
Member Avatar
Viral
[ *  *  *  *  *  * ]
Code:
 
<script type="text/javascript">
//<![CDATA[
$("td.c_post").each(function(){
$(this).append('COPYRIGHT HERE');
});
//]]>
</script>


Put this below the board.
Offline Profile Goto Top
 
Holysavior-ZNR
Member Avatar
Member
[ *  *  *  *  * ]
do you want it where they can choose to have it or just automatically have it on a post?
Offline Profile Goto Top
 
twilighterlove
Member
[ * ]
Viral, on below the bored do you mean put it in the style sheet? Because I put it there and in the header and footer and it didn't do anything.

HolySavior, I would want it where it automatically goes on every post.
Offline Profile Goto Top
 
Holysavior-ZNR
Member Avatar
Member
[ *  *  *  *  * ]
Code:
 

<script type="text/javascript">
//<![CDATA[
var copyright ="Unbreakable-Vow ©2009,"
$("td.c_post").each(function(){
var name = $(this).parent().prev().find(".c_username").text();
$(this).append('<div>'+copyright+name+' , All Rights Reserved.</div>');
});
//]]>
</script>


place that in your board template or your board wrappers under the board :P

that will place your all rights reserved with the name of the poster in it :P
Offline Profile Goto Top
 
twilighterlove
Member
[ * ]
Okay, I know I'm blond but I didn't realize that I'm that blond, lol but it's not working or at least I don't see anything. Am I doing something wrong?
Offline Profile Goto Top
 
Viral
Member Avatar
Viral
[ *  *  *  *  *  * ]
>.< Wrong forum, this is for zetaboards requests. Reid will most likely get this.,
Offline Profile Goto Top
 
Reid
Member Avatar
È una trappola!

Negative, it's that you're using InvisionFree instead of ZetaBoards. Try placing this in the Footers section of the board template:
Code:
 
<script type='text/javascript'>
(function () {
if (location.href.indexOf('showtopic') !== -1) {
var c = document.getElementsByTagName('div'), b = c.length;
while (b--) {
if (c[b].className.match(/ ?postcolor ?/)) {
c[b].innerHTML += "<br /><br />Unbreakable-Vow ©2010, " + c[b].parentNode.parentNode.previousSibling.previousSibling.getElementsByTagName('a')[0].innerHTML + ", All Rights Reserved.";
}
}
}
})();
</script>

Viral.
Jan 22 2010, 06:02 PM
>.< Wrong forum, this is for zetaboards requests.
This forum is for both types of requests. It's just that ZB is far more popular. :P
Edited by Reid, Jan 22 2010, 06:10 PM.
Offline Profile Goto Top
 
twilighterlove
Member
[ * ]
YAY!! It worked! Thank you Reid! -Hugs-!And I as for the boards, I was given this link to request for it.
Offline Profile Goto Top
 
Reid
Member Avatar
È una trappola!

No problem. Also, don't worry about where you requested. We accept IF/ZB in this board. :)

Completed!

Your code request has been completed.

Thank you for using our Member Request system here at Zathyus Networks Resources! If you have any questions regarding this topic, feel free to PM the code creator or post a new topic in the request forum. :)

Have a nice day!
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Closed Requests · Next Topic »
Locked Topic