![]() |
#1
|
|||
|
|||
![]()
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 |
#2
|
||||
|
||||
![]()
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.
|
#3
|
|||
|
|||
![]()
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 |
#4
|
|||
|
|||
![]()
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:
|
#5
|
|||
|
|||
![]()
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:
|
#6
|
|||
|
|||
![]()
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 |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to edit both menu's? | Skaiya | Questions and Supports | 6 | 04-01-2014 03:03 PM |
How to edit Side Bar? | Abronsyth | Questions and Supports | 6 | 12-11-2012 04:09 PM |
My art edit | solskenn | Art Gallery | 6 | 04-03-2012 09:58 PM |
Cant edit levels... | kristhasirah | Questions and Supports | 3 | 09-11-2011 06:01 PM |
Where to edit content and side-menu? [Answered] | Quillink | Questions and Supports | 2 | 06-04-2009 03:26 PM |
What's New? |
What's Hot? |
What's Popular? |