» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 65
0 members and 65 guests
No Members online
Most users ever online was 611, 03-21-2008 at 11:10 PM.
» .::.
Web Hosting - web hosting, dedicated servers and web design services
Online Degree - search for 1000+ online degrees, online colleges & online universities.
Tattoo - we are a group of tattoo enthusiasts
Gexa Energy - your absolute best choice in electric service
Texas electricity - save on electric rates
Oral Chelation - initial cleansing of your veins & arteries

Register Now! Contact Us

About this Page
This is a discussion on Dumb downloads question-udated within the Nuke 7.x - Modules forums, part of the PHP-Nuke 7.x category; How exactly do I allow users to add files to the downloads section? When they click the add download button ...


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

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-30-2005, 11:51 PM
Junior Member
 
Join Date: Oct 2004
Posts: 32
Dumb downloads question-udated
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
  #2 (permalink)  
Old 04-04-2005, 09:27 PM
Junior Member
 
Join Date: Oct 2004
Posts: 32
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
  #3 (permalink)  
Old 04-05-2005, 07:07 AM
Moderator
 
Join Date: Sep 2004
Location: Notts, UK
Posts: 330
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
  #4 (permalink)  
Old 04-05-2005, 08:16 AM
Junior Member
 
Join Date: Oct 2004
Posts: 32
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
  #5 (permalink)  
Old 04-05-2005, 10:17 PM
Junior Member
 
Join Date: Oct 2004
Posts: 32
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 05:20 PM
Downloads not showing up in 1.6 enhanced Downloads paycheck Purged Topics 0 06-04-2003 10:49 PM
Help with Downloads ID Mike Nuke 6.5 to 6.9 - Modules 0 05-17-2003 10:29 PM
Question about Downloads Mod Mike Open topics 5 04-04-2003 09:02 PM
Dumb question Idoru Purged Topics 2 12-23-2002 03:22 PM


All times are GMT -5. The time now is 07:43 AM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.

LinkBacks Enabled by vBSEO 3.1.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