Knowledge base help
Moderator: mkoch227
Knowledge base help
Hi i am using hesk for the knowledge base only, i have set this up just fine, now i am trying to figure out a way to allow acess to the knowledge base admin panel so everyone can add and delete stuff without being logged in, just curious if this is possible and what code i need to change i am pretty good with php, hope someone can help with this
Re: Knowledge base help
You would have to remove at least from admin/manage_knowledgebase.php
Do it on your own risk, giving access to admin features to the public is strongly discouraged!
Code: Select all
hesk_isLoggedIn();
/* Check permissions for this feature */
if ( ! hesk_checkPermission('can_man_kb',0))
{
/* This person can't manage the knowledgebase, but can read it */
header('Location: knowledgebase_private.php');
exit();
}
Do it on your own risk, giving access to admin features to the public is strongly discouraged!
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Re: Knowledge base help
Thank you for your response, i understand it is dangerous but i removed everything to do with the admin except for the knowledge base and it we be me and a couple of friends storing knowledge for certain pc probs we deal with, i thought as much with the login and permission i have removed them before testing and try to go to the page when not logged in and get this message
Error:
Can't execute SQL
after putting them back and logging in i can then remove them and stay logged in and it works i think there is something else a little deeper in the code that has to be removed or // out
thanks again for the assistance
Error:
Can't execute SQL
after putting them back and logging in i can then remove them and stay logged in and it works i think there is something else a little deeper in the code that has to be removed or // out
thanks again for the assistance