| 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,974 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: | |
|---|---|
| ssaa911 | Dec 5 2010, 11:50 AM Post #181 |
|
Member
![]() ![]() ![]()
|
How do you upload this? In Edit Board Template? Or do you make a file and upload that to somewhere? |
![]() |
|
| Pando | Dec 5 2010, 11:52 AM Post #182 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Copy and paste it into the Board Template (Below the Board section). Viral is hosting the file on his board
Edited by Pando, Dec 5 2010, 11:52 AM.
|
![]() |
|
| ssaa911 | Dec 5 2010, 11:53 AM Post #183 |
|
Member
![]() ![]() ![]()
|
Thanks. I know there is something I'm screwing up.
|
![]() |
|
| Quozzo | Dec 5 2010, 01:23 PM Post #184 |
|
By the blood of Sanguinius!
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
You need to delete the unused lines, so in the example above:
and have the last line with no comma! Edited by Quozzo, Dec 5 2010, 01:24 PM.
|
![]() |
|
| ssaa911 | Dec 5 2010, 01:49 PM Post #185 |
|
Member
![]() ![]() ![]()
|
Oh yes! Wonderful, thank you very much both of you for your help and Viral for designing and hosting it.
|
![]() |
|
| Anime_Home_-ZNR | Dec 10 2010, 07:47 AM Post #186 |
![]()
Anime_Home_
![]() ![]() ![]() ![]() ![]()
|
It seems the code is not working for me, I put the following code in the Below the Board under Board Template section of the ACP.
Board URL: http://s3.zetaboards.com/LiminalityHouse/index/ Testing on user Yami Edited by Anime_Home_-ZNR, Dec 10 2010, 07:48 AM.
|
![]() |
|
| Quozzo | Dec 10 2010, 10:00 AM Post #187 |
|
By the blood of Sanguinius!
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
put the awards mod above the "User Info on Top Code" and that should work
|
![]() |
|
| Anime_Home_-ZNR | Dec 10 2010, 05:26 PM Post #188 |
![]()
Anime_Home_
![]() ![]() ![]() ![]() ![]()
|
Thanks a lot |
![]() |
|
| Nimor | Dec 16 2010, 12:44 PM Post #189 |
![]()
Fireman
![]() ![]() ![]() ![]() ![]() ![]()
|
This finally worked for me! Thanks Quozzo! |
![]() |
|
| F1p-ZNR | Dec 27 2010, 12:14 PM Post #190 |
|
Member
![]() ![]() ![]()
|
Would there be a quick way of adding all members an award? For example, a Holiday Icon for Christmas, Adding an award to all members without going through one-by-one and adding? |
![]() |
|
| Viral | Dec 27 2010, 12:30 PM Post #191 |
![]()
Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Not in this version, no. I may add something similar in the future. |
![]() |
|
| unlikely | Jan 23 2011, 06:05 PM Post #192 |
|
Squeeze Me for Epic Sauce!
![]() ![]() ![]()
|
Hi there. what can I add to my code to insert a line break after the "Awards" name? Prev: http://s4.zetaboards.com/Forgotten_Eden/topic/8343207/1/ |
![]() |
|
| Xero | Jan 23 2011, 07:19 PM Post #193 |
![]()
Member
![]() ![]() ![]() ![]() ![]() ![]()
|
Add this after Viral's award code.
|
![]() |
|
| unlikely | Jan 23 2011, 10:54 PM Post #194 |
|
Squeeze Me for Epic Sauce!
![]() ![]() ![]()
|
Didn't work. :/ Thanks for trying tho. Any other ideas? X3
Edited by unlikely, Jan 23 2011, 10:59 PM.
|
![]() |
|
| Xero | Jan 23 2011, 11:11 PM Post #195 |
![]()
Member
![]() ![]() ![]() ![]() ![]() ![]()
|
Put the code I gave you at the very bottom of the Below the board text box. The thing is, Viral's code comes in 2 parts. The first part is the one you edit a bunch. The second part is a small code but it's linked to the bulk of the script. You placed the code after the first part but before the second part. It needs to be after both.
|
![]() |
|
| 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