PDA

View Full Version : Change promocode private message


dulop
09-03-2012, 10:50 PM
Hello! I want to change the message that SYSTEM sends to you when you win a promocode.

The default is:

You have received a reward!
_______________________________

Congratulations! You have received a reward because one of your adoptables leveled up and the site admin has chosen to reward you for this.<br /><br /> <b><u>Your reward is the following promo code:</u></b> oeri3fj576<br /><br /> You may use this promo code on the <a href='promo.php?promocode=oeri3fj576'>Promo Code Page</a> to receive a special exclusive or limited edition adoptable!<br /><br /> Congratulations on your reward!

Where can i change this?

Thanks you :D

Hall of Famer
09-04-2012, 12:35 PM
Well in your functions.php file, find the function getpostbar() and remove the lines that contain secure() method. This should resolve your problem.

dulop
09-04-2012, 06:00 PM
Well in your functions.php file, find the function getpostbar() and remove the lines that contain secure() method. This should resolve your problem.
Thanks for the help, but i want to change the text that the mp says. I want to traslate to Spanish!

By the way, y searched for the getpostbar function but i dont know what lines i have to remove!

Very Thanks you

Nemesis
09-04-2012, 09:22 PM
search through all the php files have fun lol.. but that's what I do. Good to get acquainted with the script.

dulop
09-05-2012, 12:24 AM
Hall of famer you dont know in wich php file are the text?

Derpstra
09-06-2012, 12:50 PM
1. Go to the folder titled functions.
2. Click on functions_adopts.php and edit.
3. Find the section that starts with function reward($id, $type, $currentlevel, $owner) {.
4. The text you want to change will be under if($rewarduser == "yes" and $promocode != "") {.

dulop
09-06-2012, 09:04 PM
1. Go to the folder titled functions.
2. Click on functions_adopts.php and edit.
3. Find the section that starts with function reward($id, $type, $currentlevel, $owner) {.
4. The text you want to change will be under if($rewarduser == "yes" and $promocode != "") {.
Thanks ^^ !!!!