![]() |
A modification
First, sorry for my bad english....
In this moment when i vote one adoptable i get money. The modification that i want do is, when someone vote my adoptable I get the money. I only know a little PHP if someone can show me how do it... Thank you so much. |
Please.. Nobody can help me :cfrown:
|
So instead of members receiving money when they level up an adopt you want the person who's adopt is clicked to get the money? Or both?
|
Umm this should be quite simple php programming. What I'd do is to edit the levelup.php file and find the line where money is added to users. If I recall, the user is specified to be $loggedinname, which corresponds to the one who click on adoptables. All that needs to b done is to change this variable to the actual owner of the pet getting clicks. Lemme know if this is helpful or not, if you really ain't comfortable with php I can show you a sample Php code on how to make such modification.
|
Quote:
Quote:
Code:
if($owned_adoptable['isfrozen'] == "no"){ |
Well I would do the following changes:
PHP Code:
|
WOW it work perfectly!!! Thank you!!!:smile:
|
You are very welcome, glad it works for you.
|
All times are GMT -5. The time now is 06:02 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.