Edit No Name ??[Answered]
If a member chooses not to name there adoptable when adopting it, the script will just name it what name to creator gave it.
Is there any way to change it so that if a member adopts something but doesnt name it, it give it a defualt name of something like "Egg" ?? Thanks |
RE: Edit No Name ??
In my install, it automatically gives it the name of the pet species, if there isn't a name inputted. I guess you could add, on the doadopt, something, but I'm too busy now. xD Good luck.
|
RE: Edit No Name ??
Thanks for the reply Arianna :)
In my install it also give it the name of the species, but thats what i want to change, if no name is inputted i want it to be called something like "Egg" instead of the species. Thanks again |
RE: Edit No Name ??
On your doadopt.php it should contain a section of code that says if the name is ' ' (blank) the name = type of adoptable, like this:
PHP Code:
|
RE: Edit No Name ??
alright in your doadopt.php file around line 129 is this:
PHP Code:
You should change $type to whatever you want Example: PHP Code:
Quote:
|
RE: Edit No Name ??
I am sure i tried this and it didnt work...but it worked perfectly, thank you both :)
I think i might have missed out the "" around the word egg :s |
All times are GMT -5. The time now is 12:51 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.