diff --git a/html/inc/forum.inc b/html/inc/forum.inc index 2b90e5e559..c27af73921 100644 --- a/html/inc/forum.inc +++ b/html/inc/forum.inc @@ -670,6 +670,11 @@ function check_banished($user) { } function post_rules() { + if (function_exists("project_forum_post_rules")) { + $project_rules=project_forum_post_rules(); + } else { + $project_rules=""; + } return " "; } diff --git a/html/project.sample/project.inc b/html/project.sample/project.inc index 1cdc3e1d9c..cf495e6a3c 100644 --- a/html/project.sample/project.inc +++ b/html/project.sample/project.inc @@ -87,4 +87,10 @@ function project_user_credit($user){ //echo "Whatever is here is added to the private account page"; } +function project_forum_post_rules() { + // Add
  • entries for additional forum post rules + return " + "; +} + ?>