Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

The USER is allowed to ADD CATEGORIES!!

Quote Reply
The USER is allowed to ADD CATEGORIES!!
I guess this the right forum for modifications.

I need to allow the USER, when logged in, to ADD CATEGORIES under the only category that I have; therefore, I created a file called addcategory.cgi, but the user still going through the Editor's Login checking when trying to add a category.

Can someone please tell me how to modify this file to allow the user to add categories:

Code:
#!/usr/local/bin/perl
# ==================================================================
# Links SQL - enhanced directory management system
#
# Website : http://gossamer-threads.com/
# Support : http://gossamer-threads.com/scripts/support/
# CVS Info : 087,071,086,094,085
# Revision : $Id: browser.cgi,v 1.22 2001/12/30 19:33:05 alex Exp $
#
# Copyright (c) 2001 Gossamer Threads Inc. All Rights Reserved.
# Redistribution in part or in whole strictly prohibited. Please
# see LICENSE file for full details.
# ==================================================================

use strict;
use lib '/home/www/mydomain/cgi-bin/links/admin';
use Links qw/$CFG/;
use Links::User::Editor;

local $SIG{__DIE__} = \&Links::fatal;

Links::init('/home/www/mydomain/cgi-bin/links/admin');
Links::init_user();

if (GT::Plugins->dispatch ($CFG->{admin_root_path} . '/Plugins', 'check_request', \&Links::check_request)) {
GT::Plugins->dispatch ($CFG->{admin_root_path} . '/Plugins', 'handle_editor', \&Links::User::Editor::handle);
}



Thank you for your help...

Mark
Subject Author Views Date
Thread The USER is allowed to ADD CATEGORIES!! Mark2 9705 Sep 28, 2002, 3:26 PM
Thread Re: [Mark2] The USER is allowed to ADD CATEGORIES!!
Andy 9605 Sep 30, 2002, 1:47 AM
Thread Re: [Andy] The USER is allowed to ADD CATEGORIES!!
Mark2 9548 Sep 30, 2002, 7:11 AM
Thread Re: [Mark2] The USER is allowed to ADD CATEGORIES!!
SandraR 9264 May 20, 2005, 12:50 PM
Thread Re: [SandraR] The USER is allowed to ADD CATEGORIES!!
SandraR 9274 May 23, 2005, 2:40 PM
Thread Re: [SandraR] The USER is allowed to ADD CATEGORIES!!
SandraR 9191 Jun 7, 2005, 5:36 PM
Thread Re: [SandraR] The USER is allowed to ADD CATEGORIES!!
pugdog 9170 Jun 9, 2005, 7:15 AM
Thread Re: [pugdog] The USER is allowed to ADD CATEGORIES!!
SandraR 9154 Jun 9, 2005, 7:56 AM
Post Re: [SandraR] The USER is allowed to ADD CATEGORIES!!
SandraR 9197 Jun 11, 2005, 1:53 PM
Thread Re: [pugdog] The USER is allowed to ADD CATEGORIES!!
webmaster33 9158 Jun 12, 2005, 4:51 PM
Thread Re: [webmaster33] The USER is allowed to ADD CATEGORIES!!
sangiro 9020 Mar 28, 2006, 12:58 AM
Post Re: [sangiro] The USER is allowed to ADD CATEGORIES!!
webmaster33 8978 Mar 28, 2006, 1:08 AM
Thread Re: [sangiro] The USER is allowed to ADD CATEGORIES!!
pugdog 9008 Mar 28, 2006, 9:57 AM
Thread Re: [pugdog] The USER is allowed to ADD CATEGORIES!!
webmaster33 8981 Mar 28, 2006, 11:55 AM
Thread Re: [webmaster33] The USER is allowed to ADD CATEGORIES!!
pugdog 8960 Mar 28, 2006, 1:11 PM
Post Re: [pugdog] The USER is allowed to ADD CATEGORIES!!
webmaster33 9007 Mar 28, 2006, 2:12 PM