![]() |
Newbie Lock mod
As requested by The Realist here.
This mod basically locks a newbie with 0 in post count from opening any other forums than your "newbie forum", or introductions forum. Ive tested it in any way I can think of on both 3.0.0 and 3.0.3, so it should be fool proof. Its also my first released vB mod, and it took me 20 secs to write and 30 to test. Go easy on meh :nervous: Yes I know theres usergroups for this, but it was a request, not my idea. Sue me :ermm: |
I think it's a great mod! Usergroup Permissions can be very complex in Vbulletin. Love it, thanks!
|
interesting ill look into it;)
|
Quote:
Thank you for sharing the resource though. |
Quote:
|
Yes indeed it is simple and like me Im all for simple things in life.
Well done M8 I will have a look at it and get back to you asap, Im a we bit pi$$ed now :) Its 1:10am and just crawled through the door :) Laters |
Just tried it M8 and it dont work. I logged in as a new user and yes it lockes down all the sections and stops the new member from viewing all the sections apart from the choosen one.
I made a post in the choosed section and it would not give me permission to access the other sections. Laters |
wtf lol
this is bs I tested it myself on my localhost just now. I can post video evidence if you want, cos its working just perfect. Maybe the problem is that post counts doesnt count in your newbie forum? cos this takes its value from the bbuserinfo['posts'] or postcount as you can see. other than that I have no idea lol |
My posts counts in the section is turned off yes. I will turn it on and give it another go.
Laters |
It does work M8, it was because I had post counts turned off.
Tell me............. Can it be added so that new members can only see this section I want them to make there first post in and once they made that post the other sections become viewable? Laters |
sorry mate couldnt really see the solution to that in there.
this would make it abit more advanced so then I think its easier to just do forum permissions and usergroups... |
How if I want newbie user can access morethan one forum?
|
Try
................ <= 0 AND $forumid != 18, 19, 20 etc, etc) Get the idea. Quote:
|
Nah more like AND $forumid != 18 AND $forumid != 19 AND $forumid != 20
etc ;) |
Quote:
|
Nice job Revan! I don't give out many of those, so cherish it ;) The only thing is that I wish I could change the message it says without changing the original for other purposes. Oh well :p
|
I believe you could do this by not changing the if() for the original print_no_permission, and instead put below the if():
PHP Code:
WARNING: this hasnt been tested :) |
Well I had to take the hack off because it was impractical. Many of my members would not know what was wrong because people don't want to read the error message, you know? Its annoying because I'd rather've kept it on. X_X
|
XD
pity your n00bs are ignorant bastards ;) I never really expected anyone but the requester to actually use this. XD |
I would love this with a few edits.
I am looking for a very easy method of restricting new members to one post in a given forum. They need to introduce themselves, etc. My site is driven by people posting offers they find elsewhere on the INternet. However I get loads of spamming idiots who run in and spam my board with MLM offers, money schemes, etc. I then have to delete all their posts and ban them which quite frankly is not very effective. What I would like to see is a person register, then be directed to his/her first post section. They post an introduction and then are locked out. Then as admins or Mods scan the messages, they can easily approve them or leave them locked out. I know I could set this up with the permissions system but there are too many cumberenses having to go into the admin panel each time you need to edit some one's permissions. I also would like to be able to ban someone with a click of the mouse... |
I just had a thought... Whats wrong with setting it so Registered Members can only see one forum and set up a Promotion that will move the member to a different user group after one post?
|
And you are 100% correct?
Why the hell did'nt I think of that :) Quote:
|
Not sure it will work but what I have read about promotions it should... Just each time you set up a new forum you would have to make sure you edited the permissions if it wasnt under a "mother" one...
|
old yes , but definitly a must do can someone port this for 3.5.0 gold i know you can play with the permissions but i had this on 3.0 and it was simple and easy to do. thanks
|
Quote:
can a coder please help on this old but necissary hack or point out the exact way to do it in a how 2 for 350 gold? |
Was looking for this myself.
Started to go through some code and found the function that states the forum permissions. PHP Code:
PHP Code:
If they made all variables the same regarding users and posts it should work ok. |
Quote:
well i have 3.5.1 and it rolled over so it works. you can sign up to my forum and see how i have it set up if you like. its in my sig |
All times are GMT. The time now is 01:49 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|