Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - vanish

Pages: [1]
1
Bug Fixes & Patches / [1.7.4] BUG in userqroups.php & solution
« on: November 17, 2006, 11:59:49 AM »
BUG in 1.7,4 when you add latest updates ("checkbox" selector type)
Description: When "checkbox" is selected (default setting now) you don't change category permission to "No"

file:
admin/usergroups.php

find:
Code: [Select]
  foreach ($auth as $key => $val) {
    $sql = "DELETE FROM ".GROUP_ACCESS_TABLE."
            WHERE cat_id = $key AND group_id = $group_id";
    $site_db->query($sql);


replace with:
Code: [Select]
  $sql = "DELETE FROM ".GROUP_ACCESS_TABLE."
          WHERE group_id = $group_id";
  $site_db->query($sql);
  foreach ($auth as $key => $val) {


Also I recommend this changes for correct look:
find:
Code: [Select]
    echo "<td class=\"tableseparator\" width=\"".$col_width."%\" align=\"center\"><input name=\"allbox[".$val."]\" type=\"checkbox\" onClick=\"CheckAllCats(this, '".$val."');\" />".$lang[$val]."</td>\n";

replace with:
Code: [Select]
    echo "<td class=\"tableseparator\" width=\"".$col_width."%\" align=\"center\">".($permission_select_type == "checkbox" ? "<input name=\"allbox[".$val."]\" type=\"checkbox\" onClick=\"CheckAllCats(this, '".$val."');\" />":"").$lang[$val]."</td>\n";

2
Mods & Plugins (Requests & Discussions) / [REQ] Comment Preview
« on: September 07, 2005, 01:58:50 PM »
What about this mod?

3
When is shown on one page random images and photo of the day - sometimes you can see the same images... How this problem can be resolved?

4
Feedback & Suggestions / "Modify your Ecard" button does not work
« on: March 13, 2005, 01:07:32 PM »
"modify your ecard" button does not work, who can resolve this problem?

5
Mods & Plugins (Requests & Discussions) / Clickstream in header.html
« on: March 10, 2005, 08:13:12 PM »
When I insert {clickstream} into header.html I have no effect (don't see the path string), why?

Pages: [1]