Author Topic: [MOD] limited number of categories per page (updated 08-06-2006)  (Read 123674 times)

0 Members and 1 Guest are viewing this topic.

Offline V@nо

  • Addicted member
  • ******
  • Posts: 1.223
    • View Profile
Re: [MOD] limited number of categories per page (updated 08-06-2006)
« Reply #105 on: December 02, 2009, 09:22:54 PM »
please show a screenshot how it supposed to look like.
Your first three "must do" before you ask a question:
If I asked you to PM me, I meant PM to my primary account, this account doesn't accept PMs.

Offline cch

  • Jr. Member
  • **
  • Posts: 95
    • View Profile
Re: [MOD] limited number of categories per page (updated 08-06-2006)
« Reply #106 on: December 02, 2009, 09:48:07 PM »
Sorted I missed Step 1.3 all is fine, thank you for a great Mod

Offline allister

  • Pre-Newbie
  • Posts: 4
    • View Profile
Re: [MOD] limited number of categories per page
« Reply #107 on: September 06, 2010, 09:47:06 AM »
Hey V@no thanks for the great MOD. Everything working perfectly just except one thing.

I just wanted to limit only the subcategories not the main categories on home  :(

appreciate your help on this one  :roll:

thanks again.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] limited number of categories per page (updated 08-06-2006)
« Reply #108 on: September 06, 2010, 04:33:38 PM »
Find:
$perpage 10//how many categories per page

Insert below :below::
if (!$cat_id$perpage $total//show all on home page;
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline allister

  • Pre-Newbie
  • Posts: 4
    • View Profile
Re: [MOD] limited number of categories per page (updated 08-06-2006)
« Reply #109 on: September 06, 2010, 06:30:20 PM »
thanks a million V@no  :D

Offline yousaf

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
Re: [MOD] limited number of categories per page (updated 08-06-2006)
« Reply #110 on: March 06, 2012, 02:17:12 PM »
@Vano

Does this Mod works on 1.7.10?
and
Does it works stand alone on 1.7.10 or i will have to add the other Mod for Cache ([MOD] Cache System for 4images v1.7)?

as i just applied this Mod's steps on a fresh copy of 1.7.10 and i can see the pagination but there are no categories
Please check the snapshot in attachment

Edit: [I thought i am just facing this issue on 1.7.10 but a fresh 1.7.6 gives the same result.]
« Last Edit: March 06, 2012, 03:32:50 PM by yousaf »

Offline Jan-Lukas

  • Addicted member
  • ******
  • Posts: 1.297
    • View Profile
    • Discover the New World of Kindersurprise
Re: [MOD] limited number of categories per page (updated 08-06-2006)
« Reply #111 on: March 06, 2012, 07:30:07 PM »
gerade getestet, klappt auch in der 1.7.10
Danke Harald




Offline yousaf

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
Re: [MOD] limited number of categories per page (updated 08-06-2006)
« Reply #112 on: March 06, 2012, 07:32:28 PM »
gerade getestet, klappt auch in der 1.7.10

English please, sorry i dont understand German Language :(

Offline yousaf

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
Re: [MOD] limited number of categories per page (updated 08-06-2006)
« Reply #113 on: March 13, 2012, 10:50:56 AM »
Help any body!
i am unable to make it work even on 1.7.4

what am i missing anyway

[Edit]

Never mind I figured it out my self somehow after banging my head into keyboard
IF you face a situation like i did(please read my above post) then

In Step 1.3 you will get two results for

Code: [Select]
foreach ($visible_cat_cache as $key => $category_id) {
so dont change the first one but just replace the 2nd result with Code below:

Code: [Select]
foreach ($cache as $category_id){
« Last Edit: March 15, 2012, 10:09:32 AM by yousaf »