| 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,964 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: | ||||
|---|---|---|---|---|
| Kankuro | Feb 28 2014, 09:04 PM Post #331 | |||
|
かんくろ
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Nothing?
Edited by Kankuro, Feb 28 2014, 09:04 PM.
|
|||
![]() |
|
|||
| its kimi | Mar 19 2014, 06:22 AM Post #332 | |||
|
Member
![]() ![]() ![]()
|
Fixed. Edited by its kimi, Mar 19 2014, 06:24 AM.
|
|||
![]() |
|
|||
| beastboybrown | Nov 19 2014, 01:45 PM Post #333 | |||
![]()
Member
![]() ![]() ![]() ![]()
|
Im still lost on this
|
|||
![]() |
|
|||
| Dark Shadow 6 | Nov 19 2014, 11:52 PM Post #334 | |||
![]()
Member
![]() ![]() ![]() ![]()
|
Great code working perfectly | |||
![]() |
|
|||
| Viral | Nov 20 2014, 09:56 PM Post #335 | |||
![]()
Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
See Kankuro's post on the previous page. |
|||
![]() |
|
|||
| beastboybrown | Dec 2 2014, 08:11 PM Post #336 | |||
![]()
Member
![]() ![]() ![]() ![]()
|
Did this one now.... Still nothing. |
|||
![]() |
|
|||
| Sosuke Aizen | Dec 9 2014, 12:13 AM Post #337 | |||
![]()
Member
![]() ![]() ![]() ![]()
|
Is it possible to have the Awards stack in rows like this instead of this? | |||
![]() |
|
|||
| jragonizer | Feb 28 2015, 02:44 AM Post #338 | |||
![]()
Member
![]() ![]() ![]() ![]()
|
So our awards system has almost 4,500 lines and hundreds of images. I'm thinking of switching to a CSS Sprite map because it's so big and is lagging the board. I figured out (on my own so be proud) that I could reupload the TooltipAwards.js file and switch anywhere it says img with div and anywhere it says src with class. I can then just place the class of the image from the CSS Class I made in the theme, and put it where the image link would go. HOWEVER the thumbnail part of the code doesn't work. Any idea how to solve this? (also, I'm having the same issue as the above commenter) Thanks in advance ![]() please respond soon |
|||
![]() |
|
|||
| FB92 | Aug 21 2015, 05:38 PM Post #339 | |||
![]()
Member
![]() ![]() ![]() ![]()
|
Does anyone else get the issue where the signature overlaps the tooltips? | |||
![]() |
|
|||
| Sheyney Fox | Oct 3 2015, 12:58 AM Post #340 | |||
|
Member
![]() ![]() ![]() ![]()
|
I want the awards to be separate, can someone help me with this please?
I added another star to the profile field and it is not lining up, can this be fixed?
|
|||
![]() |
|
|||
| Darth Karzahni | Dec 15 2015, 09:25 PM Post #341 | |||
![]()
Member
![]() ![]() ![]()
|
The system stops working when one member gets over 35 awards. Can this be fixed? | |||
![]() |
|
|||
| zbug | Dec 23 2015, 08:46 AM Post #342 | |||
![]()
Galaxy Friend
![]() ![]() ![]() ![]() ![]()
|
I'm having this issue ![]() and wondering if there was a way to remove out of the top box. Edited by zbug, Dec 23 2015, 08:46 AM.
|
|||
![]() |
|
|||
| DaPizzaMan | Dec 23 2015, 08:59 AM Post #343 | |||
![]()
#TeamSupport
![]()
|
We would need to see your code. A link to your board would help since I don't think that should be happening. |
|||
![]() |
|
|||
| zbug | Dec 23 2015, 02:14 PM Post #344 | |||
![]()
Galaxy Friend
![]() ![]() ![]() ![]() ![]()
|
lnlforums.com @ Adian
|
|||
![]() |
|
|||
| DaPizzaMan | Dec 23 2015, 03:58 PM Post #345 | |||
![]()
#TeamSupport
![]()
|
Since I can't view your board, I created an account under the name DPM. | |||
![]() |
|
|||
| 1 user reading this topic (1 Guest and 0 Anonymous) | ||||
![]() Our users say it best: "Zetaboards is the best forum service I have ever used." Learn More · Register Now |
|
| 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