forum::new_questions_allowed_p (public)

 forum::new_questions_allowed_p -forum_id forum_id \
    [ -party_id party_id ]

Defined in packages/forums/tcl/forums-procs.tcl

Check if the users can create new threads in the forum

Switches:
-forum_id
(required)
-party_id
(optional)

Partial Call Graph (max 5 caller/called nodes):
%3 test_web_forum_edit web_forum_edit (test forums) forum::new_questions_allowed_p forum::new_questions_allowed_p test_web_forum_edit->forum::new_questions_allowed_p test_web_forum_new web_forum_new (test forums) test_web_forum_new->forum::new_questions_allowed_p test_web_forum_view web_forum_view (test forums) test_web_forum_view->forum::new_questions_allowed_p test_web_forums_message_and_reply web_forums_message_and_reply (test forums) test_web_forums_message_and_reply->forum::new_questions_allowed_p ad_log ad_log (public) forum::new_questions_allowed_p->ad_log forum::get forum::get (public) forum::new_questions_allowed_p->forum::get forum::edit forum::edit (public) forum::edit->forum::new_questions_allowed_p forum::new forum::new (public) forum::new->forum::new_questions_allowed_p forum::new_questions_allow forum::new_questions_allow (public) forum::new_questions_allow->forum::new_questions_allowed_p forum::new_questions_deny forum::new_questions_deny (public) forum::new_questions_deny->forum::new_questions_allowed_p packages/forums/lib/message/threads-chunk.tcl packages/forums/ lib/message/threads-chunk.tcl packages/forums/lib/message/threads-chunk.tcl->forum::new_questions_allowed_p

Testcases:
web_forum_new, web_forum_view, web_forum_edit, web_forums_message_and_reply
Source code:
    if { $party_id ne "" } {
        ad_log warning "Attribute party_id is deprecated and was ignored."
    }

    forum::get -forum_id $forum_id -array forum
    return $forum(new_questions_allowed_p)
Generic XQL file:
packages/forums/tcl/forums-procs.xql

PostgreSQL XQL file:
packages/forums/tcl/forums-procs-postgresql.xql

Oracle XQL file:
packages/forums/tcl/forums-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: