[url=http]Forum Enter Post Limit[/url]
[url=http]Spin the Wheel[/url]
This is to prevent inactive users from accessing a few parts of my forum. But, if they'd like to try to increase their post count artificially by 'spinning the wheel', they are most welcome to do so.
Now for forum enter post limit, this is the problem. I can't seem to find these lines from admin_forums.php:
- Code: Select all
#----[ FIND ]------------------------------------------ # $forumstatus = FORUM_UNLOCKED; ##----[ AFTER, ADD ]------------------------------------------ # $forum_enter_limit = '';
and
- Code: Select all
##-----[ FIND ]--------------------------------------------# $sql = "INSERT INTO " . FORUMS_TABLE . " (forum_id, forum_name, cat_id, forum_desc, forum_order, forum_status, prune_enable" . $field_sql . ") VALUES ('" . $next_id . "', '" . str_replace("'", "''", $HTTP_POST_VARS['forumname']) . "', " . intval($HTTP_POST_VARS[POST_CAT_URL]) . ", '" . str_replace("'", "''", $HTTP_POST_VARS['forumdesc']) . "', $next_order, " . intval($HTTP_POST_VARS['forumstatus']) . ", " . intval($HTTP_POST_VARS['prune_enable']) . $value_sql . ")"; ##-----[ IN LINE, FIND ]------------------------------------#, forum_status ##-----[ AFTER, ADD ]--------------------------------------# , forum_enter_limit ##-----[ IN LINE, FIND ]------------------------------------#, " . intval($HTTP_POST_VARS['forumstatus']) . " ##-----[ AFTER, ADD ]--------------------------------------# , " . intval($HTTP_POST_VARS['forum_enter_limit']) . " ##-----[ FIND ]--------------------------------------------# $sql = "UPDATE " . FORUMS_TABLE . " SET forum_name = '" . str_replace("'", "''", $HTTP_POST_VARS['forumname']) . "', cat_id = " . intval($HTTP_POST_VARS[POST_CAT_URL]) . ", forum_desc = '" . str_replace("'", "''", $HTTP_POST_VARS['forumdesc']) . "', forum_status = " . intval($HTTP_POST_VARS['forumstatus']) . ", prune_enable = " . intval($HTTP_POST_VARS['prune_enable']) . " ##-----[ IN LINE, FIND ]------------------------------------#, forum_status = " . intval($HTTP_POST_VARS['forumstatus']) . " ##-----[ AFTER, ADD ]--------------------------------------# , forum_enter_limit = " . intval($HTTP_POST_VARS['forum_enter_limit']) . "
and these from templates/fisubice/admin/forums_edit_body.tpl
- Code: Select all
##----[ FIND ]------------------------------------------ # <tr> <td>{L_FORUM_STATUS}</td> <td><select>{S_STATUS_LIST}</select></td> </tr> ##----[ AFTER, ADD ]------------------------------------------ # <tr> <td>{L_FORUM_ENTER_LIMIT}</td> <td><input></td> </tr>