Code: Select all
#
#-----[ OPEN ]------------------------------------------
#
admin/admin_forums.php
#
#-----[ FIND ]------------------------------------------
#
$statuslist .= "<option value=\"" . FORUM_LOCKED . "\" $forumlocked>" . $lang['Status_locked'] . "</option>\n";
#
#-----[ AFTER, ADD ]------------------------------------------
#
if ($row['points_disabled'])
{
$yes = 'selected="selected"';
}
else
{
$no = 'selected="selected"';
}
$pointslist = '<option value="' . TRUE . '" ' . $yes . '>' . $lang['Yes'] . '</option>';
$pointslist .= '<option value="' . FALSE . '" ' . $no . '>' . $lang['No'] . '</option>';
#
#-----[ FIND ]------------------------------------------
#
'S_PRUNE_ENABLED' => $prune_enabled,
#
#-----[ AFTER, ADD ]------------------------------------------
#
'S_POINTS_LIST' => $pointslist,
#
#-----[ FIND ]------------------------------------------
#
'L_DAYS' => $lang['Days'],
#
#-----[ AFTER, ADD ]------------------------------------------
#
'L_POINTS_DISABLED' => sprintf($lang['Points_disabled'], $board_config['points_name']),
#
#-----[ 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, prune_enable
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
, points_disabled
#
#-----[ IN-LINE FIND ]------------------------------------------
#
" . intval($HTTP_POST_VARS['prune_enable']) .
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
", " . intval($HTTP_POST_VARS['points_disabled']) .
#
#-----[ FIND ]------------------------------------------
#
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 ]------------------------------------------
#
prune_enable = " . intval($HTTP_POST_VARS['prune_enable']) . "
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
, points_disabled = " . intval($HTTP_POST_VARS['points_disabled']) . "
#
#-------------------------------------------------------------------------
#
Code: Select all
<a href="{nav.U_NAV}" title="{nav.L_NAV_DESC}" class="nav">Neptune CWC {nav.L_NAV}</a>
Ahhhh... I searched for it before posting my first message but didn't find it (or passed right by it) <shrug> oh well.Ptirhiik - RPGnet-fr wrote: "Forum index" : edit your lang_main.php
Ohhh.... DOH!... got itPtirhiik - RPGnet-fr wrote: specific icon for generic announcement : edit your template/your_theme/your_theme.cfg
Huh! I have both mods installed and have no problems. I had the yellow card admin mod installed before discovering Ptirhiik's great mod, which I just recently installed, both are working fine. There is an additional file you need to get the yellow card to work (def_auth.tpl, I think), plus a couple sections of the yellow card install you need to skip (don't remember what sections at the moment, both sections have to do with two of the files that get renamed when install CH), then it works fine with CH 2.1.0 from what I've experienced so far. I've done a little testing on my own (as much as a novice can do) and both seem to work just fine. Not that my board has a lot of members to worry about ... yetHawk-Metal wrote: I found one mod, think it's called yellow card mod or something like that, but it's not compatible with category hierarchy 2.1.0