2012-09-30, 09:08 PM
Hey,
I want to develop a code that would shorten links to threads and stuff. i.e. something like [threadx]text[/thread] would link to the thread with thread id x. So,
[thread74892]Blah blah blah[/thread]
would turn into
Blah blah blah.
Is there any way to code this? I tried saying [threadx]??[/thread] should link to http://community.mybb.com/thread-x.html but it'll only produce a link for x, not for numbers.
Is there a way of coding this without having to add 10000 new codes?
(My apologies if this has been posted before.)
I want to develop a code that would shorten links to threads and stuff. i.e. something like [threadx]text[/thread] would link to the thread with thread id x. So,
[thread74892]Blah blah blah[/thread]
would turn into
Blah blah blah.
Is there any way to code this? I tried saying [threadx]??[/thread] should link to http://community.mybb.com/thread-x.html but it'll only produce a link for x, not for numbers.
Is there a way of coding this without having to add 10000 new codes?
(My apologies if this has been posted before.)