Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Seeking applications ...
Author Message
kgw
New Member
New Member



Joined: Jan 02, 2006
Posts: 12

PostPosted: Mon Jan 16, 2006 12:00 am Reply with quote

I like the security script that RavenScripts wher eyou have to type i a code to download a file.
Question. Whats it called?
Where can I get ahold of it?
Apologies if this is in the wrong area!
 
View user's profile Send private message
kguske
Site Admin



Joined: Jun 04, 2004
Posts: 6433

PostPosted: Mon Jan 16, 2006 6:58 am Reply with quote

There are several download module replacements that allow to to require a CAPTCHA code to be entered before downloading. Two that come to mind are NSN Group Downloads (which requires NSN Groups) and NukeStyles Enhanced Downloads (aka EDL). The NukeStyles site has been down for a while, but you can still find the free 1.7 version and the inexpensive 2.1/2.2 version if you search.

_________________
I search, therefore I exist...
nukeSEO - nukeFEED - nukePIE - nukeSPAM - nukeWYSIWYG
 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Mon Jan 16, 2006 9:39 am Reply with quote

Also you can try the original from McJerry at [ Only registered users can see links on this board! Get registered or login! ]
 
View user's profile Send private message
kguske







PostPosted: Mon Jan 16, 2006 9:43 am Reply with quote

Thanks, Raven. Is that fairly up-to-date with regards to patches / security?
 
kgw







PostPosted: Mon Jan 16, 2006 1:27 pm Reply with quote

As usual, 2nd post answered in less than 24 hours! Thanks so much, I got them both when I figure out whcich one I like I will install to my domain!

Thanks everyone!
 
Raven







PostPosted: Mon Jan 16, 2006 2:38 pm Reply with quote

kguske wrote:
Thanks, Raven. Is that fairly up-to-date with regards to patches / security?
As far as I know. I use it.
 
bartman
Regular
Regular



Joined: Jun 23, 2005
Posts: 61

PostPosted: Fri Mar 03, 2006 5:24 am Reply with quote

I to am looking to add a security code to my downloads section,and while searching the forums for an answer i discovered this post .

I downloaded version from [ Only registered users can see links on this board! Get registered or login! ]

and while looking for the code in the index.php in the downloads module , i was unable to find the following to edit it .
#
#-----[ FIND ]------------------------------------------
#
case "menu":
menu($maindownload);
break;

#
#-----[ ADD AFTER ]------------------------------------------
#

case "gfx":
gfx($random_num);
break;

#
#-----[ EDITING COMPLETE ]------------------------------------------

as per his install instructions

in my index.php when i searched for menu($maindownload);
this is the only section that contained the part that needed to be eddited, by it is not the same.


Code:


function index() {
    global $prefix, $db, $show_links_num, $module_name;
    include("header.php");
    $maindownload = 0;
    menu($maindownload);
    echo "<br>";
    OpenTable();
    echo "<center><font class=\"title\"><b>"._DOWNLOADSMAINCAT."</b></font></center><br>";
    echo "<table border=\"0\" cellspacing=\"10\" cellpadding=\"0\" align=\"center\"><tr>";
    $sql = "SELECT cid, title, cdescription FROM ".$prefix."_downloads_categories WHERE parentid='0' ORDER BY title";
    $result = $db->sql_query($sql);
    $count = 0;
    while ($row = $db->sql_fetchrow($result)) {
   $cid = intval($row['cid']);
   $title = stripslashes(check_html($row['title'], "nohtml"));
   $cdescription = stripslashes($row['cdescription']);
   if ($show_links_num == 1) {
       $cnumrows = $db->sql_numrows($db->sql_query("SELECT * FROM ".$prefix."_downloads_downloads WHERE cid='$cid'"));
       $cnumm = "($cnumrows)";
   } else {
       $cnumm = "";
   }
   echo "<td><font class=\"option\"><strong><big>&middot;</big></strong> <a href=\"modules.php?name=$module_name&amp;d_op=viewdownload&amp;cid=$cid\"><b>$title</b></a>$cnumm</font>";
   categorynewdownloadgraphic($cid);
   if ($cdescription) {
       echo "<br><font class=\"content\">$cdescription</font><br>";
   } else {
       echo "<br>";
   }
   $sql2 = "SELECT cid, title FROM ".$prefix."_downloads_categories WHERE parentid='$cid' ORDER BY title LIMIT 0,3";
   $result2 = $db->sql_query($sql2);
   $space = 0;
   while ($row2 = $db->sql_fetchrow($result2)) {
      $cid = intval($row2['cid']);
      $stitle = stripslashes(check_html($row2['title'], "nohtml"));
          if ($space>0) {
         echo ",&nbsp;";
       }
        if ($show_links_num == 1) {
           $cnumrows2 = $db->sql_numrows($db->sql_query("SELECT * FROM ".$prefix."_downloads_downloads WHERE cid='$cid'"));
         $cnum = " ($cnumrows2)";
       } else {
         $cnumrows2 = "";
       }
       echo "<font class=\"content\"><a href=\"modules.php?name=$module_name&amp;d_op=viewdownload&amp;cid=$cid\">$stitle</a>$cnum</font>";
       $space++;
   }
   if ($count<1) {
       echo "</td><td>&nbsp;&nbsp;&nbsp;&nbsp;</td>";
       $dum = 1;
   }
   $count++;
   if ($count==2) {
       echo "</td></tr><tr>";
       $count = 0;
       $dum = 0;
   }
    }
    if ($dum == 1) {
   echo "</tr></table>";
    } elseif ($dum == 0) {
   echo "<td></td></tr></table>";
    }
    $numrows = $db->sql_numrows($db->sql_query("SELECT * FROM ".$prefix."_downloads_downloads"));
    $catnum = $db->sql_numrows($db->sql_query("SELECT * FROM ".$prefix."_downloads_categories"));
    echo "<center><font class=\"content\">"._THEREARE." <b>$numrows</b> "._DOWNLOADS." "._AND." <b>$catnum</b> "._CATEGORIES." "._INDB."</font></center>";
    CloseTable();
    include("footer.php");
}




where in that part of code do i need to add


case "gfx":
gfx($random_num);
break;



I am using nuke 7.6 patched 3b
Thanks
 
View user's profile Send private message
Susann
Moderator



Joined: Dec 19, 2004
Posts: 3191
Location: Germany:Moderator German NukeSentinel Support

PostPosted: Fri Mar 03, 2006 8:56 am Reply with quote

Maybe this helps: [ Only registered users can see links on this board! Get registered or login! ]
 
View user's profile Send private message
bartman







PostPosted: Fri Mar 03, 2006 6:26 pm Reply with quote

Susann wrote:
Maybe this helps: [ Only registered users can see links on this board! Get registered or login! ]


Thanks Susann got it going Very HappyVery Happy
 
myrtletrees
Involved
Involved



Joined: Sep 13, 2005
Posts: 259
Location: Cornfields of Indiana

PostPosted: Tue Aug 22, 2006 12:03 pm Reply with quote

Raven wrote:
Also you can try the original from McJerry at [ Only registered users can see links on this board! Get registered or login! ]


I guess they don't like hotlinking. This is what you get in that download raven

Quote:
Hi.

I suppose you want to know what the hell is going on.

Here's the scoop. The site you downloaded this file from
is not authorized to link to the file you requested. You
can download the intended file from our real site at [ Only registered users can see links on this board! Get registered or login! ]

The best part of our downloads, you dont need to register
to download them, and you are getting the files from the
original source so you can be assured the files are
legitimate and current.

Sorry for the inconvenience, but I dont believe I should
pay for traffic that I do not see when people hotlink our
files from their server.

Feel free to drop by our site and enjoy yourself.

Cheers,
MGCJerry [ Only registered users can see links on this board! Get registered or login! ]


also, make sure you use the updated version from their site that I updated with chatserv's manual security fixes.
[ Only registered users can see links on this board! Get registered or login! ]
 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Seeking applications ...

View next topic
View previous topic
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 can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©