Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Suggestions and Feature Requests (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=21)
-   -   User and pet IDs, server cleanup (http://www.mysidiaadoptables.com/forum/showthread.php?t=5723)

PixelRobot 03-06-2021 09:37 AM

User and pet IDs, server cleanup
 
It would be nice to have a system where each user is assigned a user id that denotes when they signed up (for example, 1 is the first person to sign up and so on) and I'd also like this to apply to pets too, when pets are created (and have it not change when pets are adopted/transferred).

Also, it'd be nice to have a feature like Wajas has with the OWF. Basically, any pets sent to the OWF will eventually be deleted off the server to save space.

Kyttias 03-06-2021 02:04 PM

This is already the case with the user and pet id columns in the database. :ooo:? By default, these are incremental and each one will be one digit more than the last one and the id will never change under any circumstances. For example, you can display a user's id by calling it from the database with $mysidia->user->uid (referencing the uid column).

PixelRobot 03-07-2021 10:43 AM

Quote:

Originally Posted by Kyttias (Post 37879)
This is already the case with the user and pet id columns in the database. :ooo:? By default, these are incremental and each one will be one digit more than the last one and the id will never change under any circumstances. For example, you can display a user's id by calling it from the database with $mysidia->user->uid (referencing the uid column).

My admin page doesn't work, so I didn't know about that. Where do I input it in the database exactly?

Kyttias 03-08-2021 07:50 AM

You don't. It's automatic. You can view your database in your server's phpMyAdmin or similar tool, whatever is installed with your hosting.

PixelRobot 03-08-2021 03:11 PM

Quote:

Originally Posted by Kyttias (Post 37884)
You don't. It's automatic. You can view your database in your server's phpMyAdmin or similar tool, whatever is installed with your hosting.

Oh. Well, I still can't log in to my admin panel at http://reim.altervista.org/admincp/ using the main site member login.

Can you have the ids show up in the links and user/pet pages though?


All times are GMT -5. The time now is 02:28 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.