| Author |
Message |
Drek
Private


Joined: Dec 16, 2005
Posts: 45
|
Posted:
Fri Dec 16, 2005 5:11 am |
  |
I'm trying desperately to install NukeStyles Enhanced Downloads Module 1.7a into PHP-Nuke 7.9. I've renamed my admin.php, so I went through the entire module and changed admin.php to $admin_file (with the appropriate globals and coding). I also renamed the download.php file to index.php and moved it to the Downloads/admin folder. After deleting the one link to the NukeStyles admin that wasn't working (from the Downloads admin cp, can still access it from the upper Nuke admin cp), the admin seems to be working properly, and I am able to add downloads.
However the downloads themselves aren't working. I'm thinking the problem is right at the start of the getit function for the downloads, and probably is something simple. I'm getting a blank page, but I don't have access to error reporting for PHP (actually I may, but it will be a bit of an ordeal getting it I think). I'm wondering if there are good lists of changelogs for PHP-Nuke for versions 7.6 - 7.9 as this module apparrently worked on 7.5. Any suggestions would be gratefully received. The links that aren't working look like this:
http://www.domain.net/modules.php?name=Downloads&d_op=getit&lid=4 |
|
|
   |
 |
dezina
Support Mod


Joined: Jun 09, 2003
Posts: 1713
Location: England
|
Posted:
Fri Dec 16, 2005 5:18 am |
  |
Structure for modules changed in latest versions of PHPNuke
hence why that mod will not work  |
_________________
Backup files BEFORE altering
Use PHPNuke 7.6 with patches!!
No private messages please, POST in forums. |
|
    |
 |
Drek
Private


Joined: Dec 16, 2005
Posts: 45
|
Posted:
Fri Dec 16, 2005 6:28 am |
  |
You're right of course, but I figured it out! Woohoo! I had already fixed the problem with structure (see above). The final problem was one of the changes with 7.8. Enhanced Downloads uses its own makepass function, which was conflicting with the makepass function that was moved to the mainfile.php in 7.8. Anyway, all I did was rename the Enhanced Downloads makepass function, and woohoo, everything works swimmingly! (Of course I had to rename the function and all the function calls, but all that was required was a simple search and replace.) It took me two or three days of fumbling around in the dark to fix up the module, but I think it will be worth it because the Enhanced Downloads module is much nicer than the default Nuke module, and I like the added security against bots and leeching as well.  |
Last edited by Drek on Fri Dec 16, 2005 9:08 am; edited 1 time in total |
|
   |
 |
dezina
Support Mod


Joined: Jun 09, 2003
Posts: 1713
Location: England
|
Posted:
Fri Dec 16, 2005 7:19 am |
  |
| Quote: |
| I had already fixed the problem |
Great, well done, am sure the PHPNuke community would
like an opportunity to download your adaptation if you
could make it available  |
_________________
Backup files BEFORE altering
Use PHPNuke 7.6 with patches!!
No private messages please, POST in forums. |
|
    |
 |
Drek
Private


Joined: Dec 16, 2005
Posts: 45
|
Posted:
Fri Dec 16, 2005 9:07 am |
  |
Sure, I'll gladly do that, once I am sure I have fixed all the problems (I found another after my last post - nothing critical). I also don't have any hosting so maybe I could email it to someone who can double check it and host it somewhere. |
|
|
   |
 |
JoAnne
Lieutenant


Joined: Sep 22, 2005
Posts: 204
Location: NYC
|
Posted:
Fri Dec 16, 2005 5:05 pm |
  |
| Drek wrote: |
| Sure, I'll gladly do that, once I am sure I have fixed all the problems (I found another after my last post - nothing critical). I also don't have any hosting so maybe I could email it to someone who can double check it and host it somewhere. |
Hi Drek
I have been looking for the Enhanced Download Module. I have 7.8, don't know if it would work, but I would like to try it.
Thanks
JoAnne ~
United Sound of Music
REEL SOUND of MUSIC
 |
|
|
     |
 |
Drek
Private


Joined: Dec 16, 2005
Posts: 45
|
Posted:
Sat Dec 17, 2005 2:52 am |
  |
Well send me a pm with your email and I'll zip it up and email it to you. I think it will probably work with 7.8, in fact I'm pretty sure it will. |
Last edited by Drek on Sun Dec 18, 2005 5:59 am; edited 1 time in total |
|
   |
 |
StrykerJ
Nuke Cadet


Joined: Nov 12, 2005
Posts: 2
|
Posted:
Sat Dec 17, 2005 6:17 am |
  |
Hi Drek. I use php-nuke platinum 7.6 with pnc 2.1. I am new to this so forgive if I missed the answer to this question. Will your fix work with the version I have. I've tried to get my site to do uploads, and finally got the nukstyles download one to work. But when up[loading a file, it syas it has been, then it cannot be found. One of the others (could be nsn module) will upload the file, then says that it could not complete because the description was not entered, even though it was. I am going to pm you with my e-mail address. If you would be kind enough to share with me also, I would greatly apperciate it. |
|
|
   |
 |
JoAnne
Lieutenant


Joined: Sep 22, 2005
Posts: 204
Location: NYC
|
Posted:
Sat Dec 17, 2005 7:15 am |
  |
| Drek wrote: |
| Well send me a pm with your email and I'll zip it up and email it to you. I think it will probably work with 2.8, in fact I'm pretty sure it will. |
Sent you a pm, Thank You!!
I could also host it for you if you want, let me know
All the Best
JoAnne ~
United Sound of Music
REEL SOUND of MUSIC
 |
|
|
     |
 |
Drek
Private


Joined: Dec 16, 2005
Posts: 45
|
Posted:
Sat Dec 17, 2005 7:36 am |
  |
I'll get to your two pms shortly. I just need to package it up. Hosting would be greatly appreciated, if you could host it and post the link in this thread that would be faboo. Just be aware that you could get alot of hits on this. This should work with versions 7.6 - 7.9 as 7.6 was when the admin structure was changed and the ability to change the name of the admin file was added. Those are the two biggest changes.
Please be aware that I am pretty much a coding newbie. I don't think anything I have done could introduce any new security vulnerabilities that weren't already there, but I can't guarantee anything, so use this at your own risk. Also because I am fairly ignorant, I probably won't be able to provide much support if there are problems. I will try to make sure the install instructions are clear. You should also be aware that this will only work for English, I don't know any other languages... (The module should work for other languages, there will just be some missing text in the menus.) |
|
|
   |
 |
zonbai
Nuke Cadet


Joined: Dec 17, 2005
Posts: 2
|
Posted:
Sat Dec 17, 2005 11:41 am |
  |
I too have been trying for days to get the Enhanced Downloads Module to work with Nuke 7.8. A link to the fix(s) would be very appreciated
Thanks for your hard work on this issue |
|
|
   |
 |
dsclansw
Nuke Cadet


Joined: Dec 17, 2005
Posts: 3
|
Posted:
Sat Dec 17, 2005 11:50 am |
  |
I have PM'd you with the request, and I would be happy to host your fix for you if I can get it!
If it is ready to go, you would save me restoring my DB to get old download module working again....sigh.
As you stated above, with the new module, everything seems to work until you actually attempt a download, then I get blank page. I am also running 7.9 with 3.1 patches....hope it will owrk for me as well!
And does anyone know what happened to NukeStyles, anyways??? |
|
|
   |
 |
Drek
Private


Joined: Dec 16, 2005
Posts: 45
|
Posted:
Sat Dec 17, 2005 2:04 pm |
  |
I'm not going to email this out to anyone else at this point. I've got three people testing the package I put together, and if it works as intended, two of them have offered to host the file, so a link to the files will be posted here one way or another. |
|
|
   |
 |
JoAnne
Lieutenant


Joined: Sep 22, 2005
Posts: 204
Location: NYC
|
Posted:
Sun Dec 18, 2005 5:50 am |
  |
NukeStyles Enhanced Downloads Module 1.7a is up and running on 7.8 3.1
I used the install and it went smoothly
I am still working on some images and tweaks for my site, but it can be viewed and downloaded here:
REEL SOUND of MUSIC
Great work, Thank You DREK!!
JoAnne ~
United Sound of Music
REEL SOUND of MUSIC
 |
|
|
     |
 |
zonbai
Nuke Cadet


Joined: Dec 17, 2005
Posts: 2
|
Posted:
Mon Dec 19, 2005 8:02 am |
  |
Installed it on Nuke 7.8 fresh install.
works great!
Thanks Drek!
thank you Joanne for hosting it! |
Last edited by zonbai on Wed Dec 21, 2005 5:02 pm; edited 2 times in total |
|
   |
 |
|
|