Hi there,
I m new to BugTracker, but I think its a pretty cool program. I would like to have anonymous users to enter bugs. I have created a customized form for this purpose. Can anybody tell me what changes I need to do in the PHP scripts to achieve this?
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I would create an anonymous account in the user table. Then you would need to specify that user id as the $u variable. The bug-saving code is in bug.php, so you might put a line of code at the beginning of that file that reads something like...
if (!empty($HTTP_POST_VARS['anon_id'])) $u = $HTTP_POST_VARS['anon_id'];
where there is a hidden field on your anonymous submission page named anon_id that has that user id as its value.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi there,
I m new to BugTracker, but I think its a pretty cool program. I would like to have anonymous users to enter bugs. I have created a customized form for this purpose. Can anybody tell me what changes I need to do in the PHP scripts to achieve this?
Thanks
I would create an anonymous account in the user table. Then you would need to specify that user id as the $u variable. The bug-saving code is in bug.php, so you might put a line of code at the beginning of that file that reads something like...
if (!empty($HTTP_POST_VARS['anon_id'])) $u = $HTTP_POST_VARS['anon_id'];
where there is a hidden field on your anonymous submission page named anon_id that has that user id as its value.