![]() |
lvl up and adopt problem...
How can I make a "pet" to level up ONLY if someone visits the link? I mean to remove the level up from when a registered user visits the link? because now if someon visits the link gives 1 point, and if that same persson registers and visit the same link, gives another point in the same day ^^
And the second question, how can I force users to adopt only one pet per account? I fount this thread: http://www.rusnakweb.com/forum/showthread.php?tid=1177 but I cannot find the specific code in the functions.php page to edit. And is there a way to see every users visiotrs? I mean the ip-s that clicked on his pet's page? to prevent proxy fraud? thanks! |
RE: lvl up and adopt problem...
Ok, to allow only one pet per account, in inc > functions.php find:
PHP Code:
PHP Code:
Also, as far as viewing the detailed info about who clicked what, you can do this in PHPMyAdmin by looking at the adopts_vote_voters table, which lists all votes by username or IP address and which adoptable they voted for. Hope this helps, Brandon |
RE: lvl up and adopt problem...
Thank you!
The info was very helpful. But about what ip voted for someones pet I cant figure it out :( where to see them in myadmin? If I click that table I get this: http://img142.imageshack.us/img142/3263/myadmin.jpg But I want to see, for example: User X - Pet Y - Votes From: ip1, ip2, ip3, etc. or something like that... |
RE: lvl up and adopt problem...
click on the browse tab next to structure. If there's a red x when you hover over the tab it means that there's no data there and the table is currently empty.
|
RE: lvl up and adopt problem...
Run the following SQL query on your database to view the data:
Code:
SELECT * FROM adopts_vote_voters Brandon |
All times are GMT -5. The time now is 08:43 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.