Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Cyb - Advanced Permissions Based on Post Count Details »
Cyb - Advanced Permissions Based on Post Count
Mod Version: 4.4, by Valter (Coder) Valter is offline
Developer Last Online: May 2014 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.7.x Rating: (56 votes - 4.82 average) Installs: 829
Released: 01 May 2008 Last Update: 19 Jun 2008 Downloads: 3836
Not Supported DB Changes Uses Plugins Auto-Template  

Info:
This product allows you to set permissions based on userís post count for:
-viewing forum (threads listing),
-viewing threads content,
-creating new threads,
-replying to threads,
-viewing attachments,
-Viewing/Posting links/images and e-mail addresses,
-sending private messages,
-sending e-mails,
-posting Visitor messages
-viewing Albums
-creating new Albums
-posting Picture comments
-viewing Social Groups
-creating new Social Groups
-posting Group messages

This will disallow members with no permissions to view forums/threads/posts/links through normal view, printthread, search, archive*, thread preview. Note that you can set Forum/Thread Permissions for each forum/sub-forum separately. Screenshot shows additional options in Forum Manager and error messages shown to user when trying to view restricted area.

*-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.

How it works and why it's better than vB Promotions system...
First of all it's very easy to use.

Forum is shown on forumhome but if you have no needed post count you'll see lock icon and predefined error message when try to access. When you set this via vB Promotions system forum is hidden on forumhome and you must create additional usergroup to make all this working.

When user collect needed amount of posts he will be able to access protected forum immediately. When you set this via vB Promotions system then user must wait until Promotions task is executed ... then he will be able to access protected forum. How much time user must wait it depends on settings in AdminCP/Scheduled Tasks... and if you set this to run every minute it pushes your server. If you set it to 2 or more minutes then user must wait more and more... and nobody like it.

Thanks to:
grog6 - plugin was inspired by his original hack for vB 3.0.x.
macooper - for help with creating first version of plugin for vB 3.5.0.

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" - http://www.vbulletin.org/forum/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...
v4.3 - May 01. 2008.
-CSRF protection added
-Compatible with vBulletin 3.7 Gold (may not work with Beta/RC releases)
-Fixed bug where some users are not able to import product
v4.4 - Jun 19. 2008.
-"Last post info" automatically hidden for users who are not able to acces forum
-Fixed bug where e-mails posting permissions does not work properly
-New: Minimum post count to post Visitor messages
-New: Minimum post count to view Albums
-New: Minimum post count to post Picture comments
-New: Minimum post count to create new Albums
-New: Minimum post count to view Social Groups
-New: Minimum post count to create new Social Groups
-New: Minimum post count to post Group messages
-Minor bug fixes...


PLEASE click INSTALL if you use this plugin

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	acp.jpg
Views:	1770
Size:	190.1 KB
ID:	82609   Click image for larger version

Name:	view forum.jpg
Views:	1260
Size:	15.8 KB
ID:	82610   Click image for larger version

Name:	create thread.png
Views:	1441
Size:	18.5 KB
ID:	82611   Click image for larger version

Name:	pms1.jpg
Views:	1774
Size:	28.6 KB
ID:	82612  

Click image for larger version

Name:	attach.png
Views:	907
Size:	7.5 KB
ID:	82613   Click image for larger version

Name:	lastpost.jpg
Views:	1659
Size:	55.6 KB
ID:	82614   Click image for larger version

Name:	globalset.jpg
Views:	1863
Size:	48.1 KB
ID:	82615  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Miscellaneous Hacks Cyb - Advanced Permissions Based on Post Count Valter vBulletin 3.6 Add-ons 467 27 Feb 2012 15:52
Cyb - Advanced Permissions Based on Post Count Valter vBulletin 3.5 Add-ons 218 13 Aug 2009 13:54

  #241  
Old 16 Jan 2010, 13:47
athlon64bit athlon64bit is offline
 
Join Date: Mar 2007
Does this work on vbulletin version 4?
Reply With Quote
  #242  
Old 02 Feb 2010, 00:15
whitedd's Avatar
whitedd whitedd is offline
 
Join Date: Jan 2010
when this will work on VB 4.0.1.?
Reply With Quote
  #243  
Old 09 Feb 2010, 21:37
Hostboard's Avatar
Hostboard Hostboard is offline
 
Join Date: May 2002
Real name: Steven
Originally Posted by NAZIA View Post
this is also not working.
it is showing, Generic Smilies pages when i open .../misc.php?do=cyb_apboupc_setall url
Confirmed not working on 3.8 Each time I try to set
For Individual Forums | For All Existing Forums I get thrown to the Smilies FAQ.

Wish it would work as I desperatly need it.
Reply With Quote
  #244  
Old 10 Mar 2010, 18:13
klyde72 klyde72 is offline
 
Join Date: Jan 2009
Hi, compliments for this product. I would want to hide only the Link and not the images. is it possible?
Thanks
Reply With Quote
  #245  
Old 28 Mar 2010, 19:30
Hendrizius's Avatar
Hendrizius Hendrizius is offline
 
Join Date: May 2007
To all you having the accessf_nb error. Install the mod again and allow overwrite. Solved it for me.
__________________
Add me on Twitter
Reply With Quote
  #246  
Old 17 Apr 2010, 15:55
chris&barb chris&barb is offline
 
Join Date: Sep 2009
Guests cant see images. Is there a way to set this so guests can see images? I have the setting to view images at 0 posts but you still need to register to view them.

I like the features of this mod but im really only using it to restrict new members from sending PM's because i was getting a lot of PM spam and competing forums PMing my members.
__________________
www.reef-geeks.com
Reply With Quote
  #247  
Old 18 Apr 2010, 18:36
TFEX TFEX is offline
 
Join Date: May 2008

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

What would I need to do to to the above code be able to include secondary usergroups in the allowed PM recipient usergroup ID field? As of now you can select primary groups who are allowed to receive PM's (ie site staff) before a user meets the post-count requirement, but the field is useless if you want to add a secondary group id to it.

I have tried:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

as well as:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

the error message varies slightly, but it's along the lines of this one:

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/private.php(1174) : eval()'d code on line 40

Anyone able to tackle this? I really need to get secondary ID's added to the allowed recipients field...


EDIT: Found something that works for the time being:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

X being the ID of your secondary usergroup. If one was to simply keep continuing to add "OR FIND_IN_SET..." in the above code, they can include as many secondaries as they like. Not the prettiest fix, but still a fix.

Last edited by TFEX; 19 Apr 2010 at 13:54.
Reply With Quote
  #248  
Old 18 Apr 2010, 18:38
TFEX TFEX is offline
 
Join Date: May 2008
Originally Posted by Hostboard View Post
Confirmed not working on 3.8 Each time I try to set
For Individual Forums | For All Existing Forums I get thrown to the Smilies FAQ.

Wish it would work as I desperatly need it.
You need to turn on the mod before you try, and be sure you are superadmin when you do. Once you turn it on it will allow you to set all rather than take you to the smilies page. When it's turned off it takes you to smilies.

I was fumbling about with it myself when I remembered that that's how CYB's advanced forum rules hack behaves also so I gave it a shot.

Installed and working perfectly on 3.8

Last edited by TFEX; 19 Apr 2010 at 13:51.
Reply With Quote
  #249  
Old 14 Jun 2010, 21:29
Moshe1010 Moshe1010 is offline
 
Join Date: Oct 2008
Cyb Hello,

first of all I appreciate you work but I found a bug which is very ridicules and it took me couple of hours to find it.
When you have a user with symbols like " or & in his username, your mod is not working!!!!!!!
It's happening only If you send messages to admins and you put a counter limit that all your board users can't send private massages (can send massages only to admins. For example till they get to 150 posts and then they and can send whoever they want).
Dude you killed me, I think I will go to sleep now, I actually started to look in my SQL and do experiments.
So you can't send private massages to admins if an admin has sign in his username, please fix it.

Thank you.
Reply With Quote
  #250  
Old 12 Aug 2010, 16:33
G37Sam G37Sam is offline
 
Join Date: Jun 2010
I can't get this to work on vbulletin 4

HELP!
Reply With Quote
  #251  
Old 12 Aug 2010, 17:33
ETDC ETDC is offline
 
Join Date: Sep 2007
Originally Posted by G37Sam View Post
I can't get this to work on vbulletin 4
Hardly surprising, given that it's for 3.7.X
Reply With Quote
  #252  
Old 12 Aug 2010, 17:42
G37Sam G37Sam is offline
 
Join Date: Jun 2010
Well is there one for vbulletin 4 +
Reply With Quote
  #253  
Old 13 Feb 2011, 19:14
ZapFlash ZapFlash is offline
 
Join Date: Jan 2007
Hi, in the part of "Post Links/Images/e-mails" when i go to "Set post count requirements" and click in "For All Existing Forums", it sends me to the FAQ page of my forums, is that normal? where can i set the minimum messages of that specific part pf post links/images/email? the spammers are driving me crazy
Reply With Quote
  #254  
Old 29 Apr 2011, 01:21
russellw russellw is offline
 
Join Date: Jan 2006
Great mod.

I have one small issue - in our for sale area we use a form to ensure that all the required information is gathered but it looks as if when the form is posted it ignores the post count restrictions set for that area.

Any ideas?

Cheers
Russ
Reply With Quote
  #255  
Old 01 May 2011, 01:52
russellw russellw is offline
 
Join Date: Jan 2006
Issue resolved. For the benefit of anybody else experiencing a similar issue, the Forms Hack actually doesn't check forum permissions before or at submission time.

In the hook for the form find the following:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

After it add:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Cheers
Russ
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 19:02.

Layout Options | Width: Wide Color: