View Single Post
  #5  
Old 12-02-2009, 04:25 PM
Fireballchad Fireballchad is offline
Member
 
Join Date: Aug 2009
Posts: 49
Credits: 8,458
Fireballchad
Default RE: Edit No Name ??

alright in your doadopt.php file around line 129 is this:
PHP Code:
if($name == ""){
$name $type;


You should change $type to whatever you want
Example:
PHP Code:
if($name == ""){
$name "Egg";

You need the "" in order for it to work :D cheers let me know if this helps![hr]
Quote:
Originally Posted by Haylzee
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:
// First we see if we have a custom name.
// If not, we use the default name

if($name == ""){
$name $type;

I think you could just change $type; to "egg"; and it would work?
Yay for posting at the same time basicly :) lol
Reply With Quote