I want a thread post to be redirected to a url of my choice. Is this possible?
Not out of the box, no.
It *is* possible however. More details needed about what you're trying to do and how you expect it to work.
so I post a sticky topic that says.
recruiting application, they click on that and it redirects them to the form that I made and they fill it out from there.
Are you likely to want to do this with another thread in the future?
yeah, right now I just have a thread that says read here first. Then it just has a link in it for them to click on
That's not what I asked.
Are you going to want to do something like this with ANOTHER thread in the future?
yes there will only be 2
You need to make those two topics, then tell me what the topic id numbers are and where they're supposed to go and I'll give you the code to edit into Sources/Display.php to manage the redirect.
http://headshotdistrict.com/index.php?topic=14.0
Goes in: http://headshotdistrict.com/index.php?board=6.0
http://headshotdistrict.com/index.php?topic=15.0
Goes in: http://headshotdistrict.com/index.php?board=8.0
*headdesk*
No... if you click on the http://headshotdistrict.com/index.php?topic=14.0 link, where's it supposed to redirect to?
http://headshotdistrict.com/index.php?topic=14.0
Redirect to: http://headshotdistrict.com/index.php?action=form;id=3
http://headshotdistrict.com/index.php?topic=15.0
Goes in: http://headshotdistrict.com/index.php?action=form;id=1
Sources/Display.php
function Display()
{
global $scripturl, $txt, $modSettings, $context, $settings;
global $options, $sourcedir, $user_info, $board_info, $topic, $board;
global $attachments, $messages_request, $topicinfo, $language, $smcFunc;
// What are you gonna display if these are empty?!
if (empty($topic))
fatal_lang_error('no_board', false);
// Topic redirections
if ($topic == 14)
redirectexit('action=form;id=3');
elseif($topic == 15)
redirectexit('action=form;id=1');
Thanks a bunch! that did exactly what I wanted to do!