#1
|
||||
|
||||
Profile Add-Ons :3
Right! So I made a useful script! It's just a few minor profile add-ons Stuff like:
-Your Gender (dur) -Your Nickname (helpful!) -Your Favorite Color (RAINBOW *shot*) -A bio! YAY! -Your favorite adoptable! -A small bio for your favorite adoptable! So now to get this stuff installed we start by adding in the tables! Go to the user table and add in these at the bottom: profile varchar(500) utf8_general_ci Null color varchar(20) utf8_general_ci Null about varchar(200) utf8_general_ci Null favpet int(11) Null gender varchar(10) utf8_general_ci not null Unknown (<--that's the 'not null' part :3) nickname varchar(40) utf8_general_ci Null Now we go to opening up the 'register.php' (do that now *sits and waits* done? Okay!) Now go down and find something like this: PHP Code:
Code:
, '', '', '', '', 'Unknown', '' All good? Okay! Now that just made it so people can register properly. We don't want that messed up D: Now we should edit this information, why show it when we can't edit it? Now open up your Account.php Go fine (yours will be different!): PHP Code:
Code:
<br> <a href='account.php?act=moreprofile'>More Profile Settings</a> Now scroll down and find this: PHP Code:
PHP Code:
Now go open up accountpost.php, we need to actually have this work! Go find: PHP Code:
PHP Code:
Go find something like this: PHP Code:
PHP Code:
PHP Code:
PHP Code:
Now I think (hope) that's it! Have fun with your new features! :3
__________________
"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 Last edited by PTGigi; 02-17-2011 at 02:49 PM. Reason: script change |
#2
|
||||
|
||||
Lovely, thank you for posting this Gigi. ^^ I am sure lots of users will find it useful, I will probably include this in Mys version 1.20 if you dont mind.
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#3
|
||||
|
||||
Orly? That'd be awesome I didn't think I'd make anything script worthy to throw into the main release Thank you!
__________________
"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 |
#4
|
||||
|
||||
Well I will consider this, you will definitely be credited if it happens. It is the entire dev staff team's decision on what scripts to add into next release though. ^^
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#5
|
||||
|
||||
Of course! If you guys randomly decide yes I'm happy to let it be in future releases
Now that makes me want to finish my avatar and points codes X3 (not a picture avatar like on here, sort like a human avatar for yourself that you can edit and such with different clothing, etc and the points thing is like...*thinks of example* like those points in Pokemon Mystery Dungeon where you get stuff if you level-up but it can never go down )
__________________
"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
|
||||
|
||||
Alright, I will let you know then Gigi.
Actually I was thinking about the idea of trainer class, in which you can make yourself a specific type of trainer such as firebreather, swimmer, shocker, flowergirl in Pokemon series. The adoptables can have various elements too, and different trainer classes specialize different elements of adoptables. In Pokemon, for instance, a firebreather's fire type pokemon grows faster and stronger, while his water type pokemon does not have the same luck. It is pretty much like a job system for MMORPGs. XD
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#7
|
||||
|
||||
Quote:
Nice codes Gigi BTW. I tried it out on mm2 and it was cool. |
#8
|
||||
|
||||
Oh that's cool! I came up with mine because...well IDK I just randomly thought of it, drew a human sketch, failed at the legs for an hour or so and finally decided the peeps will be Saytaurs but rather than goats they'll be Pokemon. And depending on your rank (the points) you get different add-ons and such. And maybe some random special effect for Pokemon of the same species as your choice I haz very random ideas. And it was going to be Flash based for animation, plus I want to learn how to combine Flash and PHP because I know you can But that'll be awhile
Derp, and since I just thought of this, if people want an idea of how to set things up (since I said I wasn't going to bother to explain tables X3) here's a sample of how it might look: http://mm2plus.com/profile.php?user=Pokemontrainergigi (peeps please don't join until I open the site X3 Only those who get my okay can join beforehand and will do beta tester stuff when I get some locations and features for you to test ) EDIT: CHRIS YOU NINJA D:< Naw jk :P Lol yus your profile is nice X3 Thanks :3
__________________
"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 |
#9
|
||||
|
||||
Quote:
Anyway this is Gigi's profile addon thread, so we better leave this discussion elsewhere. Again nice job on it Gigi!
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#10
|
||||
|
||||
Guys a change was made so if you're using this please add in this new edit It's not much, just a drop-down menu that allows the user to use ONLY their own adoptables.
The "Pet Spotlight Details" and replace entirely with this: PHP Code:
__________________
"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 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Profile Bio Box | Kyttias | Questions and Supports | 4 | 12-22-2014 10:55 PM |
Profile Pictures >.< | parayna | Questions and Supports | 2 | 12-18-2014 09:49 AM |
A Little Problem with the Profile | Abronsyth | Questions and Supports | 1 | 01-29-2013 06:38 PM |
Error with profile.php | Aasixx | Questions and Supports | 5 | 10-20-2012 06:08 PM |
Last 10 visitors to your profile! | Hall of Famer | Other Chat | 8 | 01-21-2011 05:20 PM |
What's New? |
What's Hot? |
What's Popular? |