Title: Bainternet Posts Creation Limits
Author: Bainternet
Published: <strong>14 студзеня, 2011</strong>
Last modified: 11 снежня, 2016

---

Пошук плагінаў

![](https://ps.w.org/bainternet-posts-creation-limits/assets/banner-772x250.jpg?
rev=494405)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/bainternet-posts-creation-limits_ffffff.
svg)

# Bainternet Posts Creation Limits

 Аўтар: [Bainternet](https://profiles.wordpress.org/bainternet/)

[Спампаваць](https://downloads.wordpress.org/plugin/bainternet-posts-creation-limits.3.2.zip)

 * [Падрабязнасці](https://bel.wordpress.org/plugins/bainternet-posts-creation-limits/#description)
 * [Водгукі](https://bel.wordpress.org/plugins/bainternet-posts-creation-limits/#reviews)
 *  [Ўсталёўка](https://bel.wordpress.org/plugins/bainternet-posts-creation-limits/#installation)
 * [Распрацоўка](https://bel.wordpress.org/plugins/bainternet-posts-creation-limits/#developers)

 [Падтрымка](https://wordpress.org/support/plugin/bainternet-posts-creation-limits/)

## Апісанне

this plugin helps you to limit the number of posts/pages/custom post types each 
user can create on your site. say you have a multiple author blog and you want to
limit the number of posts each author can post.

very simple and light wieght plugin that runs only when user tries to crate a new
post of any kind (post,page,attachment,or any custom post type) and check if he 
has reached his limit.

**Main Feature:**

 * Limit number of any post type creation.
 * Select Post Status to count. (NEW)
 * Limit number of any post type creation by user Role. (NEW)
 * Limit number of any post type creation by user ID. (NEW)
 * New Limit Rule System (faster and stable).
 * Custom blocked message For each Rule. (NEW)
 * MultiSite Support. (Fixed and works better then before)
 * ADD NEW Links are removed when limit is reached (NEW)
 * 0 Now means ZERO so Its actually blocks the user from creating at all.
 * Shortcode to limit front end post creation (NEW).

!! Do Not Try with admin user beacuse he is never limited unless you are on a multisite
install and then the super admin is never limited.

any Feedback is Welcome.

check out our [other plugins](http://en.bainternet.info/category/plugins)

## Screenshots

 * [[
 * Simple admin panel LIMITS and rules
 * [[
 * add/edit limit rule panel
 * [[
 * user blocked for reaching his limits when trying to create a new post.

## Ўсталёўка

Simple steps:

 1. Extract the zip file and just drop the contents in the wp-content/plugins/ directory
    of your WordPress installation.
 2. Then activate the Plugin from Plugins page.
 3. Go to Plugins option panel named “Post Creation Limits” under options.
 4. Setup your limits Per each post type.
 5. save!.

Using in Multisite Installation:

 1. Extract the zip file and just drop the contents in the wp-content/mu-plugins/ directory
    of your WordPress installation. (This is not created by default. You must create
    it in the wp-content folder.)
 2. Go to Plugins option panel named “Post Creation Limits” under options.
 3. Setup your limits Per each post type.
 4. save!.

## Часта задаваныя пытанні

  I have Found a Bug, Now what?

Simply use the [Support Forum](https://wordpress.org/tags/bainternet-posts-creation-limits?forum_id=10)
and thanks a head for doing that.

  It’s Not Working…?

Make sure you are not loged in as admin user or user with role that can manage options
or on a multisite installation make sure you are not the super admin or a user with
role that can manage network.

  How To Use in MultiSite

Extract the zip file and just drop the contents in the wp-content/mu-plugins/ directory
of your WordPress installation. (This is not created by default. You must create
it in the wp-content folder.) The “mu” does not stand for multi-user like it did
for WPMU, it stands for “must-use” as any code placed in that folder will run without
needing to be activated.
 After you define you settings in the main site it will
apply to all sub sites, you can also have a site specific settings by entering that
sites dashboard >> post creation limits panel and save the site specific rules. 

  How To Use On FrontEnd Forms?

Just for that you can use the built in Shortcode. simply wrap your form with [IN_LIMIT]
tags ex:
 [IN_LIMIT] form code here … [/IN_LIMIT]

You can even use nested shortcodes ex:
 [IN_LIMIT] [form shortcode here] [/IN_LIMIT]

  What are the Parameters of the Shortcode?

‘message’ => to overwrite rule message,
 ‘m’ => when a user is not logged in, ‘use_m’
=> wheter to overwrite or not, ‘type’ => the post type that needs to be checked.

ex:
 [IN_LIMIT use_m=”true” message=”no more pages for you”, m=”only looged in users
can post here” type=”page”] [form shortcode here] [/IN_LIMIT]

  Any Filter Hooks?

Yes, many 🙂

    ```
    'bapl_shortcode_not_logged_in' -> log in message
    'bapl_shortcode_network_admin' -> network admin on multisite
    'bapl_shortcode_admin' -> admin on none multisite
    'bapl_shortcode_limited' -> when a user is limited message
    'bapl_shortcode_ok' -> when a user is ok to see the form
    'post_creation_limits_limited_message_class' -> error class on backend when limited`
    ```

that’s it so far.

## Водгукі

![](https://secure.gravatar.com/avatar/b0fe7bdbcb88c1e2c6d68bf3af6128b546e0e197da72749821f0792a9d87ee55?
s=60&d=retro&r=g)

### 󠀁[Not Work](https://wordpress.org/support/topic/not-work-273/)󠁿

 [mairimweb](https://profiles.wordpress.org/mairimweb/) 24 жніўня, 2020

We hope you can continue with updates since it stopped working and the plugin is
very useful! Thank you!

![](https://secure.gravatar.com/avatar/280b3dce7cf471bdfc8537511df6a85b50650e0455ba08729c95fa39d8cc2a5b?
s=60&d=retro&r=g)

### 󠀁[How to decrease count if user delete post?](https://wordpress.org/support/topic/dont-work-anymore-10/)󠁿

 [ivanjst2](https://profiles.wordpress.org/ivanjst2/) 21 кастрычніка, 2019

How to decrease count if user delete post? If I set the limit 3, the user will see“
The limit message is 3 per day” and the user will be able to delete the post, but
they will still see “The limit message is 3 per day”. : / How to discount the count
if the user deletes some posts?

![](https://secure.gravatar.com/avatar/faffdf97495ffb60e45595e7c4f06ec959ad43a5afbe6fe9200e51d8c325823b?
s=60&d=retro&r=g)

### 󠀁[unico no wordpress!!](https://wordpress.org/support/topic/unico-no-wordpress/)󠁿

 [rudsonalex](https://profiles.wordpress.org/rudsonalex/) 13 кастрычніка, 2019

ele dá uns bugs, tem que ir salvando pra não perder as configurações que você quer
fazer. Atende as minhas necessidades, ele é praticamente único no repertório wordpress!
uso no meu projeto

![](https://secure.gravatar.com/avatar/268c8ee79b90860bd919c241bb6240e100354b8b9c5969dc1c8cd096e932ce5c?
s=60&d=retro&r=g)

### 󠀁[doesn’t work](https://wordpress.org/support/topic/doesnt-work-2103/)󠁿

 [webgalway](https://profiles.wordpress.org/webgalway/) 28 лютага, 2019

no longer working

![](https://secure.gravatar.com/avatar/48e6347fa309c16dff66aefaaa84eb16b5e240ded0e85b30713c3bfbd64142e9?
s=60&d=retro&r=g)

### 󠀁[Doesn’t save, no support](https://wordpress.org/support/topic/doesnt-save-no-support/)󠁿

 [eaglejohn](https://profiles.wordpress.org/danielbenjamins/) 24 студзеня, 2019

I keep creating rules, but they don’t get saved. Plugin support and development 
seem dead.

![](https://secure.gravatar.com/avatar/e67236aeca0e5379edc0f4e55f978880fb71e61a82fca6c72426639f1da7455f?
s=60&d=retro&r=g)

### 󠀁[No support](https://wordpress.org/support/topic/no-support-278/)󠁿

 [Picflick](https://profiles.wordpress.org/picflick/) 12 верасня, 2018

Dont even try. They dont respond to queries

 [ Чытаць 21 водгук ](https://wordpress.org/support/plugin/bainternet-posts-creation-limits/reviews/)

## Удзельнікі і распрацоўшчыкі

“Bainternet Posts Creation Limits” is open source software. The following people
have contributed to this plugin.

Удзельнікі

 *   [ Bainternet ](https://profiles.wordpress.org/bainternet/)
 *   [ adsbycb ](https://profiles.wordpress.org/adsbycb/)

[Перакласці “Bainternet Posts Creation Limits” на вашу мову.](https://translate.wordpress.org/projects/wp-plugins/bainternet-posts-creation-limits)

### Зацікаўлены ў распрацоўцы?

[Праглядзіце код](https://plugins.trac.wordpress.org/browser/bainternet-posts-creation-limits/),
праверце [SVN рэпазітарый](https://plugins.svn.wordpress.org/bainternet-posts-creation-limits/),
або падпішыцеся на [журнал распрацоўкі](https://plugins.trac.wordpress.org/log/bainternet-posts-creation-limits/)
па [RSS](https://plugins.trac.wordpress.org/log/bainternet-posts-creation-limits/?limit=100&mode=stop_on_copy&format=rss).

## Журнал змяненняў

3.2
 Fixed locking access to press this. added a new action hook before the limited
message is shown `post_creation_limits_before_limited_message`

3.1 fixed typo
 replace jquery live() with on().

3.0 Fixed undefined variable notice props to Austin Passy.
 Moved all hooks to a
central function outside of the consructor. Moved all shortcodes to a central function
outside of the consructor. Added plugin row meta.

2.9 Added Filters `bapl_Count_filter` for count to allow you to filter based on 
your own rules (other then what is set in the plugin).
 Fixed role change on rule
edit.

2.8 Fixed post type “any” limitation bug.

2.7 Fixed Missing argument 2 for bapl::limit_xml_rpc() issue.

2.6 `trash` is now check in `any` status as well.

2.5 Added time span.

2.4 Added Any to post type rules.

2.3 Fixed HTML message issues.
 Added `bapl_limited_message_Filter` filter hook 
for message.

2.2.2 Globalized class var.
 added action hook for custom check.

2.2.1 Added casting to avoid errors on foreach calls

2.2 added filter shortcode for front end forms
 added filter hooks.

2.1 Fixed Multisite support.
 Added site specific (in a multisite) settings option.
custom limit block message. select post status to count.

2.0 Hide add new whe limit is reached.
 auto migration from old limits to new rule
system. 0(Zero) no longer means unlimited so its actually a sure block.

1.9 Admin UI remake.
 New Rule System.

1.8 added block by user id.

1.7 Re Coded in OOP.

1.6 none public update

1.5 none public update

1.4 none public update

1.3 none public update

1.2 none public update

1.1 quick bug fix

1.0 Major update, added custom blocked message feature.
 new limit by role feature.
added multisite support.

0.6 Changed post Count function to speed it up.

0.5 added custom post type support and recoded most of it.

0.4 added options panel.

0.3 quick bug fix.

0.2 admin is now never limited.

0.1 inital release.

## Мета

 *  Версія **3.2**
 *  Апошняе абнаўленне **9 гадоў таму**
 *  Актыўных установак **300+**
 *  Версія WordPress ** 3.0 або вышэй **
 *  Правераны да версіі **4.7.0**
 *  Мова
 * [English (US)](https://wordpress.org/plugins/bainternet-posts-creation-limits/)
 * Тэгі
 * [limits](https://bel.wordpress.org/plugins/tags/limits/)
 *  [Пашыраны прагляд](https://bel.wordpress.org/plugins/bainternet-posts-creation-limits/advanced/)

## Ацэнкі

 3.8 з 5 зорак.

 *  [  12 5-star reviews     ](https://wordpress.org/support/plugin/bainternet-posts-creation-limits/reviews/?filter=5)
 *  [  3 4-star reviews     ](https://wordpress.org/support/plugin/bainternet-posts-creation-limits/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/bainternet-posts-creation-limits/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/bainternet-posts-creation-limits/reviews/?filter=2)
 *  [  5 1-star reviews     ](https://wordpress.org/support/plugin/bainternet-posts-creation-limits/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/bainternet-posts-creation-limits/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/bainternet-posts-creation-limits/reviews/)

## Удзельнікі

 *   [ Bainternet ](https://profiles.wordpress.org/bainternet/)
 *   [ adsbycb ](https://profiles.wordpress.org/adsbycb/)

## Падтрымка

Ёсць што сказаць? Патрэбна дапамога?

 [Перайсці да форуму падтрымкі](https://wordpress.org/support/plugin/bainternet-posts-creation-limits/)

## Падтрымаць

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://en.bainternet.info/donations)