I've been screwing with this since the time of release and I had to add the following in the glossary.php:
error_reporting(7);
after:
<?php
Good, so no errors now, or so I thought.
In both newreply.php and newthread.php you have to find:
getforumrules($foruminfo,$permissions);
Right after it, add this:
$rand_term = $DB_site->query_first("SELECT text AS term_text, description AS term_description FROM glossary ORDER BY RAND()");
extract($rand_term);
$term_description = str_replace("'", "\'", htmlspecialchars(strip_tags($term_description)));
Now when ever I add the above it get warning errors.
I can see the admin cp for adding a term, but when I click add term I get cgi errors
Any ideas how to squash these bugs?
|