Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Global Threads: The Next Generation for VB4 by BOP5 Details »»
Global Threads: The Next Generation for VB4 by BOP5
Version: 1.1, by BirdOPrey5 (Senior Member) BirdOPrey5 is offline
Developer Last Online: Aug 2023 Show Printable Version Email this Page

Category: New Posting Features - Version: 4.x.x Rating:
Released: 02-24-2012 Last Update: 06-13-2012 Installs: 119
Supported DB Changes Uses Plugins Auto-Templates
Additional Files Translations  

Brought to you by BirdOPrey5
www.Qapla.com

Version 1.0 - Initial Release
Version: 1.01 - Permissions for Administrators and Super-Mods now work with primary or secondary usergroups.
Version: 1.02 - Added logging actions to moderator logs.
Version: 1.03 - Documentation update only, to be consistent with Gold version.
Version 1.1 - Bug-fix for mod log. Added new option to disable checkbox on new posts.

This mod was inspired by an earlier Global Thread mod I received permission from randominity to update. It is free and is still available here.

That mod however was a port from a VB 3.6 version and was not optimized for VB 4.x. It included a somewhat complicated system of having to make a separate hidden forum for holding the global threads.

My solution was to create a new Global Threads mod, coded from scratch, designed especially for vBulletin 4.x. Therefore I have named this mod, Global Threads: The Next Generation.

This mod is NOT an upgrade from the old mod. You should uninstall the old mod if you will be using this one.

The purpose of this mod is to let an Admin or Super-Mod designate a thread to be a "Global Thread." Global Threads become listed in every forum. A sticky global thread will be sticky in all forums. Non-sticky global threads behave like any other thread, simply visible in every forum.

Clicking on a global thread will open the thread in the forum it is "native" to. An optional message will be displayed in the thread to alert users they are in a global thread.

There is an optional "globe" icon and thread prefix ( Global: ) that can be turned on and off as well as further ways to distinguish global threads from normal threads.

See a Live Demo:

Here is a Global Thread at Qapla.com
You will see it listed in the Demo forum.
But it's also visible in the News & Announcements forum
And in the Talk forum.

In fact it is in a number of Qapla.com forums if you care to look.

This is the free version. The Gold version is available at Qapla.com.

The GOLD version has all the features of the FREE version but 2 additional options:
1) You may choose specific users (by userid) to give Make Global Thread permissions.
2) You may select or restrict Global Threads to specific forums.


This mod is fully phrased for easy translation.

This mod was designed to run on VB 4.1.10 and above. Older versions may require some manual template edits (instructions included.) I have not tested this mod on any version below 4.0.8.

Instructions:

If you want to convert an existing thread to a "Global Thread" open the thread in your browser.

Go to the "Administrative" drop down menu at the top of the thresd.

Click on the option to "Make Thread Global" and click on "Proceed.:"

The thread will be made global and you will be returned to the thread.

To undo a global thread go to the same menu and choose the option "Undo Global Thread."


If you are creating a new thread or replying to an existing thread (using Advanced Reply) then you can make the thread global in one step.

Before submitting your message scroll down to "After you submit your message..." and the top option should be "Make Thread Global"

Check this box before submitting the message to make the thread a Global Thread.

If it's already a Global Thread then simply uncheck the box "Keep Threas Global" to undo the global status after submitting the message.

Note: This option is available only to Admins and Super-mods. Normal users never see the "Moderation Options" menu.

Please Mark as Installed if you use this.
Donations Always Appreciated. :up:

Download Now

File Type: zip (FREE) Global Threads - The Next Generation - By BOP5 VB4 v11.zip (10.7 KB, 481 views)

Screenshots

File Type: jpg gttng-free-settings-vb4.jpg (92.2 KB, 0 views)
File Type: jpg gttng-forumdisplay-vb4.jpg (71.1 KB, 0 views)
File Type: jpg gttng-newthread-vb4.jpg (53.7 KB, 0 views)
File Type: jpg gttng-showthread-vb4.jpg (99.0 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
8 благодарности(ей) от:
BCP Hung, bing11, BlueCheri, cshellworld, elsa23, mapleleaffans, tbworld

Comments
  #22  
Old 02-29-2012, 05:20 PM
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This looks excellent. It's way better than your old mod. :up:

Does this mod produces additional queries? What's impact on server load?
Reply With Quote
Благодарность от:
BirdOPrey5
  #23  
Old 02-29-2012, 05:34 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No additional queries when viewing threads.

1 additional query when making a new thread or post but only for people with permission to make a thread global.

Should be no/negligible effect on performance.
Reply With Quote
Благодарность от:
Alan_SP
  #24  
Old 03-01-2012, 10:32 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update to version 1.01. You can now use primary or secondary usergroups for Admin and Super-mod permissions.
Reply With Quote
  #25  
Old 03-01-2012, 10:38 PM
Alex@bulletin Alex@bulletin is offline
 
Join Date: Aug 2009
Location: Germany
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello there, thank you very much for this quick update
Reply With Quote
Благодарность от:
BirdOPrey5
  #26  
Old 03-01-2012, 10:46 PM
Alex@bulletin Alex@bulletin is offline
 
Join Date: Aug 2009
Location: Germany
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello there, using secondary groups works great :up:
But now there's one funny bug:
As starting a New Thread the "Make TheadGlobal" option is duplicated

I show you the issue:




I don't know why
Please check up, whether you can reproduce that

SY

Alex
Attached Images
File Type: jpg globalbug.jpg (42.9 KB, 0 views)
Reply With Quote
  #27  
Old 03-02-2012, 01:33 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

No I can't reproduce the bug. I tried on 4.1.10 and 4.1.11.

Can you paste the contents of your newpost_threadmanage template here? (It's not very big.)

Put it inside [CODE] bbcode please.
Reply With Quote
  #28  
Old 03-02-2012, 11:13 AM
Alex@bulletin Alex@bulletin is offline
 
Join Date: Aug 2009
Location: Germany
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello there, as you requested, I give my Code:

PHP Code:
<fieldset class="blockrow" id="aftersubmit">
    <
legend>{vb:rawphrase after_you_submit_your_message}</legend>
    <
label>{vb:rawphrase moderation_tools}:</label>
    <
ul class="group checkradio rightcol">
<
vb:if condition="$vboptions['bop5gt_en']">
<
li><label for="cb_makeglobal"><input type="checkbox" name="bop_global" id="cb_makeglobal" value="1" {vb:raw checked.bop_globaltabindex="1" /> <vb:if condition="$show['bop_global']">{vb:rawphrase bop5_gt_keep_thread_global}<vb:else />{vb:rawphrase bop5_gt_make_thread_global}</vb:if></label></li>
</
vb:if>
            <
vb:if condition="$show['openclose']">    
        <
li><label for="cb_openclose"><input type="checkbox" name="openclose" id="cb_openclose" value="1" {vb:raw checked.openclosetabindex="1" /> <vb:if condition="$show['closethread']">{vb:rawphrase close_this_thread}<vb:else />{vb:rawphrase reopen_this_thread}</vb:if></label></li>
        </
vb:if>
        <
vb:if condition="$show['stickunstick']">        
        <
li><label for="cb_stickunstick"><input type="checkbox" name="stickunstick" id="cb_stickunstick" value="1" {vb:raw checked.stickunsticktabindex="1" /> <vb:if condition="$show['unstickthread']">{vb:rawphrase unstick_this_thread}<vb:else />{vb:rawphrase stick_this_thread}</vb:if></label></li>
        </
vb:if>
    </
ul>
    <
class="description">{vb:rawphrase use_controls_perform_action_on_thread}</p>
</
fieldset
thanks.

SY

Alex
Reply With Quote
  #29  
Old 03-02-2012, 11:17 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Alex,

I see you made the manual template edit but the mod is doing it's automatic template edit as well.

I suggest you "revert" the template back to the original and it should work fine without the manual edit now.
Reply With Quote
  #30  
Old 03-02-2012, 11:20 AM
BlueCheri's Avatar
BlueCheri BlueCheri is offline
 
Join Date: Jul 2009
Posts: 339
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I will go for it Joe, big fan of your mods

My technician is working on DB error, once done. It will be uploaded.

Thanx for update.

G!
Reply With Quote
  #31  
Old 03-02-2012, 01:18 PM
Alex@bulletin Alex@bulletin is offline
 
Join Date: Aug 2009
Location: Germany
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
Alex,

I see you made the manual template edit but the mod is doing it's automatic template edit as well.

I suggest you "revert" the template back to the original and it should work fine without the manual edit now.
whoops, yes. i did it 'cause it didn't work on release with the secondary groups, so I did the manual edit trying to fix that

I will revert. thanks
Reply With Quote
Reply

Thread Tools

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 02:05 AM.


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.04899 seconds
  • Memory Usage 2,380KB
  • 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
  • (1)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (10)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (6)postbit_attachment
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete