Results 11 to 12 of 12
Threaded View
-
10th Dec 2009, 12:40 AM #1OPMember
[REQ] Neep php coder help.
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.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).
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
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Looking for A coder to make a coder forum.
By Florios in forum Webmaster DiscussionReplies: 1Last Post: 26th Oct 2011, 01:51 AM -
PHP Coder
By spirkov in forum Completed TransactionsReplies: 6Last Post: 17th Jan 2011, 01:01 PM -
[Hiring] WCDDL Coder + Designer OR Script from scratch designer and coder
By ushare in forum Completed TransactionsReplies: 3Last Post: 28th Dec 2010, 09:51 AM -
[Hiring] Coder
By lib3rty1 in forum Completed TransactionsReplies: 3Last Post: 18th Aug 2010, 08:24 AM -
I need a Coder
By CyberHacK in forum Community CooperativeReplies: 13Last Post: 9th Mar 2010, 06:42 PM
themaManager - edit and manage...
Version 4.20 released. Open older version (or...