Post
Topic
Board Reputation
Re: 53M posts! View unedited/deleted posts (search per post, per user or per topic)
by
LoyceV
on 11/11/2020, 18:37:26 UTC
if the length is > 4 the folder is the first 3 digits.

I checked what I wrote:
How to use it
  • Find the msgID, userID or topicID you need. Let's use msgID 51902990.
  • Remove the last 4 digits from the msgID to get the directory name (if there are 4 or less digits, use 0): 5190.
  • Put everything together behind the (above) URL and add ".html": https://loyce.club/archive/posts/5190/51902990.html.
So for topicID 178336, remove the last 4 digits to get the directory name. That gives directory 17. Add a slash, the topicID and .html: https://loyce.club/archive/topics/17/178336.html

So you don't need to take the first 3 digits, you need to remove the last 4 digits. The logic behind this is that I create directories with at most 10,000 files.
I checked for a few userIDs too, those seem to work fine.