![]() |
Quote:
A control panel to set these things would be nice, but I'm not really that clever. (Later:) Now updated (see the top message). Note that the timescale and the number of posts both have to be met, so a user who posts 15 replies in one day still can't post a new topic. Presumably this is what you wanted... and it sounds a great idea. |
thnx nethng that saves manual changing peeps privlidges level is a god send :)
|
I just found a BIG problem with this hack. Users who are not logged in get the forumnewbie error instead of the log in prompt.
Is there any way to exclude unregistered users from the forumnewbie error so they get the regular log in screen when trying to post? |
Fixed!
Just move the hacked code down a few lines. Put the code after this in newthread.php: ------- $permissions=getpermissions($forumid); if (!$permissions[canview] or !$permissions[canpostnew]) { show_nopermission(); } ------- This will let the correct error message to display for uncookied users. Damn, if someone hadn't emailed me complaining that they could not post unless they had 1 post already, when they really weren't logged in, I never would have caught this! |
Fantastic; thanks for that. I've altered the first message accordingly.
|
this works great nice work, but I was wondering if theres a way to have it enabled only in certain forums
|
no problem Ive found the answer
|
You'll have noticed that it is possible to switch this off for particular forums, although it's a bit clunky. It would be good to add this to the control panel in some way, but I don't understand enough about that to do it.
|
With the addition of some code on the https://vborg.vbsupport.ru/showthread.php?s=&threadid=14075]moderate a user[/url] hack, I've now removed this hack from my board; sticking users on auto moderation works better for some problems we're having with a user who won't go away.
I'll still keep maintaining this one, mind, but thought it's only fair to mention it! |
Does this hack still work with the newest version of VB? i
|
All times are GMT. The time now is 12:13 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|