Results 1 to 10 of 12
Hybrid 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
-
10th Dec 2009, 01:16 AM #2Member
Well honestly, a simpler way would be, make that category (if possible) hidden.
Then create another category with the same name, that redirects to a html page, stating blah blah be 18, if not go to google.com (lol).
If they agree, it takes them to the hidden category.
Thats an easier way, and cheaper too! You can do it yourself without paying anyone.
-
10th Dec 2009, 01:31 AM #3OPMember
I'm just asking for help....lol
I'm not offering any payment besides a "Thank-You"
It's a quick code edit...for someone who knows that they're doing....lol
Not me.
-
10th Dec 2009, 01:36 AM #4Member
Ah... well i would offer my help, but i have too many things to do atm sry . but i am sure sum1 can help you on this forum.
or just do what i said? alolt easier
-
10th Dec 2009, 01:48 AM #5OPMember
Thanks for offering not to help....lol jk
I can't figure out what you said to do instead...lol
So can't be easier for me...maybe better though.
Actually for SEO I think it may be better to leave it alone.
-
10th Dec 2009, 01:53 AM #6Member
make the section hidden. Now make another forum and link it to an agreement page. Then from the agreement page links to your hidden section
Please follow signature rules
-
10th Dec 2009, 01:54 AM #7
-
10th Dec 2009, 02:00 AM #8Member
-
10th Dec 2009, 01:55 AM #9OPMember
I'm talking about a DDL site not a forum...lol
Isn't that obvious from the WCDDL and DDLCMS scripts....
-
10th Dec 2009, 01:56 AM #10Member
they basically have the same concept, you should still be able to do it.
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
themaRegister - register to forums...
Version 3.54 released. Open older version (or...