vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Best way to duplicate threads in 2 different forums (https://vborg.vbsupport.ru/showthread.php?t=325174)

scottkoz20 05-31-2017 03:15 PM

Best way to duplicate threads in 2 different forums
 
I have a need on my site to create 2 threads in different areas of my forum at the same time based upon a single post (as oppose to manually creating 2 threads with the same thing)

This is something that would be limited to posts in a specific forum that would use Prefixes to highlight where the duplicate thread would be created.


https://vborg.vbsupport.ru/external/2017/05/20.png


Edit - is there a way that this can happen?

MarkFL 05-31-2017 04:07 PM

Yes, this can be done with some custom coding. You would need a plugin hooked at a point where a new thread in the designated forum(s) is saved, which, based on the thread's prefix, would use vBulletin's intrinsic data manager to create a new thread in the appropriate forum.

I envision a product that has a setting that allows you to define source forums, prefixes and the destination forum associated with each prefix set (may contain multiple prefixes).


All times are GMT. The time now is 12:26 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.00902 seconds
  • Memory Usage 1,706KB
  • 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
  • (2)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