PDA

View Full Version : New Posting Features - Threads Limiter - Limit threads posted by user in X hours.


Almotmaiz.Net
05-28-2009, 10:00 PM
Threads Limiter 1.0


Threads Limiter - Let you Limit threads posted by user in X hours. with nice admincp options with xml product only.

admincp controller.
ability to turn it on or Off.
ability to set max post
ability to set hours.
ability to Exclude forums from this addon.
ability to Exclude usergroups from this addon.install.
download latest version on attachment.
upload XML file via Upload/Add Product.
Edit your admincp settings.
finish.MAKE SURE YOU CLICK INSTALL (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=214812)!
You will get an email when a new version is released.


History.
1.0 - first release.

Almotmaiz.Net
05-29-2009, 03:39 AM
reseved

KM7
05-29-2009, 04:05 AM
Great Work as always my friend :)

Gotta try it soon, keep it up :)

ARB4HOSTING.COM
05-29-2009, 05:17 AM
Thanks alot

Bin7raib
05-29-2009, 12:27 PM
nice work ,

يعطيك العافية يا ولد بلادي =)

Hornstar
05-29-2009, 12:27 PM
looking at the screenshot it looks like this is per usergroup, but your description looked like it could be set per user.

GeorgeB85
05-29-2009, 01:59 PM
Is there a way to add the option if you want one forum to only have 1 new thread every 24 hours, and another forum to have a new thread every 4 days? I would see that additional option being very useful!

4nawadir.com
05-29-2009, 02:38 PM
Nice Work
Installed & Notaminated
مشكور على الطرح المميز

saihat
05-29-2009, 05:48 PM
Thanks

Almotmaiz.Net
05-29-2009, 06:00 PM
thanks All.

looking at the screenshot it looks like this is per usergroup, but your description looked like it could be set per user.
Yub. this option. let you exclude forums, usergroups. from this mod.
Is there a way to add the option if you want one forum to only have 1 new thread every 24 hours, and another forum to have a new thread every 4 days? I would see that additional option being very useful!
umm this mod based on user threads on (ALL) forums in X hours. not for one forum. think with me .. if we allow 1 thread on selected forum .. this will not help to limit threads :)

TheLastSuperman
05-29-2009, 06:03 PM
* TheLastSuperman tags, will marked as installed when I get to it, thanks :D

Losha
05-30-2009, 09:30 AM
Very nice, thank you

installed

lm3a.net
05-31-2009, 06:01 AM
Nice,,

But does it work with 3.6 ?

thank you ..

bigcurt
05-31-2009, 06:10 AM
Can this be made to where only one user is allowed to post on thread in a specific forum...ever lol.

Abo Morad
06-02-2009, 10:18 PM
wow
good work man
بوركت يالزعابي
:)

Macgiber
06-09-2009, 09:03 PM
Great Work man

jim doodle
07-11-2009, 08:44 AM
Great product!!

A few questions

Do the hours start from a specific time, i.e. 00:00 the day you turn on the product?

And is there a limit on the hours?

For example; I want to limit the threads by one usergroup in a specific forum by excluding all other forums to 2 threads per 8760 hours (one year).

Will this work?

Markets Where
07-29-2009, 03:33 AM
can it support Version: 3.7.x?

belal_najjar
07-29-2009, 07:41 AM
hey can u put another option, for example i have a couple of members who post many threads & comments & i want to apply this product on them only !!

regards

zevkopat
08-01-2009, 07:23 PM
Thank You...

career
09-12-2009, 10:56 AM
thank you

eSe7en
09-22-2009, 11:33 PM
There is a bug in this hack
It doesn't exclude the threads correctly.

I changed the 'newthread_form_start' plug-in into:


if($vbulletin->options['nlp_limiter_active']) {
$fforums = iif(($fforums1 = unserialize($vbulletin->options['nlp_limiter_fex'])) != "", $fforums1, array());
if(!in_array($vbulletin->userinfo['usergroupid'], unserialize($vbulletin->options['nlp_limiter_ex'])) AND
!in_array($foruminfo['forumid'], $fforums)) {
$timecut = TIMENOW - (3600 * $vbulletin->options['nlp_limiter_h']);
$fforumsStr=implode(',',$fforums);
$count = $vbulletin->db->query_first("
SELECT COUNT(*) AS count
FROM " . TABLE_PREFIX . "thread AS thread
WHERE postuserid = '{$vbulletin->userinfo['userid']}'
AND (visible != 2 && open = 1 && dateline >= $timecut) AND forumid NOT IN($fforumsStr)
");
if($count['count'] >= $vbulletin->options['nlp_limiter_threadcount']) {
$limiter = iif($count['count'] > 2, $count['count'] . ' ') . iif($count['count'] <= 2, iif($count['count'] == 1, $vbphrase['nlp_limiter_one_thread'], $vbphrase['nlp_limiter_two_thread']), $vbphrase['threads']);
eval(standard_error(fetch_error('nlp_limiter_msg', $limiter, $vbulletin->options['nlp_limiter_h'], $vbulletin->options['contactuslink'])));
exit(0);
}
}
}

career
09-23-2009, 07:02 AM
There is a bug in this hack
It doesn't exclude the threads correctly.

I changed the 'newthread_form_start' plug-in into:

if($vbulletin->options['nlp_limiter_active']) {
$fforums = iif(($fforums1 = unserialize($vbulletin->options['nlp_limiter_fex'])) != "", $fforums1, array());
if(!in_array($vbulletin->userinfo['usergroupid'], unserialize($vbulletin->options['nlp_limiter_ex'])) AND
!in_array($foruminfo['forumid'], $fforums)) {
$timecut = TIMENOW - (3600 * $vbulletin->options['nlp_limiter_h']);
$fforumsStr=implode(',',$fforums);
$count = $vbulletin->db->query_first("
SELECT COUNT(*) AS count
FROM " . TABLE_PREFIX . "thread AS thread
WHERE postuserid = '{$vbulletin->userinfo['userid']}'
AND (visible != 2 && open = 1 && dateline >= $timecut) AND forumid NOT IN($fforumsStr)
");
if($count['count'] >= $vbulletin->options['nlp_limiter_threadcount']) {
$limiter = iif($count['count'] > 2, $count['count'] . ' ') . iif($count['count'] <= 2, iif($count['count'] == 1, $vbphrase['nlp_limiter_one_thread'], $vbphrase['nlp_limiter_two_thread']), $vbphrase['threads']);
eval(standard_error(fetch_error('nlp_limiter_msg', $limiter, $vbulletin->options['nlp_limiter_h'], $vbulletin->options['contactuslink'])));
exit(0);
}
}
}


Thanks eSe7en!

I wrote a pms to developer about this malfunction but still waiting for answer ((
Thanks a lot, my board really require this mod.

btw: checked. now with these changes working perfectly

eSe7en
09-23-2009, 10:01 AM
Glad it woked :).

I've PMed the developer so that he can update the mod.
I found out about this bug as I've turned on reports and when the user send reports about any posts , they're considered as threads and subsequently not ignored by the mod.

So, if you have reports turned on; Make sure you but the reports forum in the excluded forums.

bigcurt
09-27-2009, 04:10 AM
This mod would be nice to have, make things a little easier. Developer can you comment?

Silencer Groans
09-27-2009, 07:41 PM
Thanks alot

ممتاز يالزعابي

career
10-20-2009, 10:48 AM
Glad it woked :).

I've PMed the developer so that he can update the mod.
I found out about this bug as I've turned on reports and when the user send reports about any posts , they're considered as threads and subsequently not ignored by the mod.

So, if you have reports turned on; Make sure you but the reports forum in the excluded forums.

thanks!

eSe7en
10-21-2009, 05:37 AM
thanks!
Ur Welcome :)

shofolofo
12-26-2009, 04:26 PM
ese7en .. does it work with vb 4.0 ?
:p

eSe7en
12-26-2009, 04:33 PM
Ok shofo, :)

I'll try to upgrade it within the next few days

solidlink
12-27-2009, 04:23 AM
https://vborg.vbsupport.ru/showthread.php?p=1935282#post1935282

Im looking for a similar product.......... wonder if this modification does it?

I want to allow different usergroups different number of threads for a particular forum

e.g. Business Users - 3 Threads

Normal Users - 1 Thread

Administrator - Unlimited


Thanks for any help :)

DaPro
01-04-2010, 06:19 PM
Could something like this be made for 4.0?

TheLegendB
01-10-2010, 07:38 AM
thanks

Rafa-el
02-28-2010, 02:19 AM
Could something like this be made for 4.0?

Same here.

Please, can anyone upgrade it for vB4?

Thanks.

career
02-28-2010, 11:06 AM
https://vborg.vbsupport.ru/showthread.php?p=1935282#post1935282

Im looking for a similar product.......... wonder if this modification does it?

I want to allow different usergroups different number of threads for a particular forum

e.g. Business Users - 3 Threads

Normal Users - 1 Thread

Administrator - Unlimited


Thanks for any help :)

This mod can do that

Datok
03-19-2010, 02:52 PM
Hi, thanks for the mods.

Would it be possible if you could make it to limit the x numbers of threads per forum?

Thanks

echinacea100
10-27-2010, 08:34 PM
is there a mod like this for 3.8 that limits the NUMBER OF POSTS MADE and not the NUMBER OF THREADS MADE?

el-q6ri
12-21-2010, 09:49 AM
is there a mod like this for 3.8 that limits the NUMBER OF POSTS MADE and not the NUMBER OF THREADS MADE?

I like to have this too or to add an option to make it

Cool Dog
01-11-2011, 06:13 AM
I don't see 2. # ability to set max post

PAKIDIL
01-25-2011, 01:36 PM
not working on 3.6 or 3.7 can you make the modification for this for the version 3.7 or older

ryancooper
03-30-2011, 08:00 PM
Is it possable to limit POSTS by users in certain threads in x hours? I would like a members to only be able to post two times in forum x every 12 hours?

www.nofal
07-25-2012, 02:03 PM
Good Work

piratarg
08-13-2012, 02:04 AM
Thanks. I do not understand what happens, but sometimes does not work. Some users can post the number of items they want, not others. :(

Does anyone else detect this problem? (vb 3.8.7 pl3)

career
08-13-2012, 12:25 PM
dear, piratarg

that's because they're smart )
this product utilize only newthread_form_start vb hook but it's not enough.
The code must have an additional plugin which utilize another vb hook newthread_post_start . Only that way you can stop theese "some users".

piratarg
08-15-2012, 08:47 PM
dear, piratarg

that's because they're smart )
this product utilize only newthread_form_start vb hook but it's not enough.
The code must have an additional plugin which utilize another vb hook newthread_post_start . Only that way you can stop theese "some users".
I understand now, thanks for replying career :)

polathinyo
09-01-2013, 03:39 PM
thank you, good work man..

AtoZ
09-30-2015, 10:28 AM
Thank you. Just wanted to note in case it helps someone else, I edited 'nlp_limiter_msg' phrase to not tip off anyone exactly what the limitation is.