Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 57
6 members and 51 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
Dumb downloads question-udated
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 32
Join Date: Oct 2004
Dumb downloads question-udated - 03-30-2005, 10:51 PM

How exactly do I allow users to add files to the downloads section? When they click the add download button it sends it to the admin area, but I can't seem to get it to OK the download so it goes to the main download section.

And better yet, is there a way I can allow registered users to upload the file to a designated folder on my FTP or whatever inside of PHP-nuke?

What I'm trying to do is create a map database for a mod and it would save me a lot of legwork to allow users to upload their own files.

Thanks very much
Me
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#2 (permalink))
Junior Member
 
Status: Offline
Posts: 32
Join Date: Oct 2004
04-04-2005, 08:27 PM

ok, I figured out what I was doing with the adding downloads, I wasn't clicking the right button...told ya it was stupid.


But


I am still in search of a module that would allow users to upload files (ie. maps) of their own, without haveing to send me the file and me having to get onto my ftp and installing it.

Kinda like if you go to www.maps4mods.com they allow you to upload your own map. Of course they don't have php-nuke, but I was wondering if there was a deal that would allow something like that for php-nuke?


Thank you very much.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#3 (permalink))
Moderator
 
Status: Offline
Posts: 330
Join Date: Sep 2004
Location: Notts, UK
04-05-2005, 06:07 AM

There are loads of upload scripts around - you could intergrate one with nuke (you dont have to, but it would look better) then when a user uploads a file it gives them a URL which they can then enter when they submit a download.

Just a simple way :wink:


   
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: 32
Join Date: Oct 2004
04-05-2005, 07:16 AM

cool, I'll look around see if I can find something
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#5 (permalink))
Junior Member
 
Status: Offline
Posts: 32
Join Date: Oct 2004
04-05-2005, 09:17 PM

ok, I found this setup (looks like it's perfect)

http://www.nukecops.com/downloads-fi...gement_v2.html

I went through the setup and I'm supposed to edit this section:

Code:
function AddUpload($upfile) {
    global $prefix, $dbi;
	$uppath = "/local/path/4/example/htdocs/html/images/maps";		//local path for upload
	$upbaseurl = "http://yoursite.com/html/images/maps";			//url path for upload
	$enable_upload = 1;							//enable upload =1, disable =0
I changed the 2nd one to

Code:
"http://sourceforts.brainfreezegames.com/sfmaps";

I'm not sure what to change the first one to though? I've tried several different things but it's not working

There's no support forum for this project so I thought I'd come ask the people I know know what they're doing

Everything shows up in the admin panel (well, the picture doesn't load :?) but when I click it it gives me this:

Quote:
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/bfg/public_html/sourceforts/includes/sql_layer.php on line 286
Access Denied
I've used their included .SQL file to add tables to my database and everything went smoothly there, I've checked and they were all created.

Can anyone help me

Thank you very much!
   
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
Downloads Module: Streaming downloads pacozorro Nuke 6.5 to 6.9 - Modules 2 06-10-2003 04:20 PM
Downloads not showing up in 1.6 enhanced Downloads paycheck Purged Topics 0 06-04-2003 09:49 PM
Help with Downloads ID Mike Nuke 6.5 to 6.9 - Modules 0 05-17-2003 09:29 PM
Question about Downloads Mod Mike Open topics 5 04-04-2003 08:02 PM
Dumb question Idoru Purged Topics 2 12-23-2002 02:22 PM




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