Results 1 to 1 of 1
-
24th Jan 2009, 11:24 AM #1OPMemberWebsite's:
warezxtc.com[WCDDL][Bug-Fix] Editing Downloads (AdminCP)
Here's a simple bug fix for when editing downloads in the WCDDL adminCP.
Ever noticed how whenever you edit a download, the rating drop down menu starts from 1 instead of 0, so if the downloads rating is 0, and you want to edit the title or something, the rating will automatically change to 1.
Well here's a fix for it.
Open funcs.php
FIND FOR:
Code:for($i=1;$i<=5;$i++) { echo '<option value="'.$i.'"'.($i == $down['rating'] ? ' selected="selected"' : '').'>'.$i.'</option>'; }
Code:for($i=0;$i<=5;$i++) { echo '<option value="'.$i.'"'.($i == $down['rating'] ? ' selected="selected"' : '').'>'.$i.'</option>'; }
CyberJ37 Reviewed by CyberJ37 on . [WCDDL][Bug-Fix] Editing Downloads (AdminCP) Here's a simple bug fix for when editing downloads in the WCDDL adminCP. Ever noticed how whenever you edit a download, the rating drop down menu starts from 1 instead of 0, so if the downloads rating is 0, and you want to edit the title or something, the rating will automatically change to 1. Well here's a fix for it. Open funcs.php FIND FOR: for($i=1;$i<=5;$i++) { echo '<option value="'.$i.'"'.($i == $down ? ' selected="selected"' : '').'>'.$i.'</option>'; }REPLACE WITH: 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
-
[WCDDL] WcDDL v2 mix downloads
By Chris2k in forum Web Application/Script SupportReplies: 11Last Post: 20th May 2011, 08:44 PM -
Generate WCDDL Downloads Keyword
By deAthbLisS in forum Tutorials and GuidesReplies: 4Last Post: 19th Apr 2011, 03:46 PM -
[WCDDL] Top Downloads by Category
By jomasaco in forum Webmaster ResourcesReplies: 5Last Post: 23rd Jan 2010, 07:30 PM -
[Selling] 71,000 Downloads. $1. WCDDL
By archlyric in forum Completed TransactionsReplies: 9Last Post: 11th Dec 2009, 05:24 PM -
WcDDL Empty Downloads
By Daviid in forum Forum and DDL DiscussionReplies: 9Last Post: 11th Oct 2009, 08:37 AM
themaLeecher - leech and manage...
Version 4.94 released. Open older version (or...