New LinkStack release (version 4.5.0)
New additions:
- New ID system
- User report function
Bugfixes:
- Disabled sending user registration emails if disabled in the config
- Fixed spacing on LinkStack page when share button is disabled
- Name changes now update user home page when "Set user page as Home Page" is defined
New ID system
From version 4.5.0 onwards, link and user IDs will no longer be generated sequentially.
User IDs now use a 6 digit random ID by default. Link IDs now get a random 9 digit random ID by default.
This is the system all new instances use by default. If you update, the new system will be used only for new users and links.
The old and the new system are still compatible with each other.
If you do not wish to use this new format, you can disable this in a separate config file. In your config directory, create the file linkstack.php
there you must add the following keys:
'disable_random_user_ids' => 'true',
'disable_random_link_ids' => 'true',
If you wish to change the lengths of your IDs, you can define that with the following keys in the same file:
'user_id_length' => '6',
'link_id_length' => '9',
The master administrator account is permanently designated with the ID 1.
The user table is now sorted by creation date by default instead of IDs.
User report function
A new option allows users to report other users profiles. This setting is disabled by default and has to be enabled in the config.
To enable this feature on your config page in the "Application" section, enable "Enable report icon".
When enabled, this will display a small icon on all user pages. Admin and VIP pages will not display this icon.
When pressed or clicked, the icon will expand to reveal a report page link.
This link leads to a separate page with a report form. If a user accesses the page from the report link, the profile URL will already be filled.
This report page can always be accessed on example.com/report.
When submitted, this will then send a report to the admin email defined in the .env config. New instances have this field filled by default.
When updating, you may have to fill in this field manually. In the alternative config editor, fill in the field "ADMIN_EMAIL" somewhat like this:
ADMIN_EMAIL="example@exmaple.com"
The report email contains links to view the user's profile, the report type, an optional comment, the option to see the profile on the manage users page and a field to immediately remove the profile permanently.
To use this feature effectively you may want to add a custom SMTP or other mail server.