Knowledge base help

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
quatre432
Posts: 2
Joined: Wed Nov 21, 2012 8:00 pm

Knowledge base help

Post by quatre432 »

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
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: Knowledge base help

Post by Klemen »

You would have to remove at least

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();
}
from admin/manage_knowledgebase.php

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 Image

Image 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
quatre432
Posts: 2
Joined: Wed Nov 21, 2012 8:00 pm

Re: Knowledge base help

Post by quatre432 »

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
Post Reply