#1
|
|||
|
|||
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! |
#2
|
|||
|
|||
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 |
#3
|
|||
|
|||
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: But I want to see, for example: User X - Pet Y - Votes From: ip1, ip2, ip3, etc. or something like that... |
#4
|
|||
|
|||
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.
|
#5
|
|||
|
|||
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 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Adopt pages, and general adopt/index page :L | blondbananamix | Questions and Supports | 26 | 07-22-2011 12:12 PM |
2 - column on Adopt page and my Adopt page? | SieghartZeke | Questions and Supports | 2 | 10-12-2009 02:58 PM |
Adopt Problem | SJC | Questions and Supports | 17 | 04-19-2009 04:42 PM |
What's New? |
What's Hot? |
What's Popular? |