|
Post by Ambo100 on Jan 8, 2009 9:28:27 GMT
I will try and recover as many codes as i can. Here is the current List External Links [/li][li] Proboards Date
|
|
|
Post by Ambo100 on Jan 8, 2009 9:31:19 GMT
Paste this anywhere to have your display name.
<script type="text/javascript"> document.write(pb_displayname) </script>
Global Headers
<script type="text/javascript"> <!-- //Avatar everywhere - Dregond - OpenSoruce
var avatar_head = {
defAvvy: "http://s2.images.proboards.com/menu/members.gif",
set_avvy: function(){
if(document.cookie.match(/dre_src=(.+?)(;|$)/)) {
document.getElementById("dre_avvy").src = RegExp.$1; } else { document.getElementById("dre_avvy").src = this.defAvvy; }
if(document.cookie.match(/dre_hgt=(.+?)(;|$)/)) { document.getElementById("dre_avvy").height = RegExp.$1; }
if(document.cookie.match(/dre_wdh=(.+?)(;|$)/)) { document.getElementById("dre_avvy").width = RegExp.$1; } } };
avatar_head.set_avvy();
//--> </script>
Global Footers
<script type="text/javascript"> <!-- //Avatar everywhere - Dregond - OpenSoruce
var avatar_foot = {
init: function(){
if(location.href.match(/action=viewprofile$/) || location.href.match(/ewprofile&user=(.+?)$/) && RegExp.$1 == pb_username){ this.get_avvy(); avatar_head.set_avvy(); } },
set_cookie: function(cookie_name, cookie_value){
document.cookie = cookie_name + "=" + cookie_value + "; expires = " + (new Date()).toGMTString().replace(/\d{4}/, "2050"); },
get_avvy: function(){
for(i = 0; i < document.images.length; i ++){
if(document.images[i].alt.match(/\[avatar\]/)){
this.set_cookie("dre_src", document.images[i].src); this.set_cookie("dre_hgt", document.images[i].height); this.set_cookie("dre_wdh", document.images[i].width); } } }
}.init();
//--> </script>
Once you have that code in put this
<img id="dre_avvy"/>
Where you want the image to appear.
|
|