The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Global Threads for VB4 Details »» | |||||||||||||||||||||||||||||||
This mod is based off a VB 3.6 mod by randominity here:
https://vborg.vbsupport.ru/showthread.php?t=129626 He gave me permission to further develop this mod. This mod allows you to display "global threads" in your forums. Global Threads are threads that show up in every forum (or forums you specify) as opposed to just a single forum. This is perfect for important site news, forum wide polls, and anything worthwhile to be displayed forum wide. New Version: 2.02 - Fixed a conflict with the "Thread Links" mod. New Version: 2.01 - 1 Bug Fix, +1 Extra Option (Choose to display above or below sticky divider if you have one.) I know you could make an announcement but people ignore announcements, and you can't reply to them like threads. These are real threads and if you don't take away permission people can reply to it like any other thread. Replies in any forum show up in all forums. Same thread in multiple forums: (VB3 Version) http://www.juot.net/forums/forumdisplay.php?f=48 http://www.juot.net/forums/forumdisplay.php?f=43 http://www.juot.net/forums/forumdisplay.php?f=20 (It's under the sticky threads.) This mod requires a little work on your side- you must first create a "global forum." I suggest calling it "Global Forum" and in the forum manager when creating it, choose to "Set Active" set to "No" so it won't show up in your forum lists but will be accessible directly by you to post new threads in. I have greatly increased the number of options over the original mod and believe I have implemented all the good suggestions ever made for the original mod. This version won't work on any vBulletin version less than 4.0.0. I have marked this as BETA as there is 1 unresolved minor bug- it has been a bug since this mod came out but no one seems to have noticed or cared. When showing global threads the small arrow indicating if you had posts in the global thread won't snow. See screenshots for a Global Thread example. The Global Thread globe icon is optional. Full instructions in zip file. Please Mark as Installed if you use this. Note: See post #95 for info on how to fix this mod for VB 4.1.7. See post #126 for an updated threadbit_global template for VB Versions 4.1.10 and above. Note- I have released a new and better global thread mod and will no longer be supporting this version. New Mod Link: https://vborg.vbsupport.ru/showthread.php?t=279156 Download Now
Screenshots
Show Your Support
|
3 благодарности(ей) от: | ||
MatthewA, mitch84, Trangalleiro |
Comments |
#42
|
|||
|
|||
Seems to be working nicely ...
There is another incompability for those here who may be using Dartho Lightweight Style for mobile devices, which we do. By the way, it's excellent for cell phones, iPhones/iPads and slow dial up user connections. Anyway, for whatever reason, the Global Threads mod shows the entire thread in the forumdisplay on that style, instead of just the title. (see pic) There is a workaround to by-pass Global Threads that we've used in other cases. In the Global Phrases plug-in titled Merge Global Threadbits with Threadbits bracket it with the following: Quote:
Global Phrases works very well with ALL our other styles, so I'm not sure why there's an issue with the Ligtweight Style only. Hope this helps someone else in this thread. Thanks to BirdOPrey5 for helping us fix the other conflict he mentioned above. :up: Regards, Doug |
#43
|
||||
|
||||
The issue is because the template being used in the lightweight style is mine and had not been edited down the the lightweight style's template.
I'll find the style and make and edit the template and post it here. |
#44
|
|||
|
|||
Quote:
Thanks ... Regards, Doug |
#45
|
||||
|
||||
OK, in the LightWeight Style edit the threadbit_global template...
Erase it all and replace with: Code:
<vb:if condition="$show['sticky']"> <div class="sticky_{vb:raw globalthread.statusstring}"> <vb:else /> <div class="thread_{vb:raw globalthread.statusstring}"> </vb:if> {vb:raw globalthread.movedprefix} {vb:raw globalthread.typeprefix} {vb:raw globalthread.moderatedprefix} {vb:raw globalthread.prefix_rich} <a href="{vb:link thread, {vb:raw globalthread}, {vb:raw pageinfo_newpost}, 'threadid', 'threadtitle'}" id="thread_gotonew_{vb:raw globalthread.realthreadid}">{vb:raw globalthread.threadtitle}</a> ({vb:raw globalthread.replycount}) <vb:if condition="$thread['pagenav']">{vb:raw stylevar.dirmark}<span class="smallfont" style="white-space:nowrap">({vb:raw globalthread.pagenav}<vb:if condition="$show[pagenavmore]"> ... <a href="showglobalthread.php?{vb:raw session.sessionurl}t={vb:raw globalthread.threadid}&page={vb:raw globalthread.totalpages}{vb:raw globalthread.highlight}">{vb:rawphrase last_page}</a></vb:if>)</span></vb:if> <vb:if condition="$show['managethread']"></vb:if> <vb:if condition="$show['deletethread']"> <span><a id="btn" href="postings.php?{vb:raw session.sessionurl}do=editthread&t={vb:raw globalthread.threadid}">{vb:rawphrase edit}</a> <a id="btn" href="postings.php?{vb:raw session.sessionurl}do=deletethread&t={vb:raw globalthread.threadid}">{vb:rawphrase delete}</a></span> </vb:if> </div> <div class="windowbg"> {vb:rawphrase last} {vb:rawphrase post}: {vb:raw globalthread.lastposter}, {vb:raw globalthread.lastpostdate} <vb:if condition="!$show['detailedtime']">{vb:raw globalthread.lastposttime}</vb:if> </div> Code:
<vb:if condition="1"> |
#46
|
|||
|
|||
Quote:
Global Thread was set as a sticky using your suggestion: Change the very first line to <vb:if condition="1"> It's the thread under the ones marked "sticky", but not actually marked as a sticky and located above the normal threads. Thanks .. Regards, Doug |
#47
|
|||
|
|||
Anyone know how to prevent threads that are generated in the hidden "Global Messages" forum we use, from appearing in the "New Threads" search when people click on that?
I notice that when it executes that function, it says: Quote:
Thanks for any guidance ... Regards, Doug |
#48
|
||||
|
||||
I've seen some mods to do this but this is how I do it:
http://www.vbulletin.com/forum/showt...orums%20search |
#49
|
||||
|
||||
Quote:
|
#50
|
|||
|
|||
Quote:
I did find this, which I thought might be easier, but I don't understand emough about variables to know how to implement it. Quote:
Regards, Doug Edit: figured it out ... wasn't actually that difficult ... pretty soon I'll be a programmer .. .. It says now: Type: Posts; Excluded Forums: Knowledge Library Comments, Global Messages Forum; New Posts |
#51
|
|||
|
|||
Installed & Working
4.1.1 It would be nice if this had the option for its own divider. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|