| 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: |
| Advanced Award System v1.0; with tooltips | |
|---|---|
| Tweet Topic Started: Nov 7 2009, 01:20 PM (46,967 Views) | |
| Viral | Nov 7 2009, 01:20 PM Post #1 |
![]()
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:
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
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.
|
![]() |
|
| Replies: | |
|---|---|
| Ithens | Jan 23 2012, 03:27 PM Post #286 |
|
Member
![]() ![]() ![]()
|
Now Ya Talkin! Thanks alot, Working, Sorry for being such a Pain In The A-hole Nub....:P |
![]() |
|
| AnneFrank | Apr 16 2012, 03:18 AM Post #287 |
|
Member
![]() ![]() ![]()
|
Recently Iupdated the medals..but it stopped working..
http://s1.zetaboards.com/True_Ownage/index/ Edited by AnneFrank, Apr 16 2012, 05:28 AM.
|
![]() |
|
| Cory | Apr 16 2012, 09:31 AM Post #288 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Try that instead, you need a comma after every line except the last, and you forgot a starting bracket. |
![]() |
|
| AnneFrank | Apr 16 2012, 05:01 PM Post #289 |
|
Member
![]() ![]() ![]()
|
thanks cory |
![]() |
|
| ApexPalace | Apr 17 2012, 03:51 PM Post #290 |
![]()
I'm a newb.
![]() ![]() ![]() ![]()
|
I have question/picture. How do I make the bar below orange? ![]() ![]() Total Drama Forums |
![]() |
|
| Cory | Apr 17 2012, 04:05 PM Post #291 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Find the hr strip in your CSS and change the hex codes to #E77700 to make the thin line orange. Add , div[id*="tooltip"] th after the following line to make the blue title bar orange.
|
![]() |
|
| ApexPalace | Apr 17 2012, 04:18 PM Post #292 |
![]()
I'm a newb.
![]() ![]() ![]() ![]()
|
Thanks Cory!
|
![]() |
|
| ApexPalace | Apr 23 2012, 08:07 PM Post #293 |
![]()
I'm a newb.
![]() ![]() ![]() ![]()
|
I can't get it to work: My forum is: http://w11.zetaboards.com/Total_Drama_Forums/index/ Edited by ApexPalace, Apr 23 2012, 08:17 PM.
|
![]() |
|
| Cory | Apr 23 2012, 08:13 PM Post #294 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
You need a comma after every line except the last:
|
![]() |
|
| ApexPalace | Apr 23 2012, 08:17 PM Post #295 |
![]()
I'm a newb.
![]() ![]() ![]() ![]()
|
Right. Thank you. |
![]() |
|
| Cheesy Kaastengel | Apr 26 2012, 03:41 AM Post #296 |
|
Member
![]() ![]() ![]()
|
Can I get a help with this? So the the js is working when I put it in the below the board box, but it's too much so I upload it using the upload manager to this : http://z4.ifrm.com/30100/30/0/f5256305/AHbadge.js But somehow I can't make it works ETA : Oh no, nvm, found out that i shouldn't use the <script> anymore I edit that but it still won't work, why? http://z4.ifrm.com/30100/30/0/f5256309/AHBadgesNew.js Edited by Cheesy Kaastengel, Apr 26 2012, 12:13 PM.
|
![]() |
|
| Cory | Apr 26 2012, 02:49 PM Post #297 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
You forgot a quotation mark after both of those text selections. |
![]() |
|
| Cheesy Kaastengel | Apr 27 2012, 04:01 AM Post #298 |
|
Member
![]() ![]() ![]()
|
nvm orz; I guess I need to wait a bit before refreshing the page. Thank you so much
Edited by Cheesy Kaastengel, Apr 27 2012, 04:14 AM.
|
![]() |
|
| Ferby | May 25 2012, 06:45 PM Post #299 |
![]()
Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
This should be added to the AiO tbh, the codes brilliant but it takes up way to much room on my forum. If it was in the AiO it wouldnt and plus it'll be easier to use |
![]() |
|
| Cory | May 25 2012, 07:05 PM Post #300 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
You can host the first portion externally, just like the second portion is hosted. |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| Go to Next Page | |
| « Previous Topic · ZetaBoards Codes & Modifications · Next Topic » |
| Track Topic · E-mail Topic |
4:29 AM Jul 11
|




![]](http://b1.ifrm.com/0/1/0/p601690/pipright.png)
.







4:29 AM Jul 11