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:
Add Reply
Advanced Award System v1.0; with tooltips
Topic Started: Nov 7 2009, 01:20 PM (46,977 Views)
Viral
Member Avatar
Viral
[ *  *  *  *  *  * ]
What it Does: Adds awards to user's mini profiles (only in posts at the moment). When hovering over these awards, it will show a description of it and the date received in a tooltip.

I have tested this to work in the following browsers:
  • Google Chrome 2.0.172.43
  • Firefox 3.5.2
  • Internet Explorer 8.0.6001.18783 (lol)
  • Opera 9.26
  • Opera10.0
  • Safari 4.0


It works 100% in all of those browsers. Hopefully it works just as well in others, but I don't have them ready to test.

Preview: http://s1.zetaboards.com/zbAIO2/topic/2231766/1/

The Code:

Add the following Below The Board
Code:
 
<script type="text/javascript">
//<![CDATA[
var t_award = {
name : "Awards",
thumbnail : [20,20],
closeFunction : "fade",
users : [
[user id,"award name","award image","award description","award date"],
[user id,"award name","award image","award description","award date"],
[user id,"award name","award image","award description","award date"],
[user id,"award name","award image","award description","award date"]
]
}
//]]>
</script>
<script type="text/javascript" src="http://z3.ifrm.com/142/141/0/p239659/tooltipawards.js"></script>


That's the base of the script, but it needs to be edited when adding awards and such.

name : "Awards", - You can change "Awards" to whatever you want to call it, be it achievements, or whatever. Just make sure you wrap it with speech marks " and have a comma after the last speech mark.

thumbnail : [20,20], - These are the dimensions of the thumbnail versions of the award images. Change the first 20 to the width, and the second 20 the height.

closeFunction : "remove", - This is the animation used when you move your mouse out of the image (when hiding the information box). You can set this to either: "remove" (no animation) or "fade" (fades out) or "slide" (slides upwards). Once again, it must be wrapped with speech marks, and there must be a comma after the last speech mark.

Each award is set out like:
[user id,"award name","award image","award description","award date"],

You can add as many as you want after each other, which will automatically award someone. If you remove the award from the script, it will be removed from all of their posts as well. Note how each part is wrapped with speech marks besides the user id. User ID is the number you see in the URL when viewing their profile. For example, my account here has a user id of 230248. After each award, their should be a comma (after the closing square bracket ]). However, you do not put a comma at the end of the last award. Think of it as a list, use commas after each one, but not the last.

When filling out the information, put a backslash in front of all apostrophes and speech marks (besides the ones wrapping it). So, ' changes to \' and " changes to \". Last but not least, you cannot use line breaks (hitting the enter/ return key). If you need a line break, use \n instead, and that will be replaced by a real line break on the forum.

I realise that's a lot to take in, so if anything goes wrong, just post here :) .
Edited by slayer766, Nov 22 2009, 12:01 PM.
Offline Profile Quote Post Goto Top
 
Replies:
Bismuth666
Member
[ * ]
Can I make the pictures different? I mean, it looks as picture A when you see it in the profile field, but when you move your mouse out of the image it'll show you picture B. Can it?
Offline Profile Quote Post Goto Top
 
TacoClone-ZNR
Member
[ * ]
Viral, I was wondering, at least in another version you may do, because it seems like it'd be too much work to make happen at this stage, if the line that says "Received:" could either be removed or that text changed.
Offline Profile Quote Post Goto Top
 
Lout-ZNR
Member Avatar
He came, he saw...
[ *  *  * ]
TacoClone
Jun 16 2010, 02:10 AM
Viral, I was wondering, at least in another version you may do, because it seems like it'd be too much work to make happen at this stage, if the line that says "Received:" could either be removed or that text changed.
Changing the word Recieved is actually pretty simple, but you would need Virals permission to do so as it's part of the hosted javascript rather than part of the user editable options.
Offline Profile Quote Post Goto Top
 
TacoClone-ZNR
Member
[ * ]
That's what I mean, because, from what I understand of hosting these coding files online, I can't edit what he has, and I don't really want to make copies of what he has and host it for myself (if it's even possible for me to find his coding in the first place).

But, yeah, I'm loving this mod. Severely.
Offline Profile Quote Post Goto Top
 
Deleted User
Deleted User

viral, I use your reward code and it works great!! Was looking for a way to do a "join able group" thing that is similar. To have it below the awards section without it blending with the awards. Can you help? thanks in advance. Your codes help liven a boards purpose, and they are much appreciated.
actually never mind, figured it out. Just added another award line, like you suggested to someone else, when you hover it, I just put the joinable group name there. Code rocks viral...thanks again.
Quote Post Goto Top
 
Viral
Member Avatar
Viral
[ *  *  *  *  *  * ]
Taco: Host the following code and update the link in the code you put in your board templates:

Code:
 
//<![CDATA[
var awards = {
start : function(){
if(location.href.match(/\/topic\/\d+\/?/)){
for(var a=0;a<t_award.users.length;a++){
awards.present(a);
}
}
},
present : function(a){
var award = t_award.users[a];
if($("."+award[0]+"-awards").size() == 0){
$("a.member[href="+main_url+"profile/"+award[0]+"/]").parent().parent().next().find("dl.user_info dd.spacer").before('<dt>'+t_award.name+':</dt><dd class="'+award[0]+'-awards"><img onmouseover="awards.tooltip.open(event,'+a+');" onmouseout="awards.tooltip.bye('+a+');" id="'+a+'-award" src="'+award[2]+'" alt="'+award[1]+'" width="'+t_award.thumbnail[0]+'px" height="'+t_award.thumbnail[1]+'px" /></dd>');
} else {
$("."+award[0]+"-awards").append('<img onmouseover="awards.tooltip.open(event,'+a+');" onmouseout="awards.tooltip.bye('+a+');" id="'+a+'-award" src="'+award[2]+'" alt="'+award[1]+'" width="'+t_award.thumbnail[0]+'px" height="'+t_award.thumbnail[1]+'px" />');
}
},
tooltip : {
current : 0,
open : function(event,a){
var award = t_award.users[a];
var pos = awards.mouse.locate(event);
awards.tooltip.coords = [pos[0],pos[1]];
if($("#"+a+"-tooltip").size() == 0)$("body").append('<div id="'+a+'-tooltip" style="position:absolute;max-width:500px;"><table><thead><tr><th colspan="2">'+award[1]+'</th></tr></thead><tbody><tr><td><img src="'+award[2]+'" alt="'+award[1]+'" /></td><td>'+award[3]+'</td></tr></tbody></table></div>');
var elem = document.getElementById(a+"-tooltip");
elem.style.left = pos[0]+10+"px";
elem.style.top = pos[1]+10+"px";
awards.tooltip.current = a;
document.onmousemove = awards.tooltip.update;
},
update : function(event){
var pos = awards.mouse.locate(event);
var elem = document.getElementById(awards.tooltip.current+"-tooltip");
if(elem !== null){
elem.style.left = pos[0]+10+"px";
elem.style.top = pos[1]+10+"px";
} else {
document.onmousemove = null;
}
},
bye : function(a){
switch(t_award.closeFunction){
case "slide":$("#"+a+"-tooltip").slideToggle("fast",function(){$(this).remove();});break;
case "fade": $("#"+a+"-tooltip").fadeOut("fast",function(){$(this).remove();});break;
default: $("#"+a+"-tooltip").remove();break;
}
}
},
mouse : {
locate : function(event){
e = event || window.event;
coords = [0,0]
if (e.pageX || e.pageY) {
coords = [e.pageX,e.pageY];
}
else {
var de = document.documentElement;
var b = document.body;
coords = [e.clientX + (de.scrollLeft || b.scrollLeft) - (de.clientLeft || 0),e.clientY + (de.scrollTop || b.scrollTop) - (de.clientTop || 0)];
}
return coords;
}
}
}
awards.start();
//]]>
Offline Profile Quote Post Goto Top
 
Phil_zh
Member
[ * ]
Thanks Viral this is an awesome code (:<
Offline Profile Quote Post Goto Top
 
ItsZippy
Member
[ * ]
This is great, thanks. :)
Offline Profile Quote Post Goto Top
 
TacoClone-ZNR
Member
[ * ]
Thanks, Viral. I'll start messing with it shortly, lol.
Offline Profile Quote Post Goto Top
 
Deleted User
Deleted User

ok X_X I have no idea what the problem is, the code works when I put it in as the full form, but when I try to use the .js link instead it won't load. I tested the code piece by piece because its too many characters for my board but I got all of the pieces to work individually

this is the code thats in the notebook file
Code:
 
<script type="text/javascript">
//<![CDATA]
var t_award = {
name : "Badges",
thumbnail : [20,20],
closeFunction : "fade",
users : [
["132647","Spring Fugees 08","http://i104.photobucket.com/albums/m178/knightwing99/Site/SFT08.png","Won a Fugee at the Refuge Spring Fugees 2008"],
["132665","Spring Fugees 08","http://i104.photobucket.com/albums/m178/knightwing99/Site/SFT08.png","Won a Fugee at the Refuge Spring Fugees 2008"],
["132656","Spring Fugees 08","http://i104.photobucket.com/albums/m178/knightwing99/Site/SFT08.png","Won a Fugee at the Refuge Spring Fugees 2008"],
["132658","Spring Fugees 08","http://i104.photobucket.com/albums/m178/knightwing99/Site/SFT08.png","Won a Fugee at the Refuge Spring Fugees 2008"],
["132659","Spring Fugees 08","http://i104.photobucket.com/albums/m178/knightwing99/Site/SFT08.png","Won a Fugee at the Refuge Spring Fugees 2008"],
["132681","Spring Fugees 08","http://i104.photobucket.com/albums/m178/knightwing99/Site/SFT08.png","Won a Fugee at the Refuge Spring Fugees 2008"],
["132681","Spring Fugees 08","http://i104.photobucket.com/albums/m178/knightwing99/Site/SFT08.png","Won a Fugee at the Refuge Spring Fugees 2008"],
["132669","Spring Fugees 08","http://i104.photobucket.com/albums/m178/knightwing99/Site/SFT08.png","Won a Fugee at the Refuge Spring Fugees 2008"],
["132697","Spring Fugees 08","http://i104.photobucket.com/albums/m178/knightwing99/Site/SFT08.png","Won a Fugee at the Refuge Spring Fugees 2008"],
["132708","Spring Fugees 08","http://i104.photobucket.com/albums/m178/knightwing99/Site/SFT08.png","Won a Fugee at the Refuge Spring Fugees 2008"],
["132672","Spring Fugees 08","http://i104.photobucket.com/albums/m178/knightwing99/Site/SFT08.png","Won two Fugees at the Refuge Spring Fugees 2008"],
["132654","Spring Fugees 08","http://i104.photobucket.com/albums/m178/knightwing99/Site/SFT08.png","Won two Fugees at the Refuge Spring Fugees 2008"],
["132687","Spring Fugees 08","http://i104.photobucket.com/albums/m178/knightwing99/Site/SFT08.png","Won three Fugees at the Refuge Spring Fugees 2008"],
["132654","Fall Fugees 08","http://i104.photobucket.com/albums/m178/knightwing99/Site/FFT08.png","Won a Fugee at the Refuge Fall Fugees 2008"],
["132670","Fall Fugees 08","http://i104.photobucket.com/albums/m178/knightwing99/Site/FFT08.png","Won a Fugee at the Refuge Fall Fugees 2008"],
["132647","Fall Fugees 08","http://i104.photobucket.com/albums/m178/knightwing99/Site/FFT08.png","Won a Fugee at the Refuge Fall Fugees 2008"],
["132701","Fall Fugees 08","http://i104.photobucket.com/albums/m178/knightwing99/Site/FFT08.png","Won a Fugee at the Refuge Fall Fugees 2008"],
["132659","Fall Fugees 08","http://i104.photobucket.com/albums/m178/knightwing99/Site/FFT08.png","Won a Fugee at the Refuge Fall Fugees 2008"],
["132681","Fall Fugees 08","http://i104.photobucket.com/albums/m178/knightwing99/Site/FFT08.png","Won a Fugee at the Refuge Fall Fugees 2008"],
["132665","Fall Fugees 08","http://i104.photobucket.com/albums/m178/knightwing99/Site/FFT08.png","Won a Fugee at the Refuge Fall Fugees 2008"],
["132781","Fall Fugees 08","http://i104.photobucket.com/albums/m178/knightwing99/Site/FFT08.png","Won a Fugee at the Refuge Fall Fugees 2008"],
["132752","Fall Fugees 08","http://i104.photobucket.com/albums/m178/knightwing99/Site/FFT08.png","Won a Fugee at the Refuge Fall Fugees 2008"],
["132814","Fall Fugees 08","http://i104.photobucket.com/albums/m178/knightwing99/Site/FFT08.png","Won a Fugee at the Refuge Fall Fugees 2008"],
["132842","Fall Fugees 08","http://i104.photobucket.com/albums/m178/knightwing99/Site/FFT08.png","Won a Fugee at the Refuge Fall Fugees 2008"],
["132783","Fall Fugees 08","http://i104.photobucket.com/albums/m178/knightwing99/Site/FFT08.png","Won two Fugees at the Refuge Fall Fugees 2008"],
["132668","Fall Fugees 08","http://i104.photobucket.com/albums/m178/knightwing99/Site/FFT08.png","Won two Fugees at the Refuge Fall Fugees 2008"],
["132706","Fall Fugees 08","http://i104.photobucket.com/albums/m178/knightwing99/Site/FFT08.png","Won two Fugees at the Refuge Fall Fugees 2008"],
["132658","Fall Fugees 08","http://i104.photobucket.com/albums/m178/knightwing99/Site/FFT08.png","Won three Fugees at the Refuge Fall Fugees 2008"],
["132692","Winter Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/WFT09.png","Won a Fugee at the Refuge Winter Fugees 2009"],
["132794","Winter Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/WFT09.png","Won a Fugee at the Refuge Winter Fugees 2009"],
["132701","Winter Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/WFT09.png","Won a Fugee at the Refuge Winter Fugees 2009"],
["132666","Winter Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/WFT09.png","Won a Fugee at the Refuge Winter Fugees 2009"],
["132668","Winter Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/WFT09.png","Won a Fugee at the Refuge Winter Fugees 2009"],
["132681","Winter Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/WFT09.png","Won a Fugee at the Refuge Winter Fugees 2009"],
["132752","Winter Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/WFT09.png","Won a Fugee at the Refuge Winter Fugees 2009"],
["132763","Winter Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/WFT09.png","Won a Fugee at the Refuge Winter Fugees 2009"],
["132791","Winter Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/WFT09.png","Won a Fugee at the Refuge Winter Fugees 2009"],
["132817","Winter Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/WFT09.png","Won a Fugee at the Refuge Winter Fugees 2009"],
["132854","Winter Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/WFT09.png","Won a Fugee at the Refuge Winter Fugees 2009"],
["132720","Winter Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/WFT09.png","Won a Fugee at the Refuge Winter Fugees 2009"],
["132706","Winter Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/WFT09.png","Won two Fugees at the Refuge Winter Fugees 2009"],
["132781","Winter Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/WFT09.png","Won two Fugees at the Refuge Winter Fugees 2009"],
["132748","Winter Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/WFT09.png","Won two Fugees at the Refuge Winter Fugees 2009"],
["132653","Spring Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/SFT09.png","Won a Fugee at the Refuge Spring Fugees 2009"],
["132692","Spring Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/SFT09.png","Won a Fugee at the Refuge Spring Fugees 2009"],
["132666","Spring Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/SFT09.png","Won a Fugee at the Refuge Spring Fugees 2009"],
["132763","Spring Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/SFT09.png","Won a Fugee at the Refuge Spring Fugees 2009"],
["132854","Spring Fugees 09,"http://i104.photobucket.com/albums/m178/knightwing99/Site/SFT09.png","Won a Fugee at the Refuge Spring Fugees 2009"],
["132701","Spring Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/SFT09.png","Won a Fugee at the Refuge Spring Fugees 2009"],
["132752","Spring Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/SFT09.png","Won a Fugee at the Refuge Spring Fugees 2009"],
["132794","Spring Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/SFT09.png","Won a Fugee at the Refuge Spring Fugees 2009"],
["132706","Spring Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/SFT09.png","Won a Fugee at the Refuge Spring Fugees 2009"],
["132746","Spring Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/SFT09.png","Won a Fugee at the Refuge Spring Fugees 2009"],
["132748","Spring Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/SFT09.png","Won two Fugees at the Refuge Spring Fugees 2009"],
["132672","Spring Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/SFT09.png","Won two Fugees at the Refuge Spring Fugees 2009"],
["132668","Spring Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/SFT09.png","Won two Fugees at the Refuge Spring Fugees 2009"],
["132817","Spring Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/SFT09.png","Won two Fugees at the Refuge Spring Fugees 2009"],
["132879","Spring Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/SFT09.png","Won two Fugees at the Refuge Spring Fugees 2009"],
["132781","Spring Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/SFT09.png","Won three Fugees at the Refuge Spring Fugees 2009"],
["132748","Summer Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/SumFT09.png","Won a Fugee at the Refuge Summer Fugees 2009"],
["132687","Summer Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/SumFT09.png","Won a Fugee at the Refuge Summer Fugees 2009"],
["132666","Summer Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/SumFT09.png","Won a Fugee at the Refuge Summer Fugees 2009"],
["132794","Summer Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/SumFT09.png","Won a Fugee at the Refuge Summer Fugees 2009"],
["132812","Summer Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/SumFT09.png","Won a Fugee at the Refuge Summer Fugees 2009"],
["132813","Summer Fugees 09,"http://i104.photobucket.com/albums/m178/knightwing99/Site/SumFT09.png","Won a Fugee at the Refuge Summer Fugees 2009"],
["132651","Summer Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/SumFT09.png","Won a Fugee at the Refuge Summer Fugees 2009"],
["132659","Summer Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/SumFT09.png","Won a Fugee at the Refuge Summer Fugees 2009"],
["132692","Summer Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/SumFT09.png","Won a Fugee at the Refuge Summer Fugees 2009"],
["132752","Summer Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/SumFT09.png","Won a Fugee at the Refuge Summer Fugees 2009"],
["132802","Summer Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/SumFT09.png","Won a Fugee at the Refuge Summer Fugees 2009"],
["132714","Summer Fugees 09”,"http://i104.photobucket.com/albums/m178/knightwing99/Site/SumFT09.png","Won a Fugee at the Refuge Summer Fugees 2009"],
["132827","Summer Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/SumFT09.png","Won a Fugee at the Refuge Summer Fugees 2009"],
["132815","Summer Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/SumFT09.png","Won a Fugee at the Refuge Summer Fugees 2009"],
["132737","Summer Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/SumFT09.png","Won a Fugee at the Refuge Summer Fugees 2009"],
["132844","Summer Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/SumFT09.png","Won a Fugee at the Refuge Summer Fugees 2009"],
["132766","Summer Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/SumFT09.png","Won a Fugee at the Refuge Summer Fugees 2009"],
["132686","Summer Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/SumFT09.png","Won a Fugee at the Refuge Summer Fugees 2009"],
["3037802","Summer Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/SumFT09.png","Won a Fugee at the Refuge Summer Fugees 2009"],
["132656","Summer Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/SumFT09.png","Won two Fugees at the Refuge Summer Fugees 2009"],
["132817","Summer Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/SumFT09.png","Won two Fugees at the Refuge Summer Fugees 2009"],
["132668","Summer Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/SumFT09.png","Won two Fugees at the Refuge Summer Fugees 2009"],
["132696","Summer Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/SumFT09".png","Won two Fugees at the Refuge Summer Fugees 2009"],
["132794","Fall Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/FFT09.png","Won a Fugee at the Refuge Fall Fugees 2009 (don't ask about the picture >_>)"],
["132752","Fall Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/FFT09.png","Won a Fugee at the Refuge Fall Fugees 2009 (don't ask about the picture >_>)"],
["132654","Fall Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/FFT09.png","Won a Fugee at the Refuge Fall Fugees 2009 (don't ask about the picture >_>)"],
["132814","Fall Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/FFT09.png","Won a Fugee at the Refuge Fall Fugees 2009 (don't ask about the picture >_>)"],
["132720","Fall Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/FFT09.png","Won a Fugee at the Refuge Fall Fugees 2009 (don't ask about the picture >_>)"],
["132781","Fall Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/FFT09.png","Won a Fugee at the Refuge Fall Fugees 2009 (don't ask about the picture >_>)"],
["132692","Fall Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/FFT09.png","Won a Fugee at the Refuge Fall Fugees 2009 (don't ask about the picture >_>)"],
["132701","Fall Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/FFT09.png","Won a Fugee at the Refuge Fall Fugees 2009 (don't ask about the picture >_>)"],
["132812","Fall Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/FFT09.png","Won a Fugee at the Refuge Fall Fugees 2009 (don't ask about the picture >_>)"],
["132813","Fall Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/FFT09.png","Won a Fugee at the Refuge Fall Fugees 2009 (don't ask about the picture >_>)"],
["132678","Fall Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/FFT09.png","Won a Fugee at the Refuge Fall Fugees 2009 (don't ask about the picture >_>)"],
["132661","Fall Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/FFT09.png","Won a Fugee at the Refuge Fall Fugees 2009 (don't ask about the picture >_>)"],
["132689","Fall Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/FFT09.png","Won a Fugee at the Refuge Fall Fugees 2009 (don't ask about the picture >_>)"],
["132656","Fall Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/FFT09.png","Won two Fugees at the Refuge Fall Fugees 2009 (don't ask about the picture >_>)"],
["132696","Fall Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/FFT09.png","Won three Fugees at the Refuge Fall Fugees 2009 (don't ask about the picture >_>)"],
["132748","Fall Fugees 09","http://i104.photobucket.com/albums/m178/knightwing99/Site/FFT09.png","Won five Fugees at the Refuge Fall Fugees 2009 (don't ask about the picture >_>)"],
["132668","Winter Fugees 2010","http://i104.photobucket.com/albums/m178/knightwing99/Site/WFT10.png","Won a Fugee at the Refuge Winter Fugees 2010"],
["132737","Winter Fugees 2010","http://i104.photobucket.com/albums/m178/knightwing99/Site/WFT10.png","Won a Fugee at the Refuge Winter Fugees 2010"],
["132680","Winter Fugees 2010","http://i104.photobucket.com/albums/m178/knightwing99/Site/WFT10.png","Won a Fugee at the Refuge Winter Fugees 2010"],
["132701","Winter Fugees 2010","http://i104.photobucket.com/albums/m178/knightwing99/Site/WFT10.png","Won a Fugee at the Refuge Winter Fugees 2010"],
["132766","Winter Fugees 2010","http://i104.photobucket.com/albums/m178/knightwing99/Site/WFT10.png","Won a Fugee at the Refuge Winter Fugees 2010"],
["132656","Winter Fugees 2010","http://i104.photobucket.com/albums/m178/knightwing99/Site/WFT10.png","Won a Fugee at the Refuge Winter Fugees 2010"],
["132689","Winter Fugees 2010","http://i104.photobucket.com/albums/m178/knightwing99/Site/WFT10.png","Won a Fugee at the Refuge Winter Fugees 2010"],
["132678","Winter Fugees 2010","http://i104.photobucket.com/albums/m178/knightwing99/Site/WFT10.png","Won a Fugee at the Refuge Winter Fugees 2010"],
["132654","Winter Fugees 2010","http://i104.photobucket.com/albums/m178/knightwing99/Site/WFT10.png","Won a Fugee at the Refuge Winter Fugees 2010"],
["132714","Winter Fugees 2010","http://i104.photobucket.com/albums/m178/knightwing99/Site/WFT10.png","Won a Fugee at the Refuge Winter Fugees 2010"],
["132707","Winter Fugees 2010","http://i104.photobucket.com/albums/m178/knightwing99/Site/WFT10.png","Won a Fugee at the Refuge Winter Fugees 2010"],
["132696","Winter Fugees 2010","http://i104.photobucket.com/albums/m178/knightwing99/Site/WFT10.png","Won two Fugees at the Refuge Winter Fugees 2010"],
["132677","Winter Fugees 2010","http://i104.photobucket.com/albums/m178/knightwing99/Site/WFT10.png","Won two Fugees at the Refuge Winter Fugees 2010"],
["132781","Winter Fugees 2010","http://i104.photobucket.com/albums/m178/knightwing99/Site/WFT10.png","Won three Fugees at the Refuge Winter Fugees 2010"],
["132752","Winter Fugees 2010","http://i104.photobucket.com/albums/m178/knightwing99/Site/WFT10.png","Won three Fugees at the Refuge Winter Fugees 2010"],
["132701","Summer Fugees 2010","http://i104.photobucket.com/albums/m178/knightwing99/Site/SFT10.png","Won a Fugee at the Refuge Summer Fugees 2010"],
["3037802","Summer Fugees 2010","http://i104.photobucket.com/albums/m178/knightwing99/Site/SFT10.png","Won a Fugee at the Refuge Summer Fugees 2010"],
["132781","Summer Fugees 2010","http://i104.photobucket.com/albums/m178/knightwing99/Site/SFT10.png","Won a Fugee at the Refuge Summer Fugees 2010"],
["3064935","Summer Fugees 2010","http://i104.photobucket.com/albums/m178/knightwing99/Site/SFT10.png","Won a Fugee at the Refuge Summer Fugees 2010"],
["132814","Summer Fugees 2010","http://i104.photobucket.com/albums/m178/knightwing99/Site/SFT10.png","Won a Fugee at the Refuge Summer Fugees 2010"],
["132689","Summer Fugees 2010","http://i104.photobucket.com/albums/m178/knightwing99/Site/SFT10.png","Won a Fugee at the Refuge Summer Fugees 2010"],
["132656","Summer Fugees 2010","http://i104.photobucket.com/albums/m178/knightwing99/Site/SFT10.png","Won a Fugee at the Refuge Summer Fugees 2010"],
["132719","Summer Fugees 2010","http://i104.photobucket.com/albums/m178/knightwing99/Site/SFT10.png","Won a Fugee at the Refuge Summer Fugees 2010"],
["132737","Summer Fugees 2010","http://i104.photobucket.com/albums/m178/knightwing99/Site/SFT10.png","Won two Fugees at the Refuge Summer Fugees 2010"],
["132681","Summer Fugees 2010","http://i104.photobucket.com/albums/m178/knightwing99/Site/SFT10.png","Won two Fugees at the Refuge Summer Fugees 2010"],
["132696","Summer Fugees 2010","http://i104.photobucket.com/albums/m178/knightwing99/Site/SFT10.png","Won two Fugees at the Refuge Summer Fugees 2010"],
["187192","Summer Fugees 2010","http://i104.photobucket.com/albums/m178/knightwing99/Site/SFT10.png","Won two Fugees at the Refuge Summer Fugees 2010"],
["132668","Summer Fugees 2010","http://i104.photobucket.com/albums/m178/knightwing99/Site/SFT10.png","Won six Fugees at the Refuge Summer Fugees 2010"]
]
}
//]]>


this is whats in the board template:
Code:
 
<script type="text/javascript" src="http://z2.ifrm.com/10710/132/0/p1011771/FugeesBadges2.js"></script>

<script type="text/javascript" src="http://z2.ifrm.com/10710/132/0/p1011769/Code.js"></script>


Please help X_X this took hours to make @_@

oh, and I used the code that accounts for not entering a piece of the award information as supplied at the top of this page cuz I didn't want the date on them

Quote Post Goto Top
 
Viral
Member Avatar
Viral
[ *  *  *  *  *  * ]
Remove the very first line in the first script (the <script etcetc>).
Offline Profile Quote Post Goto Top
 
Deleted User
Deleted User

Viral.
Jul 5 2010, 06:34 PM
Remove the very first line in the first script (the <script etcetc>).
I removed the script line (I cant believe I missed that XD) and reuploaded it but its still not working :/ I'm also having an issue with my board not taking updates to custom profile fields though right now, could they possibly be related? The rest of the code looks like it should work...
Quote Post Goto Top
 
Viral
Member Avatar
Viral
[ *  *  *  *  *  * ]
Remove all the other codes and see if it works, then readd the others.
Offline Profile Quote Post Goto Top
 
Deleted User
Deleted User

Viral.
Jul 5 2010, 07:05 PM
Remove all the other codes and see if it works, then readd the others.
Did that already :/

I figured out the profile field thing though, it just wasn't letting me edit for the admin only edits

But I'm wondering if I'm having a problem uploading the new code maybe? The file says that its 19.0kb but when I upload it it goes to 19.07kb I've never noticed before if theres any add to the file size

Also, it works still as just putting in the code normally but again its too many characters not to use the .js

Quote Post Goto Top
 
Viral
Member Avatar
Viral
[ *  *  *  *  *  * ]
Not sure what you mean, if you do it without hosting, does it work?
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
ZetaBoards - Free Forum Hosting
Create a free forum in seconds.
Go to Next Page
« Previous Topic · ZetaBoards Codes & Modifications · Next Topic »
Add Reply