Just below Id checking bit, add something like this;
if (!$USER) { print Links::SiteHTML::display( 'error', { error => "You need to be logged in to use this function...." } ); exit; }
I don't have a copy of this on my PC, so I'm afraid I can't actually look at it in more depth, sorry.
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
if (!$USER) { print Links::SiteHTML::display( 'error', { error => "You need to be logged in to use this function...." } ); exit; }
I don't have a copy of this on my PC, so I'm afraid I can't actually look at it in more depth, sorry.
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!