Quote:
Originally posted by NerdNations
sounds like great idea
why not have it so it redirects on activation?
|
It is redirecting upon activation, ofcourse I don't use email-verification on my forums so it seems that way.
Try using this then:
Place:
PHP Code:
$goto="newthread.php?s=$session[sessionhash]&action=newthread&forumid=29";
eval("standardredirect(\"".gettemplate("redirect_introduction")."\",\"$goto\");");
Somewhere in the activation part, in register.php. Like search for
PHP Code:
// Already activated
eval("standarderror(\"".gettemplate("error_activate_wrongusergroup")."\");");
exit;
}
}
And put it on the line below the last closing bracket.
This is not tested since I don't use email verification, but you can try yourself.
Quote:
Originally posted by inetd
I want: redirect new members to introduction thread... But not post.
|
Thats easy enough, just replace this line here:
PHP Code:
$goto="newthread.php?s=$session[sessionhash]&action=newthread&forumid=29";
With this:
PHP Code:
$goto="forumdisplay.php?s=$session[sessionhash]&forumid=29";
And replace "29" with whatever the forum ID number is.