- Edited
If any one needs a read only user i mean to avoid reply or post note you can do the following:
in class.ticket.php
search for:
function postResponse($msgid,$response,$signature='none',$attachment=false,$canalert=true){
global $thisuser,$cfg;
if(!$thisuser || !$thisuser->getId() || !$thisuser->isStaff()) //just incase
return 0;
and replace it with:
function postResponse($msgid,$response,$signature='none',$attachment=false,$canalert=true){
global $thisuser,$cfg;
if(!$thisuser || !$thisuser->getId() || !$thisuser->isStaff() || $thisuser->getId()=="33") //just incase + Read only user by Ozkr
return 0;
then search:
function postNote($title,$note,$alert=true,$poster='') {
global $thisuser,$cfg;
add after that:
if($thisuser->getId()=="33") //Read Only User by Ozkr
return 0;
remember to replace the number 33 with the id of the user you want to avoid posting. You can search the id in your DB or with an echo.
hope this can help you.