[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  Forum
. -> [Folder]  Suggestions
. . -> [Subject]  Add thread title to post tag
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?
(New message)
Subject: Add thread title to post tag
Name:
Your forum user name.
Register forum user name
Password:
Your forum password.
Forgotten password?
Message:
Message to be posted (in English, please)
Maximum of 6000 characters. Text only please, no HTML.
Forum codes:
Check this if your message uses 'forum codes' or templates (auto-detected for new posts).
Forum codes Templates

Save this message ...


Subject review (reverse sequence)

Posted by David Haley   USA  (3,881 posts)  [Biography] bio   Moderator
Date Sat 13 Feb 2010 02:24 AM (UTC)  quote  ]
Message
Quote:
That would mean, for each time it found
Template:post=10067 Please see the forum thread: http://gammon.com.au/forum/?id=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).

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
[Go to top] top

Posted by Nick Gammon   Australia  (19,348 posts)  [Biography] bio   Forum Administrator
Date Sat 13 Feb 2010 01:33 AM (UTC)  quote  ]
Message
OK I have attempted to fix that. May take a while to filter through.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Zeno   USA  (2,871 posts)  [Biography] bio   Moderator
Date Sat 13 Feb 2010 01:13 AM (UTC)  quote  ]
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
[Go to top] top

Posted by Nick Gammon   Australia  (19,348 posts)  [Biography] bio   Forum Administrator
Date Sat 13 Feb 2010 12:54 AM (UTC)  quote  ]

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
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] bio   Moderator
Date Sat 13 Feb 2010 12:37 AM (UTC)  quote  ]
Message
This is pretty useful:
Template:post=10067 Please see the forum thread: http://gammon.com.au/forum/?id=10067.

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
[Go to top] 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.


8,189 views.

[New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]