Loading...
 
Skip to main content

Development


comment block in each wiki page

I am newbie in tikiwiki. I am trying to modify tikiwiki 1.9 according to my needs.
I have created different groups for users. and for each group i have given permission 44, permisssion of registered users.

I can see the comments block in wiki below the wiki for admin login where are i can't see comments block for users other than admin.

I found out that variable called $tiki_p_read_comments should be set to 'y' for each user but I can't find where this variable is set.

I would be grateful if you could tell me where is this variable set.

Thank you sylvie for the reply.

I already set the permissions on this page however I couldn't understand how to set the permissions using the checkbox, dropdown menu below the page, which appears on the screen once the key is clicked. can u elaborate on this.




PermissionAdmin this page can help
Perhaps something in the movies tikiwiki.org/tiki-listmovies.php

The admin login has all the perms. Is it you problem thaht the admin user has not all ther perm?
Did you understand the perms inheritance . Whan a group includes another one, the perms of the last one are included automatically for the first one?

Otherwise on the page admin group ...
Just near filter : select "All" and the group you want and you will see all the perms (the admin login is not in the group as he has all the perms. Then check the perm you want to it give to the group
Good luck


Each perms are set from admin -> groups -> click on the key of your group . In the new screen at the bottom, you have a filter (you can use all to see all the perms) and you will see the perm
(btw: perhaps you will enconter some bugs in 1.9 with tiki_read_comments and tiki_p_wiki_view_comments. A bug was found recently and I think not fixed yet)

Thankyou for your reply,
I am sorry but I couldn't figureout whether these (tiki_read_comments and tiki_p_wiki_view_comments)are functions or php modules. If possible can you suggest in which php file they lie. I am a newbie so its hard for me to figure that out.

Thank you silvia for helping, I was able to fix the problem now i can see the comment block in each registered user group.

I made one change in comments.tpl I disabled onw if block.