The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Cyb - Advanced Permissions Based on Post Count Details »» | |||||||||||||||||||||||||||||||||||||||||||
Cyb - Advanced Permissions Based on Post Count
Developer Last Online: Nov 2023
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... 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
Screenshots
Show Your Support
|
Благодарность от: | ||
wfouly |
Comments |
#172
|
|||
|
|||
tried this to no avail...
PHP Code:
|
#173
|
|||
|
|||
That looks like maybe it would work but I think you have a paren problem. I think that one by itself under the word "split" should go down one line so that $min_days has two after it.
Edit: except one other thing...if you were to set $vbulletin->options['apboupc_pm_amount'] option to 0 it wouldn't kick in even if they days registered was too low. |
#174
|
|||
|
|||
thanks - but I don't think so....unless I'm really missing something here:
here's the standard code - I did not change the original condition in the if statement with the ANDS, I just spread it out to make it more readable. PHP Code:
PHP Code:
you wrote: Edit: except one other thing...if you were to set $vbulletin->options['apboupc_pm_amount'] option to 0 it wouldn't kick in even if they days registered was too low. you are correct - I have it set to 15 and I'm the only person who touches the admin panel so this is not a concern of mine. ps: thank you for you help thus far - it is much appreciated. |
#175
|
|||
|
|||
Well, it's obvious something's wrong with the parens just from looking at these lines:
Code:
or ($days_registered <= $min_days) { For it to be correct, the closing paren for the very first opening one after 'if' has to be the last thing before the '{', and you can see that it's not. |
#176
|
|||
|
|||
thanks for the fast reply. I fail to see what I'm missing for instance:
PHP Code:
|
#177
|
|||
|
|||
Quote:
That's not correct syntax. An if statement has to be Code:
if (expr) statement so all parts of the expression have to be inside the outer set of parentheses. What you have is Code:
if (expr) or (expr) statement |
#178
|
|||
|
|||
kh99 - thank you for all your help. trying to insert the code into the mod was taking too long so I just added a few lines to code to private.php - not my first choice of how to do things but it works for now and perhaps 4.0 has a mod I can use when I upgrade soon.
|
#179
|
|||
|
|||
This mod is awesome...thanks for you work on this!
Quick question: Can I use this mod in conjunction with VB paid subscriptions? I only allow new threads to be created if a user has X number of posts (this mod works great for that). But if a member chooses to do so, they can pay to be bumped up to a usergroup that is allowed to create new threads. Just I guess I'm really asking which of the two overrides the other....usergroups vs. Cyb-Advanced Perms Thx Brandon |
#180
|
|||
|
|||
I have identified 2 bugs on this product. Hope Valter or any other programmer could share with us the patch instructions:
[BUG 1] If you have enabled the restriction "Post Links/Images/emails" with a minimum post count of X (we'll use X=5 in this example) then a member with less than 5 posts is in fact unable to post any link. But what happens when he wants to report a post? The system will allow him to send the report, however it will not get posted on the moderators forum. Guess why? Yes, because the reports contain links in their body and since this member has lees than 5 posts the system will prevent his report from being posted. Instead of posting the report on the predefined forum it is being sent to all the moderators through email which isn't the expected behavior. [BUG 2] If you have enabled the restriction "Post Links/Images/emails" with a minimum post count of X (we'll use X=5 in this example) then a member with less than 5 posts is in fact unable to post any image. But what happens if our smart member makes use of "https" in their image link instead of "http"? Something like this: . Answer is easy: the image will get posted bypassing the restriction of the 5 minimum posts to post images. Unfortunately 4.4 is the latest vB 3.x version of this mod. The current version is 5.2.1 but only available for vB 4.x series. I don't know if version 5.2.1 still have these bugs but maybe the programmer want to check. Please fix these bugs and share with us the patch instructions. |
#181
|
|||
|
|||
Valter or any other programmer could fix those bugs please?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|