|
#1
|
||||
|
||||
User Points & Ranks/Levels
User points and Ranks~
This mod will give users another form of "points" to collect. The more points you have, the higher your User Rank will be. Points can be collected by leveling your own or other people's adoptables. First, enter the MySQL Database. Under "_users", add another column at the bottom that looks like this: Code:
Field: Type: Null: points int(20) Yes Find the code that looks somewhat like this: (Mine will probably be a little different than yours) PHP Code:
Once you've changed that, go to levelup.php. Now find where it says: PHP Code:
PHP Code:
(You can also make it so that users earn points by logging in, posting in the shoutbox, viewing pages, when sending PM's, etc. Maybe later I'll add to this profile saying how to add those stuff as well. ) After that, open up profile.php. Find where is says this: PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
Aaand... That's about it! This was my first Mod, so sorry about it not being a big one. Hopefully once I get better at PHP, my Mods will also get bigger and better. |
#2
|
|||
|
|||
I don't know why I haven't thought of this yet.
This is awesome! |
#3
|
||||
|
||||
This looks really nice Sasoragon, glad to see you are making quality PHP scripts now. ^^ Keep this up and you may receive Premium Membership soon.
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#4
|
||||
|
||||
D'aww, thanks Fadill, Hoffie.
This idea randomly popped into my head when I was (supposed to be) studying yesterday. I thought it would make a cool feature, so I decided to test out coding it. |
#5
|
||||
|
||||
Oh hey MM2+ has something like this already Lol same field name too X3
__________________
"I see now that the circumstances of one's birth are irrelevant; it is what you do with the gift of life that determines who you are."~Mewtwo My Adoptables|Nuzlocke Webcomic |
#6
|
||||
|
||||
Quote:
Nice mod, I'll use it, if I can find a possible use for it on my site. xD /shot
__________________
Yacker Quote:
|
#7
|
|||
|
|||
how to have the point obtained is for the owner of adoptable
|
#8
|
||||
|
||||
I wouldn't like that. Then some people would make their adoptable give someone 1 point and then another adoptable they might make it 7 points. Plus that's a bit too much customization for your adopts to me.
|
#9
|
|||
|
|||
with a simple program you get all possible experience, that's why I liked that the clicker earn points, but in the end and solve it ^ ^
|
#10
|
||||
|
||||
Gigi - GREAT MINDS THINK ALIKE?
And yus, thanks TCK. I managed to delete it. Sensa - I don't quite understand what you mean. The points are obtained by clicking adoptables. :3 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
game for points | Nemesis | Suggestions and Feature Requests | 3 | 10-24-2013 01:29 AM |
levels | exdiogene | Questions and Supports | 6 | 10-11-2009 07:04 AM |
Experience points | SleepWalker | Suggestions and Feature Requests | 2 | 08-20-2009 12:39 PM |
Max levels again | LilPixie | Questions and Supports | 14 | 07-22-2009 08:39 AM |
Adopted by certain user levels... | densaugeo | Questions and Supports | 11 | 04-21-2009 04:33 PM |
What's New? |
What's Hot? |
What's Popular? |