I do not understand the logic of work the next: when the user is not logged on the forum he said "Log in to post new content in the forum." Okay, the user is logged, he said "You are not allowed to post new content in the forum." In access permissions myself banned create new threads, but he can write messages Why would a user displays a message "You are not allowed to post new content in the forum"? It only confuses, because he can write messages, but displays some message.
I understand probably the reason. My native language - Russian, and, most likely, in the localization of the interface on the Russian language was misinterpreted value "You are not allowed to post new content in the forum." In English in the context of s is that the user will not be able to create topics in the forum. Translated into Russian, the user will not be able to leave a message until it enters the forum.
I can fix the translation, but I do not need to display the message "You are not allowed to post new content in the forum". Edit the module code is wrong, and override function module in template.php my theme I did not get. Ideally, of course, add the setting in the module AF just need to make the setting "Do not show messages about the impossibility of the creation." Who that will advise? I would be very grateful for the help. Sorry for my English, I think everyone understood what it was about.

Comments

Michelle’s picture

Title: Not understand logic of work. » Add setting to remove "You are not allowed to post" message
Category: Support request » Feature request

I'm not 100% positive but I am fairly sure that this message is coming from core forum, not AF. Which means this feature could be difficult to add. You could possibly just change the local translation on your site to "" or use CSS to hide it.

Farcian’s picture

Hi Michelle, thanks for the reply.
Hide message through the CSS is not something that I want.
Here is an example. The site is a node, there are comments. Normal user is not allowed to create nodes, but you can comment. But a normal user is not informed that he can not create a node. On this Forum this logic breaks down.
Module version AF is 2.5, advanced_forum.module, function "advanced_forum_node_type_create_list", string 1174, returns "return t('You are not allowed to post new content in the forum.');" if a normal user does not have permissions to create forum topics. By the logic of rights of access in normal nodes a normal user nothing should be reported. For those users who have rights to create the forum topics button appears to create a forum topic.