![]() |
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. :meow: First, enter the MySQL Database. Under "_users", add another column at the bottom that looks like this: Code:
Field: Type: Null: 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. :happycbig: 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. :jay: ) 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. :ti: |
I don't know why I haven't thought of this yet.
This is awesome! |
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.
|
D'aww, thanks Fadill, Hoffie. :smile:
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. :colonu: |
Oh hey MM2+ has something like this already :meow: Lol same field name too X3
|
Quote:
Nice mod, I'll use it, if I can find a possible use for it on my site. xD /shot |
how to have the point obtained is for the owner of adoptable
|
Gigi - GREAT MINDS THINK ALIKE? :angrygrin:
And yus, thanks TCK. I managed to delete it. :jay: Sensa - I don't quite understand what you mean. The points are obtained by clicking adoptables. :3 |
Quote:
|
Quote:
|
@SASO-OF COURSE, THIS HAS BEEN PROVE ALREADY :madnoes: MAYBE OUR SIGS HERE SHOULD--Naw, MA sig is enough :OHSHITALION: GO PINEAPPLE AND HAVE FUN CODING STUFF :colonu:
|
YAY smile
This is going to be very helpful to me in the future. ^^ I would love if you could also explain how to give users points by logging in such. :9 Ilu~ |
All times are GMT -5. The time now is 03:55 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.