Jump to content


Download: (SOS30) New Topic Rules v1.0.1

Adriano Faria

Recommended Posts

File Name: (SOS30) New Topic Rules v1.0.1
File Submitter: Adriano Faria
File Submitted: 15 Sep 2009
File Updated: 25 Oct 2009
File Category: Modifications

This MOD will create a specific rule for the forums you want, so users of specific groups, set by the administrator, must agree before they can create a new topic.

Affected Files:

[*]admin/applications/forums/modules_admin/forums/forums.php[*]admin/applications/forums/skin_cp/cp_skin_forums.php[*] admin/applications/forums/sources/classes/post/classPostForms.php

Click here to download this file

Link to comment
Share on other sites

  • 1 month later...

1.0.1 released to fix an issue on group manage.

Manual fix: on admin/applications/forums/sources/classes/post/classPostForms.php, change:

		$grupo = IPSText::cleanPermString( $this->registry->class_forums->forum_by_id[ $this->request['f'] ]['sos30_regra_grupos'] );

		if ( $this->registry->class_forums->forum_by_id[ $this->request['f'] ]['sos30_regra_onoff'] AND $this->registry->class_forums->forum_by_id[ $this->request['f'] ]['sos30_regra_texto'] != '' AND in_array( $this->memberData['member_group_id'], array( $grupo ) ) AND $_POST['agree_to_terms'] != 1 AND !$this->getIsPreview() )


		$grupo = $this->registry->class_forums->forum_by_id[ $this->request['f'] ]['sos30_regra_grupos'];

		if ( $this->registry->class_forums->forum_by_id[ $this->request['f'] ]['sos30_regra_onoff'] AND $this->registry->class_forums->forum_by_id[ $this->request['f'] ]['sos30_regra_texto'] != '' AND in_array( $this->memberData['member_group_id'], explode( ',', $grupo ) ) AND $_POST['agree_to_terms'] != 1 AND !$this->getIsPreview() )
Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...

Important Information

We use technologies, such as cookies, to customise content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy