Recent content by HIddenPanda

Forum
Last Post
Threads / Messages
  1. HIddenPanda

    Adding how many times a adopt is bred, to its page

    The statistics comes from line 14 lang\main\lang_myadopts.php, which is being added in view\main\myadoptsview.php line 73 (vanilla, it's under public function stats()), where the view is assembled. $document->setTitle($ownedAdopt->getName() . $this->lang->stats); I'm not...
  2. HIddenPanda

    Programming For Non-Programmers

    Hi. If you're here I'm going to assume that you have never in your life opened/looked at a file of code before discovering Mysidia. Even if you have, maybe I'll have some tips/tricks that you find useful. Integrated Development Environment An IDE or Integrated Development Environment is the...
  3. HIddenPanda

    Private Message Checkbox - Help (1.3.5)

    1. Change the line: <input type='checkbox' class='checkbox' name='checkdelete' value='Delete'> to <input type='checkbox' class='checkbox' name='checkdelete[]' value='$param'> 2. Change the following in messages.php: public function delete(){ $mysidia = Registry::get("mysidia")...
  4. HIddenPanda

    Private Message Checkbox - Help (1.3.5)

    Totally correct. I'm no expert, but I would also say it doesn't help that the templating engine seems needlessly convoluted and page components seem to get added to pages in various different files/stages of the request.
  5. HIddenPanda

    Private Message Checkbox - Help (1.3.5)

    So first, $mysidia-db->delete() deletes whole tables, not rows in a table. Second, where in messageview.php did you put those lines? It doesn't look like any logic is/should be being done in that file. The logic you're looking for appears to be the delete() function in messages.php in the root...
  6. HIddenPanda

    Add Favorite Adopt to sidebar?

    You could adjust the following line from <img src='{$owned->getImage()}'> to <img src='{$owned->getImage()}' width="100" height="100"> Replace the 100 with the size in pixels of image you'd like.
  7. HIddenPanda

    I broke my site.....

    That's good to hear, not 100% but I believe newer versions of Mysidia target more recent and supported versions of PHP, so that could cause some issues running older versions of PHP.
  8. HIddenPanda

    I broke my site.....

    What version of Mysidia are you trying to run? The latest 1.3.6?
  9. HIddenPanda

    Is there a way to allow 1.3.6 to use php 8.1?

    Might be able to fix this by changing line 94 in resource\collection\collection.php to function count(): int { and line 103 to function getIterator(): Traversable|array {
  10. HIddenPanda

    Official Mys v1.4.0 Ideas & Suggestions Thread

    Not sure if this has been mentioned but may want to revise some of the db schema. Some required fields are not, but should be, marked NOT NULL like username and password on the _users table. Some sites could be vulnerable to a host of bugs if a user somehow enters null in a field, and it gets...
  11. HIddenPanda

    Modding Suggestion: Error Messages

    functions.php function error($message, $title = "Error!") { $display = "Error: " . $message . "<br><br>" . @mysql_error(); templatedefine($title, $message); exit(); } USAGE: if (blah blah standards not met) { error("Simple one-line error message"); } See what I'm getting at...
  12. HIddenPanda

    PHP/MySQL Tutorial

    Im just making this as a resource for people who do not know how to/can't remember how to make a loop for mysql data in PHP READ THIS FIRST: Kae's Mysql and PHP Basics This thread will show you how to utilize the while function in php loops to help with outputting mysql data. 1. How to setup...
  13. HIddenPanda

    Blackjack - GAME :D

    This is a long awaited mod, one of the few if not only (up to date) game mods for Mysidia Adoptables :D It's not slots no, but its still a Casino game Plays just like 21 but with Cards going from 1-6 instead of 1-10/11 (Mainly due to a bug that would make the dealer always bust for some...
  14. HIddenPanda

    A Suggestion From A Developer To a Developer

    Take This: // ********************************************************************** // Begin Template Definition // ********************************************************************** //Define our current theme $file = $themeurl; // Do the template changes and echo the ready template...
  15. HIddenPanda

    View Active Promocodes Plugin

    View Active Promocodes Plugin 1.1 [MAJOR BUG FIX] Compatible With: Mysidia Adoptables 1.0 - 1.1.2 This plugin is just a simplified version of my old mod. It can be accessed through the System Settings> Plugins Menu Just upload both admcodes.php and admcodes_install.php to the main directory...
  • Forum Contains New Posts
  • Forum Contains No New Posts

Forum statistics

Threads
4,277
Messages
33,118
Members
1,602
Latest member
BerrieMilk
BETA

Latest Threads

Latest Posts

Top