Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   EDL 2.1
PropHet
CZ Newbie
PropHet has been a member for over 19 year's 19 Year Member
Website:
Status: Offline
Joined: Sep 01, 2004
0.00 posts per day
Posts: 18
Points: 1,206
   
I noticed you guys are using Enhanced Downloads 2.1 from Nuke Styles.

How do you like this add on? It's pretty cheap at $5.00 and I am just wondering how well you guys like it?



Back to top Reply with quote
#2   
Telli
Site Admin
Telli has been a member for over 20 year's 20 Year Member
Occupation: Self Employed
Age: 45
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.06 posts per day
Posts: 8089
Points: 494,430
   
I have made a ton of changes to our version but the base package is real nice.




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#3   re: EDL 2.1
PropHet
CZ Newbie
PropHet has been a member for over 19 year's 19 Year Member
Website:
Status: Offline
Joined: Sep 01, 2004
0.00 posts per day
Posts: 18
Points: 1,206
   
I went ahead and purchased it and my response is mixed.

Overall I agree it is nice but I am going crazy getting the upload function to work.

Maybe you can help, if you don't mind.

I have 200 files in a folder I named 'download' and it is in my root nuke directory. A lot of those files are in sub directories.

From what I can tell EDL forces you to have downloads in your modules/Downloads direcotry. I don't see how I can do this because all my downloads will break if I move them to a different directory. I have tried to change the code so it will look in my root 'downloads' directory and I thought I was successfull but now I can't upload files at all. I don't really get any errors. The pop up window just says I cant upload files.

I figure I can live without being able to upload files but it is a little annoying. I didn't pay much so that isn't such a big deal.



Back to top Reply with quote
#4   
Telli
Site Admin
Telli has been a member for over 20 year's 20 Year Member
Occupation: Self Employed
Age: 45
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.06 posts per day
Posts: 8089
Points: 494,430
   
You can move them all to the Downloads/fileup folder and rename them in the database. I thought there was a setting in the admin page which let you set where the file was?




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#5   re: EDL 2.1
PropHet
CZ Newbie
PropHet has been a member for over 19 year's 19 Year Member
Website:
Status: Offline
Joined: Sep 01, 2004
0.00 posts per day
Posts: 18
Points: 1,206
   
There is a setting in the admin page that lets you tell the system what the folder in modules/downloads is called. If you look at the code in ns_edl_manage.php he has it set up to look in modules/Downloads.

function ns_edl_manage() {
global $prefix, $dbi, $bgcolor2;
ns_edl_manage_pop();
ns_edl_top("manage");
$result_dr = sql_query("SELECT ns_dl_file_dir, ns_dl_image_dir from ".$prefix."_ns_downloads_upload", $dbi);
list($ns_dl_file_dir, $ns_dl_image_dir) = sql_fetch_row($result_dr, $dbi);
ns_dl_OpenTable();
OpenTable2();
echo "<center><font class=\"title\">"._NSDLMANAGEFLIMG."</font></center>";
CloseTable2();
ns_dl_CloseTable();
ns_dl_OpenTable();   
echo "<br><table align=\"center\" cellpadding=\"4\" cellspacing=\"0\" border=\"0\" ";
echo "width=\"100%\"><tr><td colspan=\"2\" align=\"center\"><div align=\"justify\">";
echo ""._NSDLMANAGENOTE."</div></td></tr>";
echo "</table>";
echo "<br><hr color=\"$bgcolor2\" width=\"80%\"><br>";
echo "<table align=\"center\" cellpadding=\"4\" cellspacing=\"0\" border=\"0\">";
echo "<tr><td colspan=\"2\" align=\"center\">";
echo "[ <a href=\"admin.php?op=ns_edl_manage_fileall#fileall\">"._NSDLSHOWALLFILES."</a> ] - ";
echo "[ <a href=\"admin.php?op=ns_edl_manage_imgall#imgall\">"._NSDLSHOWALLIMGS."</a> ]";
echo "</td></tr>";
echo "</table>";
echo "<br><hr color=\"$bgcolor2\" width=\"80%\"><br>";
echo "<a name=\"managefile\">";
echo "<table align=\"center\" cellpadding=\"4\" cellspacing=\"0\" border=\"0\" ";
echo "width=\"75%\"><tr><td colspan=\"2\" align=\"center\"><font class=\"title\"><u>";
echo ""._NSDLUNATTFILES.":</u></font><br><br></td></tr>";
$fpath = "modules/Downloads/$ns_dl_file_dir";
$fdir = opendir($fpath);
while ($file = readdir($fdir)) {
    if (!is_dir($file)) {
      if (ereg("[.]",$file)) {   
      $ffile = "$fpath/$file";         
      $result_dl = sql_query("select lid, title, url from ".$prefix."_downloads_downloads where url='$ffile'", $dbi);
      list($lid, $title, $url) = sql_fetch_row($result_dl, $dbi);
          if ($url != $ffile) {
               echo "<tr><td align=\"left\" width=\"60%\"><b>$file</b></td>";
               echo "<td align=\"center\" width=\"40%\">";
               echo "<input type=\"button\" value=\""._NSDLFCHECK."\" title=\""._NSDLFCHECK."\" ";
               echo "onClick=\"window.location='$ffile'\"> ;; ;;";
               echo "<input type=\"button\" value=\""._NSDLTDELETE."\" title=\""._NSDLTDELETE."\" ";
               echo "onClick=\"window.location='admin.php?op=ns_edl_manage_delfile";
               echo "&amp;file=$file#filedel'\">";
               echo "</td></tr>";
          }
      }
    }
}
closedir($fdir);


See this part here?


$fpath = "modules/Downloads/$ns_dl_file_dir";
$fdir = opendir($fpath);


That says whatever I put in my config just add that directory to modules/Downloads.

I think it is crap.

If I just move all my downlaods into modules/Downloads/files then won't I have to go through the database one file at a time? Not to mention I have a lot of sub folders in my downlaods directory for easier management.


Back to top Reply with quote
#6   
Telli
Site Admin
Telli has been a member for over 20 year's 20 Year Member
Occupation: Self Employed
Age: 45
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.06 posts per day
Posts: 8089
Points: 494,430
   
Are you using the standard downloads module now?




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#7   re: EDL 2.1
PropHet
CZ Newbie
PropHet has been a member for over 19 year's 19 Year Member
Website:
Status: Offline
Joined: Sep 01, 2004
0.00 posts per day
Posts: 18
Points: 1,206
   
No, I am using this. The upload function is pretty much broken.



Back to top Reply with quote
#8   
Telli
Site Admin
Telli has been a member for over 20 year's 20 Year Member
Occupation: Self Employed
Age: 45
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.06 posts per day
Posts: 8089
Points: 494,430
   
Ok but you said you had all these downloads already set and moving them would break them so I took as though you already have a Download module of some sort that your using. If you dont then just move the file and when you enter the new download put the location to it.




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#9   re: EDL 2.1
PropHet
CZ Newbie
PropHet has been a member for over 19 year's 19 Year Member
Website:
Status: Offline
Joined: Sep 01, 2004
0.00 posts per day
Posts: 18
Points: 1,206
   
I have been using the standard nuke downloads module.

I have a directory in my nuke root called downloads. All my files are in there.

For instance I have a Half-Life gaming site so one of my files is downloads/halflife/maps/boot_camp.zip.

If I move the downloads folder to modules/Downloads/downloads then all my database entries will be broken since they point to downloads/halflife/maps and so on.

We are talking about 200 entries.

If this gets fixed can I use the upload function to upload to sub folders? I sure didn't think so.

I hope I have explained this well.



Back to top Reply with quote
#10   re: EDL 2.1
Tude
CZ Newbie
Tude has been a member for over 19 year's 19 Year Member
Status: Offline
Joined: Oct 25, 2004
0.00 posts per day
Posts: 2
Points: 540
   
i added the edl to my site and now when i click downloads in the admin section this is what i get.

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/queen/public_html/includes/sql_layer.php on line 299
Access Denied.


If anyone could help i would realy apreciate it.



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum