View Full Version : Show Count problem
eddie32
02-28-2006, 09:22 PM
I looked all through the forums and could not find this asked before. Under System>Edit Settings>Show count I have that enabled. But the count seems to be counting only the links in the main category and then the number of sub-categories. So if I have a main cat Business with 8 links and 10 sub categories under business, the count shown is 18. It is not counting all the link in the sub categories. I want to count all the links under Business, whether they are under the main or subs in this group. Has anyone figured out how to do this? Many thanks!
Eddie
eddie32
03-01-2006, 02:40 PM
Anyone out there that can help? This one is driving me crazy!
Kevuk2k
03-01-2006, 03:43 PM
Content visible to registered users only.
What version do you have.? The problem with version 2 or lower is that the programmers are usually busy dealing with other problems with version 3 which takes priority over 2 as version 3 has paid support.
Be patient someone will come and help you.
Kev
eddie32
03-01-2006, 09:25 PM
Content visible to registered users only.
What version do you have.? The problem with version 2 or lower is that the programmers are usually busy dealing with other problems with version 3 which takes priority over 2 as version 3 has paid support.
Be patient someone will come and help you.
Kev[/quote]
Yes, version 2. Sorry to appear impatient, I just spent 3 hours trying to fix this was a little frustrated.
lithman
05-24-2006, 11:08 PM
I am having this same exact problem with version 3.0.5. Any ideas? I have show count enabled, but it won't show any of the links in the sub categories.
neurosis4u
05-24-2006, 11:16 PM
ups...sorry, i wanted to post the thread... but itts deleted from the poster
lithman
05-26-2006, 03:05 PM
I am going to bump this. Still having the same problem as the OP. Show Count is enabled, yet it will not display any of the links in subcategories.
On the main page next to Golf, I want it to show all links in Golf and all the links in the golf sub categories.
http://www.sportslinkup.com
KartKorner
05-27-2006, 03:00 AM
The way the code is structured it will not do that because they decided to build yet another directory script using Adjaceny List. Which means that in order to achieve this effect you would need to create a multitude of innerjoins in order to count all of the links within every subcat of that subcat and all the subcats of those subcats ect.... Meaning if you have a very well build db then you could process tons of data just to extract a possible 0. Perhaps in a newer version they will try and implement a solution that uses the the Preorder Tree Subversal for tleast its link submissions. Then this would work without any problems. Maybe someone can recommend the use of nested sets (lft/rgt) in a future version?!?
neurosis4u
05-27-2006, 10:26 AM
Content visible to registered users only.
have a look here:
http://www.phplinkdirectory.com/forum/showthread.php?p=21208
This will show the number of links for each category
KartKorner
05-27-2006, 11:39 AM
Do you see the multitude of arrays being built? This may work fine if you are only 4 or 5 deep with sublevels but for individuals with thousands of sublevels then it will become bandwidth intensive. Without the use lft and rgt columns in the db then prepared to sacrifice bandwidth and load time for this function.
vBulletin® v3.8.0, Copyright ©2000-2012, Jelsoft Enterprises Ltd.