Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Members List

Silver_Brick is on a distinguished road

Silver_Brick Silver_Brick is offline

Designer || Coder

Visitor Messages

Showing Visitor Messages 11 to 20 of 49
  1. Hall of Famer
    01-30-2017 12:43 PM
    Hall of Famer
    Why do you want to remove it?
  2. IntoRain
    01-26-2017 10:30 AM
    IntoRain
    Sorry, I've been a bit busy. The paypal thing, I've never done it with mysidia, so I'm not sure if I can help there :( For the email verification, what you do is create new fields in the users_status table (for example, or create a new table) to check if the user has confirmed the registration and another for the registration code. Then at the moment of registration, generate a random string and save it as the registration code and send it by email. You can see an example of this in forgotpass.php. Then you create a page to confirm that code (it's also similar to the forgotpass.php file) and update the database field that says if a user confirmed his email or not. With that field, you can put certain content inside an if to limit user's access
  3. IntoRain
    01-21-2017 11:16 AM
    IntoRain
    In stats.php put at the top of the file:

    use Resource\Native\Integer;

    then inside the index() function:

    $alladopts = $mysidia->db->select("owned_adoptables", array(), "")->rowCount();
    $this->setField("alladopts", new Integer($alladopts));

    Then in statsview.php in index() function:

    $alladopts = $this->getField("alladopts");
    $document->addLangvar("Total owned: " . $alladopts);
  4. Chaos77777
  5. IntoRain
    01-20-2017 02:28 PM
    IntoRain
    Total owned adoptables? Or total species available?
  6. IntoRain
    01-20-2017 07:27 AM
    IntoRain
    That's a bit of a more complicated feature to explain, because you have to change the inventory view as well to show the tabs. But to get the items from a certain category you do it like $stmt = $mysidia->db->select("inventory", array(), "owner = '{$mysidia->user->username}' and category = 'food'");
  7. IntoRain
    01-18-2017 10:58 AM
    IntoRain
    Sure go ahead!
  8. IntoRain
    01-17-2017 11:37 PM
    IntoRain
    You can do something similar to that for items with something like this:

    $itemcheck= $mysidia->db->select("inventory", array("iid"), "itemname = 'Item Name' and owner = '{$mysidia->user->username}'")->rowCount();
  9. IntoRain
    01-16-2017 02:02 PM
    IntoRain
    Sorry, I just came back from a hiatus, I havent touched that code in a year or more, so I dont really know what might not be working for you :( what error do you get?
  10. SilverDragonTears
    01-16-2017 12:43 PM
    SilverDragonTears
    Thank you :)

About Me

  • Basic Info
    Biography
    Hello Feel Free To Shoot Me A PM Regarding Any Help ^^
    Gender
    Male
    Location
    In Earth
    Interests
    Exploring
    Occupation
    Designer
    Mys Version
    Customized Version
    PHP skills
    Intermediate
    CSS skills
    Advanced
    Site Name
    Kinder Pets
  • Signature

Statistics

Total Posts
Visitor Messages
Projects
General Information
  • Last Activity: 05-17-2018 03:49 AM
  • Join Date: 10-13-2016
  • Referrals: 0
  • Credits: 7388.600000001642

Friends

Showing Friends 1 to 6 of 6

All times are GMT -5. The time now is 03:16 AM.

Currently Active Users: 213 (1 members and 212 guests)
Threads: 3,940, Posts: 31,379, Members: 15,522
Welcome to our newest members, Nairi.
BER





What's New?

What's Hot?

What's Popular?


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