vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - VSa - Advanced Permissions Based on Post Count (https://vborg.vbsupport.ru/showthread.php?t=233979)

Valter 01-22-2010 10:00 PM

VSa - 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,
-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)

RL714 01-23-2010 07:54 PM

was waiting for your update to vb4, very nice thanks Valter, also update most of your mods plz. thank you :)

Valter 01-23-2010 07:55 PM

There is a lot of work to do, but I'll do it.

I'm busy with my main job, so please be patient.

LbR 01-23-2010 08:07 PM

Signature links :eek: ??

Zaiaku 01-23-2010 08:13 PM

The 3.8 version worked for me but glad to see an official vb4 version

Adam H 01-23-2010 08:16 PM

Thanks bud , great mod and use it on every forum .

fourat 01-23-2010 09:41 PM

Thanks .. installed and nominated

tafreeh 01-23-2010 10:43 PM

wow.. Thanks allot man... you are one of my favourite...

btw, why did you change your user name.. i was just gonna ask you that if you have permission from CYB to use his code... lol

Forum Lover 01-23-2010 11:36 PM

Installed and nominated. BTW, can we restrict viewing member list too?

athlon64bit 01-24-2010 12:48 AM

I assumed that this would update cyb advanced permissions post count addon version 4.4 but now I have both version 4.4 and version 5 in my addons list. Why is this?

Hornstar 01-24-2010 01:00 AM

This has more installs then downloads currently....It just shows you how popular this really is. Thanks.

princeedward 01-24-2010 06:43 AM

great and thanks ;)

Valter 01-24-2010 09:23 AM

Quote:

Originally Posted by athlon64bit (Post 1964880)
now I have both version 4.4 and version 5 in my addons list. Why is this?

ProductID was changed. Old version should be uninstalled.

kho91 01-24-2010 11:30 AM

installed and nominate !

please can add :

can't downlod in download II befose X post

and can't create a blog?

Forum Lover 01-24-2010 02:59 PM

Quote:

Originally Posted by kho91 (Post 1965140)
installed and nominate !

please can add :

can't downlod in download II befose X post

and can't create a blog?

I second that. :) please.

pjdaley 01-24-2010 03:43 PM

this plugin specifically the "
Set post count requirements
For Individual Forums | For All Existing Forums"

doesent seem to be working with vbSEO as i am unable to set a post count number for any forum or thread

athlon64bit 01-24-2010 09:53 PM

Quote:

Originally Posted by Valter (Post 1965078)
ProductID was changed. Old version should be uninstalled.

Thank you Valter. :)

athlon64bit 01-24-2010 09:54 PM

I cannot update individual forums. As soon as I go to save I get this error, "The service is unavailable." As soon as I disable this addon the error goes away. I am using vb version 4.0.1. :(

The SQL error that I get is
Code:

MySQL Error  : Unknown column 'accessf_nb' in 'field list'
.

Arachnophiles 01-27-2010 01:35 PM

Dude, you are a living legend. Keep the faith! I'll gladly make a donation for your hard work. please let me know the address.

Cheers,
Adam

tini_lam 01-27-2010 04:46 PM

perfect :) thanks

Valter 01-27-2010 06:08 PM

Quote:

Originally Posted by Arachnophiles (Post 1967985)
Dude, you are a living legend. Keep the faith! I'll gladly make a donation for your hard work. please let me know the address.

Cheers,
Adam

You can use "Support Developer" link to donate.

https://vborg.vbsupport.ru/external/2010/01/20.jpg

Thank You.

DCX000 01-28-2010 03:50 PM

I am looking for a mod to prevent the Registered Users group from posting any links regardless of post count. Please help me determine if this will work.

I was thinking I could set the new users group to not be able to post links untill they have 9999 posts for example. But will that display a message "You cannot post links until you have 9999 posts"? That would just look mean.

Is there a better way to use this to accomplish my goal or am I better doing something else?

Forgive me if this has been addressed in your previous versions but I thought I should ask here.

Thank you

zeroality 02-02-2010 10:52 AM

I like the link idea although that could be hard to implement. I came here to suggest restricting avatars/sigs/user title. Perhaps PMs and visitor messages? Would really cut down on spam via PMs. Recently had to ban someone who PMed everyone.

And I remember you as Cybernetic, I used almost all your mods in 3.x!

Sayid 02-02-2010 11:09 AM

Can we upgrade from 4.4 or have we uninstall the previous one first?
because I do not want to lose the options.
Thanks Valter for taking time to update this :)

Valter 02-02-2010 05:40 PM

You should uninstall old version before upgrade.

unforsaken 02-03-2010 01:41 AM

is there a way to seperate the links/images? as well any help on the individual forums limits would be great as well

pjdaley 02-05-2010 12:14 PM

I have in my settings to ignore the settings for usergroups: 1,5,6,7

now I WANT usergroup 1 (not logged in, not registered) to be able to see the whole forum. (ie: i want google to be able to crawl it.) The links and images are already blocked out using a separate system.

However when i go to the site as a visitor i still cannot view any threads... any ideas?


Also as for my last post, i was able to fix the issue by disabling vbseo and setting up VSa then re-enabling vbseo :)

zeroality 02-08-2010 11:28 PM

Valter, any chance of my suggestions being implemented?

Toupsx 02-11-2010 09:50 AM

Any chance of implementing this:
Require Captcha based on post count
(user must fill out captcha field if enabled and they are under X amount of posts)
Would be a great additional way to stop robots/ forum spam

rizelim 02-14-2010 08:41 PM

thanks

decipher442 02-18-2010 05:07 AM

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?

Gus Moore 02-18-2010 09:04 AM

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

ShawnV 02-22-2010 09:12 PM

Awesome, thanks for another great mod.

snilabs 02-23-2010 11:55 PM

thanks great work!

Muggz562 03-08-2010 04:05 PM

Installed. I've been looking for something like this for awhile. I wouldn't mind an update ;)

Dr.RakeshGarg 03-19-2010 01:50 AM

"creating new threads" restriction not working...please help me
thanks

unicorn2433 03-20-2010 12:02 PM

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

unicorn2433 03-20-2010 12:15 PM

uninstalled reinstalled fixed problem.

lokash20 03-25-2010 08:59 PM

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. :rolleyes: :D
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!

bobster65 03-26-2010 07:35 PM

Quote:

Originally Posted by decipher442 (Post 1985306)
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.


All times are GMT. The time now is 02:53 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
  • Page Generation 0.02571 seconds
  • Memory Usage 1,824KB
  • 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
  • (1)bbcode_code_printable
  • (5)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