I want to do the same thing but I get an error when I use
PHP Code:
$gethostforum = $db->query_read("SELECT * FROM " . TABLE_PREFIX . "hosting_options WHERE optionid='1'");
$hf = $db->fetch_array($gethostforum);
Here's the conditional I have in the postbit template.
<if condition="$thread[forumid] == $hf[new_request]">
"new_request" has the id of the forum I want to use the conditional on.
I doubt the conditional is causing the problem though
Here's the error
Fatal error: Call to a member function on a non-object in c:\apache\htdocs\forum\forums\includes\class_postb it.php(279) : eval()'d code on line 1