Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Entire forum
➜ Forum
➜ Suggestions
➜ Add thread title to post tag
Add thread title to post tag
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| David Haley
USA (3,881 posts) Bio
|
Date
| Sat 13 Feb 2010 12:37 AM (UTC) |
Message
| This is pretty useful:
but, I'm not very good at remembering which thread is which by the numbers :) I often know what is being referred to if I see the thread title. So, would it be possible to have this output the title of the thread next to the link?
E.g.,
Please see the forum thread: http://gammon.com.au/forum/?id=10067 (MUSHclient: Lua: Nested Tables)
This saves me from having to go see the thread if I knew what it is from the title. |
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
http://david.the-haleys.org | Top |
|
Posted by
| Nick Gammon
Australia (23,120 posts) Bio
Forum Administrator |
Date
| Reply #1 on Sat 13 Feb 2010 12:54 AM (UTC) Amended on Sat 13 Feb 2010 12:56 AM (UTC) by Nick Gammon
|
Message
| It's a nice idea, but the problem is the code for translating forum codes is basically find/replace, it doesn't know about the semantics of what 10067 means. That would mean, for each time it found [post=10067] it would have to lookup 10067 on the database to work out which thread it was.
Or in your example, 3 lookups, once for the subject (Nested Tables), once for the topic (Lua) and once for the section (MUSHclient). |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Reply #2 on Sat 13 Feb 2010 01:13 AM (UTC) |
Message
| On sort of the same subject, is it possible for you to setup robots.txt (or something) to stop Google/etc from indexing reply pages? For example, Google indexed this:
Quote: Gammon Software Solutions forum
Yes, regular expressions are meant to be for syntax, not semantics. Think about what it means to capture a number between 0 and 300, using only syntax. ...
ftp.gammon.com.au/forum/bbshowpost.php?action=quote... - Cached -
The link being: http://ftp.gammon.com.au/forum/bbshowpost.php?action=quote&bbpost_id=57747&page=1
Which brings up a page with a reply box. |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | Top |
|
Posted by
| Nick Gammon
Australia (23,120 posts) Bio
Forum Administrator |
Date
| Reply #3 on Sat 13 Feb 2010 01:33 AM (UTC) |
Message
| OK I have attempted to fix that. May take a while to filter through. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| David Haley
USA (3,881 posts) Bio
|
Date
| Reply #4 on Sat 13 Feb 2010 02:24 AM (UTC) |
Message
|
Quote:That would mean, for each time it found it would have to lookup 10067 on the database to work out which thread it was.
Or in your example, 3 lookups, once for the subject (Nested Tables), once for the topic (Lua) and once for the section (MUSHclient).
Well, I don't really care about the forum/section as much as the thread title. But yeah, I guess I see that it's complicating the translation process because it makes it more than just regular expressions. |
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
http://david.the-haleys.org | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
27,561 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top