vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Miscellaneous Hacks - Cyb - Advanced Permissions Based on Post Count (https://vborg.vbsupport.ru/showthread.php?t=201285)

Valter 01-09-2009 10:00 PM

Cyb - Advanced Permissions Based on Post Count
 
1 Attachment(s)
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" - 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 ;)

dreads 01-10-2009 04:05 PM

Another great mod by Cyb :D thanks

* Clicks Install

nfn 01-10-2009 07:34 PM

Hi ...

Can we have an option to allow images but disallow links?
I' forced to use this because of this feature :(
My members need to post images but I need to avoid links in the firsts posts

Can we have this options please?

Thanks
N

Stubbed 01-11-2009 09:34 PM

I don't quite know how I didn't see this earlier, it's everything I was after and more, however...

All I really want to do is put new users posts into a moderation queue, except in a certain forum (For example, the new users forum).

While I could use this mod to do similar, it seems excessive for my requirements. Are there any recommendations for what I am after?

MikeHolohan 01-16-2009 06:41 PM

Quote:

Originally Posted by Stubbed (Post 1709010)
I don't quite know how I didn't see this earlier, it's everything I was after and more, however...

All I really want to do is put new users posts into a moderation queue, except in a certain forum (For example, the new users forum).

While I could use this mod to do similar, it seems excessive for my requirements. Are there any recommendations for what I am after?

That's what I need too...

Brandon Sheley 01-16-2009 07:06 PM

It's good to see this updated, I know a few sites that use it. :)

mattbarb 01-16-2009 07:29 PM

When this plugin is enabled, non-admins cannot do a mouse-over thread preview in search results. It works fine in forumdisplay. This does not happen to admins/moderators. Any ideas? vb 3.8.0. Al forums are set to 0 posts so far so its not a permission setting.

redraider 01-18-2009 12:46 PM

when i upgraded from vb3.7.0 to vb3.8.0 version of this mod, the link in my admincp still points to the vb3.7.0 version of this mod, how do I know if its updated properly or not?

troppodel 01-19-2009 07:29 AM

Hi Cyb
i love this mod
please a question, how can i use it with my dynamics instance?
please let me know
thanks
Ivan

nwingate 01-22-2009 02:18 AM

Great hack... thanks!

I'm having a problem with spambots who join the post and post a bunch of crap (which isn't new of course) but they are also rating threads so people will view their posts. So, I can remove all their posts quickly but the threads remain rated 5 stars which is not great for the site.

Is there anyway we can add an additional option to prevent people from rating threads before X amount of posts?

Thanks!

GrendelKhan{TSU 01-23-2009 08:43 AM

awesome Thanks!!!

Kihon Kata 01-24-2009 03:08 AM

Updated my live site

spipo 01-26-2009 01:21 PM

I have the previous version of 3.7.2 .
I will upgrade my forum to 3.8
how to upgrade this plugin to the last version : only overwriting ? or it need some steps ..?

regards

Valter 01-26-2009 07:18 PM

Just upgrade vBulletin, this product will continue working with 3.8.

BlackJacket 01-28-2009 04:25 PM

*Installs*

This is great. Exactly what i was looking for!

Works great also.

Lautaro 01-29-2009 11:45 PM

marked as installed. Thanks Cybernetec again for this great mod..

trickfly 01-30-2009 06:46 PM

is it possible to hide links within the [code] tags ?

Kuydoha 02-04-2009 01:19 PM

installed :)
Thank you

xpinx2pin 02-05-2009 12:22 AM

can i req for new feature?
can u add enable/ disable signature base on post count ?

Thanks before, this is are good mod

rockinaway 02-05-2009 03:42 PM

I just wanted to verify, that if all settings are disabled, except the posting of links, then will this overwrite any settings I have for the usergroups in my core installation?

And this will not effect guests if they are not allowed to post right?

Nantrox 02-09-2009 07:54 PM

now its getting boring ^^ one more time: thx for another great hack ! *installed*

mitch84 03-05-2009 07:43 AM

hi,can I to set on the number of subjects create?
sorry for my poor english
thank you

Chadi 03-16-2009 11:41 PM

1 Attachment(s)
I'm using another hack in conjuction with this one. The other mod (now in mod graveyard) is called Check4Spam. The reason I use that one still is because it allows custom rules.

My custom rules are:
Code:

[url|www .|www. |w-w-w|w.w.w|(dot)|[dot]|{dot}|.html|.htm|.shtml|.php|.asp|.cgi|.com |.net |.org |.info |.co.uk |.com/ |.net/ |.org/ |.info/ |.co.uk/ |.com.|.net.|.org.|.info.|.co.uk.|http://
It also allows ignore list (whitelist domains rules) and spam keyword check as well.

Would you be willing to add such features into yours?

My Feature Requests Summed Up:
- white list domains
- spam keyword check
- custom rules for link/image/email prevention (as shown above) [aka
URL Identifiers]

I've attached the original mod file.

steampunks 03-17-2009 04:35 PM

It would be useful to base permissions upon post ratio. So that too many posts in a designated forum(s) limits access to other forums.

masterweb 03-19-2009 07:48 PM

That's my problem too, i noticed new signups with 0 posts using signature for spamming (redirecting traffic to their signs in order to redirect once again to the final spamming links). This could be a great feature for sure (in the meantime great mod dude, congratz for your hard work ;) )

Quote:

Originally Posted by xpinx2pin (Post 1734775)
can i req for new feature?
can u add enable/ disable signature base on post count ?

Thanks before, this is are good mod


Scovic 03-20-2009 07:10 PM

Great mod.
Thanks

rveram 03-24-2009 08:47 PM

Anyone know how to fix this error:

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

I get this error when a User with less than 50 posts wants to send a private message.

TilkiBey 03-25-2009 05:34 PM

good job cybernetec :thumbup:
installed and nominated ;)

HansMuenchen 03-28-2009 09:24 AM

Hello,

I have two Problems with the Addon:

1st When I click on the link into Addons I will be directed to the 3.7 Page not to the 3.8 page here
2nd When I say that Links are only possible by postcount of 1 and the user have 0 I also see the links and can use them.

What I can do to make it work?

Thnx for your help
Hans

P.S. Sorry for my terrible english :(

YLP1 03-31-2009 05:12 PM

Will this mod work to not allow members to send/receive private messages EXCEPT to/from mods/admins until x number of posts are made? I don't want to disable the pm feature for members because I want them to be able to communicate with mods/admins and vice versa but new members will pm other members to sell products or to coax them to other boards.

Thanks in advance for info.

Valter 03-31-2009 05:19 PM

Yes, you can limit users with post count less than x to PM members, but allowing them to PM Staff.

YLP1 03-31-2009 10:14 PM

Quote:

Originally Posted by Cybernetec (Post 1781196)
Yes, you can limit users with post count less than x to PM members, but allowing them to PM Staff.

Can this be done by usergroup to? For instance, I have seven usergroups that I only want to be able to send pms to admins/mods and receive only from admins/mods.

TIA

Chadi 04-01-2009 04:43 PM

Quote:

Originally Posted by Chadi (Post 1770070)
I'm using another hack in conjuction with this one. The other mod (now in mod graveyard) is called Check4Spam. The reason I use that one still is because it allows custom rules.

My custom rules are:
Code:

[url|www .|www. |w-w-w|w.w.w|(dot)|[dot]|{dot}|.html|.htm|.shtml|.php|.asp|.cgi|.com |.net |.org |.info |.co.uk |.com/ |.net/ |.org/ |.info/ |.co.uk/ |.com.|.net.|.org.|.info.|.co.uk.|http://
It also allows ignore list (whitelist domains rules) and spam keyword check as well.

Would you be willing to add such features into yours?

My Feature Requests Summed Up:
- white list domains
- spam keyword check
- custom rules for link/image/email prevention (as shown above) [aka
URL Identifiers]

I've attached the original mod file.

Anyone else interested in this idea? Perhaps we can donate $10 each until the author is satisfied?

Valter 04-01-2009 09:08 PM

Quote:

Originally Posted by YLP1 (Post 1781385)
Can this be done by usergroup to? For instance, I have seven usergroups that I only want to be able to send pms to admins/mods and receive only from admins/mods.

TIA

You can set which usergroups are NOT affected by the hack, and also which usergroups will be available to affected users to send PMs to.
https://vborg.vbsupport.ru/attachmen...4&d=1231601713

Chadi,
I have no time to add new features to my hacks atm, as I'm very busy. Only potential major bugs will be fixed in the near future.

supLaditOz 04-03-2009 09:39 PM

This is what i need

Tnx Cyb

Chadi 04-03-2009 11:07 PM

Quote:

Originally Posted by Cybernetec (Post 1782013)
You can set which usergroups are NOT affected by the hack, and also which usergroups will be available to affected users to send PMs to.
https://vborg.vbsupport.ru/attachmen...4&d=1231601713

Chadi,
I have no time to add new features to my hacks atm, as I'm very busy. Only potential major bugs will be fixed in the near future.

Thanks for the follow up. If you can implement the suggested features from the other mod I attached earlier, eventually at least - that would be great. I'll gladly donate $25 myself.

smirkley 04-04-2009 04:35 AM

Thanks, I really needed this mod for spam reasons.

Can it eventually be expanded to include vb-blogs too?

Thanks again.

fanyap 04-04-2009 07:21 AM

Whenever I try and alter the permissions for "All Existing Forums" in the View Links / Images section of the vB options it is taking me to mydomain.com/misc.php?do=cyb_apboupc_setall

Shouldn't it be taking me somewhere in the admincp? I am trying to update it so it requires you to globally have 1 post before you can post any links in the forum.

Thanks & Great Mod!

opy01 04-07-2009 01:10 PM

Quote:

Originally Posted by fanyap (Post 1783553)
Whenever I try and alter the permissions for "All Existing Forums" in the View Links / Images section of the vB options it is taking me to mydomain.com/misc.php?do=cyb_apboupc_setall

Shouldn't it be taking me somewhere in the admincp? I am trying to update it so it requires you to globally have 1 post before you can post any links in the forum.

Thanks & Great Mod!

Same here. I had the one for 3.7 installed and thought updating would fix it but it doesnt. Any help is appreciated. All that comes up is a page full of smilies.

morrow 04-09-2009 01:20 AM

When I click, "For All Existing Forums", the link takes me to my smilies page. The link "myforumsdir/misc.php?do=cyb_apboupc_setall"

Uninstalling until this is resolved.


All times are GMT. The time now is 01:07 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02788 seconds
  • Memory Usage 1,849KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete