| Author |
Message |
M0GMX
Newbie


Joined: Feb 28, 2008
Posts: 11
|
Posted:
Thu Feb 28, 2008 7:44 pm |
|
I am running RN 2.20.00
Installed NSN GR Downloads 750.103pl1 done captcha hack from here.
All working except if I click the add link from the Downloads module
I can't select a Category there are none listed.
I have some categories created and permissions set to allow file uploads.
I notice Montego has the same system on here, his categories show up and there is a "goto next step" button which I don't have.
Is there another setting somewhere? or an issue with this version?
Any help greatly appreciated |
| |
|
|
 |
montego
Site Admin/Owner


Joined: Feb 12, 2005
Posts: 946
|
Posted:
Thu Feb 28, 2008 10:41 pm |
|
I checked my categories and I see that the setting for "Submission Permissions" on each one that is in the drop-down list is set to "All Visitors", so I think that is the category configuration setting that you will need to look at.
Unfortunately I do not allow uploads, ever, so not even sure how well that part of the module works. I am always leary of uploader scripts. |
_________________ “To err is human, but when the eraser wears out ahead of the pencil, you’re overdoing it.”
-- Josh Jenkins |
|
|
 |
M0GMX
Newbie


Joined: Feb 28, 2008
Posts: 11
|
Posted:
Fri Feb 29, 2008 5:02 am |
|
Thanks Montego,
I got a couple of categories to show up but still not getting the button.
I checked the code in Modules/Submit_Downloads/index.php and the form appears to be there for the button.
If I look at the file with Frontpage - preview it even shows the button but it is not showing on the website.
I don't profess to have any idea with php I just follow others instructions like the ones supplied by you for the CAPTCHA in this module.
I wanted just Admins to be able to upload to an admin only category and we could then move files later. Well that was the plan. |
| |
|
|
 |
Guardian
Site Admin


Joined: Jul 18, 2005
Posts: 307
|
Posted:
Fri Feb 29, 2008 5:23 am |
|
You shouldn't be using Frontpage to edit PHP files, it will add all sorts of garbage to the page and can under some circumstances even add html opening and closing tags argh!!.
Use a real text editor like Notepad++ which is free.
I'm using NSN GR Downloads myself but I'm about to remoce it in favour of the default downloads module that came with RavenNuke.
This is not to say there is anything wrong ith NSN GR Downloads but I am just getting tired of having to compare lots of files everytime I update my site. |
_________________ Spam Stopper - Comments Modules - Security News - Script Installer |
|
|
 |
montego
Site Admin/Owner


Joined: Feb 12, 2005
Posts: 946
|
Posted:
Fri Feb 29, 2008 7:13 am |
|
I wonder if your theme is hiding the button? Maybe post a link to your site so that I can see what you are seeing? |
_________________ “To err is human, but when the eraser wears out ahead of the pencil, you’re overdoing it.”
-- Josh Jenkins |
|
|
 |
M0GMX
Newbie


Joined: Feb 28, 2008
Posts: 11
|
Posted:
Fri Feb 29, 2008 9:13 am |
|
Guardian, don't worry I did not edit anything with front page I just wanted to look at the page preview locally to see if the button was showing. It was. So I closed it without saving anything but that file is a copy of the one on the server, downloaded just before I looked at it.
Montego
GM RAYNET is the link to the site.
Theme I am using is Deep Blue which came with RN 2.20.00
The button shows on your site here with Deep Blue Theme.
Thanks for any help I appreciate your time.[/url] |
| |
|
|
 |
montego
Site Admin/Owner


Joined: Feb 12, 2005
Posts: 946
|
Posted:
Fri Feb 29, 2008 9:29 am |
|
Won't be able to see unless you activate the Submit Downloads module..  |
_________________ “To err is human, but when the eraser wears out ahead of the pencil, you’re overdoing it.”
-- Josh Jenkins |
|
|
 |
M0GMX
Newbie


Joined: Feb 28, 2008
Posts: 11
|
Posted:
Fri Feb 29, 2008 9:46 am |
|
Sorry I turned it off as it was not working. Doh
It's on now. |
| |
|
|
 |
Guardian
Site Admin


Joined: Jul 18, 2005
Posts: 307
|
Posted:
Fri Feb 29, 2008 2:25 pm |
|
|
|
 |
M0GMX
Newbie


Joined: Feb 28, 2008
Posts: 11
|
Posted:
Fri Feb 29, 2008 5:04 pm |
|
Turned error reporting on I think?
$error_reporting = "true"; // This is the default and means: All errors except Notices
Ran the page & checked the error logs
This is in the log
| Quote: |
| [28-Feb-2008 15:58:15] PHP Fatal error: Call to undefined function: of_group() in /../../../modules/Submit_Downloads/index.php on line 74 |
I edited the full url
I hope that means more to you than it does to me  |
| |
|
|
 |
Guardian
Site Admin


Joined: Jul 18, 2005
Posts: 307
|
Posted:
Fri Feb 29, 2008 5:25 pm |
|
|
|
 |
Guardian
Site Admin


Joined: Jul 18, 2005
Posts: 307
|
Posted:
Fri Feb 29, 2008 5:48 pm |
|
The function actually resides with includes/nsngd_funct.php
This is interesting because that file is not called within the Submit Downloads module.
I have not tested this as I'm actually removing my NSN GR Downloads module and have never installed the Submit Downloads module but...
in modules/submit_Downloads/index.php
find these lines near the top
| Code: |
$module_name = basename(dirname(__FILE__));
@require_once("mainfile.php");
get_lang($module_name);
$index = 1; |
After the require_once for mainfile add this lin underneath
| Code: |
include_once('includes/nsngd_funct.php'); |
|
_________________ Spam Stopper - Comments Modules - Security News - Script Installer |
|
|
 |
M0GMX
Newbie


Joined: Feb 28, 2008
Posts: 11
|
Posted:
Fri Feb 29, 2008 6:10 pm |
|
Thanks Guardian, but still got no button  |
| |
|
|
 |
Guardian
Site Admin


Joined: Jul 18, 2005
Posts: 307
|
Posted:
Fri Feb 29, 2008 6:37 pm |
|
|
|
 |
M0GMX
Newbie


Joined: Feb 28, 2008
Posts: 11
|
Posted:
Fri Feb 29, 2008 6:41 pm |
|
Yes that is the only error listed. It appears a number of times but it's the same one every time. |
| |
|
|
 |
|
|