Request: Short Links to Forum Topics

This forum is used to discuss topics, propose ideas, and ask questions relating to supermariobrosx.org.
User avatar
0lhi
Shy Guy
Shy Guy
Posts: 5
Joined: Fri Aug 13, 2021 5:54 am
Flair: ⚙️TheXTech User

Request: Short Links to Forum Topics

Postby 0lhi » Fri Sep 10, 2021 9:12 am

I'd like to request a short link feature for Forum Topics. For example, by having a conversion like:

https://f.supermariobrosx.org/18006 -> https://www.supermariobrosx.org/forums/viewtopic.php?t=18006

This would allow to add links to images/videos of Episodes in a well-readable manner without taking away too much space.

Image

User avatar
0lhi
Shy Guy
Shy Guy
Posts: 5
Joined: Fri Aug 13, 2021 5:54 am
Flair: ⚙️TheXTech User

Re: Request: Short Links to Forum Topics

Postby 0lhi » Fri Sep 10, 2021 10:02 am

Apparently, this can be done easily with a .htaccess trick:

Code: Select all

```
#ShortLinks
RewriteCond %{QUERY_STRING} ^f/(\d*)$ [NC]
RewriteRule ^f/(\d*)$ /forums/viewtopic.php?t=$1 [R=301]
```
Thanks to @Wohlstand, who did this with for the Wohlsoft Forums:

https://wohlsoft.ru/f/t4088

User avatar
Electriking
Posts: 4637
Joined: Mon Jun 06, 2016 4:32 pm
Flair: I have NO idea what to put here
Pronouns: he/him
Contact:

Re: Request: Short Links to Forum Topics

Postby Electriking » Fri Sep 10, 2021 10:32 am

Well you could just do this:

Code: Select all

[url=https://www.supermariobrosx.org/forums/viewtopic.php?t=18006]https://f.supermariobrosx.org/18006[/url]
Which results in: https://f.supermariobrosx.org/18006
This is a block of text that can be added to posts you make. There is a 500 character limit.

User avatar
0lhi
Shy Guy
Shy Guy
Posts: 5
Joined: Fri Aug 13, 2021 5:54 am
Flair: ⚙️TheXTech User

Re: Request: Short Links to Forum Topics

Postby 0lhi » Fri Sep 10, 2021 11:18 am

Electriking wrote:
Fri Sep 10, 2021 10:32 am
Which results in: https://f.supermariobrosx.org/18006
If a site supports Link Syntax I'll just use the episode name. I'm requesting the feature for places that can't do that.

EDIT: Maybe I should add more context. The images above are from my Twitch Overlay. I would like to add links to the episodes I'm currently streaming, but SMBX Forum links are too long for that. Shortlinks would help to make episodes more easily accessible.

User avatar
Yoshi021
Gold Yoshi Egg
Gold Yoshi Egg
Posts: 679
Joined: Thu Jan 21, 2016 9:06 pm
Flair: :)
Pronouns: He/Him

Re: Request: Short Links to Forum Topics

Postby Yoshi021 » Thu Sep 16, 2021 6:42 pm

This would be a pretty neat feature to have


Return to “Site Discussion”

Who is online

Users browsing this forum: No registered users and 1 guest