Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 post X count before view category
bekti Offline
Junior Member
**
Posts: 43
Joined: Mar 2012
Post: #2
RE: post X count before view category
can someone make this code work in template?

PHP Code:
	if ($power != "0" && in_array($group,$groups) && in_array($fid,$forums) && !in_array($mybb->user['uid'],$uids) && $mybb->user['postnum'] < $req_posts){
		error("We are sorry but you are not allowed to access <strong>".$forum_name."</strong> forum. Minimum amount of posts required to access <strong>".$foruminfo['name']."</strong> forum is <strong>".$req_posts."</strong> posts but your post count is just <strong>".$mybb->user['postnum']."</strong> posts.");
	}

08-30-2012 02:11 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
post X count before view category - bekti - 08-29-2012, 11:53 PM
RE: post X count before view category - bekti - 08-30-2012 02:11 PM

 Standard Tools
Forum Jump: