Jump to content

  • twitter
  • youtube
  • googleplus
  • facebook
  • rss
  • newsletter


(SOS30) Quick Manage Forums v1.0.0


  • Please log in to reply
5 replies to this topic

#1 Adriano

Adriano

    Advanced Member

  • Contributors
  • 56 posts
  • Gender:Male
  • Location:Brazil
  • IP.Board Version:IPB 3.0.x

Posted 21 February 2010 - 07:19 AM

File Name: (SOS30) Quick Manage Forums v1.0.0
File Submitter: Adriano
File Submitted: 21 Feb 2010
File Category: IPB 3.0.x Mods

This hook will allow to use the most common settings of MANAGE FORUMS, directly on forum, without the need to access the Admin CP for this.

Posted Image


Only Administrators and Supermoderadores are allowed to use this feature.

Click here to download this file

#2 thecwalk

thecwalk

    Newbie

  • Members
  • Pip
  • 1 posts
  • IP.Board Version:N/A

Posted 11 March 2010 - 03:24 PM

On this app, are there settings to make it to where only admins can access this?

#3 Adriano

Adriano

    Advanced Member

  • Contributors
  • 56 posts
  • Gender:Male
  • Location:Brazil
  • IP.Board Version:IPB 3.0.x

Posted 12 March 2010 - 04:12 AM

It's encoded. It uses the g_access_cp permission.

#4 Breadfan

Breadfan

    Elite Member

  • Customers
  • 105 posts
  • Gender:Male
  • IP.Board Version:IPB 3.2.x
  • First Name:Kenan

Posted 12 March 2010 - 04:25 AM

View Postthecwalk, on 11 March 2010 - 03:24 PM, said:

On this app, are there settings to make it to where only admins can access this?

I must say this is a problem for me as well. I don't want anyone else but admin have this feature or at least have the option in ACP to set which user groups can have access to it.

Thanks for the mod anyway! ;)

Edited by Breadfan, 12 March 2010 - 04:25 AM.

Croatian multigaming clan *NOB* Mrcine
Posted Image

#5 Adriano

Adriano

    Advanced Member

  • Contributors
  • 56 posts
  • Gender:Male
  • Location:Brazil
  • IP.Board Version:IPB 3.0.x

Posted 12 March 2010 - 11:55 AM

Open admin/applications/forums/modules_public/manage/manage.php and find:

		if ( !$this->memberData['g_access_cp'] )
		{
			$this->registry->output->showError( 'no_permission' );
		}
Change to:

		if ( $this->memberData['member_group_id'] != $this->settings['admin_group'] )
		{
			$this->registry->output->showError( 'no_permission' );
		}


#6 Breadfan

Breadfan

    Elite Member

  • Customers
  • 105 posts
  • Gender:Male
  • IP.Board Version:IPB 3.2.x
  • First Name:Kenan

Posted 12 March 2010 - 01:28 PM

^^Thanks!
Croatian multigaming clan *NOB* Mrcine
Posted Image




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users