Of course, the rules above can be combined freely so this is also possible: http://lah.li/26600 (shortest thread URL)
http://lah.li/26600?page=2 (will open the second page of this thread when it exists)
The new standard URL will be displayed regardless of how you reach the thread.
This update also improves our SEO, that means, our pages should rank a bit better on Google now.
Our thread listings and forum index also got revamped URLs.
Other pages have kept the same URL scheme, but they are now a "/forum" shorter!
Other minor changes
- Fixed Quick Reply conflict with Watch Topic - posting through quick reply will no longer automatically unwatch the thread;
- Fixed post days/ordering filters on threads that you can adjust thread types;
- Removed webkit (Chrome/Safari) default input outline to keep our theme consistent cross-browser;
- Anyone using one of my Goto page number userscripts, if you still want to keep using it please update it from its respective page (dl: clean/pro; install instructions) or simply remove them. We may consider making these part of the main site depending on demand.
Due to these changes, we've also had to modify cookies. If you have problems keeping logged in or you've started seeing sid=(bunch of characters) in every URL, try cleaning up your cookies. Here's a good step by step guide.
Feedback and comments are always welcome. We've done throughout testing, but due to the size of the update there are odds that we may have overlooked something.
If you happen to spot any broken functionality or page, please report it here with as many details as possible (which link or button is broken, in which page, steps to reproduce the issue, your browser/OS etc.) so we can fix it as soon as possible.
_________________ My main MF acc was suspended, use other mirrors until I re-up it all to a new host.
There is no knowledge that is not power.
Our only limitations are those we set up in our own minds.
Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
Measuring software productivity by lines of code is like measuring progress on an airplane by how much it weighs.
Programming is an art form, whose real value can only be appreciated by another versed in the same arcane art.
Last edited by ult_combo on Sun Mar 10, 2013 3:06 pm; edited 6 times in total
bbo: also requesting ?last and ?new to view the absolute last and the first unread post.
?new instead of ?view=newest is a nice idea, probably overlooked that because I never use that feature.
Dunno about ?last. That would mean one more processing module in the viewtopic page, and the author at the side of the latest post link could be inaccurate then if someone else makes a post in the meantime (currently, it links to the last post at the time you loaded the threads listing).
These would be just extra redirects so they aren't a priority at the moment. Might consider them for a future update. It is not like anyone types them in the URL and these do not stay there after opening the links either so yeah, kinda low priority.
bbo: edit:
bug report #1
see this thread.
script puts parameter ?page=4 for both back and next page despite it having only 3 pages.
What the.. will review the changes asap. Seems like the forum pagination also has that bug.
Edit: this issue is fixed now. Back and Next navigation links work properly again.
_________________ My main MF acc was suspended, use other mirrors until I re-up it all to a new host.
There is no knowledge that is not power.
Our only limitations are those we set up in our own minds.
Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
Measuring software productivity by lines of code is like measuring progress on an airplane by how much it weighs.
Programming is an art form, whose real value can only be appreciated by another versed in the same arcane art.
Thanks OmegaDivider and Badjman, glad to see that the updates are well accepted by the users. Also thanks bbo for the bug report, these help us a lot. Sat did spot a bug in the pagination earlier today after the update but we two failed to reproduce it afterwards (guess we didn't check the Previous and Next links).
_________________ My main MF acc was suspended, use other mirrors until I re-up it all to a new host.
There is no knowledge that is not power.
Our only limitations are those we set up in our own minds.
Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
Measuring software productivity by lines of code is like measuring progress on an airplane by how much it weighs.
Programming is an art form, whose real value can only be appreciated by another versed in the same arcane art.
Bug Report:
When I click on a link in "Rules and Faq" it goes to the age confirmation screen.
Example:
I click on "What are the general Rules on LAH?" (url - http://lah.li/#0 ) It goes to the age confirmation page where you have to click "ENTER" or "EXIT." (url - http://lah.li/ although it still shows the /#0 at the end.)
I am using Firefox 19.0.2, with NoScript. lah.li is an allowed exception, however, and I also allow cookies from lah.li.
_________________ Click the image to see my stories:
Thing is, the FAQ links use hashes for navigation which are considered relative URLs.
With the new URLs we have different levels of virtual directories - previously all user-visible files were inside /forum/ and now we have general use pages in the root ("/"), threads in the virtual directory /threadID/thread-title/, forums in the /f/forumID-forum-title etc.
Our framework uses too many relative URLs, so we chose not to rewrite all of these to absolute or relative to root ones. Instead, we started using the <base> tag to correct this.
This way, all our template images and such point to the correct location independently of which directory level you are loading it from and still using relative URLs.
The only drawback is that it overrides the default base url for all relative URLs, including hash navigation.
While developing I've only found one place using hashes for navigation (and that is, this thread page which used to link to specific posts through a hash).
So yes, I've overlooked the FAQ page's hashed links.
That page is obviously not a simply typed page, each item is automatically generated from a template so I just have to find that generator to fix that.
Meanwhile, if anyone spots more hashed links, those are very likely to be broken so report them here as well.
Edit: FAQ links are now fixed, together with all #top links that I could find.
_________________ My main MF acc was suspended, use other mirrors until I re-up it all to a new host.
There is no knowledge that is not power.
Our only limitations are those we set up in our own minds.
Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
Measuring software productivity by lines of code is like measuring progress on an airplane by how much it weighs.
Programming is an art form, whose real value can only be appreciated by another versed in the same arcane art.
I report you with all my respect that I haven't found any bugs yet. Only those which are walking around in my basement. (face_palm) But I should probably ask jacxxx to review the new system.
Also, the icon of the feather of Feather-chan became darker orange which really fits better to the site's theme but it's freaking new for me yet.
As for the icon, it should've been like that since we changed the nav icons, but apparently we all ended up forgetting about that icon back then. I noticed it 2 days ago and upped the new one + cache busters to ensure that people get the new icon. Sat reported that it still displays the old icon for him though *shrug* I might up another cache buster with the next update to ensure that everyone gets to see the new icon.
_________________ My main MF acc was suspended, use other mirrors until I re-up it all to a new host.
There is no knowledge that is not power.
Our only limitations are those we set up in our own minds.
Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
Measuring software productivity by lines of code is like measuring progress on an airplane by how much it weighs.
Programming is an art form, whose real value can only be appreciated by another versed in the same arcane art.
bbo: also requesting ?last and ?new to view the absolute last and the first unread post.
?new instead of ?view=newest is a nice idea, probably overlooked that because I never use that feature.
Dunno about ?last. That would mean one more processing module in the viewtopic page, and the author at the side of the latest post link could be inaccurate then if someone else makes a post in the meantime (currently, it links to the last post at the time you loaded the threads listing).
These would be just extra redirects so they aren't a priority at the moment. Might consider them for a future update. It is not like anyone types them in the URL and these do not stay there after opening the links either so yeah, kinda low priority.
Probably due to some custom privacy settings regarding cookies or something I have trouble with all forums, where they refuse to acknowledge me reading the last post already.
I only remember that I was searching for something in older threads at the time I posted that request, so I don't really remember what I was thinking there.
_________________ Sitting between the chairs, one side shouts at me "THATS TOO SMALL!" while the other draws a blade and whispers "these are too old"
ult_combo: In our continued effort to improve the navigation and quality of LAH,
we are hereby announcing improvement in the site URLs... to further improve linkability, readability and search engine crawling, heres how it works now.
... the rules above can be combined freely so this is also possible: http://lah.li/26600 (shortest thread URL)
In the same way, entering http://lah.li/download.php?id=3 you get the first attachment. I wished I could go more easily to the post to which an attachment belongs. Now I can download it, add it e.g. to this post and then I see that it has been posted here: http://lah.li/52/attachment-mod-test/?page=1#133 . Or do you know of a faster way to find the post of an attachment? (the search function still doesn't work when searching for "lah.li/download.php?id=3")
_________________ My avatar shows the first encounter of Yuki in the Land of Eternal Snow. Yuki would become my favorite character in the on-going Mystics Saga by arrancar85
You cannot post new threads in this forum You cannot reply to threads in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
Do not upload or mention any illegal content. Violators will be reported to the authorities. You are responsible for your uploads and actions.
If it is illegal for you to view adult lolikon material in your current location, leave this site immediately. LAH is in compliance with DMCA.