Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 56
6 members and 50 guests
affiz4iliate6ec, cliaw9cckhereto, lowsad4erback5s, mariacolmanyne3, medaricalddw93g, parttarcts
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
» .:.

Go Back   Nukemods Forum > PHP-Nuke 7.x > Nuke 7.x - Modules

Reply
 
LinkBack Thread Tools Display Modes
Download -Registered members only,can view by outsider
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 2
Join Date: Dec 2004
Download -Registered members only,can view by outsider - 12-12-2004, 01:16 PM

can i know how you all did that "downloads" only can be download by registered members ?but in the same time .. outsider still can view the content !
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#2 (permalink))
Moderator
 
Status: Offline
Posts: 957
Join Date: Nov 2002
Location: Belgium
12-12-2004, 02:13 PM

EDL v2.1 from http://www.nukestyles.com


Yannick R. aka Mighty_Y
http://support.code-area51.com
http://www.code-area51.com

Search before asking makes my life easier!
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#3 (permalink))
Junior Member
 
Status: Offline
Posts: 2
Join Date: Dec 2004
12-13-2004, 12:52 AM

here

http://ravenphpscripts.com/modules.p...etit&lid=70#dl
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#4 (permalink))
Junior Member
 
Status: Offline
Posts: 2
Join Date: Dec 2004
12-16-2004, 10:41 AM

i having some ddificulty with it
some how whenever i clicked the download .. i jumped to mainpage.

can someone help me ?
------------------------------------------------
function getit($lid) {
// Add a new line of code for each $lid to block for registered users only
$lidArray[] = intval;

global $prefix, $dbi,$user,$admin;
if (!is_user($user)&&in_array($lidarray)&&!is_admin($ admin)) {
$pagetitle = "-"._ACCESSDENIED."";
include("header.php");
title("$sitename: "._ACCESSDENIED."");
opentable();
echo"<center"._RESTRICTEDAREA."

"
.""._MODULEUSERS.""
.""._GOBACK."";
closetable();
include("footer.php");
die();
}
sql_query("update".$prefix."_downloads_downloads set hits=hits+1 WHERE lid=$lid",$dbi);
$result = sql_query("SELECT url FROM ".$prefix."_downloads_downloads WHERE lid_$lid",$dbi);
Header("Location: $url");
}

//function getit($lid) {
//global $prefix,$dbi;
//$lid=intval($lid);
//$hits=intval($hits);
//sql_query("update".$prefix."_downloads_downloads set hits=hits+1 WHERE lid=$lid",$dbi);
//update_points(17);
//$result = sql_query("SELECT url FROM ".$prefix."_downloads_downloads WHERE lid='$lid'", &dbi);
//list($url)=sql_fetch_row($result,$dbi);
//header("Location:$url");
//}
-----------------------------------------------

the one with "//" are original coding.

can anyone help me here ?
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#5 (permalink))
Senior Member
 
Status: Offline
Posts: 2,905
Join Date: Sep 2002
12-16-2004, 03:27 PM

Try contacting the author of that script. Or at least post your problem in his forum. :wink:
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
forums view on ARMY theme thesalesman Theme packs 3 12-30-2005 07:58 AM
View Topic Width Help mortician Theme packs 8 12-17-2005 06:16 PM
Home Modules for Anonymous and Registered Users Sarmaul Nuke 7.x - General 0 02-23-2005 05:52 AM
User Info Block doesnt display users registered today or Yes Banzai Nuke 6.5 to 6.9 - Blocks 7 06-22-2003 04:21 PM
Forum registered user problem BabyJade Purged Topics 9 04-26-2003 11:46 AM




vBulletin Skin developed by: vBStyles.com


LinkBacks Enabled by vBSEO 3.3.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31