Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Suggestions and Feature Requests

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 08-01-2009, 04:19 PM
crydrk crydrk is offline
Member
 
Join Date: Aug 2009
Posts: 4
Credits: 888
crydrk
Default Is there a way to limit the amount of adoptables a person can adopt?

Because it seems people just keep adopting a bunch of mine and while I've only used up one mb of my database out of 100, it's only been 3 days and I'd hate to run out of room in the future.
Reply With Quote
  #2  
Old 08-01-2009, 04:32 PM
BMR777 BMR777 is offline
Member
 
Join Date: Jan 2011
Posts: 1,122
Gender: Male
Credits: 11,124
BMR777 is on a distinguished road
Default RE: Is there a way to limit the amount of adoptables a person can adopt?

Yes, you can by hard-coding this value into the script. Please see this post which describes how to limit the number of adoptions per user to 1 per user.

To set the number, in the provided code find:

PHP Code:
if($num 0){ 
Replace 0 with the number for the maximum adoptables a user can have. :)

Also, if database space is filling up fast you can clear the contents of your adopts_vote_voters table. Be sure to clear it late in the day though as it keeps track of who voted to level up an adoptable and if you clear it mid-day some people can vote for a pet twice in a day, but the data from old dates is not needed anymore.

You can clear by running this query in PHPMyAdmin:

Code:
DELETE FROM adopts_vote_voters
:)

Brandon
Reply With Quote
  #3  
Old 08-01-2009, 04:34 PM
crydrk crydrk is offline
Member
 
Join Date: Aug 2009
Posts: 4
Credits: 888
crydrk
Default RE: Is there a way to limit the amount of adoptables a person can adopt?

I am extremely impressed with such a quick reply thank you very much.
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
Adopt many adoptables at once. Aasixx Questions and Supports 9 09-17-2012 11:16 AM
Limit amount of clicks per day SilverDragonTears Questions and Supports 15 11-29-2011 11:50 AM
Would you adopt these adoptables? elfhome Other Chat 2 02-15-2011 03:54 PM
Organize adoptables on adopt.php kisazeky Questions and Supports 4 03-22-2009 07:14 PM
Have Adoptables Grow after a certain amount of time? rosepose Questions and Supports 1 02-11-2009 03:26 PM


All times are GMT -5. The time now is 11:56 PM.

Currently Active Users: 12573 (0 members and 12573 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