Here are today's development updates. As always, thank you for supporting vkgy!
- improvement Made some changes to increase [perceived] performance: moved StatCounter code to bottom and made async; moved symbol clip paths to top; made home link in main nav always 46px, to eliminate need for script which checked whether it was visible (caused jumping); made body always display scrollbar (further eliminate jumping).
- improvement Reduced size of news bg images on main page.
- improvement Separated user role logic into its own function in the login class, with a getter and setter. Also changed previous 'admin' role to 'editor', and added new 'admin' role.
- improvement Updated all references to ['admin'] and ['is_admin'] to newly-created ['is_admin']. [Hopefully.]
- improvement Updated all references of loggedIn to newer is_signed_in.
- improvement Updated all references of userID to newer user_id.
- bug fix Cleaned up old references to session_start; changed to use the global include, which already has a session start. Most of these files can probably be removed anyway; need to take a look in another update.
- bug fix Fixed incorrect function name, and removed session_start from login class.
- improvement Changed all references to is_admin to is_editor; will keep it this way temporarily while looking for errors in the new user permissions code.
- bug fix Un-broke search on mobile.
Want to support future updates?
vkgy runs on a custom platform developed by a very small team. If you appreciate what we do and want to help us grow, please consider becoming a VIP member!
Support vkgy