vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   New Posting Features - Maximum New Threads/Replies (https://vborg.vbsupport.ru/showthread.php?t=106050)

beebi 01-22-2006 10:00 PM

Maximum New Threads/Replies
 
Maximum New Threads/Replies per Day Per Usergroup
Hi,
This is a port of this hack, posted with the original author permission.
Hack Name: Maximum New Threads/Replies per Day Per Usergroup
Hack Version: 2.2
Hack Ported by: beebi
Description: Restricts specific Usergroups to a maximum number of new threads/replies per defined time (in hours).
Credit also goes to my friend alandaleeb who helped me with the code
installation instructions:
- upload the folder to your forum home directory
- import the product
- access to your admincp, groups, select the group and change the defaults, 0 stands for unlimited.
Regards.

Ghanem 01-22-2006 11:57 PM

reserved :)

Thank you very much :up:
Working gr8, did not get any errors..

just wanted to mention, for new threads,to work on group base only:
- From the admincp, manage plugins and edit the hack.
- Delete the folllowing
PHP Code:

" . iif($foruminfo['forumid'], "AND forumid " . $foruminfo['forumid'] . "") . " 

Regards.

hiiped 01-23-2006 03:52 AM

great work

>by forum would be nice too

*install*

BoYagoob 01-23-2006 05:31 AM

installed :)

beebi 01-23-2006 06:13 AM

Quote:

Originally Posted by hiiped
great work


>by forum would be nice too


*install*

The Threads r already by forum ;)
PHP Code:

" . iif($foruminfo['forumid'], "AND forumid " . $foruminfo['forumid'] . "") . " 


Snake 01-23-2006 06:13 AM

Gotta install this tonight when I get back to home from school. :)

Xzyte 01-23-2006 06:19 AM

Installed, thanks!

only on small problem, I had to set the phrase "nzb_max_posts = Maximum Replies" manually as it would only show as "nzb_max_posts"

Developer 01-23-2006 04:14 PM

thnx hani
installed

Xzyte 01-26-2006 02:39 AM

Quote:

Originally Posted by Xzyte
Installed, thanks!

only on small problem, I had to set the phrase "nzb_max_posts = Maximum Replies" manually as it would only show as "nzb_max_posts"

I see this has been taken care of in the latest update from 24. Jan 2006
There is still a small error in the xml file, it reads twice "<title>????? ??? ??????</title>" which makes it kind of hard to read in the Plugin Manager :)

Thanks beebi

beebi 01-27-2006 08:41 AM

Quote:

Originally Posted by Xzyte
I see this has been taken care of in the latest update from 24. Jan 2006
There is still a small error in the xml file, it reads twice "<title>????? ??? ??????</title>" which makes it kind of hard to read in the Plugin Manager :)

Thanks beebi

thank u
fixit :o


All times are GMT. The time now is 11:37 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.02596 seconds
  • Memory Usage 1,738KB
  • 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_php_printable
  • (3)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
  • (10)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