Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2016-04-11 19:49:51

happylag
Member
Registered: 2016-04-05
Posts: 182

List Categories which have videos

Hello,

Under the left sidebar categories list. Is it possible to list categories which have videos only?

Thank you.

Offline

#2 2016-04-12 00:49:32

spankmonkey
Member
From: Detroit, MI
Registered: 2015-11-18
Posts: 37
Website

Re: List Categories which have videos

Easiest way is to click the green checkbox circle on your categories page and re-enable them when you have videos added for that category.  I'm sure with some filters you could re-code it on the template pages, but I tend to prefer things the easy way.

Offline

#3 2016-04-12 05:34:39

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: List Categories which have videos

Edit templates/defboot/extend/plugins/categories.plugin.php and replace:

FROM #__video_categories

with:

FROM #__video_categories WHERE total_videos > 0

Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

Board footer

Powered by FluxBB