- Status Unconfirmed
- Percent Complete
- Task Type Feature Request
- Category Backend/Core
- Assigned To No-one
- Operating System All
- Severity Low
- Priority Very Low
- Reported Version 0.9.9.6
- Due in Version 2.0
-
Due Date
Undecided
-
Votes
1
- Thierry Hugue (25.12.2009)
- Private
Opened by Niklas Rother - 20.10.2009
Last edited by Jordan Mendler - 17.01.2013
FS#1612 - Allow Comments by anonymous Users
I would love a option to allow anom users to write comments! Maybe with CAPCHA...
I allow anom users to report bugs, but when I have a question to this bug, or the reporter wants to make a additions, he has to register...
I tried hacking it in the core: In the class.user.php at the end of the get_perms method I added:
$this→perms[$proj_id]['add_comments'] = 1;
But I has nothing changed. The I removed the check if the user had the right to make a comment in the template file, now I have a comment field for everyone, but anom user get a error message saying, that they should enter a comment... I searched a lot in the core files, but I don´t find the point where the comment a written in the database... I would a great help if you could give at least a hint :)
Another thing i tried was changing the user contructor, that every user with a negative ID get the ID 2, witch is a special "anom" user. But then you could not log out, a the admin not in...
Here the link to my site: bugs.thekingdomofdarkness.de
I found the file! you should rename modify to dbmodify... But after all, I got anom Comments working!
But I think there should be really a Switch in the options.
I agree. Should have permissions for anonymous users – can they submit tickets, add comments, view tickets, vote, etc