vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=324605

MarkFL 08 Mar 2017 20:00

2 Attachment(s)
Quote:

Originally Posted by Snowhog (Post 2583479)
Ah, okay.

Are these the only two elements in the .xml file that handle the message?


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

Yes, those are the only phrases controlling the user messages.

I have attached an update which will allow you to add CSS to the message elements. :)

For example, when I add the following CSS to the "Message CSS" setting:


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

Then, I get the following:

http://www.vbulletin.org/forum/attac...1&d=1489006711

Snowhog 08 Mar 2017 20:20

Your screenshot raises a question:

As your MOD is written, at what point does the check against the members post count occur? It looks as if, based on the screenshot, it happens when they enter the affected forum. If that is the case, that isn't good. Anyone, regardless of post count, should be able to enter the forum and read it's content. Only affected members should be prevented from creating within the forum.

Or am I misleading myself by the screenshot; by what I see?

MarkFL 08 Mar 2017 20:26

The screenshot just shows that the message explains to the user why there are no "Post New Thread" buttons...they can still browse the threads, and if the restriction is only on creating new threads, they can still reply to the existing threads. :)

Snowhog 08 Mar 2017 21:28

Okay, I tested by logging in with a testing user account (with 51 posts).

When I select (go into) our Help the New Guy forum I see the banner message at the top of the Thread Listing as shown in your screenshot and the Post New Thread button is absent. When I click on any of the threads, the banner message isn't displayed.

So, this looks quite nice and accomplishes what I wanted. Good job!

MarkFL 08 Mar 2017 23:03

Quote:

Originally Posted by Snowhog (Post 2583487)
Okay, I tested by logging in with a testing user account (with 51 posts).

When I select (go into) our Help the New Guy forum I see the banner message at the top of the Thread Listing as shown in your screenshot and the Post New Thread button is absent. When I click on any of the threads, the banner message isn't displayed.

So, this looks quite nice and accomplishes what I wanted. Good job!

Alright...good deal!Thank you for the feedback. ;)

I'll likely go over it for a bit to see if there's anything I missed and then publish it. :)

MarkFL 09 Mar 2017 18:20

I have updated and published the product here:

Restricted Forums By Post Count

:)

Prince 08 Sep 2019 20:28

Does this mod or is there a mod that restricts users from even seeing a forum or sub-forum based on either being logged in or post count?

HM666 09 Sep 2019 02:27

Quote:

Originally Posted by Prince (Post 2600588)
Does this mod or is there a mod that restricts users from even seeing a forum or sub-forum based on either being logged in or post count?

You could set that up within vB without installing anything new. You can create a usergroup that has access to that particular forum and if you want you can make it where no other usergroups other than staff can see or post in that forum. As for post count when you create the usergroup create a usergroup promotion that will give access after they reach the post count amount. As for being logged in you can restrict forums so they are not seen when someone is logged out.


All times are GMT. The time now is 03:42.

Powered by vBulletin® Version 3.8.14
Copyright © 2020, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.