Montego Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic
Author Message
M0GMX
Newbie
Newbie



Joined: Feb 28, 2008
Posts: 11

PostPosted: Thu Feb 28, 2008 7:44 pm Reply with quote

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
 
View user's profile Send private message
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1399

PostPosted: Thu Feb 28, 2008 10:41 pm Reply with quote

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 
View user's profile Send private message Visit poster's website
M0GMX
Newbie
Newbie



Joined: Feb 28, 2008
Posts: 11

PostPosted: Fri Feb 29, 2008 5:02 am Reply with quote

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.
 
View user's profile Send private message
Guardian
Site Admin
Site Admin



Joined: Jul 18, 2005
Posts: 397

PostPosted: Fri Feb 29, 2008 5:23 am Reply with quote

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.
 
View user's profile Send private message
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1399

PostPosted: Fri Feb 29, 2008 7:13 am Reply with quote

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 
View user's profile Send private message Visit poster's website
M0GMX
Newbie
Newbie



Joined: Feb 28, 2008
Posts: 11

PostPosted: Fri Feb 29, 2008 9:13 am Reply with quote

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]
 
View user's profile Send private message
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1399

PostPosted: Fri Feb 29, 2008 9:29 am Reply with quote

Won't be able to see unless you activate the Submit Downloads module.. Wink

_________________
“To err is human, but when the eraser wears out ahead of the pencil, you’re overdoing it.”
-- Josh Jenkins 
View user's profile Send private message Visit poster's website
M0GMX
Newbie
Newbie



Joined: Feb 28, 2008
Posts: 11

PostPosted: Fri Feb 29, 2008 9:46 am Reply with quote

Sorry I turned it off as it was not working. Doh

It's on now.
 
View user's profile Send private message
Guardian
Site Admin
Site Admin



Joined: Jul 18, 2005
Posts: 397

PostPosted: Fri Feb 29, 2008 2:25 pm Reply with quote

Ah, Manchester, the home of sky high property prices Wink

You may have to turn on error reporting in rnconfig.php as the source code sems to be falling over half way through the form - what do you think M?
 
View user's profile Send private message
M0GMX
Newbie
Newbie



Joined: Feb 28, 2008
Posts: 11

PostPosted: Fri Feb 29, 2008 5:04 pm Reply with quote

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 Confused
 
View user's profile Send private message
Guardian
Site Admin
Site Admin



Joined: Jul 18, 2005
Posts: 397

PostPosted: Fri Feb 29, 2008 5:25 pm Reply with quote

Yes your right, that is called three times in that file.
Give me a minute, let me see if I can find the function...
 
View user's profile Send private message
Guardian
Site Admin
Site Admin



Joined: Jul 18, 2005
Posts: 397

PostPosted: Fri Feb 29, 2008 5:48 pm Reply with quote

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');
 
View user's profile Send private message
M0GMX
Newbie
Newbie



Joined: Feb 28, 2008
Posts: 11

PostPosted: Fri Feb 29, 2008 6:10 pm Reply with quote

Thanks Guardian, but still got no button Sad
 
View user's profile Send private message
Guardian
Site Admin
Site Admin



Joined: Jul 18, 2005
Posts: 397

PostPosted: Fri Feb 29, 2008 6:37 pm Reply with quote

Are you still getting the same error?
 
View user's profile Send private message
M0GMX
Newbie
Newbie



Joined: Feb 28, 2008
Posts: 11

PostPosted: Fri Feb 29, 2008 6:41 pm Reply with quote

Yes that is the only error listed. It appears a number of times but it's the same one every time.
 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
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


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 4 Hours
 
Forums ©
linear-bunchlinear-bunch
linear-bunch
linear-bunch