Quote:
Originally Posted by bananalive
2. New php plugin
Hook Location: newreply_form_start
Title: Easy Forms Reply Button
Execution Order: 5
Plugin
PHP Code:
if (in_array($threadinfo[threadid], array(1))) { header('Location: http://www.myforumaddress.com/misc.php?do=form&fid=1') ; }
Plugin is Active: Yes
|
I had to make a few adjustments but your post pointed me in the right direction. Clicking the New Thread button now goes to the correct form. Thanks so much! :up: :up:
New php plugin
Hook Location: newthread_form_start
Title: Easy Forms New Thread Button
Execution Order: 5
Plugin PHP code
PHP Code:
if (in_array($forumid, array(221)))
{
header('Location: http://mywebsite.com/misc.php?do=form&fid=1') ;
}
if (in_array($forumid, array(222)))
{
header('Location: http://mywebsite.com/misc.php?do=form&fid=2') ;
}
For each forum and form, just keep adding code where the array(xxx) is the forum id and fid=xx is the form id.
Plugin is Active: Yes