Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
VSa - Advanced Permissions Based on Post Count Details »»
VSa - Advanced Permissions Based on Post Count
Version: 5.2.1, by Valter Valter is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.x.x Rating:
Released: 01-22-2010 Last Update: 06-01-2012 Installs: 896
DB Changes Uses Plugins Auto-Templates
 
No support by the author.

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,
-adding links to signatures
-voting on polls,
-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.

How it works and why it's better than vB Promotions system?!
Forum is shown on forumhome but with "Locked" icon and if you have no needed post count you'll get "no permission" error message. 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.

Installation:
Import XML file (as product) through AdminCP > Plugin System > Manage Products > [Add/Import Product]

Versions:
v1.0 - Sep 16.2005.
-First release
v4.4 - Jun 19. 2008.
-Latest 3.x version
v5.0 - Jan 23. 2010.
-Updated for vBulletin 4.x
-Option to hide or not "Last post info"
-Minor bugs fixed...
-Mod prefix (Cyb) changed to 'VSa'
v5.1 - May 02. 2010.
-Fixed: LPI hidden for excluded groups
-Fixed: Upgrade errors (vB3.x to vB4.x)
-Fixed: Some PHP errors, and minor bugs
v5.2 - May 26. 2012.
-New: Permissions applied to What's New/Activity streams
-New: Permissions applied to subscription logs in member profiles
-New: Warnings in messages replaced by "Hidden Content" where you get more info on click
-New: Disallow links/emails in signatures
-New: Disallow voting on polls
-Fixed: Threads visible in Search results
-Fixed: Links visible in post search results
-Fixed: Links visible in subscription emails
-Fixed: SendPM possible via BCC
-Fixed: PHP 5.3 errors
-Fixed: Style issues on "set all forums" page
-Fixed: Signature perminfo errors
-Fixed: Forum locks
-Fixed: Minor bugs
v5.2.1 - Jun 02. 2012.
-Minor bug fixed (submit form error phrase)

Download Now

File Type: zip VSa - Advanced Permissions Based on Post Count v5.2.1.zip (10.9 KB, 2491 views)

Screenshots

File Type: jpg acp.jpg (99.8 KB, 0 views)
File Type: jpg setall.jpg (171.6 KB, 0 views)
File Type: jpg error_forum.jpg (39.9 KB, 0 views)
File Type: jpg error_lpi.jpg (52.5 KB, 0 views)
File Type: jpg error_pm.jpg (102.5 KB, 0 views)
File Type: jpg error_link_attach.jpg (67.3 KB, 0 views)
File Type: jpg error_linkpost.jpg (85.8 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 02-18-2010, 05:07 AM
decipher442 decipher442 is offline
 
Join Date: Jan 2009
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm I can't seem to get this to work. I installed it and did all the settings but in the options when I click "For All Existing Forums" link it doesn't go to the page you display..

It brings me here:
http://www.promojunkie.com/forum/mis...apboupc_setall

NOTE: I have tried disabling all other plugins including VBSEO and I still cant access the page.

I even went through all the forums and manually set the post limits but didn't work either.

Anyone know the solution to this one?
Reply With Quote
  #33  
Old 02-18-2010, 09:04 AM
Gus Moore Gus Moore is offline
 
Join Date: Feb 2010
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Valter,

Thanks for the mod.

I am new to vB. This is my first post.

Does your "Advanced Permissions" mod allow us to disable signatures for new members?

Thanks,

Gus
Reply With Quote
  #34  
Old 02-22-2010, 09:12 PM
ShawnV's Avatar
ShawnV ShawnV is offline
 
Join Date: Mar 2005
Posts: 270
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome, thanks for another great mod.
Reply With Quote
  #35  
Old 02-23-2010, 11:55 PM
snilabs snilabs is offline
 
Join Date: Feb 2010
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks great work!
Reply With Quote
  #36  
Old 03-08-2010, 04:05 PM
Muggz562 Muggz562 is offline
 
Join Date: Jan 2010
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed. I've been looking for something like this for awhile. I wouldn't mind an update
Reply With Quote
  #37  
Old 03-19-2010, 01:50 AM
Dr.RakeshGarg Dr.RakeshGarg is offline
 
Join Date: May 2009
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

"creating new threads" restriction not working...please help me
thanks
Reply With Quote
  #38  
Old 03-20-2010, 12:02 PM
unicorn2433 unicorn2433 is offline
 
Join Date: Mar 2008
Posts: 148
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get a data base error when trying to set the settings up under each Forum. The how many posts a user must have to view forum area
Database error in vBulletin 4.0.2:

Invalid SQL:
UPDATE forum SET
title_clean = 'Picture Room',
title = 'Picture Room',
description_clean = 'This is a private area to show off pics of your family. You must be an active member with at least 1000 posts to join this board.',
description = 'This is a private area to show off pics of your family. You must be an active member with at least 1000 posts to join this board.',
link = '',
displayorder = 8,
parentid = 6,
daysprune = -1,
defaultsortfield = 'lastpost',
defaultsortorder = 'desc',
showprivate = 0,
newpostemail = '',
newthreademail = '',
### Bitfield: forum.options ###
options = IF(options & 8, options - 8, options),
options = IF(options & 16, options - 16, options),
options = IF(options & 32, options - 32, options),
options = IF(options & 32768, options - 32768, options),
options = IF(options & 8192, options, options + 8192),
options = IF(options & 4, options, options + 4),
options = IF(options & 1, options - 1, options),
options = IF(options & 2, options, options + 2),
options = IF(options & 16384, options, options + 16384),
options = IF(options & 256, options - 256, options),
options = IF(options & 64, options, options + 64),
options = IF(options & 128, options, options + 128),
options = IF(options & 512, options, options + 512),
options = IF(options & 1024, options, options + 1024),
options = IF(options & 2048, options, options + 2048),
options = IF(options & 4096, options, options + 4096),
options = IF(options & 65536, options, options + 65536),
options = IF(options & 131072, options - 131072, options),
styleid = 0,
imageprefix = '',
password = '',
accessf_nb = 20,
accesst_nb = 1000,
create_nb = 1000,
reply_nb = 1000,
linkview_nb = 1000,
linkpost_nb = 1000,
ucashoptions = '1::1::1'
WHERE forumid = 203;

MySQL Error : Unknown column 'accessf_nb' in 'field list'
Error Number : 1054
Request Date : Saturday, March 20th 2010 @ 12:57:51 PM
Error Date : Saturday, March 20th 2010 @ 12:57:51 PM

Classname : vB_Database
MySQL Version : 5.0.45
Reply With Quote
  #39  
Old 03-20-2010, 12:15 PM
unicorn2433 unicorn2433 is offline
 
Join Date: Mar 2008
Posts: 148
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

uninstalled reinstalled fixed problem.
Reply With Quote
  #40  
Old 03-25-2010, 08:59 PM
lokash20 lokash20 is offline
 
Join Date: Jan 2010
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I posted this in the v3.8 thread, but am repeating it here as I guess its more relevant to ask for additions to the current version, especially as we should really upgrade to vBv4 sometime soon.
Feature request - Assuming I haven't missed something - A log of failed attempts to PM/e-mail/whatever due to being blocked by this plugin would be useful.
Anyway, as I also said in the other thread and am happy to repeat here: Installed on 3.8 and we're very, very happy with the results.

Thanks Valter!
Reply With Quote
  #41  
Old 03-26-2010, 07:35 PM
bobster65's Avatar
bobster65 bobster65 is offline
 
Join Date: Mar 2006
Location: Montana
Posts: 1,169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by decipher442 View Post
Hmm I can't seem to get this to work. I installed it and did all the settings but in the options when I click "For All Existing Forums" link it doesn't go to the page you display..

It brings me here:
http://www.promojunkie.com/forum/mis...apboupc_setall

NOTE: I have tried disabling all other plugins including VBSEO and I still cant access the page.

I even went through all the forums and manually set the post limits but didn't work either.

Anyone know the solution to this one?
Ya, you need to be a Super Administrator to view it. I had the same issue, looked at the misc start plugin, noticed that he had it set to look for super admins, made myself a Super Admin and it came up just fine.
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 02:58 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05215 seconds
  • Memory Usage 2,363KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (13)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (8)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete