Thanks for the hack. I made 14 forms for my site. All leading to new threads.
I got 2 problems now. One, the posts don't count. Two, the posts don't get searched.
I fixed number one by my self.
find:
PHP Code:
$forum[forumid] = $formforumid;
add before:
PHP Code:
$DB_site->query("
UPDATE " . TABLE_PREFIX . "user
SET posts = posts + 1
WHERE userid = $bbuserinfo[userid]
");
find:
PHP Code:
$forum[forumid] = $formreplyforumid;
add before:
PHP Code:
$DB_site->query("
UPDATE " . TABLE_PREFIX . "user
SET posts = posts + 1
WHERE userid = $bbuserinfo[userid]
");
For the search problem, I couldn't come up with anything yet. Maybe someone else can.