Post
Topic
Board Services
Re: CONTEST: design loyce.club home page
by
bitmover
on 11/11/2020, 16:59:32 UTC
I found a bug Sad If I search for topicID 178336 on https://loyce.club/archive/topics/, it gives https://loyce.club/archive/topics/178/178336.html instead of https://loyce.club/archive/topics/17/178336.html. It works fine for longer topicIDs.

The rule is a bit different than I thought. I wasn't able to find it now in this topic, can you help me?

It would also be nice to have a tiny bit of PHP (or whatever) that allows for an input field, and converts a number into an URL.
Examples

I made a rule that if the length is <= than 4, the folder would be 0. And if the length is > 4 the folder is the first 3 digits.

As 178336 has 6 digits, the script is redirecting it to a 3 digits folder.

When should the folder have only the first 2 digits?