Development log
変更ログ

Development 4/5

Here are today's development updates. As always, thank you for supporting vkgy!


  1. 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).
  2. Reduced size of news bg images on main page.
  3. 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.
  4. Updated all references to ['admin'] and ['is_admin'] to newly-created ['is_admin']. [Hopefully.]
  5. Updated all references of loggedIn to newer is_signed_in.
  6. Updated all references of userID to newer user_id.
  7. 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.
  8. Fixed incorrect function name, and removed session_start from login class.
  9. 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.
  10. 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
top