Dear Khaled, could you add this .htaccess file to your root?

RedirectMatch ^/?(\d+)$ /ubbthreads.php/topics/$1/#Post$1

I think I have that code right.
The idea is that links to:

get redirected to:

This would be rather handy on IRC channels.

Well. At least I won lunch.
Good philosophy, see good in bad, I like!