Log in

View Full Version : Adding new forum name to redirect?


charlesk
11-24-2004, 10:08 PM
Hello.. I was referred here from vB.com because they said what I need requires a code mod. I think it should be simple and am hoping someone can help. ;)

I'd like to change my redirects so instead of saying

Moved: xxx

They say

Moved to "XYZ Forum": xxx

I know this requires an edit to the threadbits forum, but I am not sure what variable I can use for this, or even if it is defined at that point in the program for redirects. Can anyone help with that?

Thanks!

Charles

Andreas
11-24-2004, 10:37 PM
This is a bit tricky, as the thread table does not carry the forum id to which a thread was moved, only it's threadid.
Therefore there is no variable to get this information form - you must create it yourself.

What you would have to do is introduce a new query to check the thread table again using pollid as threadid wher open is set to 10 (this is being unsed to indicate a redirect) to retrive the forumids for moved threads.
Or modify the main query to join the thread table again.

charlesk
11-24-2004, 11:44 PM
Sounds too complicated, it's not that important. Thanks a lot for the reply, I appreciate it.

c

Andreas
11-24-2004, 11:50 PM
You're welcome.
I suggest to post a modification request if you still want that feaature.