Hi,
Ok, well the simplest way would be to make a copy of /admin/Links/User/Add.pm, and call it Add2.pm. Then, find this bit of code:
print $IN->redirect(Links::redirect_login_url('add'));
return;
}
..and comment it out, like so:
# print $IN->redirect(Links::redirect_login_url('add'));
# return;
# }
Then, copy /cgi-bin/add.cgi to add_hidden.cgi, and change:
$PLG->dispatch('handle_add', \&Links::User::Add::handle);
}
..to:
$PLG->dispatch('handle_add', \&Links::User::Add2::handle);
}
(then CHMOD the new .cgi script to 755
)
That should then let someone add a link without actually being logged in / signed up.
Hope that helps
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!
Ok, well the simplest way would be to make a copy of /admin/Links/User/Add.pm, and call it Add2.pm. Then, find this bit of code:
Code:
if ($CFG->{user_required} and !$USER) { print $IN->redirect(Links::redirect_login_url('add'));
return;
}
..and comment it out, like so:
Code:
# if ($CFG->{user_required} and !$USER) { # print $IN->redirect(Links::redirect_login_url('add'));
# return;
# }
Then, copy /cgi-bin/add.cgi to add_hidden.cgi, and change:
Code:
if ($PLG->dispatch('check_request', \&Links::check_request)) { $PLG->dispatch('handle_add', \&Links::User::Add::handle);
}
..to:
Code:
if ($PLG->dispatch('check_request', \&Links::check_request)) { $PLG->dispatch('handle_add', \&Links::User::Add2::handle);
}
(then CHMOD the new .cgi script to 755

That should then let someone add a link without actually being logged in / signed up.
Hope that helps

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!