Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Questions and Supports (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=18)
-   -   Change promocode private message (http://www.mysidiaadoptables.com/forum/showthread.php?t=3816)

dulop 09-03-2012 10:50 PM

Change promocode private message
 
Hello! I want to change the message that SYSTEM sends to you when you win a promocode.

The default is:

Quote:

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

Quote:

Originally Posted by Hall of Famer (Post 24634)
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

Quote:

Originally Posted by Derpstra (Post 24638)
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 ^^ !!!!


All times are GMT -5. The time now is 05:23 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.