Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved hide plugins
#7
Not Solved
This user has been denied support. This user has been denied support.
(2015-04-06, 07:05 PM)Misfit Wrote:
(2015-04-06, 04:06 PM)Jacen Wrote: Install php in template conditionals. Find the plugins code and use this:


<if $mybb->usergroup['gid'] == 2 || $mybb->usergroup['gid'] == 4 || $mybb->usergroup['gid'] == 6 || $mybb->usergroup['gid'] == 8 || $mybb->usergroup['gid'] == 9 || $mybb->usergroup['gid'] == 3 then> ---Content of the plugin code here --- </if>

This is just a simple method I use to do things like this. It will only show the plugin to the usergroups you define, to find the Usergroup numbers simply go to your admin panel click on a group and then it will print the number of the group in your browsers url.

hi Jacen ,

could you explain a little further please in how i can do this , do i need to go into my server directory and goto plugins then insert codes manually in the folders eg /home/inc/plugins/shoutbox.php then edit the code?

by the way thank you for the help so far m and jacen your both awesome! Big Grin

No my friend! Let's say for the shoutbox, the code will be in your index templates (the main one) find the code it will be something like this:

{$Shoutboxorsomething}

Once you find that wrap the code around it like this:

<if $mybb->usergroup['gid'] == 2 || $mybb->usergroup['gid'] == 4 || $mybb->usergroup['gid'] == 6 || $mybb->usergroup['gid'] == 8 || $mybb->usergroup['gid'] == 9 || $mybb->usergroup['gid'] == 3 then>{$Shoutboxorsomething}</if>


Messages In This Thread
hide plugins - by Misfit - 2015-04-04, 11:04 PM
RE: hide plugins - by .m. - 2015-04-05, 02:12 AM
RE: hide plugins - by Misfit - 2015-04-05, 09:45 PM
RE: hide plugins - by Jacen - 2015-04-06, 04:06 PM
RE: hide plugins - by Misfit - 2015-04-06, 07:05 PM
RE: hide plugins - by .m. - 2015-04-06, 04:35 PM
RE: hide plugins - by Jacen - 2015-04-06, 08:19 PM
RE: hide plugins - by Misfit - 2015-04-06, 09:30 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)