Advertisement:

Author Topic: Plugin Exist for Hidden (Sub/)Category?  (Read 295 times)

d33p

  • Newbie
  • *
  • Posts: 17
Plugin Exist for Hidden (Sub/)Category?
« on: February 17, 2019, 07:55:14 am »
Hope you're all having a good weekend...

Looking for an add-on that gives functionality of hiding a sub-category.
(by hiding, I mean category can still receive posts)


I see I can make a sub-category get disappear by making it get skipped when iterating thru the listings to display.

There are a few files I have to do this on, tho, everywhere the listings are shown.

Anyone have this already written, using a different method?

Thanks...



d33p

  • Newbie
  • *
  • Posts: 17
Re: Plugin Exist for Hidden (Sub/)Category?
« Reply #1 on: February 17, 2019, 11:20:10 pm »
Not a good way of proceeding.

It will omit the listings, but the ad count for the page will be off, as they will not be displayed but still count as ads, throwing off the total and making a page render with fewer than the number assigned as default per page.

I want to find the function that loops thru the items and skip on a per listing or per category basis.

I altered osc_item_title but that just makes the title get messed up in the case of a match. (well good filter for later I guess...but only if u want to censor words and not suppress listings with objectionable language etc.,)   

I'm sure if I look I can find the function, but then again I think it will suppress being able to list in that category if I totally disallow the instance of an item with those matches...

So I'm clueless...
« Last Edit: February 17, 2019, 11:27:02 pm by d33p »

d33p

  • Newbie
  • *
  • Posts: 17
Re: Plugin Exist for Hidden (Sub/)Category?
« Reply #2 on: February 17, 2019, 11:22:44 pm »
Maybe do it as I had in template screen display files, b/c it worked...

but also....

set the item counter one back for each instance of a non-match?

What would that counter be?

thanks in advance...
« Last Edit: February 17, 2019, 11:32:43 pm by d33p »