Hey folks,
trying realy hard to get this to work, but it just won?t. Running EF 4.3.0 on vb 4.2.2.
I do it exactly as here, but all i get is the ordinary newthread. I used it also in vb3.8, but there i used two plugs if im not mistaken.
Quote:
Originally Posted by fwulfers
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
|