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.


Messages - magaxine

Pages: [1]
1
v@no, can't thank you enough for your help! now everything works perfectly!  :mrgreen:
great mod and great support, what more can you ask for!  :D

2
thx, now I can see the paging. but unfortunately I got the same problem like some of the other users, I can't go to any of the other pages, beause the links are incorrect:

domain/categories.php?cat_id=0&cat_page=2

 [1]  2  3  4  5  ...  »  Last Page » Go to page:   
Found 97 categories on 10 page(s). Displayed category 1 to 10

even if I try do copy the URL and paste it directly in my browser with a correct cat_id is is impossible to view any of the other pages

3
Yes I use version 1.7, thx :) now I see 10 categories, but no paging, which means there is noch link to page 2,3,4...

I fell like an idiot because i got so much problems with your mod ;) but i got no idea what could be the problem. I added {cat_paging} to my categories.html and uploaded your version of paging.php, but nothing happens.

4
thx for your helb v@no  :D

here is the code:

956  $categories .= "</table></td>\n";
957      $categories .= "<td valign=\"top\" width=\"".$cattable_width."\" class=\"catbgcolor\">\n";
958      $categories .= "<table border=\"0\" cellpadding=\"".$config['cat_table_cellpadding']."\" cellspacing=\"".$config['cat_table_cellspacing']."\">\n";
959
960      $total = $total - $count2;
961      $table_columns = $table_columns - 1;
962      if ($total <= $table_columns && $table_columns > 1) {
963        $table_rows = 1;
964      }
965      else {
966        $table_rows = $total / $table_columns;
967        if ($total >= $table_columns && !is_integer($table_rows)) {
968          $table_rows = intval($table_rows) + 1;
969        }
970      }
971      $count = 0;
972    }
973  }
974
975  $categories .= "</table>\n</td>\n</tr>\n</table>\n";
976  return $categories;

5
hi v@no, sorry if I get on your nerves with my problem ;) but it just doesn't work. when I replace just the line

foreach ($visible_cat_cache as $key => $category_id) {
with
foreach ($cache as $category_id){

in the get_categories function, the "division by zero" error appears again. I just tried for 2 hours to get a solution, but I have no idea what the problem is  :roll:

6
I think the problem was that the line
foreach ($visible_cat_cache as $key => $category_id) {
appears two times in the code, I online replaced the first one.

now the "division by zero" error is fixed, but my categories-page shows not one gallery. here is the code of my functions.php, would be great if you could help me!

7
really good mod, but unfortunately it doesn't work at my website. I tried several times to add it at my gallery, but I every time get this error-message at top of categoeries.php:

Warning: Division by zero in /www/htdocs/v093029/partypics/includes/functions.php on line 966

do you have an idea what could be the problem?

Pages: [1]