vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Disable subscribing to threads in some forums (https://vborg.vbsupport.ru/showthread.php?t=53011)

Odysseus 05-16-2003 01:23 PM

Disable subscribing to threads in some forums
 
I'd like to add a new feature to my board:

In the Admin Panel, the Administrator can disable subscriptions of threads for forums .
This means, that the users cannot subscribe to any thread which is in the specified forum.
When moving a thread to a "disabled" forum, all subscriptions to this threads are to be cancelled as well.

The admin should be able to set this to every forum individually . (!)


Reason:
I have two forum s on my board, in which only very large threads are posted (1 - 1000 posts, then closed). The e-mail notification might cause deadlocks to the post-table when precessing such large threads.


Is there a hack available with which I can do this? :)

Logician 05-19-2003 02:53 PM

for a basic solution you can achieve the result with dynamic templates hack by creating a conditional according to forumid.

Also FYI. default vb loses all thread subscriptions whenever a thread is moved..

Odysseus 05-19-2003 07:12 PM

Hm! I like this idea. It's quite simple, but still effective.
Let's see if I can du this in my own ... :D


All times are GMT. The time now is 08:46 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.00946 seconds
  • Memory Usage 1,708KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete