|
| If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
Thanks to some fantastic programming assistance by Robert Andersson, there's a redirection system that should make pointers to old threads on Bad Astronomy and Universe Today boards redirect you to the correct location on the new forum.
Can people test this out? Find some old links to old threads and see if clicking on them takes you to the correct location. Post any errors so we can squish bugs. Thanks! And thanks again to Robert. :-)
__________________
Fraser Cain Publisher Universe Today - Free space news delivered by email every weekday. |
|
||||
|
Most of the ones I've tried seem to work, but I get errors with the links in these two:
He's not dead yet - The Ivory Billed Woodpecker New add using Mars
__________________
Everything I need to know I learned through Googling. |
|
||||
|
Quote:
__________________
the ego has |
|
||||
|
UPDATE: Old links to posts will now work as well. Eg links of this kind:
http://www.badastronomy.com/phpBB/vi...c.php?p=506045 This is done by looking up the old babb topic id for the post, which is translated to the new thread id. If there is exactly one match (~90%, there can be none or more), it will search for all posts in that thread with the same post time, and direct you to one at random (unless two posts have the same to the second, there should only be one). EDIT: To clarify, this is an extension to what I said a post before. Old "post links" will take you directly to the post in question. Last edited by Robert Andersson : 07-September-2005 at 07:52 PM. Reason: clarification |
|
||||
|
UPDATE: Minor feature, "highlight links" also works. Eg:
www.badastronomy.com/phpBB/viewtopic.php?p=204746&highlight=astronomy+guide |
|
||||
|
Quote:
__________________
Fraser Cain Publisher Universe Today - Free space news delivered by email every weekday. |
|
||||
|
Quote:
Quote:
It was just passing on an extra parameter, so it wasn't that hard. Btw, since I wasn't very familiar with the UT forum nor Invision, I haven't been very active in fixing things on that end. I welcome if anyone points out flaws there. |
|
||||
|
I found a typo in the code that build the mapping tables, causing multiple matches to not be inserted at all. Most of these were topics posted across several fora. When accessing these old URIs, you will presented with a list. Anyway, they were rebuilt, and I made some statistics for whoever is interested.
Universe Today topic mapping stats (matches): T: 8530 (100%) 1: 8127 (95.3%) 2: 358 (4.2%) 3: 34 (0.4%) 4: 9 (<0.1%) 0: 7 (<0.1%) BABB topic mapping stats (matches): T: 20580 (100%) 1: 20498 (99.6%) 2: 72 (0.3%) 7-8: 2 (<0.1%) 0: 8 (<0.1%) On another note, if Phil sees this, he might want to add these lines to the .htaccess file in the old BABB. It will redirect one type of request that is frequent in Google results (list a user's posts), but it doesn't solve the "user profile" links (must make some id mapping there). Code:
RewriteEngine On
# Rewrite "search author" requests
RewriteCond %{QUERY_STRING} search_author=([^&]+)
RewriteRule ^search.php$ http://www.bautforum.com/search.php?do=process&searchuser=%1 [R=301]
|
|
||||
|
Ok, I see what you mean. However, that is not really related to this. What we want here is easy access to the thread/post link, which the board doesn't seem to give away. I have not made any modifications to the board software, which would be a bad idea (considering upgrades etc).
You do, obviously, know the syntax of a "thread/post link", so I'm not sure how I can help. |