Remade the sitemap extension
- now makes full sitemap with specific with higher priorities for newer/more popular content
- Sitemap is cached for 6 hours
several things still need to be added
Caching not working properly for various reasons, removed for now
Update ext/user/main.php

Site owners can now choose in board config what page users will go to when logging in:
- Previous page (default)
- My Profile (old default)
Update ext/user/main.php

Also don't return to same page if page is "user_admin/login". 
Otherwise it can occur if user first failed to log in with the correct credentials
Update ext/user/main.php

- Added board config option for user login forwarding
- Set user_loginshowprofile default to 0
- now only applies when user is on a page containing post/ in its url (to avoid weird messages)
Update ext/sitemap/main.php

- Added setup block to choose between generating full sitemap or smaller sitemap
Update ext/sitemap/main.php

- Added setup block to choose between generating full sitemap or smaller sitemap
- Added sitemap caching, regenerating at most every day
Moved sitemap file to /data/cache/sitemap.xml
Sitemap creation time now determined by filemtime instead of via config
image_view_counter:
- added view counter
- only adds view every hour from same person
- no way to display to user/admin yet (todo)
image_view_counter:
- now displays views below image (only if it's okay with the admin settings)
- comment changed
image_view_counter: also saving with user ID with addview() for later use
arrow key navigation through images
allows visitors to use left-right keyboard keys to navigate to different images using post/next/(id) and post/prev/(id)
Fixed problems from notes by shish
Added arrowkey navigator to post/list as well
arrowkey navigator also works with tags on post/list now
arrowkey navigation on post/list now supports tags
also correctly handle post/list without a page ID given
/post/view now also supports things like /post/view/4#search=tag1
oops, forgot something
Custom HTML Headers added
I may also expand it to allow headers specific pages later
Cleaned up code in some of my extensions
Removed function testImage in ext/chatbox/test.php because it no longer applies (there is a cache now)
Added extension allowing users to view a random page at www.website.com/random