![]() |
Cyb - Advanced Permissions Based on Post Count
=======
Release of this hack for vB v3.6: https://vborg.vbsupport.ru/showthread.php?t=123002 ======= Info: This product allows you to set permissions based on user?s post count for: How it works and why it's better than vB Promotions system... First of all it's very easy to use. Thanks to: grog6 - plugin was inspired by his original hack for vB 3.0.x. Installation: Import XML file (as product): AdminCP > Plugin System > Manage Products > [Add/Import Product] To set options: Go to: AdminCP > vBulletin Options > Cyb Advanced Permissions Based on User's Post Count - set options here Versions: v1.0 - Sep 16.2005. -First release v1.1 - Sep 19.2005. -Updated to disallow users to view forum or threads through printthread or archive -Changed modification name to "Access Permissions Based on User's Post Count" v1.2 ? Oct 10.2005. -Added option to set permissions based on user's post count for creating threads -Added option to set permissions based on user's post count for posting replies -Added plugin for archive. No more need to edit any files (this was optional step in v1.1). v2.0 - Nov 20.2005. -Now user can not search posts in restricted areas. -Now "Locked" icon is shown on forumhome for restricted forums (if "Show Lock Icons to Users" is choosen in vB Options). -Fixed ALL known bugs. v2.1 - Nov 21.2005. -Bug fixed - search problems v2.5 - Jan 29.2006. -Added Attachment Permissions -Added Private Messages Permissions -Added ability to turn off whole system or some parts v2.5.1 - Jan 30.2006. -Fixed version info -Fixed forum manager error v2.5.2 - Feb 26.2006. -Archive bug fixed. *When you set in some forum "Minimum Post Count To View Thread Listing In This Forum" option to different value than "0" guests will not be able to see thread listing in that forum through Archive. For logged-in users this function works normally regarding user's post count. *When you set in some forum "Minimum Post Count To View Threads Content In This Forum" option to different value than "0" guests will not be able to read threads in that forum through Archive. For logged-in users this function works normally regarding user's post count. v2.6 - May 02.2006. -In previous version it was possible to view part of thread when you move mouse over thread title (if configured that users can see thread listing but not thread content)... this is fixed now, please upgrade -Added e-mail permissions -Hack renamed from "Access Permissions Based on User's Post Count" to "Cyb Advanced Permissions Based on User's Post Count" v2.7 - May 04.2006. -Attachments permissions bug fixed v2.8 - May 26.2006. -Added - Now users with no permissions to send PMs can post PMs to usergroups you choose -Added - Link Posting Permissions. Member must have x posts before can post links. -Added - Now you can easily exclude usergroups from any restrictions (see screenshots) v2.9 - May 27.2006. -Added ability to hide last post info for choosen forums -"To view attachments..." phrase is now more flexible. Now required post count number must NOT be at the end. Add {1} where you wish to show required post count number and add {2} where you wish to show user's post count in phrase. v3.0 - May 31.2006. -Bug fixed. Usergroups who are excluded from "Forum/Thread Permissions" will be able to see last post info in forums where you have choose to hide it. v3.1 - June 03.2006. -Added "Excluded groups" to PMs Permissions -Users with no permissions to send PMs (except to allowed usergroups you choose) will see note on New PM page (see screenshots) v3.2 - Aug 04. 2006. - Release of this hack for vB v3.6 v3.3 - Aug 05. 2006. - Attachment Permissions error message fixed v3.4 - Aug 24. 2006. - Fixed bug in "Links Posting Permissions" (user can post link when replying to thread) - Added "Product Version Checking" - https://vborg.vbsupport.ru/showthread.php?t=124679 v3.5 - Aug 25. 2006. - Another "Link Permissions" bug fixed v3.6 - Sep 02. 2006. - If user has no permissions to view forum/thread he will see standard no permission message instead of "post count needed" one - Fixed error messages for archive - Added: "Links Viewing Permissions" (regular post view, printthread view, thread preview, archive view) - Added: Forums can be excluded from "Links Posting Permissions" restrictions - Added: Forums can be excluded from "Attachment Permissions" restrictions v3.7 - Sep 04. 2006. - Added ability to easily set forum/thread-permissions to the same level for all existing forums (only SuperAdmin can do this) v3.8 - Sep 20. 2006. - Fixed bug (posting links permissions doesn't work) v3.9 - Feb 23. 2007. - Fixed bug (guests can't see attachments even there are no post count requirements) - Fixed bug (links not hidden in showpost) - In "Links Posting Permissions" added option to additionally disallow members to post e-mail addresses - Several code improvements for better compatibility v4.0 - Apr 04. 2007. -Post count requirements to view attachments, view links/images, and post links/images, moved to Forum Manager (different settings for individual forums possible) -Quote is now enabled when user has no permissions to view links/images but they are not shown inside quote tags. -You must not rebuild forum info manually after setting up parameters for all forums ("Global-set" page). This is now done automatically. -"Links/Images Viewing Permissions" much better hides links/images, now including ones in search results post titles and notification e-mails. -Added option to hide links/images in signatures -Fixed bug (vBulletin RSS Feed Robot stops working when post count is required to create threads) -"Global-set" page improved with new options, list of forums with current settings, quick forum edit links,... -General code cleanup, optimizations, improvements,... v4.1 - Aug 18. 2007. -Fixed bug with errors in Archive -Group membership checking works now for supplementary usergroups too -Some minor security and compatibility improvements... v4.2 - Sep 01. 2007. -Definitely fixed bug with blocking RSS Poster -Improved "Attachments Viewing Permissions" (now user can not download attachment when attachment id is known) -New in "Attachments Viewing Permissions": Option to allow users to view image thumbnails, but not full size images -New in "Private Messages Sending Permissions": With no-permissions error affected user gets list of allowed recipients too -Minor bug fixes... |
Nevermind...
|
Let me play the devil's advocate here for a second. If you set that number any higher than 0, then how would new users ever be able to see anything until they can post? And if they can't see it, they can't post. A catch-22? ;)
Or am I missing something somewhere, which has been known to happen quite a bit lately, it seems. ;) |
I don't want to sound arrogant or anything, but IMHO this Hack is useless: Promotions are a built-in Feature of vBulletin and are the way to go.
|
its a per forum setting boofo
so u have some forums where they can post and others....well u get the picture ;) |
Quote:
maybe its good if you only want one registered group to hassle with and then keep them out of certain forums till they post enough i personally hate managing any more groups that really need too this will save me a group if i find a need for this hack |
Quote:
And Kirby is right, in his non-arrogant way (;)), promotions are excellent for this kind of stuff. They don't really get used enough. But the idea is good. ;) |
they can surely see them on forumhome ;)
|
Quote:
(me is hilarious tonight!) |
people usually don't use promotions because nobody use them... and more promotions means more usergroups to manage, and that, is not good on mega forums...
i prefer myself some hardcoded features like this one, so i'm not always making new promotions for forums i visit less... |
They can also view single posts, print threads, use the archive to view everything, subscribe to threads (and thus get replies emailed), reply to threads, use search (and see some part of the threads there) ... very insecure
|
Quote:
Did you tried this plugin? |
Quote:
You set for example that user must have 10 posts to access forum "x". User is posting his 10th post. Now he must wait until promotions task is executed. How much he will wait it depends on settings in AdminCP Scheduled Tasks. If you set smaller value it will push your server. Here you can access forum automatically after posting your 10th post. And whole forum is not hidden on forumhome. You just get "no permission" error message when trying to access forum which requires post count xx to access. |
So you're saying 10 posts board-wide (in your example)? I thought each forum had it's own setting. Then this would make more sense if it was board wide. Sorry I didn't catch on sooner. ;)
|
You can set these permissions for each forum/subforum separately ;)
|
Quote:
|
Quote:
|
Quote:
|
Quote:
Quote:
Quote:
And I am sorry having to say it, but: All the Problems I mentioned are there. You can view all content through Archive, Printthread, make Replies, etc. |
Quote:
Your right in the sense that you can do the same thing without this hack. But there are a large number of hacks that just make things more convenient. This is one such hack. |
Quote:
You set for example: -0 posts needed to access forum "x". -20 posts needed to access forum "y" User can post in forum "x" regularly and when his post count is "20" then he can access forum "y". Until that he will get "no permission" error message when trying to access forum "y". |
@Cybernetec
Did you read my last post? |
Quote:
All these problems fixed ;) |
Thanks a ton, I just installed it, I like this much better than having tons of usergroups and having to worry about permissions.
|
Quote:
It is still possible to
Btw: There is a global Hook for the archive ;) |
I think this hack is very useful and convenient, thanks! I will install...
|
Quote:
How to reply to thread which you can't see? And if you reply then you can not see your own post. |
Anyway this could be altered to include days registered as well?
|
this hack is really useful for me ! many thanks for Cybernetec's effort ! will try it later !
... it's another choice, someone like the promotion system, someone like this i think :P |
installed very usefull! thanks man!!
|
I forget to mention:
Any Coder interested in improving this hack - feel free to do it and let me know about changes. |
I have a classifieds forum, and I'd like to keep users with less than 10 posts from posting in it.
Will this work for that? |
Quote:
|
Installed
|
/me installs
|
Quote:
How can I do this? |
This was an awesome hack, thank you
|
Quote:
Version 1.2 just released: -Added option to set permissions based on user's post count for creating threads -Added option to set permissions based on user's post count for creating replies -Added plugin for archive. No more need to edit any files (this was optional step in v1.1). Please uninstall first older version before upgrade to version 1.2. |
When i go to add new forum i recived this:
Code:
Parse error: parse error, unexpected $ in /home/borecas/domains/mlf.co.il/public_html/forum/admincp/forum.php(113) : eval()'d code on line 6 |
This is a very nice hack :)
Thanks, Mat |
All times are GMT. The time now is 06:27 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|