Help
-
Search
-
Members
-
Calendar
Full Version:
Tracker code
Forums
>
Resource Center
>
Support Center
>
Xanga Support
>
Xanga Resolved Topics
monkigurl77
Mar 7 2005, 10:09 PM
I have this code for a tracker site:
<script>
/* Change your options here.
See the documentation at
http://suhock.net/xanga/xasm.html
for more info. */
var show = true;
var title = "My Stalkers";
var before = "My Blogrings";
var sortby = "date";
var order = "desc";
var limit = 0;
/* Don't change anything beyond this point, unless you know
what you're doing (not that you would pay any attention
to this warning if you do know what you're doing) */
function getElement(id) {
if(document.all) {
return document.all[id];
} else {
return document.getElementById(id);
}
}
function getUser() {
var user = '';
for (var i=0; i<document.links.length; i++) {
if (document.links[i].href.substring(0,38) ==
"http://www.xanga.com/private/home.aspx") {
var link = document.links[i];
if (link.innerText) {
user = link.innerText;
} else if (link.text) {
user = link.text;
}
break;
}
}
return user;
}
var tagname = 'script';
function getOwner() {
var url = document.URL;
var b = url.indexOf("?user=");
if (b==-1)
b = url.indexOf("&user=");
if (b==-1)
return getUser();
b += 6;
var e = url.indexOf("&", b);
if (e==-1)
e = url.length;
return url.substring(b, e);
}
</script>
<img id="xasm_img" src="http://www.xanga.com/images/dot_clear.gif"
width="1" height="1">
<span id="xasm_mod"></span>
<script>
document.images["xasm_img"].src = "http://suhock.net/xanga/logs/img.php?" +
"u=" + escape(getOwner()) + "&" +
"v=" + escape(getUser()) + "&" +
"r=" + escape(document['referrer']);
if (show) {
var el1 = document.createElement(tagname);
el1.src =
"http://suhock.net/xanga/logs/stalkers.js.php?" +
"u=" + escape(getOwner()) + "&" +
"title=" + escape(title) + "&" +
"before=" + escape(before) + "&" +
"sortby=" + escape(sortby) + "&" +
"order=" + escape(order) + "&" +
"limit=" + escape(limit);
getElement('xasm_mod').appendChild(el1);
}
</script>
It works fine with default modules but I have coustom ones. How do you ad that to the custom modules?
Pulchritude
Mar 7 2005, 10:15 PM
here you need a custom module script
<!-- begin code provided by createblog.com -->
<style type=text/css>
/* remove regular modules */
texttable.left, td.mainleft, table.left, table.navigation, table.search{display:none}
table.blogbody tr td {width:0px; padding: 0px;}
/* edit to your liking */
table.module { border: 1px solid #000000; width:160px; background-color:f2f2f2; }
table.module th { background-color: #336699;font: bold 11px arial; text-transform: uppercase;color: #FFFFFF; border: none; }
table.module td {color: #000000; text-align: left; border: none; background-image: none; }
</style>
<!-- add this below all the CSS -->
<table border=0 width="660"><tr><td valign="top" width="160">
<table border="1" cellspacing="0" cellpadding="4" width="100%" class="module"><tr><th valign="top" align="left" class="module"><b>About Me</b></th></tr><tr><td valign="top" class="module">
<center><img src="http://p.xanga.com/USERNAME/profile.jpg"></center><p>
<b>name:</b> uhhhh..<br>
<b>gender:</b> errr<br>
<b>hobbies:</b> blah blah<br>
</td></tr></table><br>
<table border="1" cellspacing="0" cellpadding="4" width="100%" class="module"><tr><th valign="top" align="left" class="module"><b>Subscriptions</b></th></tr><tr><td valign="top" class="module">
<!-- Add your subscriptions here -->
<a href="http://www.xanga.com/SOMEONE">someone</a><br>
<a href="http://www.xanga.com/SOMEONE2">someone 2</a>
</td></tr></table><br>
<table border="1" cellspacing="0" cellpadding="4" width="100%" class="module"><tr><th valign="top" align="left" class="module"><b>Bloggies</b></th></tr><tr><td valign="top" class="module">
<!-- Add your blogrings here -->
<a href="http://www.xanga.com/blogrings/blogring.asp?id=200537">Xangans.com</a>
</td></tr></table><br>
<!-- Here's your CUSTOM MODULE.. copy and paste as needed -->
<table border="1" cellspacing="0" cellpadding="4" width="100%" class="module"><tr><th valign="top" align="left" class="module"><b>CUSTOM MODULE</b></th></tr><tr><td valign="top" class="module">
La la la =]
</td></tr></table><br>
</td><td width="500" valign="top" align="left">
<!-- end code provided by createblog.com -->
put it in where it says this
<!-- Here's your CUSTOM MODULE.. copy and paste as needed -->
<table border="1" cellspacing="0" cellpadding="4" width="100%" class="module"><tr><th valign="top" align="left" class="module"><b>CUSTOM MODULE</b></th></tr><tr><td valign="top" class="module">
[B]add tracker here!![/B]
</td></tr></table><br>
monkigurl77
Mar 7 2005, 10:26 PM
I
have
The custom modules:
<style type=text/css>
/* remove regular modules */
texttable.left, td.mainleft, table.left, table.navigation, table.search{display:none}
table.blogbody tr td {width:0px; padding: 0px;}
/* edit to your liking */
table.module { width:200px; background-color:transparent; }
table.module th { background-color:transparent;font: bold 15px arial; text-transform:normal;color: #000000; border: none; }
table.module td {color: #000000; text-align: left; border: none; background-image: none; }
</style>
<!-- add this below all the CSS -->
<table border=0 width="660"><tr><td valign="top" width="160">
<table border="1" cellspacing="0" cellpadding="4" width="100%" class="module"><tr><th valign="top" align="left" class="module"><b>Monkigurl77</b></th></tr><tr><td valign="top" class="module">
<center><img src="http://pb.xanga.com/b2/8a/b28af3da247ccc2fd5205240635702b34773610.jpg"></center><p>
<b>Call Me </b> Kellie<br>
<b>Gender:</b> Girlie Girl<br>
<b>Country:</b> Untied States<br>
<b>State:</b> Illinios<br>
<b>Birthday:</b> July 15, 1989<br>
<b>Intrests:</b> I like anything I can keep my mind on for more than a day. Talking to my pugs, Listening to music, LOUD Watching Cartoons at Homestar Runner.com <IMG src="http://www.gamecheetz.com/TheCheat.jpg">. Coloring inside the lines. Television, there will always be t.v. I love using the computer to make and edit my pics. I love to make skins: <a
href="http://www.xanga.com/home.aspx?user=monkigurl77skinz">My Skins Site</a><br><br>
<b>Expertise:</b>Singing in the Shower. Randsoming Lawn Gnomes
<IMG src="http://pic16.picturetrail.com/VOL648/2540431/5043405/65960805.jpg"><br>
<b>Occupation:</b> Still a student<br>
<b>IM me:</b> Monkigurl77<br>
<b>E-mail:</b> <a href="http://www.xanga.com/senduser.aspx?user=monkigurl77">E-mail me</a><br><br>
<b>Member Since: </b>4/29/2004<br>
<b>Talk To Me:</b><br>
<br>
<object width="160" height="200"><param name=movie value="http://monkigurl77.chatango.com/flash/mini.swf"><param name=bgcolor value="FFFFFF"><param name = flashvars value='k=0&c=4169E1&n=FF69B4&s=FF69B4&m=66CCFF&l=99FF00&f=12&d=0xtrans&i=0xFFFFFF'><embed src="http://monkigurl77.chatango.com/flash/mini.swf" bgcolor="FFFFFF" width="160" height="200" flashvars='k=0&c=4169E1&n=FF69B4&s=FF69B4&m=66CCFF&l=99FF00&f=12&d=0xtrans&i=0xFFFFFF' type=application/x-shockwave-flash></embed></object><br><img border=0 src=http://monkigurl77.chatango.com/i?5>
</td></tr></table><br>
<table border="1" cellspacing="0" cellpadding="4" width="100%" class="module"><tr><th valign="top" align="left" class="module"><b>Navigation</b></th></tr><tr><td valign="top" class="module">
<a href="http://www.xanga.com/guestbook.aspx?user=monkigurl77">Guestbook</a><br>
<a href="http://www.xanga.com/CLAF/default.asp">Look and Feel</a><br>
<a href="http://www.xanga.com/home.aspx?user=monkigurl77">Monkigurl77</a><br>
<a href="http://www.xanga.com/">Xanga</a><br>
<a href="http://www.xanga.com/logout.aspx">Logout</a><br>
<a href="http://www.xanga.com/signin.aspx">Sign In</a><br>
<a href="http://www.createblog.com/">createBlog</a><br>
</td></tr></table><br>
<table border="1" cellspacing="0" cellpadding="4" width="100%" class="module"><tr><th valign="top" align="left" class="module"><b>Subscriptions</b></th></tr><tr><td valign="top" class="module">
<!-- Add your subscriptions here -->
<b>Subscribe To </b> <a href="http://www.xanga.com/Private/SubscribeTo.aspx?user=monkigurl77">Monkigurl77</a><br>
<a href="http://www.xanga.com/amandapandas">Amanda</a><br>
<a href="http://www.xanga.com/home.aspx?user=No_LoNgEr_tHatGurL">Sammie</a><br>
<a href="http://www.xanga.com/home.aspx?user=aMeRi_HoLlI_fItCh_2110">Anna</a><br>
<a href="http://www.xanga.com/Sing_again21">Miranda</a><br>
<a href="http://www.xanga.com/Erik61">Erik</a><br>
<a href="http://www.xanga.com/Gibsonguitar61 ">Erik</a><br>
<a href="http://www.xanga.com/KiCk_AsS_SuRveYs">Surverys</a><br>
<a href="http://www.xanga.com/monkigurl77skinz">My Skins</a><br>
<a href="http://www.xanga.com/Musical_Junkie">Summer</a><br>
<a href="http://www.xanga.com/punqchik401 ">Jenny</a><br>
<a href="http://www.xanga.com/TullyMonster2002">Sarah</a><br>
<a href="http://www.xanga.com/TuRtLeFuqer ">Tauni</a><br>
<a href="http://www.xanga.com/xkIssWiThYouReyeSclOsedx">Katlyn</a><br>
</td></tr></table><br>
<table border="1" cellspacing="0" cellpadding="4" width="100%" class="module"><tr><th valign="top" align="left" class="module"><b>Blogrings</b></th></tr><tr><td valign="top" class="module">
<!-- Add your blogrings here -->
<a href="http://www.xanga.com/groups/group.aspx?id=360312">*~PLaInFiELd SoUth HiGh ScHoOL~*</a><br>
<br>
<br>
<a href="http://www.xanga.com/groups/group.aspx?id=466431">! ~ ::. F.R.I.E.N.D.S .:: ~ !</a><br>
<br>
<br>
<a href="http://www.xanga.com/groups/group.aspx?id=457165">! Summerland !</a><br>
<br>
<br>
<a href="http://www.xanga.com/groups/group.aspx?id=428443">~Owned by a Pug or two or three...~</a><br>
<br>
<br>
<a href="http://www.xanga.com/groups/group.aspx?id=206554">i lost my lip gloss, my life is over</a><br>
<br>
<br>
<a href="http://www.xanga.com/groups/group.aspx?id=186047">! C l ª s s • O F • 2o07 !</a><br>
<br>
<br>
<a href="http://www.xanga.com/groups/group.aspx?id=110136">*modest mouse*</a><br>
<br>
<br>
</td></tr></table><br>
<!-- Here's your CUSTOM MODULE.. copy and paste as needed -->
<table border="1" cellspacing="0" cellpadding="4" width="100%" class="module"><tr><th valign="top" align="left" class="module"><b>The Skin</b></th></tr><tr><td valign="top" class="module">
<font color: ##FE75B0><b>Skin Name:</b></font> My Little Pony<br>
<font color: ##FE75B0><b>Colors:</b></font> Orange and Pink<br>
<font color: ##FE75B0><b>By:</b></font> Kellie (Monkigurl77)<br>
<font color: ##FE75B0><b>Time:</b></font> Two Hours<br>
</td></tr></table><br>
<table border="1" cellspacing="0" cellpadding="4" width="100%" class="module"><tr><th valign="top" align="left" class="module"><b>Credits</b></th></tr><tr><td valign="top" class="module">
Xanga Ad Remover Created By <a href="http://netsirk.proboards26.com">Steve</a>
<br>
Scripts By <a href="http://www.createblog.com/">Createblog</a> And Me
<br>
Picture From <a href="http://creative.gettyimages.com/source/home/home.aspx">GettyImages</a>
<br>
All coding, picture editing, and cursor making are done by <a href="http://www.xanga.com/home.aspx?user=monkigurl77">Monkigurl77</a>
</td></tr></table><br>
</td><td width="500" valign="top" align="left">
<!-- end code provided by createblog.com -->
<!-- end code provided by createblog.com -->
I tried what you said ad yeah it
doesn't
work
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here
.