![]() |
Home Community Mys-Script Creative Off-Topic |
|
![]() |
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
![]()
1.) How would I go about changing the gender from being random to them being able to choose it? I'd like a drop-down option if possible.
2.) How can I get rid of the 'Breeding' link? I've searched every template and basic layout script I could think of but can't find it. 3.) How would I change the alternate image from being random to them being able to choose it? 4.) How can I change the impounding option back to simple deletion? I'll be looking for how to do this as I await an answer. This is for my Pokemon trading site, which isn't quite an adoptable site- people will be able to put Pokemon they may have up for trade in their owned games with a price and whatnot listed, so they'll need to be able to choose color and gender. |
#2
|
|||
|
|||
![]()
1.) Requires modification
2.) Delete the row from the database. It's in the prefix_links table 3.) Definitely needs a mod, not sure how hard it is 4.) Open your myadopts.php find PHP Code:
PHP Code:
|
#3
|
|||
|
|||
![]()
Thanks! :D
|
#4
|
||||
|
||||
![]()
Well actually you can delete the breeding navlink from admin control panel. Also to answer your first question, this can be done easily be modifying adopt.php and doadopt.php slightly. There is a line that generates random gender in doadopt.php, delete it and add a dropdown gender selection script to adopt.php. This can be done with PHP forms, use $_Post in doadopt.php at the beginning of script to get the selected gender from adopt.php. This way you make gender selectable rather than random.
__________________
![]() Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#5
|
|||
|
|||
![]() Quote:
I've used $gender = $_POST["gender"]; and the same thing with GET instead of post, in a few different sections, including right underneath $id = $_GET["id"]; $promocode = $_GET["promocode"]; $name = $_GET["name"]; I've also changed the form action to 'post' instead of 'get', but nothing is working. Where should I put it? |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
More Questions ^^'' | Brookreed | Questions and Supports | 4 | 08-08-2013 05:06 PM |
Just some Questions i have. | rickasawr | Questions and Supports | 3 | 04-30-2011 11:04 PM |
Some Questions? :) | blondbananamix | Questions and Supports | 10 | 04-25-2011 01:47 PM |
two questions | RoconzaArt | Questions and Supports | 10 | 02-24-2011 09:15 AM |
Some questions | PokePets | Questions and Supports | 7 | 07-15-2010 03:04 PM |
What's New? |
What's Hot? |
What's Popular? |