Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Global Threads: The Next Generation for VB4 by BOP5 Details »»
Global Threads: The Next Generation for VB4 by BOP5
Mod Version: 1.1, by BirdOPrey5 (Moderator) BirdOPrey5 is offline
Developer Last Online: Jun 2013 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (8 votes - 4.75 average) Installs: 76
Released: 25 Feb 2012 Last Update: 14 Jun 2012 Downloads: 322
Supported DB Changes Uses Plugins Auto-Template 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.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	gttng-free-settings-vb4.jpg
Views:	441
Size:	92.2 KB
ID:	136690Click image for larger version

Name:	gttng-forumdisplay-vb4.jpg
Views:	998
Size:	71.1 KB
ID:	136691Click image for larger version

Name:	gttng-newthread-vb4.jpg
Views:	867
Size:	53.7 KB
ID:	136692Click image for larger version

Name:	gttng-showthread-vb4.jpg
Views:	1259
Size:	99.0 KB
ID:	136693

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
PM Previews by BOP5 (VB4) BirdOPrey5 vBulletin 4.x Add-ons 33 17 Jun 2013 17:59
Quick Reply for Guests for VB4 by BOP5 BirdOPrey5 vBulletin 4.x Add-ons 73 31 May 2013 20:02
Global Threads for VB4 BirdOPrey5 vBulletin 4.x Add-ons 134 23 May 2013 01:31
Basic QR Intergraton (2D Barcodes) for VB Threads (QR Pages by BOP5) VB4 BirdOPrey5 vBulletin 4.x Add-ons 70 09 Apr 2013 14:31
Block Censored Words in Posts by BOP5 VB4 BirdOPrey5 vBulletin 4.x Add-ons 61 31 Jan 2013 21:08

  #61  
Old 10 Jun 2012, 11:58
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Looking through my moderator logs I'm not seeing this- certainly not on every post, I made a couple to test.

Was there any other pattern you noticed to this happening?

To disable the logging in this case go to the Admin CP -> Plugin Manager

Edit the Plugin: Make Global on New Reply [OK]

It's a small plugin, find the line:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And comment it out:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

There's another log line above this one if you want to comment that out too it's fine.
__________________
-Joe (@BirdoPrey5)
Qapla.com - Exclusive VB Mods! | Joe's Ultimate Off Topic | My Free VB "Mods"
You can PM me if you want but be warned I do not read them often.
Reply With Quote
  #62  
Old 10 Jun 2012, 23:06
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Thanks, that did the trick (obviously it will).

Anyway, I tested it a bit further. It happens only when I use advanced editor, i.e. I don't use quick reply. If I use quick reply, there's no action in moderators' log. But with advanced editor (using buttons Reply to thread (I removed java script ID, so first click on buttons Reply to thread goes directly to advanced editor) or going to quick reply and then choosing advanced editor) it logs it.

Please, try posting with advanced editor and see if your posts get logged.
Reply With Quote
  #63  
Old 11 Jun 2012, 11:36
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Ahh, thank you, I will keep playing with it and come up with a fix shortly.
__________________
-Joe (@BirdoPrey5)
Qapla.com - Exclusive VB Mods! | Joe's Ultimate Off Topic | My Free VB "Mods"
You can PM me if you want but be warned I do not read them often.
Reply With Quote
  #64  
Old 11 Jun 2012, 21:14
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Thanks. I was thinking about using another check, if thread was global or not. If not, skipping logging altogether, or if it was global before, than logging action.

Or, disabling options to change global status altogether when posting new post or thread and using only inline moderation or administrative tools. This is good enough for me (sometime some threads were (un)made global by mistake, so I made template changes).
Reply With Quote
  #65  
Old 14 Jun 2012, 01:12
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Good idea Alan.

Added new version, 1.1 - Fixes the moderator log issues and new option to disable the check boxes on new reply.
__________________
-Joe (@BirdoPrey5)
Qapla.com - Exclusive VB Mods! | Joe's Ultimate Off Topic | My Free VB "Mods"
You can PM me if you want but be warned I do not read them often.
Reply With Quote
  #66  
Old 22 Jun 2012, 16:36
John Lester John Lester is offline
 
Join Date: Nov 2004
Originally Posted by BirdOPrey5 View Post
A background color change was an option I was working on but cut it out because things were getting a little too complex- but it is something I will revisit.
Just curious if you've revisited this yet? Either way I will be installing it over the weekend
Reply With Quote
  #67  
Old 23 Jun 2012, 13:45
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
not yet.
__________________
-Joe (@BirdoPrey5)
Qapla.com - Exclusive VB Mods! | Joe's Ultimate Off Topic | My Free VB "Mods"
You can PM me if you want but be warned I do not read them often.
Reply With Quote
  #68  
Old 27 Jun 2012, 12:43
John Lester John Lester is offline
 
Join Date: Nov 2004
Installed and loving it
Reply With Quote
  #69  
Old 28 Jun 2012, 07:28
John Lester John Lester is offline
 
Join Date: Nov 2004
Hey BOP5 one quick question, how would I go about putting the notice under the first post instead of above? Alternatively can it be placed as the first line of the first post (without copy and paste )?
Reply With Quote
  #70  
Old 28 Jun 2012, 11:33
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
When you say notice you mean the notice that it is a global thread?

In settings/options there is an option to show the notice below the thread... that is as close as it comes. Of course it is possible to move the notices around, if you know what you're doing- but it's not something I'm going to support.
__________________
-Joe (@BirdoPrey5)
Qapla.com - Exclusive VB Mods! | Joe's Ultimate Off Topic | My Free VB "Mods"
You can PM me if you want but be warned I do not read them often.
Reply With Quote
  #71  
Old 28 Jun 2012, 13:54
John Lester John Lester is offline
 
Join Date: Nov 2004
Yea I've been toying with it on the test site and I'll get it how I want it sooner or later
Reply With Quote
  #72  
Old 05 Jul 2012, 16:17
ericwirtanen's Avatar
ericwirtanen ericwirtanen is offline
 
Join Date: Jan 2002
Database error in 4.20

Database error in vBulletin 4.2.0:

Invalid SQL:

SELECT COUNT(*) AS threads

FROM thread AS thread

/*
WHERE thread.forumid = 2
AND sticky = 0

AND visible IN (0,1,2)


AND lastpost >= 1338912865
*/ WHERE forumid IN (2) AND sticky = 0 AND visible IN (0,1,2) AND lastpost >= 1338912865OR bop_global = 1
/* AND sticky = 0 */

AND visible IN (0,1,2)


AND lastpost >= 1338912865;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bop_global = 1
/* AND sticky = 0 */

AND visible IN (0,1,2)
' at line 13
Error Number : 1064
Request Date : Thursday, July 5th 2012 @ 04:14:25 PM
Error Date : Thursday, July 5th 2012 @ 04:14:26 PM
Script : http://www.nohomers.net/forumdisplay.php?2
Referrer : http://www.nohomers.net/forum.php
IP Address : 75.67.142.68
Username : eric
Classname : vB_Database
MySQL Version : 5.5.20-55
__________________
Eric Wirtanen
http://www.nohomers.net
Reply With Quote
  #73  
Old 05 Jul 2012, 17:47
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Do you get that error repeatedly or just once?

I see the problem is there is no space between the number and the "OR" :

1338912865OR bop_global = 1

But it works with everyone else's...

In any case please go to the Admin CP -> Plugins & Products -> Plugin Manager

Edit the plugin: Get Global Threads Count [OK]

Find the line:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and change it to:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I will put this fix into the next version, but I have a number of people using the free and paid versions and both have this exact code without errors. Weird.
__________________
-Joe (@BirdoPrey5)
Qapla.com - Exclusive VB Mods! | Joe's Ultimate Off Topic | My Free VB "Mods"
You can PM me if you want but be warned I do not read them often.
Reply With Quote
  #74  
Old 28 Aug 2012, 07:50
wilford brimley wilford brimley is offline
 
Join Date: Apr 2012
when replying from a normal forum while using the simple postbit mod in the target forum it still shows the avatar. probably a postbit edit i made.

Last edited by wilford brimley : 29 Aug 2012 at 01:11.
Reply With Quote
  #75  
Old 29 Aug 2012, 17:47
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
I'm not sure how that is possible... Once you click on a thread title you are brought into the thread- the thread is always in its native forum.
__________________
-Joe (@BirdoPrey5)
Qapla.com - Exclusive VB Mods! | Joe's Ultimate Off Topic | My Free VB "Mods"
You can PM me if you want but be warned I do not read them often.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 11:33.

Layout Options | Width: Wide Color: