tenants
Well-known member
I've tidied up some loose ends with this, I'm still not entirely happy with it, since it was built on top of code before I really knew what I was doing. I'll be resigning the directory from ground up, but support major fixes for this free version only (not cosmetics / enhancements)
There is now an option to turn off the category list on the left hand side.
You can do this for the main directory page, Option: Display the Category List On Directory Index
You can also do this for the subdirectory pages, Option: Display the Category List On Sub-Directory Pages
I've retested this scenario
Car (0) > subCat (0) > subSubCat (0)
+1 to subSubCat
Car (1) > subCat (0) > subSubCat (1)
Adding an entry to subSubCat increased the counts on Cat by one, and subSubCat by one, but did not increase subCat...
So there was a bug to do with counts around this area, it wasn't to do with the database (therefore rebuilding the counts would not fix this), but it was to do with the way counts were calculated on the fly.
This is fixed, and supports up to 5 level deep nested categories (If the listing is more than 5 deep, it isn't included in the count). Counts are updated automatically (the rebuild is there only if something strange happens, like moving a listing thread to another part of the forum)
This is true, but there is no value to tidying this version up, it doesn't affect the users / use of this plugin (I'm trying to do as much high priority things I can do in as little time as I can, this one is time consuming and low priority... and better suited for when I re-do this plug-in from ground up)
The image is bizarre, I'm not sure why your sub-sub-categories have floated out.. I've tested the sub-category index under FF, IE9, IE8, Safari and Chrome. Make sure you haven't got any out of date templates related to the directory
Can you reproduce the same affect here: http://www.surreyforum.co.uk/directory/eating-out.175
I've tested this with various backgrounds and various styles, and I can't see a defect with any of them
However, I have noticed that if .accountContent {display: table-cell;} is removed, you'll see the same affect as you see on your forum... I have been abusive and re-used the .accountContent css from the core. This shouldn't be an issue, unless your style really changes the core css. So, I've updated it and rely on the this plugins css to support the display: table-cell (let me know if it does/doesn't fix the issue)
I have removed the "Account" styled categories left column as it is pointless as it is only showing top level categories plus the index page is showing the categories and sub categories anyway
There is now an option to turn off the category list on the left hand side.
You can do this for the main directory page, Option: Display the Category List On Directory Index
You can also do this for the subdirectory pages, Option: Display the Category List On Sub-Directory Pages
The sub category of Clubs and Schools I have has sub sub categories for each State of Australia like Qld, NSW, Vic etc. I have created a test entry in Vic (see side block) however the Australia top level category counter and the Clubs and Schools sub category counter still shows "0" entries. I have tried to rebuild counts but no change besides one shouldn't have to as this should be automatic.
I've retested this scenario
Car (0) > subCat (0) > subSubCat (0)
+1 to subSubCat
Car (1) > subCat (0) > subSubCat (1)
Adding an entry to subSubCat increased the counts on Cat by one, and subSubCat by one, but did not increase subCat...
So there was a bug to do with counts around this area, it wasn't to do with the database (therefore rebuilding the counts would not fix this), but it was to do with the way counts were calculated on the fly.
This is fixed, and supports up to 5 level deep nested categories (If the listing is more than 5 deep, it isn't included in the count). Counts are updated automatically (the rebuild is there only if something strange happens, like moving a listing thread to another part of the forum)
Also I noticed a small thing and that is the code in the templates is all over the place...small thing but they could be cleaned up to look more professional with proper tabbing, less carriage returns and zero tabbed separating lines
This is true, but there is no value to tidying this version up, it doesn't affect the users / use of this plugin (I'm trying to do as much high priority things I can do in as little time as I can, this one is time consuming and low priority... and better suited for when I re-do this plug-in from ground up)
Next shows from my install the sub category page of Clubs and Schools:
View attachment 46086
4 things here...firstly many site owners have a forum background set different to the default white. The sub category title is in a different block to the sub categories underneath it...these should all be contained within the same block to make it look better irrespective of what style they may be using.
The image is bizarre, I'm not sure why your sub-sub-categories have floated out.. I've tested the sub-category index under FF, IE9, IE8, Safari and Chrome. Make sure you haven't got any out of date templates related to the directory
Can you reproduce the same affect here: http://www.surreyforum.co.uk/directory/eating-out.175
I've tested this with various backgrounds and various styles, and I can't see a defect with any of them
However, I have noticed that if .accountContent {display: table-cell;} is removed, you'll see the same affect as you see on your forum... I have been abusive and re-used the .accountContent css from the core. This shouldn't be an issue, unless your style really changes the core css. So, I've updated it and rely on the this plugins css to support the display: table-cell (let me know if it does/doesn't fix the issue)