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 2011-02-14 16:53:03

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

Question about subcategories

Hi,

First thing for the RC1 development is the subcategories (was not initially planned, however more and more clients want this feature). There are 2 methods to implement this:

1. One mysql table, you can get everything in one query but some code in php is required to create a good hierarchical tree. This supports only 1 sublevel (basically a category
can have one or more subcategories (a subcategory cannot have sub-sub-categories)). This is already implemented and its quite fast, however if i would decide to make it work
with more sublevels it would be slow. Do you think that more than 1 sublevel is required?

2. One mysql table with a range for the categories, this can have infinite number of sub-sub-levels. It is not so easy to implement, getting data from mysql is easy and fast, adding/updating
data is slow.


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

Offline

#2 2011-02-14 18:52:07

Coscast
Member
From: Germany
Registered: 2010-10-03
Posts: 546

Re: Question about subcategories

Can i have a Version with this subcat thing ?

I don't really see a use of this feature, please drop it smile

It adds minimum one additional query, or ? Please keep AVS Lightweight smile


sgt-halfsize-banner.jpg

Offline

#3 2011-02-14 22:33:59

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

Re: Question about subcategories

It just replaces a query with another query (and since you already use caching), so it changes nothing. If you dont add subcategories in admin, it wont
change anything.

So basically even if support for subcategories is there, it is transparent and it wont affect your site in any way.


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

Offline

#4 2011-02-15 08:28:33

Sava
Member
Registered: 2011-02-05
Posts: 11

Re: Question about subcategories

the sub-category is a great idea, it can make your site look unique unlike every other site you see out there. They all have your typical pornh*b categories, personally I can't wait for it smile
Keep it up Adrian love your script wink

Sava

Offline

#5 2011-02-22 17:16:20

Pornogoddess
Member
From: NY
Registered: 2011-01-12
Posts: 183
Website

Re: Question about subcategories

This will work perfectly for "Gay" categories.
Wonderful idea! smile

Kiki

Offline

Board footer

Powered by FluxBB