vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   New Posting Features - Threads Limiter - Limit threads posted by user in X hours. (https://vborg.vbsupport.ru/showthread.php?t=214812)

Almotmaiz.Net 05-28-2009 10:00 PM

Threads Limiter - Limit threads posted by user in X hours.
 
1 Attachment(s)
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.
  1. ability to turn it on or Off.
  2. ability to set max post
  3. ability to set hours.
  4. ability to Exclude forums from this addon.
  5. ability to Exclude usergroups from this addon.
install.
  1. download latest version on attachment.
  2. upload XML file via Upload/Add Product.
  3. Edit your admincp settings.
  4. finish.
MAKE SURE YOU CLICK INSTALL!
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.

Quote:

Originally Posted by hornstar1337 (Post 1819471)
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.
Quote:

Originally Posted by GeorgeB85 (Post 1819554)
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

[high]* TheLastSuperman tags, will marked as installed when I get to it, thanks :D[/high]

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:

Quote:

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

Quote:

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

Quote:

Originally Posted by eSe7en (Post 1889327)
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

Quote:

Originally Posted by career (Post 1902523)
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/showthrea...82#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

Quote:

Originally Posted by DaPro (Post 1947107)
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

Quote:

Originally Posted by solidlink (Post 1939150)
https://vborg.vbsupport.ru/showthrea...82#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

Quote:

Originally Posted by echinacea100 (Post 2115010)
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


All times are GMT. The time now is 07: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
  • Page Generation 0.01291 seconds
  • Memory Usage 1,817KB
  • 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
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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