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 - Maximum New Threads/Replies Per X hours Per Usergroup & Forum (https://vborg.vbsupport.ru/showthread.php?t=96848)

uae 09-24-2005 10:00 PM

Maximum New Threads/Replies Per X hours Per Usergroup & Forum
 
1 Attachment(s)
Maximum New Threads/Replies Per X hours Per Usergroup & Forum Hack

Port of: https://vborg.vbsupport.ru/showthread.php?t=81584
  • Description
    Control Maximum Number of New Threads and/or Reply allowed per Usergroup and Forum per defined time (in hours).
  • Details
    1 Product XML with 4 Plugins, and 5 Phrases
  • Install
    To install this hack simply download the xml file to your pc and then import it into vbulletin as a product - then from your ADMINCP go to Forums & Moderators -> Forum Permissions -> Whatever usergroup in any forum.
  • History
    1.0.0 on 25. Sep 2005
    Initial Version for vBulletin 3.5

    1.0.1 on 7. Nov 2005
    Fixed bug with this
    -> to upgrade, import product-max_thread_post_per_xhour.xml and set Allow Overwrite to yes

    1.0.2 on 7. Feb 2006
    Fixed bug with this
    -> to upgrade, import product-max_thread_post_per_xhour.xml and set Allow Overwrite to yes

    1.0.3 on 4. Nov 2007
    No changes, just a version # update for vb 3.6.8
    -> to upgrade, import product-max_thread_post_per_xhour.xml and set Allow Overwrite to yes

Alrasam 09-25-2005 07:16 PM

Thank youuuuuu from 2 weeks am waiting for tjis pugin :squareeyed:

Basboss 09-28-2005 07:05 AM

been waiting for this, thanks :)

q8manar 10-09-2005 09:29 PM

Please Help

I Insalled this product in my forum ,
and I put some condtion in some forum

then >
I have recieved alot of Data base error sent to my email
see this msg :
Database error in vBulletin 3.5.0:

Invalid SQL:
SELECT * FROM forumpermission
WHERE ( forumid IN() AND usergroupid IN (2)) AND
(maxthread=0 AND perhour=0);

MySQL Error : You have an error in your SQL syntax. Check the manual that
corresponds to your MySQL server version for the right syntax to use near ') AND
usergroupid IN (2)) AND
(maxthread=0 AND perhour=0)' a
Error Number : 1064
Date : Monday, October 10th 2005 @ 01:25:42 AM
Script : http://www.q8manar.com/vb/newthread.php
Referrer :
IP Address : 196.202.40.214
Username : sun
Classname : vb_database



I asked vbulletin.com
they told me to check you product,


Please Could you tell me what i shal to do >

my previuse vb was 3.0.7 and it was have this same hack .

Boots 10-12-2005 01:54 AM

will this work on the secondary usergroup?

q8manar 10-17-2005 05:16 AM

No Answer until Now :(

Omranic 10-22-2005 07:25 PM

thanks very much
Installed & working 100% without any problems or errors

luroca 10-24-2005 03:21 PM

This is a very useful hack and I click install but it?s a little buggy, at least in my board :(

Permissions are nor inherited (I must set manually for every forum) but the valids post/thread/hour limits are the ones from parent forum/category, not which I set for each forum ...
Is this a bug or a specific problem of mine?

A suggestion: Why not settings in usergroups manager?

Regards

Dadoo 10-28-2005 07:52 AM

Hello all !

since i've installed this famous hack, i have an recurrent error on my DB :

Quote:

Database error in vBulletin 3.5.0:

Invalid SQL:

SELECT *
FROM session
WHERE sessionhash = '845f40c027e65c0ca7dfb7ccf1188b12'
AND lastactivity > 1130487523
AND host = '10.0.0.2'
AND idhash = '4464bdcefb87a2dec0e545f79b638efc';

MySQL Error : User 'finereader' has exceeded the 'max_questions' resource (current value: 20000) Error Number : 1226
Date : Friday, October 28th 2005 @ 10:33:43 AM
Script : http://localhost/vbshout.php
Referrer : http://localhost/
IP Address : 10.0.0.2
Username :
Classname : vb_database
note : field USERNAME is empty...

q8manar 11-03-2005 08:43 AM

Please <

Where the devloper of this product?

We need help

Omranic 11-04-2005 12:42 AM

works good exept you try to access http://domain.com/forum/newreply.php

you will get the folowing database error ::

Database error in vBulletin 3.5.1:

Invalid SQL:
SELECT * FROM forumpermission
WHERE ( forumid IN() AND usergroupid IN (6)) AND
(maxpost=0 AND postperhour=0);

MySQL Error : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND usergroupid IN (6)) AND
(maxpost=0 AND postperhour=0
Error Number : 1064
Date : Thursday, November 3rd 2005 @ 07:40:01 PM
Script : http://www.domain.com/vb/newreply.php
Referrer :
IP Address : 62.135.95.69
Username : SolidSnake@GTI
Classname : vb_database

q8manar 11-07-2005 06:20 AM

Quote:

Originally Posted by SolidSnake@GTI
works good exept you try to access http://domain.com/forum/newreply.php

you will get the folowing database error ::

Database error in vBulletin 3.5.1:

Invalid SQL:
SELECT * FROM forumpermission
WHERE ( forumid IN() AND usergroupid IN (6)) AND
(maxpost=0 AND postperhour=0);

MySQL Error : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND usergroupid IN (6)) AND
(maxpost=0 AND postperhour=0
Error Number : 1064
Date : Thursday, November 3rd 2005 @ 07:40:01 PM
Script : http://www.domain.com/vb/newreply.php
Referrer :
IP Address : 62.135.95.69
Username : SolidSnake@GTI
Classname : vb_database

Same problem

Any body can fix this

Omranic 11-07-2005 08:56 AM

Sorry ....
Uninstalled till any coder fix it ....

rezovor 11-07-2005 02:18 PM

Works perfect for me, Thanks!

uae 11-07-2005 04:56 PM

Quote:

Originally Posted by SolidSnake@GTI
works good exept you try to access http://domain.com/forum/newreply.php

you will get the folowing database error ::

Database error in vBulletin 3.5.1:

Can you please try improting the latest v1.0.1 xml file with Allow Overwrite to yes.

q8manar 11-12-2005 10:07 AM

I Download the updated one and I uploaded to my forum as yes overwrite

but the problem still
an error in db comes
when the user try to go to http://www.q8manar.com/vb/newthread.php

Omranic 11-14-2005 03:02 PM

good work
thanks

Re-installed

Omranic 11-20-2005 10:18 PM

sory for the second time

Database error in vBulletin 3.5.1:

Invalid SQL:
SELECT * FROM forumpermission
WHERE ( forumid IN() AND usergroupid IN (6)) AND
(maxthread=0 AND perhour=0);

MySQL Error : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND usergroupid IN (6)) AND
(maxthread=0 AND perhour=0)' a
Error Number : 1064
Date : Sunday, November 20th 2005 @ 05:15:58 PM
Script : http://domain.com/vb/newthread.php
Referrer :
IP Address : XX.XXX.XXX.XXX
Username : SolidSnake@GTI
Classname : vb_database

PatrickAdrichem 01-20-2006 06:48 AM

Is it possible to edit this to a per user/group set config that goes over ALL forums? because now they can post 10 per forum and i want them to post 10 total

Puntoboy 01-23-2006 12:17 PM

i seem to get getting a database error now...

Code:

Database error in vBulletin 3.5.2:

Invalid SQL:
SELECT * FROM vb3_forumpermission
        WHERE ( forumid IN() AND usergroupid IN (1)) AND
        (maxthread=0 AND perhour=0);

MySQL Error  : You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND usergroupid IN (1)) AND
        (maxthread=0 AND perhour=0)' a
Error Number : 1064
Date        : Monday, January 23rd 2006 @ 01:51:46 PM
Script      : http://www.puntosports.co.uk/forums/newthread.php?do=Application
Referrer    : http://www.puntosports.co.uk/club_join.htm
IP Address  : 82.37.156.173
Username    : Unregistered
Classname    : vb_database


almqdad 01-25-2006 03:38 AM

Hi

this hack is too buggy a part from the db error the user gets this message

You may only start $nzbmaxnewthread[number] threads every $nzbmaxnewtime[time] hours. Please try again later.

can some body correct this

thank

tanyeri24 01-30-2006 05:13 AM

yes there is too much bugs I have also 10 database error a day.

PatrickAdrichem 01-30-2006 11:48 AM

Quote:

Originally Posted by almqdad
Hi

this hack is too buggy a part from the db error the user gets this message

You may only start $nzbmaxnewthread[number] threads every $nzbmaxnewtime[time] hours. Please try again later.

can some body correct this

thank

Acces your database and delete the first phrase

he forgot to remove the old phrase so he inserst the old and the new phrase..
delete the old one, and it should work!

almqdad 01-30-2006 01:32 PM

hello PatrickAdrichem

Quote:

Acces your database and delete the first phrase

he forgot to remove the old phrase so he inserst the old and the new phrase..
delete the old one, and it should work!
what phrase how to delete the old one
I am afraid to touch the db

can you explain more

mgurain 02-01-2006 12:12 PM

hello,

Can anybody set an SQL (Automatic Query) to set limit for all forums and usergroups to certin number ?

I installed it on 3.5.3 but didn't change anything till now.

I am looking forward to hear from the support uae.

thanks in advance,,

Puntoboy 02-05-2006 04:22 PM

Quote:

Originally Posted by Puntoboy
i seem to get getting a database error now...

Code:

Database error in vBulletin 3.5.2:

Invalid SQL:
SELECT * FROM vb3_forumpermission
        WHERE ( forumid IN() AND usergroupid IN (1)) AND
        (maxthread=0 AND perhour=0);

MySQL Error  : You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND usergroupid IN (1)) AND
        (maxthread=0 AND perhour=0)' a
Error Number : 1064
Date        : Monday, January 23rd 2006 @ 01:51:46 PM
Script      : http://www.puntosports.co.uk/forums/newthread.php?do=Application
Referrer    : http://www.puntosports.co.uk/club_join.htm
IP Address  : 82.37.156.173
Username    : Unregistered
Classname    : vb_database


i've had to disable this hack as i keep getting this DB error.

uae 02-07-2006 09:27 AM

Quote:

Originally Posted by Puntoboy
i've had to disable this hack as i keep getting this DB error.

Can you please try downloading the latest attachment and installing it?

Puntoboy 02-07-2006 05:47 PM

Quote:

Originally Posted by uae
Can you please try downloading the latest attachment and installing it?

ok i will try.

sung 02-07-2006 06:00 PM

Quote:

Originally Posted by PatrickAdrichem
Is it possible to edit this to a per user/group set config that goes over ALL forums? because now they can post 10 per forum and i want them to post 10 total

I'd like to see this feature as well.

Puntoboy 02-07-2006 06:25 PM

Quote:

Originally Posted by sung
I'd like to see this feature as well.

i can't remember how to edit the variables.

i want to set it so my users can only post 20 times per day.

uae 02-08-2006 04:02 AM

Quote:

Originally Posted by Puntoboy
i can't remember how to edit the variables.
i want to set it so my users can only post 20 times per day.

Look at the attached image.

MUDERCOOL 02-22-2006 12:41 PM

Quote:

Originally Posted by luroca
A suggestion: Why not settings in usergroups manager?

I couldn't agree anymore,
I used this hack on 3.0.7 without any problem and it was great but now it's very very very very very hard to edit any usergroup's permissions
I have 40+ forum parts and for every part I have to edit "each" and "every" usergroup's permissions ONE BY ONE. This is a total timekiller and I'm about to lose my nerve ;)

anyway thank you for the hack but please, please please could you make this one work, like the "old 3.0.x style"???

BoYagoob 03-09-2006 05:43 PM

installed, and worked great! :)

Fergal C 03-11-2006 12:48 PM

Can this plug in be used to limit the total number of posts members make on a community per day?

Or must it be done forum by forum?

masterross 03-22-2006 10:59 PM

hello,

i've tried to set
Maximum New Threads 1
and
Enter time period here (in hours) 0
so user to be able to make only 1 thread for ever in a forum
but it did acept it :(
can you modify it to do that?

thanks,
Ross

xfaktor 04-11-2006 10:46 PM

Quote:

Originally Posted by sung
Quote:

Originally Posted by PatrickAdrichem
Is it possible to edit this to a per user/group set config that goes over ALL forums? because now they can post 10 per forum and i want them to post 10 total

I'd like to see this feature as well.

I'd like to have that beaviour too.

Say I set a limit for a sub-forum

All the child forum get the limitation, but the actual "counter" is for each individual sub-forum. Instead of for the whole sub-forum


Thanks.

TwTom 06-17-2006 03:10 PM

I've been looking for one of these for a while. Great hack!

AndrusW 11-07-2006 07:01 AM

Will this work in 3.6.2?

Jay... 11-26-2006 09:28 PM

legendary mod! it works with 3.6.3 everyone! i am over the moon with this!

punchbowl 12-09-2006 08:40 AM

works on 3.6.4 too!


All times are GMT. The time now is 05:55 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
  • Page Generation 0.01491 seconds
  • Memory Usage 1,829KB
  • 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
  • (2)bbcode_code_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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