User Ads Limiter
This plugin requires Classipress theme to be installed.
Why I should use this plugin?
In Classipress there is no option to limit number of posted ads by users, even if you are using membership packs. With this plugin you will be able to limit number of ads posted by users.
So, when the user clicks on “Post ad” or “Relist ad” button the plugin will check how many ads the user has. You can decide which statuses you want to count – live, paused, expired and even custom statuses you might have. If the number of ads has been reached, the plugin will redirect user to his/her Dashboard.
On the Settings screen you can choose how many ads can be posted by users. You can do this for users without membership packs and also for every membership pack on your Classipress installation.
When ads quota will be reached, user will be redirected to Dashboard with a message saying he has reached a limit for posted ads and should remove some old ads, or purchase a membership pack with higher ads limit and make some additional money.
You can even specify how many ads a user can post on daily, weekly and monthly basis.
With additional setting you can specify what type of ads are counted when calculating current number of user ads. You can specify to exclude Featured or Normal ads or count all.
You can use membership packs to give users different possibilities with number of ads they can post.
For instance you can allow only few ads without membership pack. If a user wants to post more ads, he has to buy a package that allows that.
There is also a user setting that you can use to limit each individual user from posting more ads than you allow. This setting can be overruled in plugin’s settings.
This plugin will block users that have reached the limit from posting new ads. If a user already has more ads then the limit, he will need to remove some before posting new or relisting old ads.
Imagine the user has 4 ads on his dashboard. Two of those ads are featured. You have set the maximum number of ads to 2 and excluding Featured from count. That means user can post 2 normal ads and unlimited number of featured ads. But it’s not like that. Since the plugin can not know if new ad will be featured or not, it will not allow then user to create new ad. That’s why there is a setting called Allow additional ad. It will allow the user to create one more ad even if the ad limit has been reached.
Here are some screenshots to give you a better understanding how this plugin works.
It only works on versions 3.4 and later.
This plugin also works with child themes, as long as they use core function for creating ads.
This plugin has been tested on Classipress 3.4.x, 3.5.x and 3.6.x.
If upgrading from version 1.x.x:
Before installing version 2 go to plugin settings and click CHANGE BACK button, so the plugin is not integrated.
Then you can copy files over.
If you have already done that and forgot to click CHANGE BACK button, then copy these two files from Classipress original installation:
Or edit them manually by removing function
2016/02/25 – 1.0.0 – Initial version
2016/02/26 – 1.1.0 – Added option to display custom text for limit reached with max ads counter
2016/02/29 – 1.1.1 – Corrected a bug about missing function
2016/03/04 – 1.2.0 – Added limitation for each user on user’s settings
2016/03/14 – 1.2.1 – Fixed a bug that was not allowing users to post ads
2016/03/14 – 1.2.2 – Fixed a slash bug and added child theme compatibility.
2016/03/16 – 1.3.0 – Option to select which statuses you want to count as total user ads
2016/04/04 – 1.3.1 – Fixed a bug with out of sync admin message. Max ads in admin user profile also in see mode and some more.
2016/04/11 – 1.3.2 – Fixed a bug that was allowing user to post ads regardless of limitations.
2016/04/12 – 1.3.3 – Fixed a bug for renewing ads
2016/05/05 – 1.4.0 – Added an option to exclude featured or normal ads when counting user ads and also added an option to allow an additional ad if you have set to exclude featured ads
2016/07/09 – 1.4.1 – Fixed a bug that was not limiting ads
2016/07/11 – 1.4.2 – Deactivating the plugin didn’t remove the function from theme
2016/08/10 – 1.4.3 – User max ads counter on user profile page was showing wrong number of ads.
2016/08/26 – 1.5.0 – Added an option to redirect user to purchase membership page when reaching ads limit.
2016/10/21 – 1.6.0 – Added an option to limit user ads on period basis (day, week, two weeks, month).
2017/01/03 – 1.6.1 – Small change for integrating the plugin
2017/01/22 – 1.6.2 – Fixed some bugs regarding ad limits and overrides
2017/01/22 – 1.6.3 – Added alternate notice for those that can not see regular notices when posting ads is limited
2017/01/30 – 1.6.4 – Fixed a bug for users with membership active and made some changed about limit messages
2017/02/03 – 1.6.5 – Fixed a bug for additional ad allowed. It was allowing one more.
2017/03/21 – 1.7.0 – Compatibility with EasyCPMods Toolbox plugin
2017/08/15 – 1.7.1 – Fixed a small bug that was giving a warning about some variable.
2017/10/02 – 1.8.0 – Added new options for period limits (3 months, 6 months and yearly)
2017/10/03 – 2.0.0 – No need for integration after installing the plugin
2017/10/22 – 2.0.1 – Fixed a bug when deactivating plugin and when posting ad