REGISTER or LOGIN to have the annoying ads removed.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Make a custom page that only certain groups can view
Hello, I'm having some issues with a custom page I'm trying to make.
I want to set it so that only a certain group can view the page. ( IE upgraded member's )
I've gone in and set it up as a global template and a .php file.

I didn't want to use page manager.

Any one have any ideas? This seem's easy said but I'm unsure how to set it up.
I need this aswell so badly. I will be greatful if someone could help us with this.
This can be done using page manager with this code:

if($mybb->user['uid'] == 0)

That basically restricts it so that guests will not be allowed to view the page. You could modify it to work for upgraded membergroup.

Possibly Related Threads...
Thread Author Replies Views Last Post
  Ficon, make it work with 1.8 Kiggoz 9 4,595 Jan 20, 2018, 05:21 AM
Last Post: May
  [Tutorial]Add page to mybb Angel 13 9,215 Nov 24, 2017, 11:02 PM
Last Post: Mercuy
  MyBB change index page? Yoshistr 9 5,165 Nov 24, 2017, 11:01 PM
Last Post: Mercuy
Question Any way to make new users default to multiple groups? Jayfore 1 1,104 Oct 11, 2017, 06:06 PM
Last Post: DrBaja
  Custom font reverted to plain when I installed SSL on my forum. How do I fix it? shelby2 2 789 Feb 22, 2017, 08:30 PM
Last Post: shelby2

Forum Jump:

Users browsing this thread: 1 Guest(s)