inherit
163479
0
Mar 15, 2017 21:39:06 GMT -8
Little Devil
413
February 2011
riverinajack
|
Post by Little Devil on Dec 14, 2012 20:50:59 GMT -8
I have the following code in v4 and I would like a plugin to put in v5 can anyone make a code for copyright
the blue part is what shows in ever post
<script type="text/javascript">
<!-- /* add a copyright to every user's post by california */
var d=new Date() var year=d.getFullYear() var copyright='©'+year+', Copyright by <i>#username#</i>. This post and no part of it may be reproduced other than at this Board without the express openly posted permission of Australia News & Political Forum Staff or Original Poster. All Rights Reserved.';
var td=document.getElementsByTagName("td"); if(location.href.match(/action=(display|search2)/)){ for(i=0;i<td.length;i++){ var tda=td.getElementsByTagName("a"); if(td.width=="20%" && td.className.match(/windowbg/)){ if(tda.length>2){ if(tda[1].name) dname = tda[2].innerHTML; else dname = tda[1].innerHTML; }else{ var dname = (td.innerHTML.match(/<\/a>\s?(\w+)\s?</i)) ? RegExp.$1 : 'guest'; } } if(td.colSpan=="3" && td.vAlign=="bottom"){ td.innerHTML=copyright.replace(/#username#/gi,dname)+td.innerHTML; } } } // --> </script>
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Dec 14, 2012 21:09:46 GMT -8
since its a cali code, I think Chris has dibs on converting it first
|
|
inherit
170346
0
Mar 1, 2016 12:53:37 GMT -8
Shorty
Yeah, I'm that cool. Lol! No I'm not.
3,018
August 2011
shortyverrett94
|
Post by Shorty on Dec 14, 2012 22:15:32 GMT -8
This doesn't need a code. It can be done with a template modification. There's one already done on the template mod section, I just can't find it right now to give you the link.
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Dec 15, 2012 2:13:12 GMT -8
ah good call shorty
|
|
inherit
16846
0
Nov 19, 2012 15:20:20 GMT -8
Chris
3,036
December 2003
cddude
|
Post by Chris on Dec 15, 2012 9:42:33 GMT -8
Just to reply to Wormo... I do plan to convert Cali's codes, but if someone would like to convert one his, just give credit to him (if it's an original of his.) That's all I ask.
|
|
inherit
First Contributor
66253
0
Mar 18, 2024 11:09:20 GMT -8
aRMY83
2,925
December 2005
army83
|
Post by aRMY83 on Dec 15, 2012 14:01:58 GMT -8
|
|
inherit
170346
0
Mar 1, 2016 12:53:37 GMT -8
Shorty
Yeah, I'm that cool. Lol! No I'm not.
3,018
August 2011
shortyverrett94
|
Post by Shorty on Dec 15, 2012 15:01:46 GMT -8
Thank you army. I didn't know it had been removed. I though I just overlooked it.
|
|
inherit
First Contributor
66253
0
Mar 18, 2024 11:09:20 GMT -8
aRMY83
2,925
December 2005
army83
|
Post by aRMY83 on Dec 15, 2012 15:11:05 GMT -8
You're welcome and as to this part of that mod:
it is only if you want to change the default color. (I did not use this part)
|
|
inherit
163479
0
Mar 15, 2017 21:39:06 GMT -8
Little Devil
413
February 2011
riverinajack
|
Post by Little Devil on Dec 25, 2012 12:50:41 GMT -8
|
|
inherit
First Contributor
66253
0
Mar 18, 2024 11:09:20 GMT -8
aRMY83
2,925
December 2005
army83
|
Post by aRMY83 on Dec 25, 2012 14:05:05 GMT -8
Hello Little Devil... If your talking about the one I directed Shortyverrett94 to, it's working just fine on my betazone v5 site:
|
|