Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Global Threads Details »»
Global Threads
Version: 1.0.1, by randominity randominity is offline
Developer Last Online: Nov 2009 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 3.6.2 Rating:
Released: 10-20-2006 Last Update: 11-08-2006 Installs: 105
Uses Plugins Template Edits
Is in Beta Stage  
No support by the author.

Description
If your forums are split up in such a way where certain groups of users only visit a certain forum, then you know it's difficult to get all your users to read an announcement. This mod displays a certain amount of threads from a specified "source" forum, and places it on the Forum Display page right after the Stickied threads. These threads are labeled with a "Global: " tag.

This mod is in beta, so install at your own risk, but will be supported. Please let me know of any bugs, or suggestions that you may have!

Install / Upgrade
Download the attached XML file, and import it at
Admin Control Panel > Plugins & Products > Manage Products > Add/Import Product

Remember to "Allow Overwrite" if you are upgrading.

Usage
  1. Create a new forum that will be your "source" forum; that is, this forum will contain your global threads. Get the forumid of this forum.
  2. In your AdminCP --> vBulletin Options --> Global Threads make sure you:
    • enable it
    • enter in the forumid of your source forum
    • set the number of threads from the source forum to display
  3. Make a new thread in your "source" forum and it will be displayed globally in other forums.

Mod Info
1 - Query
1 - Phrase
1 - Template
3 - Plugins
0 - Template Edits


v1.0.1
Added the option to exclude certain forums.
v1.0.0b
Initial release.


Please click "Install" if you have installed this mod! Thanks!

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 10-23-2006, 06:55 PM
|oR|Greg |oR|Greg is offline
 
Join Date: May 2003
Location: AMACNY.COM
Posts: 418
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Actually I got it working exactly how I wanted it, check the attachment...

It was very simple as long as you're using the Separate Sticky/Normal threads hack. Just had to re-code your merge plugin and the Forum Display template.

If you want have the other hack installed and you want to make yours look like mine do the following:

Open ForumDisplay template
Find:
Code:
$threadbits_sticky
Replace with:
Code:
        $stickyglobalthreadbits
	$threadbits_sticky
        <else />
        $nostickyglobalthreadbits
In the Plugin (Merge Global Threadbits with Threadbits)
Replace the entire plugin with:
Code:
if ($vbulletin->options['gton'])
{
eval('$bolx3 = "' . fetch_template('FORUMDISPLAY_Separate_global') . '";');

eval('$bolx4 = "' . fetch_template('FORUMDISPLAY_Separate') . '";'); 

$nostickyglobalthreadbits = "$bolx3".$globalthreadbits."$bolx4";

$stickyglobalthreadbits = "$bolx3".$globalthreadbits;
}
Add a phrase called: delim_global
With the following:
Code:
Universal Threads
Lastly, add a template called FORUMDISPLAY_Separate_global
With the following:
Code:
<tr><td class="thead" colspan="<if condition="$show['threadicons']">7<else />6</if>"><strong>$vbphrase[delim_global]</strong></td></tr>
This doesn't add the little globe image I have, if you want that, PM me.
Reply With Quote
  #23  
Old 10-23-2006, 08:03 PM
Stop Stop is offline
 
Join Date: Oct 2005
Location: Riyadh
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wonderful work both of you randominity and |oR|Greg. It's like you've read my mind. I was about to start a thread to request such hack but here you did it. And when I went through the thread, I had this idea about editing the hack, just like what |oR|Greg did. Thanks for both of you.

randominity, can you please include those editings in the hack ?
Reply With Quote
  #24  
Old 10-23-2006, 08:16 PM
|oR|Greg |oR|Greg is offline
 
Join Date: May 2003
Location: AMACNY.COM
Posts: 418
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well the only problem with including my steps would be I think that "$threadbits_sticky" won't exist in the ForumDisplay template because the Separate Stickies/Normal threads hack isn't installed. That of course would also alter the IF statement in the ForumDisplay template. If anything he can include it stating: IF you're using the separation hack, then you can use my piece, otherwise it might get too confusing for some.
Reply With Quote
  #25  
Old 10-23-2006, 09:41 PM
Shanj Shanj is offline
 
Join Date: Oct 2006
Location: Wales UK
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would be interested in the new version to select some forums and exclude others.

Thing is I'm not sure I understand how the thread is displayed and how it functions.

DISPLAY - "places it on the Forum Display page" - does that mean it puts a new thread in multiple forums?

SOURCE - does that mean the threads act independently once they appear in the multiple forums? or are they clones of the source?

For example If I make a source thread, and a user answers it in forum A, does the reply appear in forum B forum C etc?
Or does each thread in each forum it appears in operate independently once the thread is created?

I WOULD LIKE to have my moderators able to post multiple threads to their own set of forums. They would need some kind of CP but only to the forums they have access to, so they don't get confused by a long list of forums!
Reply With Quote
  #26  
Old 10-23-2006, 09:48 PM
Shanj Shanj is offline
 
Join Date: Oct 2006
Location: Wales UK
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

new version to select which forums?
sounds good!

Are the threads clones or duplicates? That is if a user replies to one does the reply appear in all the forums selected? (clone)
Or does a thread operate independently once it gets started by the plugin so a user in one forum can reply w/o the reply cloning in other forums? (duplication)

I really want a plugin where my moderators can post a thread ONLY in their own list of selected forums. So each moderator has a list of forums to operate for duplicate threads and has no access to other forums not on their list.
Reply With Quote
  #27  
Old 10-23-2006, 10:44 PM
randominity randominity is offline
 
Join Date: Jul 2005
Location: Chicago, IL
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well how it works is this.. .the source forum is where the ONE and ONLY thread resides... what the display does... it just grabs the threads from the source forum, and basically links it to your other forums...

you can see how it works at my forum: www.l2blah.com - the announcements forum is my "source" forum, check out the other forums and you can see the global threads.

When users reply to the global thread, they are replying to ONE thread, that's actually located in the "source" forum; but the thread just gets displayed in all the other forums as well.

Things I will include in the next version:
1) Forum Exclusion
2) Display Properties
2a) more locations of where you can place the Global threads
2b) changing the text of "Global Threads: " to something else
2c) setting the sorting of global threads (right now I have them set to the time of creation instead of lastpost)
Reply With Quote
  #28  
Old 10-23-2006, 11:27 PM
|oR|Greg |oR|Greg is offline
 
Join Date: May 2003
Location: AMACNY.COM
Posts: 418
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why not have it based on usergroup permission instead of forumid, and have it be a un/checkable box just like Un/Stick Thread. That way you're not limited to 1 forum as your source, and you're not limited to X number of Global Threads?
Reply With Quote
  #29  
Old 10-24-2006, 03:43 AM
randominity randominity is offline
 
Join Date: Jul 2005
Location: Chicago, IL
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by |oR|Greg
Why not have it based on usergroup permission instead of forumid, and have it be a un/checkable box just like Un/Stick Thread. That way you're not limited to 1 forum as your source, and you're not limited to X number of Global Threads?
because that would require a database edit I believe
Reply With Quote
  #30  
Old 10-24-2006, 03:54 AM
|oR|Greg |oR|Greg is offline
 
Join Date: May 2003
Location: AMACNY.COM
Posts: 418
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah? Oh well...
Reply With Quote
  #31  
Old 10-25-2006, 01:55 PM
|oR|Greg |oR|Greg is offline
 
Join Date: May 2003
Location: AMACNY.COM
Posts: 418
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Damn, I hate being thurough... I just noticed in the actual Global Threads forum my hack causes a small issue with displaying a black section called Universal Threads above the Normal Threads section. Gotta work on that. Although it gave me an idea, to make the section collapsable as well as the Sticky threads, and the Normal Threads. Why not right?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:35 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05699 seconds
  • Memory Usage 2,317KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete