Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 04-11-2009, 07:49 PM
aroymart aroymart is offline
Member
 
Join Date: Jan 2009
Posts: 74
Credits: 6,587
aroymart
Default is there anyway to find out how many times someone has clicked adoptables?

is there anyway to find out how many times someone has clicked adoptables throughout there entire time being signed up? if so a "shop" wouldn't be hard couldn't you just put something like

PHP Code:
if ($clicks >= 100)
{
??????

[/php]
without having to access the mySQL, i can't access it myself
Reply With Quote
  #2  
Old 04-11-2009, 08:00 PM
BMR777 BMR777 is offline
Member
 
Join Date: Jan 2011
Posts: 1,122
Gender: Male
Credits: 11,172
BMR777 is on a distinguished road
Default RE: is there anyway to find out how many times someone has clicked adoptables?

You could do:

PHP Code:
$query "SELECT * FROM vote_voters WHERE username = '$username'";
$result mysql_query($query);
$num mysql_numrows($result); 
The number of times a user clicked on ANY adoptable EVER will be stored in $num. :)

Brandon
Reply With Quote
  #3  
Old 04-11-2009, 08:14 PM
aroymart aroymart is offline
Member
 
Join Date: Jan 2009
Posts: 74
Credits: 6,587
aroymart
Default RE: is there anyway to find out how many times someone has clicked adoptables?

sweet so that means we can include badges,special adoptables,and unlockables! this is going to bring a whole new wave of scripts!!!!


how would i do this? like this?

PHP Code:
if ($num <= 100)
{
echo 
"hello! congrats you have reached a break point <br> your prize is..............<br><br>  a new adopt, email aroymart@yahoo.com to get the special adopt!"

Reply With Quote
  #4  
Old 04-12-2009, 05:57 PM
BMR777 BMR777 is offline
Member
 
Join Date: Jan 2011
Posts: 1,122
Gender: Male
Credits: 11,172
BMR777 is on a distinguished road
Default RE: is there anyway to find out how many times someone has clicked adoptables?

Well, you have it if the number is less than or equal to 100, should be $num >= 100 instead, but yeah, just put your code between the if brackets. :)
Reply With Quote
  #5  
Old 04-13-2009, 03:36 PM
aroymart aroymart is offline
Member
 
Join Date: Jan 2009
Posts: 74
Credits: 6,587
aroymart
Default RE: is there anyway to find out how many times someone has clicked adoptables?

whoops lol i was a little dizzy-late at night
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Only display pets a user hasn't clicked in daycare Hwona Suggestions and Feature Requests 3 08-16-2014 04:53 PM
Number of times the user can adopt the pet? Clessidra Questions and Supports 4 06-16-2013 09:23 PM
How to not show clicked adoptables Lonin Questions and Supports 9 06-08-2012 01:29 PM
||Random codes you might find usefulell|| Poppy Tutorials and Tips 6 11-07-2011 05:12 PM
How do i find my new themes URL? RipJawWolfFang Questions and Supports 12 05-18-2009 04:39 PM


All times are GMT -5. The time now is 05:51 PM.

Currently Active Users: 16477 (0 members and 16477 guests)
Threads: 4,080, Posts: 32,024, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636