Clan Adverts

Sponsors

CT on Facebook

Latest Product

User Box

Anonymous
38.107.179.219
Nickname:

Password:

Security Code
Security Code
Type Security Code


PND Downloads Feed

Phpnuke Downloads
How to Delete or Reset yo...
How to Delete or Reset your PHPNuke Admin Account
Lost your admin password ?  Cant login to your admin account ? This s...
Back Online & Stuff
Back Online & Stuff
Look at us with our nifty website back up and running… Seriously...
How to edit the admins in...
How to edit the admins in the forums
Here is a way to make someone admin in your forums on your Evo site. I...
Demo Splash Screen
Demo Splash Screen
Ped @ Clan Themes has released a simple splash screen entrance hack. ...
Free Phpnuke Business The...
Free Phpnuke Business Theme 6
This is the 6th Business theme for Phpnuke that Clan Themes has releas...
Tricked Out Slider
Tricked Out Slider
We have seen some great new things come out of Tricked Out News and th...

Custom Work

PHP Nuke Custom Work

www.clanthemes.com :: View topic - Download module hack
Download module hack

2 Replies / 1280 Views


Post new topic   Reply to topic  

   www.clanthemes.com Forum Index » Modules

View previous topic :: View next topic


cupoftea
Reputation: 21.7 Add RepSubtract Rep
Local time: 8:51 AM
Location: Behind My Computer
belgium.gif

Spammer
Spammer

0.08 posts per day
Medals: 0

Joined: Apr 30, 2008
Last Visit: 14 Mar 2009
Posts: 113
Points: 2379 

Post Download module hack Posted: Sat May 03, 2008 12:49 pm

I downloaded a hack for the download module, but I don't understand how to install it...
This is the readme file:
[font=Courier New]Original Download Module with Upload Feature v1.0 for Phpnuke 6.5

ENGLISH

I was looking for an upload module that can manage downloads and uploads, so I decided to modify the original one.
The users can upload files, and the admin has to accept them, in the same way of the original module.

Features:
works on the original download module
no download database rebuild needed
upload on existent categories
admin can enable/disable upload feature
uploads are sorted in folders, reflecting categories
folders are created when at the first upload in that category
Tested on phpnuke 6.5 but it can work also in other versions


INSTALLATION
After the backup of your modules/downloads, you have to extract the archive in that directory.
Edit the file d_config.php and set the variables $uppath e $upbaseurl needed for upload.

$uppath must contain the absolute path of the upload base dir (ex. c:/inetpub/wwwroot/uploads or /web/htdocs/phpnuke/upload)

$upbaseurl must contain the URL path to resolve the same dir

Write permission must be enabled on the dir for web users.
If you want to host .exe files on IIS you have to control that execute permission are disabled.

$enable_upload permit to disable upload feature.

If you want to use a language different than english and italian, you have to import downloads/language/other_lang.php in your language file that is in /modules/downloads/language/xxx-lng.php and translate it



You can send suggestions and bugs to: alessior@tiscali.it



TO-DO
improve folder management to use cat names and their order
do a pop-up window with the upload state
manage the movement of the file, if it is moved to an other category
Improve the visualization of categories in the main pages (as other scripts does) [/font]

if you need more information plz ask
 

Grtz, CupOfTea --- My Nuke Version: 8.0 Patched 3.5 ---  
View user's profileSend private messageSend e-mailVisit poster's websiteMSN Messenger Reply with quote

DoC
Reputation: 89.6 Add RepSubtract Rep
votes: 5
Local time: 7:51 AM
Location: UK
uk.gif



0.20 posts per day
Medals: 3 (View more...)
Super Dedicated User (Amount: 1)
Forums Moderator
Forums Moderator
Joined: Feb 07, 2007
Last Visit: 30 Jun 2011
Posts: 394
Points: 4451 

Post Re: Download module hack Posted: Sat May 03, 2008 4:00 pm

Shop Purchases:
Clan Roster v1.7 Php Nuke Module · Clan Roster 2.0

cupoftea wrote:
INSTALLATION
After the backup of your modules/downloads, you have to extract the archive in that directory.
Edit the file d_config.php and set the variables $uppath e $upbaseurl needed for upload.

$uppath must contain the absolute path of the upload base dir (ex. c:/inetpub/wwwroot/uploads or /web/htdocs/phpnuke/upload)

$upbaseurl must contain the URL path to resolve the same dir

Write permission must be enabled on the dir for web users.
If you want to host .exe files on IIS you have to control that execute permission are disabled.

$enable_upload permit to disable upload feature.


Ok for the paths they need to be like the following (using your actual details, ask your host if you are unsure of what these are):

$uppath: /home/YOURDOMAIN/modules/downloads/upload
$upbaseurl: http://www.YOURDOMAIN.com/modules.php?name=Downloads&file=uploads <--- This is guessing and should not be following to the letter.

For the write permission (also known as CHMOD) you can use an FTP Client to do this or the web -based File Manager if using CPanel by right clicking then Permissions/Properties and set as needed.

Hope this helps clarify a few things for you bro Wink

DoC
 

 
View user's profileSend private messageSend e-mail Reply with quote

cupoftea
Reputation: 21.7 Add RepSubtract Rep
Local time: 8:51 AM
Location: Behind My Computer
belgium.gif

Spammer
Spammer

0.08 posts per day
Medals: 0

Joined: Apr 30, 2008
Last Visit: 14 Mar 2009
Posts: 113
Points: 2379 

Post Download module hack Posted: Sat May 03, 2008 5:55 pm

THX for your help, and i hope this helps other PPL too!
 

 
View user's profileSend private messageSend e-mailVisit poster's websiteMSN Messenger Reply with quote

Post new topic   Reply to topic  
   www.clanthemes.com Forum Index » Modules


 
2 Replies / 1280 Views
Page 1 of 1
All times are GMT
Display posts from previous:   
 
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