I posted this on another forum...
I would like to be able to display the XXX category but not in the downloads list until the category is clicked. I would like to have a pop up box that warns of Adult content and the have to press yes to proceed or no if they don't want to see the XXX.
Like I said I had this with the WCDDL script, but don't know if it's a simple mod for DDLCMS or if it would take a lot of coding.
Hope someone can help.
This was the reply...
Ok this can be accomplished by editing the rightside.php file

If you look at the coding in top.php, it lists the downloads the same way with 2 differences:

1. it has "ORDER BY view DESC" in the mysql statement (list by views in descending order)
2. it does not list XXX files in this list (otherwise the top 100 will be flooded with mostly porn), and it accomplishes this by adding this to the mysql statment

WHERE type <> "Xxx"

So if you edit rightside.php you can add the same condition to the sql statement (#2 above) and it won't list any Xxx category downloads).
I cannot find where or how to place the WHERE type<> "Xxx" condition.
If you think you can help. Please PM me and I'll send send you the links to get the files.
Benzoman Reviewed by Benzoman on . [REQ] Neep php coder help. I posted this on another forum... This was the reply...I cannot find where or how to place the WHERE type<> "Xxx" condition. If you think you can help. Please PM me and I'll send send you the links to get the files. Rating: 5