Mysidia Adoptables Support Forum  

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

Reply
 
Thread Tools Display Modes
  #1  
Old 03-06-2021, 10:37 AM
PixelRobot PixelRobot is offline
Member
 
Join Date: Feb 2021
Posts: 16
Gender: Female
Credits: 591
PixelRobot is on a distinguished road
Default 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.
Reply With Quote
  #2  
Old 03-06-2021, 03:04 PM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 856
Gender: Unknown/Other
Credits: 56,110
Kyttias is on a distinguished road
Default

This is already the case with the user and pet id columns in the database. ? 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).
__________________
Please do not contact me directly outside of Mysidia.
I also cannot troubleshoot code more than two years old - I legit don't remember it.
Reply With Quote
  #3  
Old 03-07-2021, 11:43 AM
PixelRobot PixelRobot is offline
Member
 
Join Date: Feb 2021
Posts: 16
Gender: Female
Credits: 591
PixelRobot is on a distinguished road
Default

Quote:
Originally Posted by Kyttias View Post
This is already the case with the user and pet id columns in the database. ? 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?
Reply With Quote
  #4  
Old 03-08-2021, 08:50 AM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 856
Gender: Unknown/Other
Credits: 56,110
Kyttias is on a distinguished road
Default

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.
__________________
Please do not contact me directly outside of Mysidia.
I also cannot troubleshoot code more than two years old - I legit don't remember it.
Reply With Quote
  #5  
Old 03-08-2021, 04:11 PM
PixelRobot PixelRobot is offline
Member
 
Join Date: Feb 2021
Posts: 16
Gender: Female
Credits: 591
PixelRobot is on a distinguished road
Default

Quote:
Originally Posted by Kyttias View Post
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?

Last edited by PixelRobot; 03-09-2021 at 10:07 AM.
Reply With Quote
Reply

Thread Tools
Display Modes

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


All times are GMT -5. The time now is 10:30 AM.

Currently Active Users: 290 (2 members and 288 guests)
Threads: 4,067, Posts: 31,931, Members: 15,770
Welcome to our newest members, ayesha.
BETA





What's New?

What's Hot?

What's Popular?


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