vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Showing threads in differents forums (crossposting-like) (https://vborg.vbsupport.ru/showthread.php?t=258576)

tilt2k 02-09-2011 12:51 AM

Showing threads in differents forums (crossposting-like)
 
Hi, is there any option or hack that can let me show threads from a certain forum into more forums? Something like multiple categories for a post in blogs.

So let's say
https://vborg.vbsupport.ru/forumdisplay.php?f=251
https://vborg.vbsupport.ru/forumdisplay.php?f=111
showing each other's threads (forumdisplay hack with where ID = 251 AND 111).

sticky 02-09-2011 07:04 AM

I've been waiting for something like this.

Closest thing we have is this: https://vborg.vbsupport.ru/showthrea...ghlight=global

tilt2k 02-09-2011 03:03 PM

I'm fine with either free or paid modifications, shouldn't be a major hack

tilt2k 02-09-2011 04:34 PM

1 Attachment(s)
I had a look at the code and I scripted something amateur, so it could be not complete (i.e. it doesn't load sticky) or not secure but it works so far. Anyway if anyone want to build an interface/product over it be my guest.

This version is tested on vB 3.8.x
Use this plugin at your own risk.

How to use it:
Upload it into Plugins & Products > Import Plugin Definitions XML File
Go to Plugins & Products > Plugin Manager > Forumlink (Forums as Categories)

edit this part
Code:

$forumlinks = array(
//'50' => 52,
//'52' => 50
);

using forumids you want to link, this way:
Code:

$forumlinks = array(
'20' => 22,
'22' => 20
);

Save it and activate it.


All times are GMT. The time now is 11:45 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.00977 seconds
  • Memory Usage 1,713KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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