View Full Version : Forum Display Enhancements - Global Threads for VB4
BirdOPrey5
01-30-2011, 10:00 PM
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 (https://vborg.vbsupport.ru/showpost.php?p=2259274&postcount=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
BirdOPrey5
01-31-2011, 03:08 AM
Reserved
sticky
01-31-2011, 04:47 AM
This has the potential to be epic...
nacaruncr
01-31-2011, 06:25 AM
edit....
XD excuse me XD jajajajajaja I see now ...
thanks... I'm going to install it in my web XD
dacho
01-31-2011, 07:47 AM
My friend
What happens to SEO, with all the double content?
Taurus1
01-31-2011, 08:11 AM
My friend
What happens to SEO, with all the double content?
Very good question. I would also like to know.
Looks like a great mod though!! :up:
BirdOPrey5
01-31-2011, 01:05 PM
My friend
What happens to SEO, with all the double content?
The URL to each specific global thread is the same no matter what forum you view it from so search engines shouldn't see it as duplicate content, only multiple links to the same content, which is normal for forums anyway. (For example any link in your header, navbar, or footer is the same on every page already.)
UncoderMom
01-31-2011, 05:41 PM
My friend
What happens to SEO, with all the double content?
Make your global thread forum private like I do!
This mod is epic. LOL I've been using it for years and seriously felt choked after updating and not having it. eew.
THANK YOU SO MUCH!!!
INSTALLED AND NOMINATED!!
BirdOPrey5
01-31-2011, 05:43 PM
Thanks. :)
COL NIL SATIS
01-31-2011, 06:09 PM
Awesome.....gonna add this now ,thanks man
UncoderMom
01-31-2011, 06:37 PM
Installed, tested and working beautifully! :) 4.1.1
Boofo
01-31-2011, 06:40 PM
Make your global thread forum private like I do!
I'm curious here... how does making the forum private make global threads necessary?
UncoderMom
01-31-2011, 06:49 PM
Because, its only private for guest view. My users still see it and it lets me communicate with all of my boards at once. On my site, users stick to a certain board, likely through bookmarks and very rarely visit other parts. LOL
This keeps me in very close contact with them all. I even use for site contests! When the global thread is in every forum, they learn to "know" other posters, making it less painful for some to post outside of their normal boards. :)
Boofo
01-31-2011, 06:55 PM
Because, its only private for guest view. My users still see it and it lets me communicate with all of my boards at once. On my site, users stick to a certain board, likely through bookmarks and very rarely visit other parts. LOL
This keeps me in very close contact with them all. I even use for site contests! When the global thread is in every forum, they learn to "know" other posters, making it less painful for some to post outside of their normal boards. :)
Ah, ok, that makes a little more sense. I thought it was private for the regular members, too. I'm still not sure how to use the global threads properly, but it seems like a nice idea if implemented right. I guess we never get too old to still learn something from a Mom, huh? ;)
daveaite
01-31-2011, 06:57 PM
nice
UncoderMom
01-31-2011, 07:01 PM
Ah, ok, that makes a little more sense. I thought it was private for the regular members, too. I'm still not sure how to use the global threads properly, but it seems like a nice idea if implemented right. I guess we never get too old to still learn something from a Mom, huh? ;)
Ever change a diaper? I could teach you that... LOL
:p
Boofo
01-31-2011, 07:05 PM
Ever change a diaper? I could teach you that... LOL
:p
I STILL have nightmares about that. I had twins. ;)
Sayid
01-31-2011, 09:41 PM
I really liked it, can't imagine vb.org without BOP5 efforts :up:
BirdOPrey5
01-31-2011, 11:01 PM
I really liked it, can't imagine vb.org without BOP5 efforts :up:
:o Thanks...
I added some demo pages to the top thread, but they are the vBulletin 3.8 Version (https://vborg.vbsupport.ru/showthread.php?t=258109) of this mod... But you get an idea how it works- My "Rules" thread is in every forum.
Boofo
02-01-2011, 01:29 AM
The rules thread sounds like a good idea as global. Mine are on their own page, though.
Taurus1
02-01-2011, 09:41 AM
I am getting the following database error with this enabled:
Database error in vBulletin 4.1.1:
Invalid SQL:
SELECT
IF(votenum >= 1, votenum, 0) AS votenum,
IF(votenum >= 1 AND votenum > 0, votetotal / votenum, 0) AS voteavg,
post.pagetext AS preview,post.thankscache,
thread.threadid, thread.title AS threadtitle, thread.forumid, pollid, open, postusername, postuserid, thread.iconid AS threadiconid,
thread.dateline, notes, thread.visible, sticky, votetotal, thread.attach, thread.lastpost, thread.lastposter, thread.lastposterid, thread.lastpostid, thread.replycount, IF(thread.views<=thread.replycount, thread.replycount+1, thread.views) AS views,
thread.prefixid, thread.taglist, hiddencount, deletedcount,
user.usergroupid, user.homepage, user.options AS useroptions, IF(userlist.friend = 'yes', 1, 0) AS isfriend
, NOT ISNULL(subscribethread.subscribethreadid) AS issubscribed
, deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason
, threadread.readtime AS threadread
, threadredirect.expires
, firstpostid,modification.mod_installcount,usermod. mod_tagged,usermod.mod_installed,usermod.mod_downl oaded,modification.last_update
FROM vbthread AS thread
LEFT JOIN vbuser AS user ON (user.userid = thread.lastposterid)
LEFT JOIN vbuserlist AS userlist ON (userlist.relationid = user.userid AND userlist.type = 'buddy' AND userlist.userid = 3)
LEFT JOIN vbdeletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND deletionlog.type = 'thread')
LEFT JOIN vbsubscribethread AS subscribethread ON(subscribethread.threadid = thread.threadid AND subscribethread.userid = 3 AND canview = 1)
LEFT JOIN vbthreadread AS threadread ON (threadread.threadid = thread.threadid AND threadread.userid = 3)
LEFT JOIN vbpost AS post ON(post.postid = thread.firstpostid)
LEFT JOIN vbthreadredirect AS threadredirect ON(thread.open = 10 AND thread.threadid = threadredirect.threadid)
WHERE thread.forumid = 223
ORDER BY lastpost DESC
LIMIT 5;
MySQL Error : Unknown column 'modification.mod_installcount' in 'field list'
Error Number : 1054
Request Date : Tuesday, February 1st 2011 @ 05:38:58 AM
Error Date : Tuesday, February 1st 2011 @ 05:38:58 AM
Script : http://creativx.net/forums/forumdisplay.php?f=25
Referrer : http://creativx.net/forums/
IP Address :
Username :
Classname : vB_Database
MySQL Version : 5.1.54
Please help.
BadgerDog
02-01-2011, 10:55 AM
Installed on 4.04pl1 for testing with thanks ... :up:
Regards,
Doug
Edit: Set-up as per instructions (see attached pic), added "Global Messages Forum" and ENABLED mod.
Created a post in the new "Global Messages Forum" and hit submit ....
Nothing appears in any of the forums specified, however post appears in "Global Messages Forum". :confused:
BirdOPrey5
02-01-2011, 02:32 PM
I am getting the following database error with this enabled:
Database error in vBulletin 4.1.1:
Invalid SQL:
SELECT
...
MySQL Error : Unknown column 'modification.mod_installcount' in 'field list'
Error Number : 1054
Request Date : Tuesday, February 1st 2011 @ 05:38:58 AM
Error Date : Tuesday, February 1st 2011 @ 05:38:58 AM
Script : http://creativx.net/forums/forumdisplay.php?f=25
Referrer : http://creativx.net/forums/
IP Address :
Username :
Classname : vB_Database
MySQL Version : 5.1.54
Please help.
Hi, I see the problem... I forgot to remove 1 hook from the code and another modification you have is interfering with the query.
I will release an update to fix this bug shortly. In the mean time if you want to fix it you can go to Plugin Manager -> Edit the plugin titled: Query Global Threads
Find this line:
$hook_query_fields
And simply erase it, hit save, and it should work.
Or wait for my next update later today.
Installed on 4.04pl1 for testing with thanks ... :up:
Regards,
Doug
Edit: Set-up as per instructions (see attached pic), added "Global Messages Forum" and ENABLED mod.
Created a post in the new "Global Messages Forum" and hit submit ....
Nothing appears in any of the forums specified, however post appears in "Global Messages Forum". :confused:
Is the mod still enabled? If so please give me the forumid of your global forum. I will take a look.
My guess off hand is you have the permissions set wrong- users need to be able to view the forum and threads... here is a screenshot of proper forum permissions:
Taurus1
02-01-2011, 03:21 PM
Thank you very very much!! Works perfectly now!!! You ROCK big time mate!!
BadgerDog
02-01-2011, 03:48 PM
Is the mod still enabled? If so please give me the forumid of your global forum. I will take a look.
My guess off hand is you have the permissions set wrong- users need to be able to view the forum and threads... here is a screenshot of proper forum permissions:
Thanks for the quick response ... :up:
Yes, enabled and I checked forum permissions and they are fine...
In fact, I'm an Admin who created the seed post and all permissions for the forum are on, yet I can't see any of the posts. :confused:
Can I send you AdminCP access privately to have a look?
Regards,
Doug
BirdOPrey5
02-01-2011, 04:13 PM
You can PM me access info but please first try this new version, 2.01 I just released just in case your problem is related to the bug fix. :up:
The new version also ads an option where you can display global threads above or below a sticky divider if you have one.
BadgerDog
02-01-2011, 05:27 PM
You can PM me access info but please first try this new version, 2.01 I just released just in case your problem is related to the bug fix. :up:
The new version also ads an option where you can display global threads above or below a sticky divider if you have one.
Downloaded and installed v2.01 on our v4.04pl1. :)
Re-checked all settings ....
Deleted old test post from "Global Messages Forum" and created a new one... submitted it ...
It doesn't show up in any of the forums listed in the "included" listing.
Should there be spaces in list? ie: 1, 2, 3 versus 1,2,3 the way I have it?
I'll get you the login information. Sure like to get this working as it could add a lot of value to the nature of how we operate our forums.
Thanks for your help ... :up:
Regards,
Doug
BirdOPrey5
02-01-2011, 05:36 PM
1,2,3 or 1, 2, 3 both work, I tested it both ways... will take a look when you PM me info.
BadgerDog
02-01-2011, 06:01 PM
1,2,3 or 1, 2, 3 both work, I tested it both ways... will take a look when you PM me info.
Thanks ... :)
Sent you a PM ....
Also, sent you a PayPal donation for this, as well as other mods and work you've done that we've started using. Been meaning to do that for a while now ... :D
Regards,
Doug
TheLastSuperman
02-01-2011, 06:59 PM
Awesome Joe, I like how you updated this quite handy imo!
BirdOPrey5
02-01-2011, 07:33 PM
Thanks ... :)
Sent you a PM ....
Also, sent you a PayPal donation for this, as well as other mods and work you've done that we've started using. Been meaning to do that for a while now ... :D
Regards,
Doug
Thanks. :D :up:
Apparently the "Thread Links (https://vborg.vbsupport.ru/showthread.php?t=250948)" mod is interfering with this mod. I'm going to work on getting them to work together now.
Will update soon.
Awesome Joe, I like how you updated this quite handy imo!
Thanks. :)
BirdOPrey5
02-01-2011, 09:30 PM
2.02 released- fixes conflict with the "Thread Links" mod.
Edited to fix execution order.
Aaron873
02-02-2011, 01:51 AM
I love this modification, I've edited a couple of things to my likings.
I'm glad you got it working for VB4~
Taurus1
02-02-2011, 02:19 AM
Is there a way I can change the global threads text color please? I changed my sticky's color to red, but I am not sure how to do it for this.
Thanks.
BirdOPrey5
02-02-2011, 03:06 AM
I'm not really sure what you have to do, probably something with CSS but what you need is in your threadbit_global template...
find the code:
<a class="title<vb:if condition="$show['gotonewpost']"> threadtitle_unread</vb:if>" href="{vb:link thread, {vb:raw globalthread}, {vb:raw pageinfo}, 'threadid', 'threadtitle'}" id="thread_title_{vb:raw globalthread.realthreadid}">{vb:raw globalthread.threadtitle}</a>
That is the code for the link... So you have a link to the Sticky code to change colors? Maybe I can translate it for Global thread use.
Taurus1
02-02-2011, 03:16 AM
This is what I added in the additional.css template for the sticky color:
.sticky a.title {color: red;}
BirdOPrey5
02-02-2011, 11:24 AM
OK, simple fix... edit the threadbit_global template and change the code I quoted above to:
<a style="color:green;" class="title<vb:if condition="$show['gotonewpost']"> threadtitle_unread</vb:if>" href="{vb:link thread, {vb:raw globalthread}, {vb:raw pageinfo}, 'threadid', 'threadtitle'}" id="thread_title_{vb:raw globalthread.realthreadid}">{vb:raw globalthread.threadtitle}</a>
I set it to "green" you can use any color you want or hex color code.
BadgerDog
02-02-2011, 11:26 AM
This is what I added in the additional.css template for the sticky color:
.sticky a.title {color: red;}
That's interesting ... :)
Do I just tack this on the very end of the additional.css template that exists for each of my styles, so the Global Threads ONLY appear with this background color?
Thanks ...
Regards,
Doug
BirdOPrey5
02-02-2011, 11:31 AM
That doesn't do the background color, just the link color... and that code is for stickies... for global threads you must edit the template I explained above.
BadgerDog
02-02-2011, 11:38 AM
That doesn't do the background color, just the link color... and that code is for stickies... for global threads you must edit the template I explained above.
Roger that ... :up:
Regards,
Doug
BadgerDog
02-02-2011, 12:15 PM
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:
if (STYLEID!=15){
Merge Global Threadbits with Threadbits code goes in here
}
Note: 15 is style number for my site's Dartho Lightweight Style, so yours may be different. Whatever it is, plus your style number in-place of my number 15 for your own site.
Now the Global Phrases mod won't display and mess up Dartho's Lightweight Style.
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
BirdOPrey5
02-02-2011, 12:18 PM
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.
BadgerDog
02-02-2011, 12:22 PM
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.
Ahhh ... now I understand ... :up:
Thanks ... :)
Regards,
Doug
BirdOPrey5
02-02-2011, 12:36 PM
OK, in the LightWeight Style edit the threadbit_global template...
Erase it all and replace with:
<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>
That will make Global Threads look like regular threads. If you want Global Threads to look like Sticky threads then change the very first line to:
<vb:if condition="1">
BadgerDog
02-02-2011, 01:15 PM
OK, in the LightWeight Style edit the threadbit_global template...
Done ... looks good (see pic) ... :up:
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
BadgerDog
02-02-2011, 01:34 PM
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:
* Home * Search * New Posts
Search:
Type: Posts; Excluded Forums: Knowledge Library Comments; New Posts
I assume that somewhere our forum "Knowledge Library Comments" has been excluded from the search, but I can't find where so I can add our hidden "Global Messages Forum" ...
Thanks for any guidance ... :)
Regards,
Doug
BirdOPrey5
02-02-2011, 02:11 PM
I've seen some mods to do this but this is how I do it:
http://www.vbulletin.com/forum/showthread.php/334699-How-to-exclude-forums-from-the-quot-WHAT-S-NEW-quot-link-in-the-nav-bar?highlight=exclude%20forums%20search
Taurus1
02-02-2011, 02:24 PM
OK, simple fix... edit the threadbit_global template and change the code I quoted above to:
<a style="color:green;" class="title<vb:if condition="$show['gotonewpost']"> threadtitle_unread</vb:if>" href="{vb:link thread, {vb:raw globalthread}, {vb:raw pageinfo}, 'threadid', 'threadtitle'}" id="thread_title_{vb:raw globalthread.realthreadid}">{vb:raw globalthread.threadtitle}</a>
I set it to "green" you can use any color you want or hex color code.
Thanks! That did it! :up:
BadgerDog
02-02-2011, 04:02 PM
I've seen some mods to do this but this is how I do it:
http://www.vbulletin.com/forum/showthread.php/334699-How-to-exclude-forums-from-the-quot-WHAT-S-NEW-quot-link-in-the-nav-bar?highlight=exclude%20forums%20search
Thanks .. I found that a little over my skill level ... :D
I did find this, which I thought might be easier, but I don't understand emough about variables to know how to implement it. :D
This can be do so much easier ;)
Enter a new replacement variable in your Styles and Template menu :)
Search for Text: do=getnew&
Replace with: do=getnew&exclude=xx,xx,xx
Where xx is the forum you want to exclude :)
I think this capability begs for a nice clean simple (importable) mod to be written by someone ... ;)
Regards,
Doug
Edit: figured it out ... wasn't actually that difficult ... pretty soon I'll be a programmer ..:eek: :D ..
It says now:
Type: Posts; Excluded Forums: Knowledge Library Comments, Global Messages Forum; New Posts
OldSchoolDSL
02-05-2011, 04:43 AM
Installed & Working
4.1.1
It would be nice if this had the option for its own divider. ;)
gsmph
02-12-2011, 03:41 AM
first of all this really a nice hack and i already implemented it as soon as i see it..
but problem pops up after installing the hack please see my screenshot all the cirlced spacing was suddenly appear but the other global threads below its all ok except the first on above..
please see my attachment
vb4.0.0 pl1
sorry for my bad english
br
gsmph
BirdOPrey5
02-12-2011, 04:02 PM
That looks like a bug being you are running version 4.0.0 of vBulletin, I really can't imagine anyone can run that version on a live site.
It looks like it's because the thread contains the attachment icon it inherits a margin (margin: 20px 30px;) from .attachments {} in the CSS.
I don't know how you would fix it, removing the margin will likely mess something else up.
That's my best guess, if you can't upgrade past 4.0.0 I would suggest not using my (or any) mods.
BlueCheri
02-13-2011, 07:48 AM
Very nice and useful mod.
Thanx
shuangddr
02-13-2011, 09:05 AM
Good mod
tekmiester
02-15-2011, 11:57 PM
This is quite nice
Installed, but cannot get the "Go to first new post" icon link to work; it just displays the thread and goes to post #1.
<a href="{vb:link thread, {vb:raw globalthread}, {vb:raw pageinfo_newpost}, 'threadid', 'threadtitle'}"
id="thread_gotonew_{vb:raw globalthread.realthreadid}">
<img class="gotonewpost"
src="{vb:stylevar imgdir_button}/firstnew.png"
alt="{vb:rawphrase go_to_first_new_post}" />
</a>
Does anybody have this working?
BirdOPrey5
04-12-2011, 05:26 PM
Sorry shri, looks like I left out "&goto=newpost" in the URL code.
For anyone having this issue replace your entire threabit_global template with the following updated code:
<li class="threadbit {vb:raw globalthread.statusstring}<vb:if condition="$show['paperclip']"> attachments</vb:if><vb:if condition="!$globalthread['postuserid'] AND !$globalthread['del_userid']"> guest</vb:if><vb:if condition="$globalthread['moderatedprefix']"> unapproved</vb:if>" id="thread_{vb:raw globalthread.realthreadid}">
<div class="rating{vb:raw globalthread.rating}<vb:if condition="$globalthread['sticky']"> sticky<vb:else /> nonsticky</vb:if>">
<div class="threadinfo" title="{vb:raw globalthread.preview}">
<!-- status icon block -->
<a class="threadstatus" rel="vB::AJAX" <vb:if condition="$show['threadcount']">title="{vb:rawphrase have_x_posts_in_thread_last_y, {vb:raw thread.dot_count}, {vb:raw thread.dot_lastpost}}"</vb:if>></a>
<!-- title / author block -->
<div class="inner">
<h3 class="threadtitle">
<vb:if condition="$show['gotonewpost']"><a href="{vb:link thread, {vb:raw globalthread}, {vb:raw pageinfo_newpost}, 'threadid', 'threadtitle'}&goto=newpost" id="thread_gotonew_{vb:raw globalthread.realthreadid}"><img class="gotonewpost" src="{vb:stylevar imgdir_button}/firstnew.png" alt="{vb:rawphrase go_to_first_new_post}" /></a>
</vb:if>
<vb:if condition="$show['threadicon']">
<img src="{vb:raw globalthread.threadiconpath}" alt="{vb:raw globalthread.threadicontitle}" border="0" />
</vb:if>
<vb:if condition="$gtuseicon">
<img src="{vb:stylevar imgdir_misc}/global.png" alt="{vb:rawphrase global_thread}" />
</vb:if>
{vb:rawphrase gt_global}
<vb:if condition="$globalthread['movedprefix'] OR $globalthread['typeprefix'] OR $globalthread['moderatedprefix'] OR $globalthread['prefix_rich']">
<span class="prefix understate">
{vb:raw globalthread.movedprefix}
{vb:raw globalthread.typeprefix}
{vb:raw globalthread.moderatedprefix}
{vb:raw globalthread.prefix_rich}
</span>
</vb:if>
<a class="title<vb:if condition="$show['gotonewpost']"> threadtitle_unread</vb:if>" href="{vb:link thread, {vb:raw globalthread}, {vb:raw pageinfo}, 'threadid', 'threadtitle'}" id="thread_title_{vb:raw globalthread.realthreadid}">{vb:raw globalthread.threadtitle}</a>
</h3>
<div class="threadmeta">
<p class="threaddesc">{vb:raw globalthread.preview}</p>
<div class="author">
<vb:if condition="$show['rmanage']">
<span class="rmanage"><a href="postings.php?{vb:raw session.sessionurl}do=editthread&t={vb:raw globalthread.redirectthreadid}">{vb:rawphrase manage}</a></span>
</vb:if>
{vb:rawphrase started_by_x_y_z_a, {vb:link member, {vb:raw globalthread}, null, 'postuserid', 'postusername'}, {vb:raw globalthread.postusername}, {vb:raw globalthread.startdate}, {vb:raw globalthread.starttime}, {vb:stylevar dirmark}}
<vb:if condition="$show['unsubscribe']">
<a href="newreply.php?{vb:raw session.sessionurl}do=newreply&t={vb:raw globalthread.threadid}" rel="nofollow">{vb:rawphrase reply}</a>
| <a href="subscription.php?{vb:raw session.sessionurl}do=removesubscription&return=uc p&t={vb:raw globalthread.threadid}" rel="nofollow">{vb:rawphrase unsubscribe}</a>
</vb:if>
<vb:if condition="$globalthread['pagenav']">
<dl class="pagination" id="pagination_threadbit_{vb:raw globalthread.realthreadid}">
<dt class="label">{vb:raw globalthread.totalpages} {vb:rawphrase pages} <span class="separator">•</span></dt>
<dd>
{vb:raw globalthread.pagenav}
<vb:if condition="$show['pagenavmore']"> <span class="separator">...</span> <span><a href="{vb:raw globalthread.lastpagelink}">{vb:raw globalthread.totalpages}</a></span></vb:if>
</dd>
</dl>
</vb:if>
</div>
</div>
</div>
<!-- iconinfo -->
<div class="threaddetails td">
<div class="threaddetailicons">
<vb:if condition="$show['taglist']">
<img src="{vb:stylevar imgdir_misc}/tag.png" alt="{vb:raw globalthread.taglist}" />
</vb:if>
<vb:if condition="$show['rexpires']">
<img src="{vb:stylevar imgdir_misc}/expires.gif" alt="{vb:rawphrase expires_on_x_y, {vb:raw globalthread.expiredate}, {vb:raw globalthread.expiretime}}" />
</vb:if>
<vb:if condition="$show['moderated']">
<img src="{vb:stylevar imgdir_misc}/moderated_small.gif" alt="{vb:rawphrase x_moderated_posts, {vb:raw globalthread.hiddencount}}" />
</vb:if>
<vb:if condition="$show['deletedthread']">
<img src="{vb:stylevar imgdir_misc}/trashcan_small.gif" alt="{vb:rawphrase x_deleted_posts, {vb:raw globalthread.deletedcount}}" />
</vb:if>
<vb:if condition="$show['paperclip']">
<a href="javascript://" onclick="attachments({vb:raw globalthread.threadid}); return false"> <img src="{vb:stylevar imgdir_misc}/paperclip.png" border="0" alt="{vb:rawphrase x_attachments, {vb:raw globalthread.attach}}" /></a>
</vb:if>
<vb:if condition="$show['subscribed']">
<img src="{vb:stylevar imgdir_misc}/subscribed.png" alt="{vb:rawphrase you_are_subscribed_to_this_thread}" />
</vb:if>
</div>
</div>
</div>
<!-- threadstats -->
<vb:if condition="!$show['notificationtype']">
<ul class="threadstats td alt" title="<vb:if condition="$globalthread['dot_count'] > 0">{vb:rawphrase have_x_posts_in_thread_last_y, {vb:raw globalthread.dot_count}, {vb:raw globalthread.dot_lastpost}}</vb:if>">
<li>{vb:rawphrase replies}: <a href="misc.php?do=whoposted&t={vb:raw globalthread.threadid}" onclick="who({vb:raw globalthread.threadid}); return false;" class="understate">{vb:raw globalthread.replycount}</a></li>
<li>{vb:rawphrase views}: {vb:raw globalthread.views}</li>
<li class="hidden">{vb:rawphrase rating}{vb:raw globalthread.rating} / 5</li>
</ul>
</vb:if>
<!-- lastpost -->
<dl class="threadlastpost td<vb:if condition="$show['notificationtype']"> alt</vb:if>">
<dt class="lastpostby hidden">{vb:rawphrase last_post_by}</dt>
<dd>{vb:raw memberaction_dropdown}</dd>
<dd>{vb:raw globalthread.lastpostdate} <em class="time">{vb:raw globalthread.lastposttime}</em>
<a href="{vb:link thread, {vb:raw globalthread}, {vb:raw pageinfo_lastpost}, 'threadid', 'threadtitle'}#post{vb:raw pageinfo_lastpost.p}" class="lastpostdate understate" title="{vb:rawphrase go_to_last_post}"><img src="{vb:stylevar imgdir_button}/lastpost-{vb:stylevar right}.png" alt="{vb:rawphrase go_to_last_post}" /></a>
</dd>
</dl>
<vb:if condition="$show['notificationtype']">
<!-- notification -->
<div class="threadnotification td" >
<label for="thread_imod_checkbox_{vb:raw globalthread.realthreadid}">{vb:raw globalthread.notification}</label>
</div>
<label class="threadimod td">
<input type="checkbox" name="deletebox[{vb:raw subscribethread.$globalthreadid}]" id="thread_imod_checkbox_{vb:raw globalthread.realthreadid}" value="yes" tabindex="1" />
</label>
</vb:if>
<vb:if condition="$show['inlinemod']">
<!-- fourth block -->
<label class="threadimod td alt">
<input type="checkbox" id="thread_imod_checkbox_{vb:raw globalthread.realthreadid}" name="imodcheck[{vb:raw globalthread.realthreadid}]" tabindex="1" />
</label>
</vb:if>
</div>
</li>
All I did was replace:
<a href="{vb:link thread, {vb:raw globalthread}, {vb:raw pageinfo_newpost}, 'threadid', 'threadtitle'}"
id="thread_gotonew_{vb:raw globalthread.realthreadid}">
with this:
<a href="{vb:link thread, {vb:raw globalthread}, {vb:raw pageinfo_newpost}, 'threadid', 'threadtitle'}"
id="thread_gotonew_{vb:raw globalthread.realthreadid}&goto=newpost">
-- edited per boofo's suggestion --
Boofo
04-12-2011, 05:33 PM
&goto=newpost should be &goto=newpost
BirdOPrey5
04-12-2011, 05:41 PM
&goto=newpost should be &goto=newpost
Is there a reason? It works fine for me with just &... ?
edited my instructions anyway... just curious as to the why.
Thanks.
Boofo
04-12-2011, 05:52 PM
Because the proper W3C validation (http://validator.w3.org/) is with the &. ;)
BirdOPrey5
04-12-2011, 05:58 PM
ahh... thanks.
Boofo
04-12-2011, 06:03 PM
If you look through some of the vb code you will see they also use that in a lot of places. There are a few they missed, but it is more of a standard now with links.
Rizzler
06-08-2011, 02:54 PM
I have a little problem with your addon
I installed it on vBulletin 4.1.3 Patch Level 1 and i have enabled it, i created a forum called "Global" and set the "Forum Source" to that forum. I made a post in the "Global" forum but nothing shows up in all the other forums, do you know why ? :/
BirdOPrey5
06-08-2011, 03:00 PM
Would you be able to give me a screenshot of settings page for this mod from your admin cp?
Also what permissions did you set for your global forum? Can you confirm you can browse to that forum (the threads aren't hidden)?
Rizzler
06-08-2011, 03:20 PM
Here is an image of the panel: http://img830.imageshack.us/img830/9277/expbl.jpg
and yes i set the permissions to what the screenshot showed, i can browse it and se all threads but the forum wont show up as it is set to "no" on if it is active or not.
BirdOPrey5
06-08-2011, 03:37 PM
Could you try changing the last option, "where to place global threads" to see if using a different setting will work at all?
Rizzler
06-08-2011, 03:46 PM
ah thanks a lot :) the other 2 options are working fine, "Below Stickies -below Sticky Divide" however will not work.
BirdOPrey5
06-08-2011, 03:52 PM
It looks like you need at least 1 regular post in the forum for Below Stickies -below Sticky Divide to work... Did you have any posts in the forum already?
Rizzler
06-13-2011, 09:24 PM
Ye i had around 5 posts at the time.
im have another problem now with the new release of 4.1.4, here is a screenshot. http://img580.imageshack.us/img580/2412/expi.jpg
BirdOPrey5
06-13-2011, 10:33 PM
Unfortunately that screenshot was resized pretty small, I can't see it well- but it looks like the gloabl threads have lost their formatting.
Must be a css change or something with VB 4.1.4... More unfortunate is my license doesn't let me download 4,1.4 so I can't fix this issue either.
If you can paste a copy of your threadbit template into a code box here I can see if there are updates I need to make to get this working on 4.1.4.
Rizzler
06-14-2011, 04:26 AM
where and in what file is the " threadbit template" code your looking for ?
BirdOPrey5
06-14-2011, 10:31 AM
where and in what file is the " threadbit template" code your looking for ?
If you go to your Admin CP -> Style Manager, choose your style and go to "Edit Templates."
You'll get a list of templates, double-click on the group Threadbit Templates
It will expand, then double click on the template threadbit.
It will open, copy and paste the code here. Put it inside and tags here, you can make them by pressing the # button on the editor when making a new post.
mitch84
06-14-2011, 01:28 PM
Hi Joe, tagged for a future install.
I can add that in a widget?
thx
BirdOPrey5
06-14-2011, 02:34 PM
I'm not familiar with widgets, I don't have the VB4 suite, just the forums-only and it doesn't have widgets.
Rizzler
06-14-2011, 07:59 PM
Hey again, here is the threadbit code
<tr class="vbs_forumrow threadbit {vb:raw thread.statusstring}<vb:if condition="$show['paperclip']"> attachments</vb:if><vb:if condition="!$thread['postuserid'] AND !$thread['del_userid']"> guest</vb:if><vb:if condition="$thread['moderatedprefix']"> unapproved</vb:if>" id="thread_{vb:raw thread.realthreadid}">
<td class="big_icons <vb:if condition="$thread['sticky']"> sticky<vb:else /> nonsticky</vb:if>">
<!-- status icon block -->
<a class="threadstatus" rel="vB::AJAX" <vb:if condition="$show['threadcount']">title="{vb:rawphrase have_x_posts_in_thread_last_y, {vb:raw thread.dot_count}, {vb:raw thread.dot_lastpost}}"</vb:if>></a>
</td>
<td class="small_icons 1 <vb:if condition="$thread['sticky']"> sticky<vb:else /> nonsticky</vb:if>">
<vb:if condition="$show['threadicon']">
<img src="{vb:raw thread.threadiconpath}" alt="{vb:raw thread.threadicontitle}" border="0" />
<vb:else />
<img src="{vb:stylevar imgdir_icons}/icon1.png" alt="{vb:raw thread.threadicontitle}" border="0" />
</vb:if>
</td>
<td class="vbs_forumdata <vb:if condition="$thread['sticky']"> sticky<vb:else /> nonsticky</vb:if>">
<div class="rating{vb:raw thread.rating}<vb:if condition="$thread['sticky']"> sticky<vb:else /> nonsticky</vb:if>">
<div class="threadinfo" title="{vb:raw thread.preview}">
<!-- title / author block -->
<div class="inner">
<h3 class="threadtitle">
<vb:if condition="$show['gotonewpost']"><a href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_newpost}, 'threadid', 'threadtitle'}" id="thread_gotonew_{vb:raw thread.realthreadid}"><img class="gotonewpost" src="{vb:stylevar imgdir_button}/firstnew.png" alt="{vb:rawphrase go_to_first_new_post}" /></a>
</vb:if>
<vb:if condition="$thread['sticky']">
<img src="{vb:stylevar imgdir_misc}/sticky.gif" alt="{vb:rawphrase sticky_thread}" />
</vb:if>
<vb:if condition="$thread['movedprefix'] OR $thread['typeprefix'] OR $thread['moderatedprefix'] OR $thread['prefix_rich']">
<span class="prefix understate">
{vb:raw thread.movedprefix}
{vb:raw thread.typeprefix}
{vb:raw thread.moderatedprefix}
{vb:raw thread.prefix_rich}
</span>
</vb:if>
<a class="title<vb:if condition="$show['gotonewpost']"> threadtitle_unread</vb:if>" href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo}, 'threadid', 'threadtitle'}" id="thread_title_{vb:raw thread.realthreadid}">{vb:raw thread.threadtitle}</a>
</h3>
<div class="threadmeta">
<p class="threaddesc">{vb:raw thread.preview}</p>
<div class="author">
<vb:if condition="$show['rmanage']">
<span class="rmanage"><a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}postings.php?{vb:raw session.sessionurl}do=editthread&t={vb:raw thread.redirectthreadid}">{vb:rawphrase manage}</a></span>
</vb:if>
<vb:if condition="!$show['detailedtime']">
{vb:rawphrase started_by_x_y_z_a, {vb:link member, {vb:raw thread}, null, 'postuserid', 'postusername'}, {vb:raw thread.postusername}, {vb:raw thread.startdate}, {vb:raw thread.starttime}, {vb:stylevar dirmark}}
<vb:else />
{vb:rawphrase started_by_x_y_z, {vb:link member, {vb:raw thread}, null, 'postuserid', 'postusername'}, {vb:raw thread.postusername}, {vb:raw thread.startdate}, {vb:stylevar dirmark}}
</vb:if>
<vb:if condition="$show['unsubscribe']">
<a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}newreply.php?{vb:raw session.sessionurl}do=newreply&t={vb:raw thread.threadid}" rel="nofollow">{vb:rawphrase reply}</a>
| <a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}subscription.php?{vb:raw session.sessionurl}do=removesubscription&return=uc p&t={vb:raw thread.threadid}" rel="nofollow">{vb:rawphrase unsubscribe}</a>
</vb:if>
<vb:if condition="$thread['pagenav']">
<dl class="pagination" id="pagination_threadbit_{vb:raw thread.realthreadid}">
<dt class="label">{vb:raw thread.totalpages} {vb:rawphrase pages} <span class="separator">•</span></dt>
<dd>
{vb:raw thread.pagenav}
<vb:if condition="$show['pagenavmore']"> <span class="separator">...</span> <span><a href="{vb:raw thread.lastpagelink}">{vb:raw thread.totalpages}</a></span></vb:if>
</dd>
</dl>
</vb:if>
</div>
</div>
</div>
<!-- iconinfo -->
<div class="threaddetails td">
<div class="threaddetailicons">
<vb:if condition="$show['taglist']">
<img src="{vb:stylevar imgdir_misc}/tag.png" alt="{vb:raw thread.taglist}" />
</vb:if>
<vb:if condition="$show['rexpires']">
<img src="{vb:stylevar imgdir_misc}/expires.gif" alt="{vb:rawphrase expires_on_x_y, {vb:raw thread.expiredate}, {vb:raw thread.expiretime}}" />
</vb:if>
<vb:if condition="$show['moderated']">
<img src="{vb:stylevar imgdir_misc}/moderated_small.gif" alt="{vb:rawphrase x_moderated_posts, {vb:raw thread.hiddencount}}" />
</vb:if>
<vb:if condition="$show['deletedthread']">
<img src="{vb:stylevar imgdir_misc}/trashcan_small.gif" alt="{vb:rawphrase x_deleted_posts, {vb:raw thread.deletedcount}}" />
</vb:if>
<vb:if condition="$show['paperclip']">
<a href="javascript://" onclick="attachments({vb:raw thread.threadid}); return false"> <img src="{vb:stylevar imgdir_misc}/paperclip.png" border="0" alt="{vb:rawphrase x_attachments, {vb:raw thread.attach}}" /></a>
</vb:if>
<vb:if condition="$show['subscribed']">
<img src="{vb:stylevar imgdir_misc}/subscribed.png" alt="{vb:rawphrase you_are_subscribed_to_this_thread}" />
</vb:if>
</div>
</div>
</div>
</div>
</td>
<vb:if condition="!$show['notificationtype']">
<!-- threadstats -->
<td class="stats <vb:if condition="$thread['sticky']"> sticky<vb:else /> nonsticky</vb:if>">
{vb:rawphrase replies}: <a href="misc.php?do=whoposted&t={vb:raw thread.threadid}" onclick="who({vb:raw thread.threadid}); return false;" class="understate">{vb:raw thread.replycount}</a> <br />
{vb:rawphrase views}: {vb:raw thread.views}
</td>
</vb:if>
<td class="vbs_threadlastpost <vb:if condition="$thread['sticky']"> sticky<vb:else /> nonsticky</vb:if>">
<!-- lastpost -->
<dl class="threadlastpost td<vb:if condition="$show['notificationtype']"> alt</vb:if>">
<dt class="lastpostby hidden">{vb:rawphrase last_post_by}</dt>
<dd>{vb:raw memberaction_dropdown}</dd>
<dd>{vb:raw thread.lastpostdate}<vb:if condition="!$show['detailedtime']">, <em class="time">{vb:raw thread.lastposttime}</em></vb:if>
<a href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_lastpost}, 'threadid', 'threadtitle'}#post{vb:raw pageinfo_lastpost.p}" class="lastpostdate understate" title="{vb:rawphrase go_to_last_post}"><img src="{vb:stylevar imgdir_button}/lastpost-{vb:stylevar right}.png" alt="{vb:rawphrase go_to_last_post}" /></a>
</dd>
</dl>
</td>
<vb:if condition="$show['inlinemod']">
<td class="small_icons <vb:if condition="$thread['sticky']"> sticky<vb:else /> nonsticky</vb:if>">
<!-- fourth block -->
<ul><li class="threadbit">
<div>
<label class="threadimod alt">
<input type="checkbox" id="thread_imod_checkbox_{vb:raw thread.realthreadid}" name="imodcheck[{vb:raw thread.realthreadid}]" tabindex="1" />
</label>
</div></li></ul>
</td>
</vb:if>
<vb:if condition="$show['notificationtype']">
<!-- notification -->
<td class="stats <vb:if condition="$thread['sticky']"> sticky<vb:else /> nonsticky</vb:if>">
<label for="thread_imod_checkbox_{vb:raw thread.realthreadid}">{vb:raw thread.notification}</label>
</td>
<td class="small_icons <vb:if condition="$thread['sticky']"> sticky<vb:else /> nonsticky</vb:if>">
<label class="threadimod">
<input type="checkbox" name="deletebox[{vb:raw subscribethread.$threadid}]" id="thread_imod_checkbox_{vb:raw thread.realthreadid}" value="yes" tabindex="1" />
</label>
</td>
</vb:if>
</tr>
BirdOPrey5
06-14-2011, 08:32 PM
Wow... OK That's a very different template... I see they went back to using tables! I'll work on converting this tonight and post a new threadbit_global template tonight.
BirdOPrey5
06-14-2011, 10:24 PM
OK... first understand that there is probably close to zero chance this will work perfectly... and honestly I'm only 50/50 on if this might work at all since I didn't have a 4.1.4 version to test it on.
But you can go to your Admin CP -> Style Manager -> Choose your style -> Edit Templates.
Open the template threadbit_global.
Delete everything inside it and replace it all with this:
<tr class="vbs_forumrow threadbit {vb:raw thread.statusstring}<vb:if condition="$show['paperclip']"> attachments</vb:if><vb:if condition="!$globalthread['postuserid'] AND !$globalthread['del_userid']"> guest</vb:if><vb:if condition="$gloablthread['moderatedprefix']"> unapproved</vb:if>" id="thread_{vb:raw thread.realthreadid}">
<td class="big_icons <vb:if condition="$globalthread['sticky']"> sticky<vb:else /> nonsticky</vb:if>">
<!-- status icon block -->
<a class="threadstatus" rel="vB::AJAX" <vb:if condition="$show['threadcount']">title="{vb:rawphrase have_x_posts_in_thread_last_y, {vb:raw globalthread.dot_count}, {vb:raw globalthread.dot_lastpost}}"</vb:if>></a>
</td>
<td class="small_icons 1 <vb:if condition="$globalthread['sticky']"> sticky<vb:else /> nonsticky</vb:if>">
<vb:if condition="$show['threadicon']">
<img src="{vb:raw globalthread.threadiconpath}" alt="{vb:raw gloablthread.threadicontitle}" border="0" />
<vb:else />
<img src="{vb:stylevar imgdir_icons}/icon1.png" alt="{vb:raw globalthread.threadicontitle}" border="0" />
</vb:if>
</td>
<td class="vbs_forumdata <vb:if condition="$globalthread['sticky']"> sticky<vb:else /> nonsticky</vb:if>">
<div class="rating{vb:raw globalthread.rating}<vb:if condition="$globalthread['sticky']"> sticky<vb:else /> nonsticky</vb:if>">
<div class="threadinfo" title="{vb:raw globalthread.preview}">
<!-- title / author block -->
<div class="inner">
<h3 class="threadtitle">
<vb:if condition="$show['gotonewpost']"><a href="{vb:link thread, {vb:raw globalthread}, {vb:raw pageinfo_newpost}, 'threadid', 'threadtitle'}" id="thread_gotonew_{vb:raw globalthread.realthreadid}"><img class="gotonewpost" src="{vb:stylevar imgdir_button}/firstnew.png" alt="{vb:rawphrase go_to_first_new_post}" /></a>
</vb:if>
<vb:if condition="$globalthread['sticky']">
<img src="{vb:stylevar imgdir_misc}/sticky.gif" alt="{vb:rawphrase sticky_thread}" />
</vb:if>
<vb:if condition="$globalthread['movedprefix'] OR $globalthread['typeprefix'] OR $globalthread['moderatedprefix'] OR $globalthread['prefix_rich']">
<span class="prefix understate">
{vb:raw globalthread.movedprefix}
{vb:raw globalthread.typeprefix}
{vb:raw globalthread.moderatedprefix}
{vb:raw globalthread.prefix_rich}
</span>
</vb:if>
<a class="title<vb:if condition="$show['gotonewpost']"> threadtitle_unread</vb:if>" href="{vb:link thread, {vb:raw globalthread}, {vb:raw pageinfo}, 'threadid', 'threadtitle'}" id="thread_title_{vb:raw globalthread.realthreadid}">{vb:raw globalthread.threadtitle}</a>
</h3>
<div class="threadmeta">
<p class="threaddesc">{vb:raw globalthread.preview}</p>
<div class="author">
<vb:if condition="$show['rmanage']">
<span class="rmanage"><a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}postings.php?{vb:raw session.sessionurl}do=editthread&t={vb:raw globalthread.redirectthreadid}">{vb:rawphrase manage}</a></span>
</vb:if>
<vb:if condition="!$show['detailedtime']">
{vb:rawphrase started_by_x_y_z_a, {vb:link member, {vb:raw globalthread}, null, 'postuserid', 'postusername'}, {vb:raw globalthread.postusername}, {vb:raw globalthread.startdate}, {vb:raw globalthread.starttime}, {vb:stylevar dirmark}}
<vb:else />
{vb:rawphrase started_by_x_y_z, {vb:link member, {vb:raw globalthread}, null, 'postuserid', 'postusername'}, {vb:raw globalthread.postusername}, {vb:raw globalthread.startdate}, {vb:stylevar dirmark}}
</vb:if>
<vb:if condition="$show['unsubscribe']">
<a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}newreply.php?{vb:raw session.sessionurl}do=newreply&t={vb:raw globalthread.threadid}" rel="nofollow">{vb:rawphrase reply}</a>
| <a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}subscription.php?{vb:raw session.sessionurl}do=removesubscription&return=uc p&t={vb:raw globalthread.threadid}" rel="nofollow">{vb:rawphrase unsubscribe}</a>
</vb:if>
<vb:if condition="$thread['pagenav']">
<dl class="pagination" id="pagination_threadbit_{vb:raw globalthread.realthreadid}">
<dt class="label">{vb:raw globalthread.totalpages} {vb:rawphrase pages} <span class="separator">•</span></dt>
<dd>
{vb:raw globalthread.pagenav}
<vb:if condition="$show['pagenavmore']"> <span class="separator">...</span> <span><a href="{vb:raw globalthread.lastpagelink}">{vb:raw globalthread.totalpages}</a></span></vb:if>
</dd>
</dl>
</vb:if>
</div>
</div>
</div>
<!-- iconinfo -->
<div class="threaddetails td">
<div class="threaddetailicons">
<vb:if condition="$show['taglist']">
<img src="{vb:stylevar imgdir_misc}/tag.png" alt="{vb:raw globalthread.taglist}" />
</vb:if>
<vb:if condition="$show['rexpires']">
<img src="{vb:stylevar imgdir_misc}/expires.gif" alt="{vb:rawphrase expires_on_x_y, {vb:raw globalthread.expiredate}, {vb:raw globalthread.expiretime}}" />
</vb:if>
<vb:if condition="$show['moderated']">
<img src="{vb:stylevar imgdir_misc}/moderated_small.gif" alt="{vb:rawphrase x_moderated_posts, {vb:raw globalthread.hiddencount}}" />
</vb:if>
<vb:if condition="$show['deletedthread']">
<img src="{vb:stylevar imgdir_misc}/trashcan_small.gif" alt="{vb:rawphrase x_deleted_posts, {vb:raw globalthread.deletedcount}}" />
</vb:if>
<vb:if condition="$show['paperclip']">
<a href="javascript://" onclick="attachments({vb:raw globalthread.threadid}); return false"> <img src="{vb:stylevar imgdir_misc}/paperclip.png" border="0" alt="{vb:rawphrase x_attachments, {vb:raw globalthread.attach}}" /></a>
</vb:if>
<vb:if condition="$show['subscribed']">
<img src="{vb:stylevar imgdir_misc}/subscribed.png" alt="{vb:rawphrase you_are_subscribed_to_this_thread}" />
</vb:if>
</div>
</div>
</div>
</div>
</td>
<vb:if condition="!$show['notificationtype']">
<!-- threadstats -->
<td class="stats <vb:if condition="$globalthread['sticky']"> sticky<vb:else /> nonsticky</vb:if>">
{vb:rawphrase replies}: <a href="misc.php?do=whoposted&t={vb:raw globalthread.threadid}" onclick="who({vb:raw globalthread.threadid}); return false;" class="understate">{vb:raw globalthread.replycount}</a> <br />
{vb:rawphrase views}: {vb:raw globalthread.views}
</td>
</vb:if>
<td class="vbs_threadlastpost <vb:if condition="$globalthread['sticky']"> sticky<vb:else /> nonsticky</vb:if>">
<!-- lastpost -->
<dl class="threadlastpost td<vb:if condition="$show['notificationtype']"> alt</vb:if>">
<dt class="lastpostby hidden">{vb:rawphrase last_post_by}</dt>
<dd>{vb:raw memberaction_dropdown}</dd>
<dd>{vb:raw globalthread.lastpostdate}<vb:if condition="!$show['detailedtime']">, <em class="time">{vb:raw globalthread.lastposttime}</em></vb:if>
<a href="{vb:link thread, {vb:raw globalthread}, {vb:raw pageinfo_lastpost}, 'threadid', 'threadtitle'}#post{vb:raw pageinfo_lastpost.p}" class="lastpostdate understate" title="{vb:rawphrase go_to_last_post}"><img src="{vb:stylevar imgdir_button}/lastpost-{vb:stylevar right}.png" alt="{vb:rawphrase go_to_last_post}" /></a>
</dd>
</dl>
</td>
<vb:if condition="$show['inlinemod']">
<td class="small_icons <vb:if condition="$globalthread['sticky']"> sticky<vb:else /> nonsticky</vb:if>">
<!-- fourth block -->
<ul><li class="threadbit">
<div>
<label class="threadimod alt">
<input type="checkbox" id="thread_imod_checkbox_{vb:raw globalthread.realthreadid}" name="imodcheck[{vb:raw globalthread.realthreadid}]" tabindex="1" />
</label>
</div></li></ul>
</td>
</vb:if>
<vb:if condition="$show['notificationtype']">
<!-- notification -->
<td class="stats <vb:if condition="$globalthread['sticky']"> sticky<vb:else /> nonsticky</vb:if>">
<label for="thread_imod_checkbox_{vb:raw globalthread.realthreadid}">{vb:raw globalthread.notification}</label>
</td>
<td class="small_icons <vb:if condition="$globalthread['sticky']"> sticky<vb:else /> nonsticky</vb:if>">
<label class="threadimod">
<input type="checkbox" name="deletebox[{vb:raw subscribethread.$globalthreadid}]" id="thread_imod_checkbox_{vb:raw globalthread.realthreadid}" value="yes" tabindex="1" />
</label>
</td>
</vb:if>
</tr>
And let me know how it works... keep your fingers crossed. :p
Conehead555
07-18-2011, 09:36 PM
^^That really screws it up.
Great idea, can't use it without the go to last post working.
BirdOPrey5
07-18-2011, 09:40 PM
I have a 4.1.4 now to test it on, let me see what I can figure out.
Successfulsteps
07-19-2011, 12:31 AM
Tagged for install later on, looks awesome!
Any known issues in 4.1.4?
BirdOPrey5
07-19-2011, 12:49 AM
^^That really screws it up.
Great idea, can't use it without the go to last post working.
Tagged for install later on, looks awesome!
Any known issues in 4.1.4?
I just finally got it installed on 4.1.4 and it's working as expected- looks fine. Not sure what's up with first new post, will look into it- but the guy who posted the screenshot where it has lost all formatting- I don't know what the problem was for him but in general it works fine in 4.1.4.
Conehead555
07-19-2011, 03:13 AM
I just finally got it installed on 4.1.4 and it's working as expected- looks fine. Not sure what's up with first new post, will look into it- but the guy who posted the screenshot where it has lost all formatting- I don't know what the problem was for him but in general it works fine in 4.1.4.
Does it go to the last post now?
Edit: saw you're working on that, I thought you meant something else at first.
I'm gonna love this when that one bug's fixed. :)
Conehead555
07-24-2011, 12:39 PM
Do new replies go into moderation on Global threads?
BirdOPrey5
07-24-2011, 01:20 PM
Do new replies go into moderation on Global threads?
It will follow whatever moderation rules you set for your Global Thread forum.
Conehead555
07-27-2011, 09:54 PM
I forgot about that, it's not happening now.
Have you noticed that it doesn't show view and replies counts in the forums the thread is in?
BirdOPrey5
07-28-2011, 11:55 AM
I forgot about that, it's not happening now.
Have you noticed that it doesn't show view and replies counts in the forums the thread is in?
It is for me... Can I get a link to your forum?
Taurus1
08-02-2011, 01:43 AM
Hi Joe, after upgrading to 4.1.5 whenever I attempt to go into my one global thread I get this error:
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 3508075 bytes) in /home/thebull/public_html/forums/includes/functions.php(7139) : eval()'d code on line 73
Going into my other global thread works fine. So this really baffles my mind. Thanks.
BirdOPrey5
08-02-2011, 12:30 PM
Hi Joe, after upgrading to 4.1.5 whenever I attempt to go into my one global thread I get this error:
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 3508075 bytes) in /home/thebull/public_html/forums/includes/functions.php(7139) : eval()'d code on line 73
Going into my other global thread works fine. So this really baffles my mind. Thanks.
That doesn't look like an error from this mod- if you want to confirm disable the mod and refresh the page, if the error still occurs it's not the mod.
This error usually happens why disk-space is low on your mysql server. How big was the thread?
emperatour
08-19-2011, 01:41 PM
If possible, please modify the code such that we can specify different several global forums for different forum.
I need to have threads of a subforum to be mirrored in another subforum. Same for several other subforums.
thanks
BirdOPrey5
08-19-2011, 02:15 PM
If possible, please modify the code such that we can specify different several global forums for different forum.
I need to have threads of a subforum to be mirrored in another subforum. Same for several other subforums.
thanks
That's not possible with this mod. Check out my Master Forums mod: https://vborg.vbsupport.ru/showthread.php?t=245414
XShava
10-08-2011, 08:00 AM
i Upgrading vBulletin 4.1.4 -> 4.1.7 and now Global Threads show part of first post. Before Upgrading, its not show.
BirdOPrey5
10-08-2011, 01:08 PM
i Upgrading vBulletin 4.1.4 -> 4.1.7 and now Global Threads show part of first post. Before Upgrading, its not show.
I will have to take a look when I get around t upgrading to 4.1.7. Curious if anyone else who has upgraded to 4.1.7 has this issue?
XShava
10-08-2011, 06:47 PM
I will have to take a look when I get around t upgrading to 4.1.7. Curious if anyone else who has upgraded to 4.1.7 has this issue?
Maybe this helps.
In this "Forum Display Options (forumdisplay)" obtions
Length of Thread Preview Text
This setting allows you to specify how many characters of the first post in a thread to display in the 'title' tag of the thread title on the forumdisplay page.
Set this value to 0 to disable thread previews.
Have 300 and if i but this 0, then Global Threads no show part of first post. But then mouse Preview is not work in threads.
Edit: And "go to last post" arrow move you Treads first post, not last post.
theoutlawed
10-19-2011, 05:34 PM
I will have to take a look when I get around t upgrading to 4.1.7. Curious if anyone else who has upgraded to 4.1.7 has this issue?
Just upgraded from 4.1.5 to 4.1.7 and have the exact same issue.
BirdOPrey5
10-20-2011, 09:48 AM
Just upgraded from 4.1.5 to 4.1.7 and have the exact same issue.
Please "Mark as Installed" if you use this. :)
The temporary fix for 4.1.7
Edit your threadbit_global template.
Find the line:
<p class="threaddesc">{vb:raw globalthread.preview}</p>
and simply delete it.
When I get a chance I will release an update to fix this and address the other issues brought up. :up:
Scyther
11-04-2011, 03:44 PM
Good one...
thanks..marked installed.
shahryar_neo
11-21-2011, 07:25 AM
When I get a chance I will release an update to fix this and address the other issues brought up.
Any Update sir ?
Mysterious Ride
11-30-2011, 06:17 PM
Is there any way to stop it from showing some of what's written inside the thread, on the outside. I mean before you click on it. When your just looking at the thread before clicking on it.
BirdOPrey5
11-30-2011, 06:22 PM
see post #95 for the fix.
BlueCheri
01-20-2012, 07:30 AM
Hi friend.
Many thanx for creating such a wonderful Mod, it is my one of the most favorite Mod.
So far it was working very fine, but after up-gradation (to 4.1.9) it's not working :(
I don't know what went wrong.
Can you please help me?
Thanx in advance.
BirdOPrey5
01-21-2012, 08:57 PM
Hello,
Did you try the fix in post #95?
Can you describe what isn't working exactly?
BlueCheri
01-24-2012, 04:29 AM
Yes sir tried.
Can not see global thread on any forum. The forum VB version is 4.1.9
Thanx again.
Hello,
Did you try the fix in post #95?
Can you describe what isn't working exactly?
BirdOPrey5
01-25-2012, 03:15 PM
I just tested it on 4,.1.10 and it's still working for me. Do you have at least 1 regular thread in the forum you are trying to see it in?
Try changing the location (above stckies/below stickies/etc...)
BlueCheri
01-30-2012, 04:11 PM
Thanx for help. Yes I have many regular threads in every forums.
Changed the location also. Sorry still not working :(
I just tested it on 4,.1.10 and it's still working for me. Do you have at least 1 regular thread in the forum you are trying to see it in?
Try changing the location (above stckies/below stickies/etc...)
Kat-2
02-06-2012, 06:07 AM
If I
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.
then I can't see it on my forum, and can't figure out why...:(
BirdOPrey5
02-06-2012, 12:46 PM
It's supposed to be hidden, you don't need to see it- but you will see the threads in any other forum (if they are global.)
If you need to make a new thread click on a global thread then use the breadcrumb in the navbar to get back to the original forum.
Kat-2
02-06-2012, 06:36 PM
It's supposed to be hidden, you don't need to see it- but you will see the threads in any other forum (if they are global.)
If you need to make a new thread click on a global thread then use the breadcrumb in the navbar to get back to the original forum.
I am really feeling stupid about now. I don't see where to click on global thread. I am just not sure what I may have done wrong here.
BirdOPrey5
02-07-2012, 09:58 AM
Did you put any threads in the global forum before hiding it?
Kat-2
02-08-2012, 05:08 AM
I am sorry. I did get this working now. I should have popped back in before now to say so. Nice mod! :)
steeler7
02-19-2012, 05:30 PM
My alignment for the Global Threads is off. The attachments and tags images are being forced down onto a separate line.I guess the best way to describe this is to post a screenshot.
http://www.pittsburghsportsforum.com/globalthreadsalignmentissue.png
BirdOPrey5
02-19-2012, 07:26 PM
Edit your threadbit_global template.
Erase everything in it and replace it with this:
<li class="threadbit {vb:raw globalthread.statusstring}<vb:if condition="$show['paperclip']"> attachments</vb:if><vb:if condition="!$globalthread['postuserid'] AND !$globalthread['del_userid']"> guest</vb:if><vb:if condition="$globalthread['moderatedprefix']"> unapproved</vb:if>" id="thread_{vb:raw globalthread.realthreadid}">
<div class="rating{vb:raw globalthread.rating}<vb:if condition="$globalthread['sticky']"> sticky<vb:else /> nonsticky</vb:if>">
<div class="threadinfo" title="{vb:raw globalthread.preview}">
<!-- status icon block -->
<a class="threadstatus" rel="vB::AJAX" <vb:if condition="$show['threadcount']">title="{vb:rawphrase have_x_posts_in_thread_last_y, {vb:raw globalthread.dot_count}, {vb:raw globalthread.dot_lastpost}}"</vb:if>></a>
<!-- title / author block -->
<div class="inner">
<h3 class="threadtitle">
<vb:if condition="$show['gotonewpost']"><a href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_newpost}, 'threadid', 'threadtitle'}" id="thread_gotonew_{vb:raw globalthread.realthreadid}"><img class="gotonewpost" src="{vb:stylevar imgdir_button}/firstnew.png" alt="{vb:rawphrase go_to_first_new_post}" /></a>
</vb:if>
<vb:if condition="$show['threadicon']">
<img src="{vb:raw globalthread.threadiconpath}" alt="{vb:raw globalthread.threadicontitle}" border="0" />
</vb:if>
<vb:if condition="$globalthread['sticky']">
<img src="{vb:stylevar imgdir_misc}/sticky.gif" alt="{vb:rawphrase sticky_thread}" />
</vb:if>
<vb:if condition="$globalthread['movedprefix'] OR $globalthread['typeprefix'] OR $globalthread['moderatedprefix'] OR $globalthread['prefix_rich']">
<span id="thread_prefix_{vb:raw globalthread.realthreadid}" class="prefix understate">
{vb:raw globalthread.movedprefix}
{vb:raw globalthread.typeprefix}
{vb:raw globalthread.moderatedprefix}
{vb:raw globalthread.prefix_rich}
</span>
</vb:if>
<a class="title<vb:if condition="$show['gotonewpost']"> threadtitle_unread</vb:if>" href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo}, 'threadid', 'threadtitle'}" id="thread_title_{vb:raw globalthread.realthreadid}">{vb:raw globalthread.threadtitle}</a>
</h3>
<div class="threadmeta">
<div class="author">
<vb:if condition="$show['rmanage']">
<span class="rmanage"><a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}postings.php?{vb:raw session.sessionurl}do=editthread&t={vb:raw globalthread.redirectthreadid}">{vb:rawphrase manage}</a></span>
</vb:if>
<vb:if condition="!$show['detailedtime']">
{vb:rawphrase started_by_x_y_z_a, {vb:link member, {vb:raw thread}, null, 'postuserid', 'postusername'}, {vb:raw globalthread.postusername}, {vb:raw globalthread.startdate}, {vb:raw globalthread.starttime}, {vb:stylevar dirmark}}
<vb:else />
{vb:rawphrase started_by_x_y_z, {vb:link member, {vb:raw thread}, null, 'postuserid', 'postusername'}, {vb:raw globalthread.postusername}, {vb:raw globalthread.startdate}, {vb:stylevar dirmark}}
</vb:if>
<vb:if condition="$show['unsubscribe']">
<a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}newreply.php?{vb:raw session.sessionurl}do=newreply&t={vb:raw globalthread.threadid}" rel="nofollow">{vb:rawphrase reply}</a>
| <a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}subscription.php?{vb:raw session.sessionurl}do=removesubscription&return=uc p&t={vb:raw globalthread.threadid}" rel="nofollow">{vb:rawphrase unsubscribe}</a>
</vb:if>
<vb:if condition="$globalthread['pagenav']">
<dl class="pagination" id="pagination_threadbit_{vb:raw globalthread.realthreadid}">
<dt class="label">{vb:raw globalthread.totalpages} {vb:rawphrase pages} <span class="separator">•</span></dt>
<dd>
{vb:raw globalthread.pagenav}
<vb:if condition="$show['pagenavmore']"> <span class="separator">...</span> <span><a href="{vb:raw globalthread.lastpagelink}">{vb:raw globalthread.totalpages}</a></span></vb:if>
</dd>
</dl>
</vb:if>
<!-- iconinfo -->
<div class="threaddetails td">
<div class="threaddetailicons">
<vb:if condition="$show['taglist']">
<img src="{vb:stylevar imgdir_misc}/tag.png" alt="{vb:raw globalthread.taglist}" />
</vb:if>
<vb:if condition="$show['rexpires']">
<img src="{vb:stylevar imgdir_misc}/expires.gif" alt="{vb:rawphrase expires_on_x_y, {vb:raw globalthread.expiredate}, {vb:raw globalthread.expiretime}}" />
</vb:if>
<vb:if condition="$show['moderated']">
<img src="{vb:stylevar imgdir_misc}/moderated_small.gif" alt="{vb:rawphrase x_moderated_posts, {vb:raw globalthread.hiddencount}}" />
</vb:if>
<vb:if condition="$show['deletedthread']">
<img src="{vb:stylevar imgdir_misc}/trashcan_small.gif" alt="{vb:rawphrase x_deleted_posts, {vb:raw globalthread.deletedcount}}" />
</vb:if>
<vb:if condition="$show['paperclip']">
<a href="javascript://" onclick="attachments({vb:raw globalthread.threadid}); return false"> <img src="{vb:stylevar imgdir_misc}/paperclip.png" border="0" alt="{vb:rawphrase x_attachments, {vb:raw globalthread.attach}}" /></a>
</vb:if>
<vb:if condition="$show['subscribed']">
<img src="{vb:stylevar imgdir_misc}/subscribed.png" alt="{vb:rawphrase you_are_subscribed_to_this_thread}" />
</vb:if>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- threadstats -->
<vb:if condition="!$show['notificationtype']">
<ul class="threadstats td alt" title="<vb:if condition="$globalthread['dot_count'] > 0">{vb:rawphrase have_x_posts_in_thread_last_y, {vb:raw globalthread.dot_count}, {vb:raw globalthread.dot_lastpost}}</vb:if>">
<vb:if condition="$show['threadmoved']">
<li> </li>
<li> </li>
<vb:else />
<li>{vb:rawphrase replies}: <a href="misc.php?do=whoposted&t={vb:raw globalthread.threadid}" onclick="who({vb:raw globalthread.threadid}); return false;" class="understate">{vb:raw globalthread.replycount}</a></li>
<li>{vb:rawphrase views}: {vb:raw globalthread.views}</li>
</vb:if>
<li class="hidden">{vb:rawphrase rating}{vb:raw globalthread.rating} / 5</li>
</ul>
</vb:if>
<!-- lastpost -->
<dl class="threadlastpost td<vb:if condition="$show['notificationtype']"> alt</vb:if>">
<vb:if condition="$show['threadmoved']">
<dt class="lastpostby hidden"> </dt>
<vb:else />
<dt class="lastpostby hidden">{vb:rawphrase last_post_by}</dt>
<dd>{vb:raw memberaction_dropdown}</dd>
<dd>{vb:raw globalthread.lastpostdate}<vb:if condition="!$show['detailedtime']">, <span class="time">{vb:raw globalthread.lastposttime}</span></vb:if>
<a href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_lastpost}, 'threadid', 'threadtitle'}#post{vb:raw pageinfo_lastpost.p}" class="lastpostdate understate" title="{vb:rawphrase go_to_last_post}"><img src="{vb:stylevar imgdir_button}/lastpost-{vb:stylevar right}.png" alt="{vb:rawphrase go_to_last_post}" /></a>
</dd>
</vb:if>
</dl>
<vb:if condition="$show['notificationtype']">
<!-- notification -->
<div class="threadnotification td" >
<label for="thread_imod_checkbox_{vb:raw globalthread.realthreadid}">{vb:raw globalthread.notification}</label>
</div>
<label class="threadimod td">
<input type="checkbox" name="deletebox[{vb:raw subscribeglobalthread.$globalthreadid}]" id="thread_imod_checkbox_{vb:raw globalthread.realthreadid}" value="yes" tabindex="1" />
</label>
</vb:if>
<vb:if condition="$show['inlinemod']">
<!-- fourth block -->
<label class="threadimod td alt">
<input type="checkbox" id="thread_imod_checkbox_{vb:raw globalthread.realthreadid}" name="imodcheck[{vb:raw globalthread.realthreadid}]" tabindex="1" />
</label>
</vb:if>
</div>
</li>
Should fix it... I will have to update the template on the next update.
BrightStar
02-19-2012, 07:57 PM
Thanks for the mod. Is it possible just make some threads as global and not create separate forum for them?
Thanks
BirdOPrey5
02-19-2012, 08:18 PM
You're welcome, but not possible with this mod. I imagine it might be possible though- I would have to think about it... Maybe a good idea for a new version of this one day.
steeler7
02-20-2012, 05:46 PM
Edit your threadbit_global template.
Erase everything in it and replace it with this:
<li class="threadbit {vb:raw globalthread.statusstring}<vb:if condition="$show['paperclip']"> attachments</vb:if><vb:if condition="!$globalthread['postuserid'] AND !$globalthread['del_userid']"> guest</vb:if><vb:if condition="$globalthread['moderatedprefix']"> unapproved</vb:if>" id="thread_{vb:raw globalthread.realthreadid}">
<div class="rating{vb:raw globalthread.rating}<vb:if condition="$globalthread['sticky']"> sticky<vb:else /> nonsticky</vb:if>">
<div class="threadinfo" title="{vb:raw globalthread.preview}">
<!-- status icon block -->
<a class="threadstatus" rel="vB::AJAX" <vb:if condition="$show['threadcount']">title="{vb:rawphrase have_x_posts_in_thread_last_y, {vb:raw globalthread.dot_count}, {vb:raw globalthread.dot_lastpost}}"</vb:if>></a>
<!-- title / author block -->
<div class="inner">
<h3 class="threadtitle">
<vb:if condition="$show['gotonewpost']"><a href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_newpost}, 'threadid', 'threadtitle'}" id="thread_gotonew_{vb:raw globalthread.realthreadid}"><img class="gotonewpost" src="{vb:stylevar imgdir_button}/firstnew.png" alt="{vb:rawphrase go_to_first_new_post}" /></a>
</vb:if>
<vb:if condition="$show['threadicon']">
<img src="{vb:raw globalthread.threadiconpath}" alt="{vb:raw globalthread.threadicontitle}" border="0" />
</vb:if>
<vb:if condition="$globalthread['sticky']">
<img src="{vb:stylevar imgdir_misc}/sticky.gif" alt="{vb:rawphrase sticky_thread}" />
</vb:if>
<vb:if condition="$globalthread['movedprefix'] OR $globalthread['typeprefix'] OR $globalthread['moderatedprefix'] OR $globalthread['prefix_rich']">
<span id="thread_prefix_{vb:raw globalthread.realthreadid}" class="prefix understate">
{vb:raw globalthread.movedprefix}
{vb:raw globalthread.typeprefix}
{vb:raw globalthread.moderatedprefix}
{vb:raw globalthread.prefix_rich}
</span>
</vb:if>
<a class="title<vb:if condition="$show['gotonewpost']"> threadtitle_unread</vb:if>" href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo}, 'threadid', 'threadtitle'}" id="thread_title_{vb:raw globalthread.realthreadid}">{vb:raw globalthread.threadtitle}</a>
</h3>
<div class="threadmeta">
<div class="author">
<vb:if condition="$show['rmanage']">
<span class="rmanage"><a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}postings.php?{vb:raw session.sessionurl}do=editthread&t={vb:raw globalthread.redirectthreadid}">{vb:rawphrase manage}</a></span>
</vb:if>
<vb:if condition="!$show['detailedtime']">
{vb:rawphrase started_by_x_y_z_a, {vb:link member, {vb:raw thread}, null, 'postuserid', 'postusername'}, {vb:raw globalthread.postusername}, {vb:raw globalthread.startdate}, {vb:raw globalthread.starttime}, {vb:stylevar dirmark}}
<vb:else />
{vb:rawphrase started_by_x_y_z, {vb:link member, {vb:raw thread}, null, 'postuserid', 'postusername'}, {vb:raw globalthread.postusername}, {vb:raw globalthread.startdate}, {vb:stylevar dirmark}}
</vb:if>
<vb:if condition="$show['unsubscribe']">
<a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}newreply.php?{vb:raw session.sessionurl}do=newreply&t={vb:raw globalthread.threadid}" rel="nofollow">{vb:rawphrase reply}</a>
| <a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}subscription.php?{vb:raw session.sessionurl}do=removesubscription&return=uc p&t={vb:raw globalthread.threadid}" rel="nofollow">{vb:rawphrase unsubscribe}</a>
</vb:if>
<vb:if condition="$globalthread['pagenav']">
<dl class="pagination" id="pagination_threadbit_{vb:raw globalthread.realthreadid}">
<dt class="label">{vb:raw globalthread.totalpages} {vb:rawphrase pages} <span class="separator">•</span></dt>
<dd>
{vb:raw globalthread.pagenav}
<vb:if condition="$show['pagenavmore']"> <span class="separator">...</span> <span><a href="{vb:raw globalthread.lastpagelink}">{vb:raw globalthread.totalpages}</a></span></vb:if>
</dd>
</dl>
</vb:if>
<!-- iconinfo -->
<div class="threaddetails td">
<div class="threaddetailicons">
<vb:if condition="$show['taglist']">
<img src="{vb:stylevar imgdir_misc}/tag.png" alt="{vb:raw globalthread.taglist}" />
</vb:if>
<vb:if condition="$show['rexpires']">
<img src="{vb:stylevar imgdir_misc}/expires.gif" alt="{vb:rawphrase expires_on_x_y, {vb:raw globalthread.expiredate}, {vb:raw globalthread.expiretime}}" />
</vb:if>
<vb:if condition="$show['moderated']">
<img src="{vb:stylevar imgdir_misc}/moderated_small.gif" alt="{vb:rawphrase x_moderated_posts, {vb:raw globalthread.hiddencount}}" />
</vb:if>
<vb:if condition="$show['deletedthread']">
<img src="{vb:stylevar imgdir_misc}/trashcan_small.gif" alt="{vb:rawphrase x_deleted_posts, {vb:raw globalthread.deletedcount}}" />
</vb:if>
<vb:if condition="$show['paperclip']">
<a href="javascript://" onclick="attachments({vb:raw globalthread.threadid}); return false"> <img src="{vb:stylevar imgdir_misc}/paperclip.png" border="0" alt="{vb:rawphrase x_attachments, {vb:raw globalthread.attach}}" /></a>
</vb:if>
<vb:if condition="$show['subscribed']">
<img src="{vb:stylevar imgdir_misc}/subscribed.png" alt="{vb:rawphrase you_are_subscribed_to_this_thread}" />
</vb:if>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- threadstats -->
<vb:if condition="!$show['notificationtype']">
<ul class="threadstats td alt" title="<vb:if condition="$globalthread['dot_count'] > 0">{vb:rawphrase have_x_posts_in_thread_last_y, {vb:raw globalthread.dot_count}, {vb:raw globalthread.dot_lastpost}}</vb:if>">
<vb:if condition="$show['threadmoved']">
<li> </li>
<li> </li>
<vb:else />
<li>{vb:rawphrase replies}: <a href="misc.php?do=whoposted&t={vb:raw globalthread.threadid}" onclick="who({vb:raw globalthread.threadid}); return false;" class="understate">{vb:raw globalthread.replycount}</a></li>
<li>{vb:rawphrase views}: {vb:raw globalthread.views}</li>
</vb:if>
<li class="hidden">{vb:rawphrase rating}{vb:raw globalthread.rating} / 5</li>
</ul>
</vb:if>
<!-- lastpost -->
<dl class="threadlastpost td<vb:if condition="$show['notificationtype']"> alt</vb:if>">
<vb:if condition="$show['threadmoved']">
<dt class="lastpostby hidden"> </dt>
<vb:else />
<dt class="lastpostby hidden">{vb:rawphrase last_post_by}</dt>
<dd>{vb:raw memberaction_dropdown}</dd>
<dd>{vb:raw globalthread.lastpostdate}<vb:if condition="!$show['detailedtime']">, <span class="time">{vb:raw globalthread.lastposttime}</span></vb:if>
<a href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_lastpost}, 'threadid', 'threadtitle'}#post{vb:raw pageinfo_lastpost.p}" class="lastpostdate understate" title="{vb:rawphrase go_to_last_post}"><img src="{vb:stylevar imgdir_button}/lastpost-{vb:stylevar right}.png" alt="{vb:rawphrase go_to_last_post}" /></a>
</dd>
</vb:if>
</dl>
<vb:if condition="$show['notificationtype']">
<!-- notification -->
<div class="threadnotification td" >
<label for="thread_imod_checkbox_{vb:raw globalthread.realthreadid}">{vb:raw globalthread.notification}</label>
</div>
<label class="threadimod td">
<input type="checkbox" name="deletebox[{vb:raw subscribeglobalthread.$globalthreadid}]" id="thread_imod_checkbox_{vb:raw globalthread.realthreadid}" value="yes" tabindex="1" />
</label>
</vb:if>
<vb:if condition="$show['inlinemod']">
<!-- fourth block -->
<label class="threadimod td alt">
<input type="checkbox" id="thread_imod_checkbox_{vb:raw globalthread.realthreadid}" name="imodcheck[{vb:raw globalthread.realthreadid}]" tabindex="1" />
</label>
</vb:if>
</div>
</li>
Should fix it... I will have to update the template on the next update.
This fixed the issue with the gap but I lost the little globe icon and "Global: prefix
BirdOPrey5
02-20-2012, 06:17 PM
Whoops... forgot about them. Try this one:
<li class="threadbit {vb:raw globalthread.statusstring}<vb:if condition="$show['paperclip']"> attachments</vb:if><vb:if condition="!$globalthread['postuserid'] AND !$globalthread['del_userid']"> guest</vb:if><vb:if condition="$globalthread['moderatedprefix']"> unapproved</vb:if>" id="thread_{vb:raw globalthread.realthreadid}">
<div class="rating{vb:raw globalthread.rating}<vb:if condition="$globalthread['sticky']"> sticky<vb:else /> nonsticky</vb:if>">
<div class="threadinfo" title="{vb:raw globalthread.preview}">
<!-- status icon block -->
<a class="threadstatus" rel="vB::AJAX" <vb:if condition="$show['threadcount']">title="{vb:rawphrase have_x_posts_in_thread_last_y, {vb:raw globalthread.dot_count}, {vb:raw globalthread.dot_lastpost}}"</vb:if>></a>
<!-- title / author block -->
<div class="inner">
<h3 class="threadtitle">
<vb:if condition="$show['gotonewpost']"><a href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_newpost}, 'threadid', 'threadtitle'}" id="thread_gotonew_{vb:raw globalthread.realthreadid}"><img class="gotonewpost" src="{vb:stylevar imgdir_button}/firstnew.png" alt="{vb:rawphrase go_to_first_new_post}" /></a>
</vb:if>
<vb:if condition="$show['threadicon']">
<img src="{vb:raw globalthread.threadiconpath}" alt="{vb:raw globalthread.threadicontitle}" border="0" />
</vb:if>
<vb:if condition="$gtuseicon">
<img src="{vb:stylevar imgdir_misc}/global.png" alt="{vb:rawphrase global_thread}" />
</vb:if>
{vb:rawphrase gt_global}
<vb:if condition="$globalthread['sticky']">
<img src="{vb:stylevar imgdir_misc}/sticky.gif" alt="{vb:rawphrase sticky_thread}" />
</vb:if>
<vb:if condition="$globalthread['movedprefix'] OR $globalthread['typeprefix'] OR $globalthread['moderatedprefix'] OR $globalthread['prefix_rich']">
<span id="thread_prefix_{vb:raw globalthread.realthreadid}" class="prefix understate">
{vb:raw globalthread.movedprefix}
{vb:raw globalthread.typeprefix}
{vb:raw globalthread.moderatedprefix}
{vb:raw globalthread.prefix_rich}
</span>
</vb:if>
<a class="title<vb:if condition="$show['gotonewpost']"> threadtitle_unread</vb:if>" href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo}, 'threadid', 'threadtitle'}" id="thread_title_{vb:raw globalthread.realthreadid}">{vb:raw globalthread.threadtitle}</a>
</h3>
<div class="threadmeta">
<div class="author">
<vb:if condition="$show['rmanage']">
<span class="rmanage"><a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}postings.php?{vb:raw session.sessionurl}do=editthread&t={vb:raw globalthread.redirectthreadid}">{vb:rawphrase manage}</a></span>
</vb:if>
<vb:if condition="!$show['detailedtime']">
{vb:rawphrase started_by_x_y_z_a, {vb:link member, {vb:raw thread}, null, 'postuserid', 'postusername'}, {vb:raw globalthread.postusername}, {vb:raw globalthread.startdate}, {vb:raw globalthread.starttime}, {vb:stylevar dirmark}}
<vb:else />
{vb:rawphrase started_by_x_y_z, {vb:link member, {vb:raw thread}, null, 'postuserid', 'postusername'}, {vb:raw globalthread.postusername}, {vb:raw globalthread.startdate}, {vb:stylevar dirmark}}
</vb:if>
<vb:if condition="$show['unsubscribe']">
<a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}newreply.php?{vb:raw session.sessionurl}do=newreply&t={vb:raw globalthread.threadid}" rel="nofollow">{vb:rawphrase reply}</a>
| <a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}subscription.php?{vb:raw session.sessionurl}do=removesubscription&return=uc p&t={vb:raw globalthread.threadid}" rel="nofollow">{vb:rawphrase unsubscribe}</a>
</vb:if>
<vb:if condition="$globalthread['pagenav']">
<dl class="pagination" id="pagination_threadbit_{vb:raw globalthread.realthreadid}">
<dt class="label">{vb:raw globalthread.totalpages} {vb:rawphrase pages} <span class="separator">•</span></dt>
<dd>
{vb:raw globalthread.pagenav}
<vb:if condition="$show['pagenavmore']"> <span class="separator">...</span> <span><a href="{vb:raw globalthread.lastpagelink}">{vb:raw globalthread.totalpages}</a></span></vb:if>
</dd>
</dl>
</vb:if>
<!-- iconinfo -->
<div class="threaddetails td">
<div class="threaddetailicons">
<vb:if condition="$show['taglist']">
<img src="{vb:stylevar imgdir_misc}/tag.png" alt="{vb:raw globalthread.taglist}" />
</vb:if>
<vb:if condition="$show['rexpires']">
<img src="{vb:stylevar imgdir_misc}/expires.gif" alt="{vb:rawphrase expires_on_x_y, {vb:raw globalthread.expiredate}, {vb:raw globalthread.expiretime}}" />
</vb:if>
<vb:if condition="$show['moderated']">
<img src="{vb:stylevar imgdir_misc}/moderated_small.gif" alt="{vb:rawphrase x_moderated_posts, {vb:raw globalthread.hiddencount}}" />
</vb:if>
<vb:if condition="$show['deletedthread']">
<img src="{vb:stylevar imgdir_misc}/trashcan_small.gif" alt="{vb:rawphrase x_deleted_posts, {vb:raw globalthread.deletedcount}}" />
</vb:if>
<vb:if condition="$show['paperclip']">
<a href="javascript://" onclick="attachments({vb:raw globalthread.threadid}); return false"> <img src="{vb:stylevar imgdir_misc}/paperclip.png" border="0" alt="{vb:rawphrase x_attachments, {vb:raw globalthread.attach}}" /></a>
</vb:if>
<vb:if condition="$show['subscribed']">
<img src="{vb:stylevar imgdir_misc}/subscribed.png" alt="{vb:rawphrase you_are_subscribed_to_this_thread}" />
</vb:if>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- threadstats -->
<vb:if condition="!$show['notificationtype']">
<ul class="threadstats td alt" title="<vb:if condition="$globalthread['dot_count'] > 0">{vb:rawphrase have_x_posts_in_thread_last_y, {vb:raw globalthread.dot_count}, {vb:raw globalthread.dot_lastpost}}</vb:if>">
<vb:if condition="$show['threadmoved']">
<li> </li>
<li> </li>
<vb:else />
<li>{vb:rawphrase replies}: <a href="misc.php?do=whoposted&t={vb:raw globalthread.threadid}" onclick="who({vb:raw globalthread.threadid}); return false;" class="understate">{vb:raw globalthread.replycount}</a></li>
<li>{vb:rawphrase views}: {vb:raw globalthread.views}</li>
</vb:if>
<li class="hidden">{vb:rawphrase rating}{vb:raw globalthread.rating} / 5</li>
</ul>
</vb:if>
<!-- lastpost -->
<dl class="threadlastpost td<vb:if condition="$show['notificationtype']"> alt</vb:if>">
<vb:if condition="$show['threadmoved']">
<dt class="lastpostby hidden"> </dt>
<vb:else />
<dt class="lastpostby hidden">{vb:rawphrase last_post_by}</dt>
<dd>{vb:raw memberaction_dropdown}</dd>
<dd>{vb:raw globalthread.lastpostdate}<vb:if condition="!$show['detailedtime']">, <span class="time">{vb:raw globalthread.lastposttime}</span></vb:if>
<a href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_lastpost}, 'threadid', 'threadtitle'}#post{vb:raw pageinfo_lastpost.p}" class="lastpostdate understate" title="{vb:rawphrase go_to_last_post}"><img src="{vb:stylevar imgdir_button}/lastpost-{vb:stylevar right}.png" alt="{vb:rawphrase go_to_last_post}" /></a>
</dd>
</vb:if>
</dl>
<vb:if condition="$show['notificationtype']">
<!-- notification -->
<div class="threadnotification td" >
<label for="thread_imod_checkbox_{vb:raw globalthread.realthreadid}">{vb:raw globalthread.notification}</label>
</div>
<label class="threadimod td">
<input type="checkbox" name="deletebox[{vb:raw subscribeglobalthread.$globalthreadid}]" id="thread_imod_checkbox_{vb:raw globalthread.realthreadid}" value="yes" tabindex="1" />
</label>
</vb:if>
<vb:if condition="$show['inlinemod']">
<!-- fourth block -->
<label class="threadimod td alt">
<input type="checkbox" id="thread_imod_checkbox_{vb:raw globalthread.realthreadid}" name="imodcheck[{vb:raw globalthread.realthreadid}]" tabindex="1" />
</label>
</vb:if>
</div>
</li>
Masked Crusader
02-23-2012, 03:43 AM
How do you remove the description (the first sentence or two of the thread) from the forum display? In all honesty, there really should be an option for that in the AdminCP for this mod!
Also, how do I get the Username HTML Markup to work? My name should be in teal (Masked Crusader), but it just shows up with no markup.
My site: http://www.twinkinfo.com/tavern/
Thanks!
BirdOPrey5
02-23-2012, 08:40 AM
I would suggest trying the updated template in post #115 if you have a recent VB version installed.
If you are running an older version like 4.1.7 the fix is in post #95 - https://vborg.vbsupport.ru/showpost.php?p=2259274&postcount=95
As for the username html markup I'm not sure but I have already begun working on a new version of this mod coded from scratch that doesn't require its own template so other mods should work with it. I hope to release it sooner than later and will post here of course when I do.
steeler7
02-23-2012, 08:44 PM
Excellent! This worked out perfect.
Thanks!
Whoops... forgot about them. Try this one:
<li class="threadbit {vb:raw globalthread.statusstring}<vb:if condition="$show['paperclip']"> attachments</vb:if><vb:if condition="!$globalthread['postuserid'] AND !$globalthread['del_userid']"> guest</vb:if><vb:if condition="$globalthread['moderatedprefix']"> unapproved</vb:if>" id="thread_{vb:raw globalthread.realthreadid}">
<div class="rating{vb:raw globalthread.rating}<vb:if condition="$globalthread['sticky']"> sticky<vb:else /> nonsticky</vb:if>">
<div class="threadinfo" title="{vb:raw globalthread.preview}">
<!-- status icon block -->
<a class="threadstatus" rel="vB::AJAX" <vb:if condition="$show['threadcount']">title="{vb:rawphrase have_x_posts_in_thread_last_y, {vb:raw globalthread.dot_count}, {vb:raw globalthread.dot_lastpost}}"</vb:if>></a>
<!-- title / author block -->
<div class="inner">
<h3 class="threadtitle">
<vb:if condition="$show['gotonewpost']"><a href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_newpost}, 'threadid', 'threadtitle'}" id="thread_gotonew_{vb:raw globalthread.realthreadid}"><img class="gotonewpost" src="{vb:stylevar imgdir_button}/firstnew.png" alt="{vb:rawphrase go_to_first_new_post}" /></a>
</vb:if>
<vb:if condition="$show['threadicon']">
<img src="{vb:raw globalthread.threadiconpath}" alt="{vb:raw globalthread.threadicontitle}" border="0" />
</vb:if>
<vb:if condition="$gtuseicon">
<img src="{vb:stylevar imgdir_misc}/global.png" alt="{vb:rawphrase global_thread}" />
</vb:if>
{vb:rawphrase gt_global}
<vb:if condition="$globalthread['sticky']">
<img src="{vb:stylevar imgdir_misc}/sticky.gif" alt="{vb:rawphrase sticky_thread}" />
</vb:if>
<vb:if condition="$globalthread['movedprefix'] OR $globalthread['typeprefix'] OR $globalthread['moderatedprefix'] OR $globalthread['prefix_rich']">
<span id="thread_prefix_{vb:raw globalthread.realthreadid}" class="prefix understate">
{vb:raw globalthread.movedprefix}
{vb:raw globalthread.typeprefix}
{vb:raw globalthread.moderatedprefix}
{vb:raw globalthread.prefix_rich}
</span>
</vb:if>
<a class="title<vb:if condition="$show['gotonewpost']"> threadtitle_unread</vb:if>" href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo}, 'threadid', 'threadtitle'}" id="thread_title_{vb:raw globalthread.realthreadid}">{vb:raw globalthread.threadtitle}</a>
</h3>
<div class="threadmeta">
<div class="author">
<vb:if condition="$show['rmanage']">
<span class="rmanage"><a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}postings.php?{vb:raw session.sessionurl}do=editthread&t={vb:raw globalthread.redirectthreadid}">{vb:rawphrase manage}</a></span>
</vb:if>
<vb:if condition="!$show['detailedtime']">
{vb:rawphrase started_by_x_y_z_a, {vb:link member, {vb:raw thread}, null, 'postuserid', 'postusername'}, {vb:raw globalthread.postusername}, {vb:raw globalthread.startdate}, {vb:raw globalthread.starttime}, {vb:stylevar dirmark}}
<vb:else />
{vb:rawphrase started_by_x_y_z, {vb:link member, {vb:raw thread}, null, 'postuserid', 'postusername'}, {vb:raw globalthread.postusername}, {vb:raw globalthread.startdate}, {vb:stylevar dirmark}}
</vb:if>
<vb:if condition="$show['unsubscribe']">
<a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}newreply.php?{vb:raw session.sessionurl}do=newreply&t={vb:raw globalthread.threadid}" rel="nofollow">{vb:rawphrase reply}</a>
| <a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}subscription.php?{vb:raw session.sessionurl}do=removesubscription&return=uc p&t={vb:raw globalthread.threadid}" rel="nofollow">{vb:rawphrase unsubscribe}</a>
</vb:if>
<vb:if condition="$globalthread['pagenav']">
<dl class="pagination" id="pagination_threadbit_{vb:raw globalthread.realthreadid}">
<dt class="label">{vb:raw globalthread.totalpages} {vb:rawphrase pages} <span class="separator">•</span></dt>
<dd>
{vb:raw globalthread.pagenav}
<vb:if condition="$show['pagenavmore']"> <span class="separator">...</span> <span><a href="{vb:raw globalthread.lastpagelink}">{vb:raw globalthread.totalpages}</a></span></vb:if>
</dd>
</dl>
</vb:if>
<!-- iconinfo -->
<div class="threaddetails td">
<div class="threaddetailicons">
<vb:if condition="$show['taglist']">
<img src="{vb:stylevar imgdir_misc}/tag.png" alt="{vb:raw globalthread.taglist}" />
</vb:if>
<vb:if condition="$show['rexpires']">
<img src="{vb:stylevar imgdir_misc}/expires.gif" alt="{vb:rawphrase expires_on_x_y, {vb:raw globalthread.expiredate}, {vb:raw globalthread.expiretime}}" />
</vb:if>
<vb:if condition="$show['moderated']">
<img src="{vb:stylevar imgdir_misc}/moderated_small.gif" alt="{vb:rawphrase x_moderated_posts, {vb:raw globalthread.hiddencount}}" />
</vb:if>
<vb:if condition="$show['deletedthread']">
<img src="{vb:stylevar imgdir_misc}/trashcan_small.gif" alt="{vb:rawphrase x_deleted_posts, {vb:raw globalthread.deletedcount}}" />
</vb:if>
<vb:if condition="$show['paperclip']">
<a href="javascript://" onclick="attachments({vb:raw globalthread.threadid}); return false"> <img src="{vb:stylevar imgdir_misc}/paperclip.png" border="0" alt="{vb:rawphrase x_attachments, {vb:raw globalthread.attach}}" /></a>
</vb:if>
<vb:if condition="$show['subscribed']">
<img src="{vb:stylevar imgdir_misc}/subscribed.png" alt="{vb:rawphrase you_are_subscribed_to_this_thread}" />
</vb:if>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- threadstats -->
<vb:if condition="!$show['notificationtype']">
<ul class="threadstats td alt" title="<vb:if condition="$globalthread['dot_count'] > 0">{vb:rawphrase have_x_posts_in_thread_last_y, {vb:raw globalthread.dot_count}, {vb:raw globalthread.dot_lastpost}}</vb:if>">
<vb:if condition="$show['threadmoved']">
<li> </li>
<li> </li>
<vb:else />
<li>{vb:rawphrase replies}: <a href="misc.php?do=whoposted&t={vb:raw globalthread.threadid}" onclick="who({vb:raw globalthread.threadid}); return false;" class="understate">{vb:raw globalthread.replycount}</a></li>
<li>{vb:rawphrase views}: {vb:raw globalthread.views}</li>
</vb:if>
<li class="hidden">{vb:rawphrase rating}{vb:raw globalthread.rating} / 5</li>
</ul>
</vb:if>
<!-- lastpost -->
<dl class="threadlastpost td<vb:if condition="$show['notificationtype']"> alt</vb:if>">
<vb:if condition="$show['threadmoved']">
<dt class="lastpostby hidden"> </dt>
<vb:else />
<dt class="lastpostby hidden">{vb:rawphrase last_post_by}</dt>
<dd>{vb:raw memberaction_dropdown}</dd>
<dd>{vb:raw globalthread.lastpostdate}<vb:if condition="!$show['detailedtime']">, <span class="time">{vb:raw globalthread.lastposttime}</span></vb:if>
<a href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_lastpost}, 'threadid', 'threadtitle'}#post{vb:raw pageinfo_lastpost.p}" class="lastpostdate understate" title="{vb:rawphrase go_to_last_post}"><img src="{vb:stylevar imgdir_button}/lastpost-{vb:stylevar right}.png" alt="{vb:rawphrase go_to_last_post}" /></a>
</dd>
</vb:if>
</dl>
<vb:if condition="$show['notificationtype']">
<!-- notification -->
<div class="threadnotification td" >
<label for="thread_imod_checkbox_{vb:raw globalthread.realthreadid}">{vb:raw globalthread.notification}</label>
</div>
<label class="threadimod td">
<input type="checkbox" name="deletebox[{vb:raw subscribeglobalthread.$globalthreadid}]" id="thread_imod_checkbox_{vb:raw globalthread.realthreadid}" value="yes" tabindex="1" />
</label>
</vb:if>
<vb:if condition="$show['inlinemod']">
<!-- fourth block -->
<label class="threadimod td alt">
<input type="checkbox" id="thread_imod_checkbox_{vb:raw globalthread.realthreadid}" name="imodcheck[{vb:raw globalthread.realthreadid}]" tabindex="1" />
</label>
</vb:if>
</div>
</li>
Masked Crusader
02-23-2012, 11:31 PM
How do you remove the description (the first sentence or two of the thread) from the forum display? In all honesty, there really should be an option for that in the AdminCP for this mod!
Figured it out.
In the threadbit_global template, search for:
<div class="threadmeta">
Below that, remove:
<p class="threaddesc">{vb:raw globalthread.preview}</p>
That gets rid of the hideously aligned preview text.
Hope that helps someone else!
BirdOPrey5
02-24-2012, 12:56 AM
:up: (exactly like it says to do in post #95 ;) )
BirdOPrey5
02-25-2012, 03:53 PM
Hello All,
Unfortunately this mod has too much legacy code for me to keep trying to fix for newer versions of vBulletin.
I am officially marking this un-supported today but will try to help with issues as possible.
I have re-coded a new Global Threads mod (https://vborg.vbsupport.ru/showthread.php?t=279156) from scratch that I will be officially supporting from now on.
steeler7
02-27-2012, 05:47 PM
BOP... after I had applied those template changes a bout a day or so passed and it was brought to my attention that when you click on any of the "global threads" they are taking people to some random Thread in a different Forum, not the one actual Thread itself.
You can check it out here ---> http://www.pittsburghsportsforum.com/forum/forumdisplay.php/22-Bucco-s-Talk
There's 3 Global Threads right below the sticky threads. They have the proper link title and everything but when you click on them they take me to the wrong thread.
whitey92lx
02-27-2012, 09:00 PM
sweetness!
BirdOPrey5
02-27-2012, 09:25 PM
It's actually not random, it's taking you to thread with the same id as the forum you are viewing it from... So somewhere a "threadid" and "forumid" got mixed up.
Are you using the EXACT threadbit_global template I posted or did you make ANY changes to it?
steeler7
02-28-2012, 12:17 AM
It's actually not random, it's taking you to thread with the same id as the forum you are viewing it from... So somewhere a "threadid" and "forumid" got mixed up.
Are you using the EXACT threadbit_global template I posted or did you make ANY changes to it?
It's the exact one. i just coped and pasted it
BirdOPrey5
02-28-2012, 01:15 AM
Lets try again...
replace threadbit_global with this code:
<li class="threadbit {vb:raw globalthread.statusstring}<vb:if condition="$show['paperclip']"> attachments</vb:if><vb:if condition="!$globalthread['postuserid'] AND !$globalthread['del_userid']"> guest</vb:if><vb:if condition="$globalthread['moderatedprefix']"> unapproved</vb:if>" id="thread_{vb:raw globalthread.realthreadid}">
<div class="rating{vb:raw globalthread.rating}<vb:if condition="$globalthread['sticky']"> sticky<vb:else /> nonsticky</vb:if>">
<div class="threadinfo" title="{vb:raw globalthread.preview}">
<!-- status icon block -->
<a class="threadstatus" rel="vB::AJAX" <vb:if condition="$show['threadcount']">title="{vb:rawphrase have_x_posts_in_thread_last_y, {vb:raw globalthread.dot_count}, {vb:raw globalthread.dot_lastpost}}"</vb:if>></a>
<!-- title / author block -->
<div class="inner">
<h3 class="threadtitle">
<vb:if condition="$show['gotonewpost']"><a href="{vb:link thread, {vb:raw globalthread}, {vb:raw pageinfo_newpost}, 'threadid', 'threadtitle'}" id="thread_gotonew_{vb:raw globalthread.realthreadid}"><img class="gotonewpost" src="{vb:stylevar imgdir_button}/firstnew.png" alt="{vb:rawphrase go_to_first_new_post}" /></a>
</vb:if>
<vb:if condition="$show['threadicon']">
<img src="{vb:raw globalthread.threadiconpath}" alt="{vb:raw globalthread.threadicontitle}" border="0" />
</vb:if>
<vb:if condition="$gtuseicon">
<img src="{vb:stylevar imgdir_misc}/global.png" alt="{vb:rawphrase global_thread}" />
</vb:if>
{vb:rawphrase gt_global}
<vb:if condition="$globalthread['sticky']">
<img src="{vb:stylevar imgdir_misc}/sticky.gif" alt="{vb:rawphrase sticky_thread}" />
</vb:if>
<vb:if condition="$globalthread['movedprefix'] OR $globalthread['typeprefix'] OR $globalthread['moderatedprefix'] OR $globalthread['prefix_rich']">
<span id="thread_prefix_{vb:raw globalthread.realthreadid}" class="prefix understate">
{vb:raw globalthread.movedprefix}
{vb:raw globalthread.typeprefix}
{vb:raw globalthread.moderatedprefix}
{vb:raw globalthread.prefix_rich}
</span>
</vb:if>
<a class="title<vb:if condition="$show['gotonewpost']"> threadtitle_unread</vb:if>" href="{vb:link thread, {vb:raw globalthread}, {vb:raw pageinfo}, 'threadid', 'threadtitle'}" id="thread_title_{vb:raw globalthread.realthreadid}">{vb:raw globalthread.threadtitle}</a>
</h3>
<div class="threadmeta">
<div class="author">
<vb:if condition="$show['rmanage']">
<span class="rmanage"><a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}postings.php?{vb:raw session.sessionurl}do=editthread&t={vb:raw globalthread.redirectthreadid}">{vb:rawphrase manage}</a></span>
</vb:if>
<vb:if condition="!$show['detailedtime']">
{vb:rawphrase started_by_x_y_z_a, {vb:link member, {vb:raw globalthread}, null, 'postuserid', 'postusername'}, {vb:raw globalthread.postusername}, {vb:raw globalthread.startdate}, {vb:raw globalthread.starttime}, {vb:stylevar dirmark}}
<vb:else />
{vb:rawphrase started_by_x_y_z, {vb:link member, {vb:raw globalthread}, null, 'postuserid', 'postusername'}, {vb:raw globalthread.postusername}, {vb:raw globalthread.startdate}, {vb:stylevar dirmark}}
</vb:if>
<vb:if condition="$show['unsubscribe']">
<a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}newreply.php?{vb:raw session.sessionurl}do=newreply&t={vb:raw globalthread.threadid}" rel="nofollow">{vb:rawphrase reply}</a>
| <a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}subscription.php?{vb:raw session.sessionurl}do=removesubscription&return=uc p&t={vb:raw globalthread.threadid}" rel="nofollow">{vb:rawphrase unsubscribe}</a>
</vb:if>
<vb:if condition="$globalthread['pagenav']">
<dl class="pagination" id="pagination_threadbit_{vb:raw globalthread.realthreadid}">
<dt class="label">{vb:raw globalthread.totalpages} {vb:rawphrase pages} <span class="separator">•</span></dt>
<dd>
{vb:raw globalthread.pagenav}
<vb:if condition="$show['pagenavmore']"> <span class="separator">...</span> <span><a href="{vb:raw globalthread.lastpagelink}">{vb:raw globalthread.totalpages}</a></span></vb:if>
</dd>
</dl>
</vb:if>
<!-- iconinfo -->
<div class="threaddetails td">
<div class="threaddetailicons">
<vb:if condition="$show['taglist']">
<img src="{vb:stylevar imgdir_misc}/tag.png" alt="{vb:raw globalthread.taglist}" />
</vb:if>
<vb:if condition="$show['rexpires']">
<img src="{vb:stylevar imgdir_misc}/expires.gif" alt="{vb:rawphrase expires_on_x_y, {vb:raw globalthread.expiredate}, {vb:raw globalthread.expiretime}}" />
</vb:if>
<vb:if condition="$show['moderated']">
<img src="{vb:stylevar imgdir_misc}/moderated_small.gif" alt="{vb:rawphrase x_moderated_posts, {vb:raw globalthread.hiddencount}}" />
</vb:if>
<vb:if condition="$show['deletedthread']">
<img src="{vb:stylevar imgdir_misc}/trashcan_small.gif" alt="{vb:rawphrase x_deleted_posts, {vb:raw globalthread.deletedcount}}" />
</vb:if>
<vb:if condition="$show['paperclip']">
<a href="javascript://" onclick="attachments({vb:raw globalthread.threadid}); return false"> <img src="{vb:stylevar imgdir_misc}/paperclip.png" border="0" alt="{vb:rawphrase x_attachments, {vb:raw globalthread.attach}}" /></a>
</vb:if>
<vb:if condition="$show['subscribed']">
<img src="{vb:stylevar imgdir_misc}/subscribed.png" alt="{vb:rawphrase you_are_subscribed_to_this_thread}" />
</vb:if>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- threadstats -->
<vb:if condition="!$show['notificationtype']">
<ul class="threadstats td alt" title="<vb:if condition="$globalthread['dot_count'] > 0">{vb:rawphrase have_x_posts_in_thread_last_y, {vb:raw globalthread.dot_count}, {vb:raw globalthread.dot_lastpost}}</vb:if>">
<vb:if condition="$show['threadmoved']">
<li> </li>
<li> </li>
<vb:else />
<li>{vb:rawphrase replies}: <a href="misc.php?do=whoposted&t={vb:raw globalthread.threadid}" onclick="who({vb:raw globalthread.threadid}); return false;" class="understate">{vb:raw globalthread.replycount}</a></li>
<li>{vb:rawphrase views}: {vb:raw globalthread.views}</li>
</vb:if>
<li class="hidden">{vb:rawphrase rating}{vb:raw globalthread.rating} / 5</li>
</ul>
</vb:if>
<!-- lastpost -->
<dl class="threadlastpost td<vb:if condition="$show['notificationtype']"> alt</vb:if>">
<vb:if condition="$show['threadmoved']">
<dt class="lastpostby hidden"> </dt>
<vb:else />
<dt class="lastpostby hidden">{vb:rawphrase last_post_by}</dt>
<dd>{vb:raw memberaction_dropdown}</dd>
<dd>{vb:raw globalthread.lastpostdate}<vb:if condition="!$show['detailedtime']">, <span class="time">{vb:raw globalthread.lastposttime}</span></vb:if>
<a href="{vb:link thread, {vb:raw globalthread}, {vb:raw pageinfo_lastpost}, 'threadid', 'threadtitle'}#post{vb:raw pageinfo_lastpost.p}" class="lastpostdate understate" title="{vb:rawphrase go_to_last_post}"><img src="{vb:stylevar imgdir_button}/lastpost-{vb:stylevar right}.png" alt="{vb:rawphrase go_to_last_post}" /></a>
</dd>
</vb:if>
</dl>
<vb:if condition="$show['notificationtype']">
<!-- notification -->
<div class="threadnotification td" >
<label for="thread_imod_checkbox_{vb:raw globalthread.realthreadid}">{vb:raw globalthread.notification}</label>
</div>
<label class="threadimod td">
<input type="checkbox" name="deletebox[{vb:raw subscribeglobalthread.$globalthreadid}]" id="thread_imod_checkbox_{vb:raw globalthread.realthreadid}" value="yes" tabindex="1" />
</label>
</vb:if>
<vb:if condition="$show['inlinemod']">
<!-- fourth block -->
<label class="threadimod td alt">
<input type="checkbox" id="thread_imod_checkbox_{vb:raw globalthread.realthreadid}" name="imodcheck[{vb:raw globalthread.realthreadid}]" tabindex="1" />
</label>
</vb:if>
</div>
</li>
steeler7
02-28-2012, 01:30 AM
Fingers crossed but it appears to be working!!
Mysterious Ride
04-16-2013, 11:04 PM
I'm having a slight problem with this addon now that I switched to a knew style. It's showing the a preview of the post and I don't want it to. I uploaded an attachment.
How can I fix this?
BirdOPrey5
04-17-2013, 12:14 AM
I'm having a slight problem with this addon now that I switched to a knew style. It's showing the a preview of the post and I don't want it to. I uploaded an attachment.
How can I fix this?
See Post #95 (https://vborg.vbsupport.ru/showthread.php?p=2259274#post2259274) for a fix for that.
Mysterious Ride
04-17-2013, 12:30 AM
Thanks!
Mysterious Ride
04-21-2013, 02:42 PM
I hate to bother you again, but I just noticed how the background of the global threads are. It looks like a normal thread, even when I put it above the stickies. Is there a way to make it look like a sticky instead of a normal thread. I tried search the thread for an answer, but I couldn't find exactly how to do it, what part of the threadbit_global to edit.
Mysterious Ride
05-04-2013, 01:49 PM
I still need help with this last thing. I still can't find how to make the background to match the color of the stickies so it can be above stickies.
BirdOPrey5
05-12-2013, 09:12 AM
You would need to edit your threadbit_global template... Some of the references (anything style related) change from _global to _sticky. Compare to the regular threadbit template to figure out where/what changes to make.
fxdigi-cash
05-22-2013, 04:59 AM
it is a great mod! Thanks BirdOPrey5 (https://vborg.vbsupport.ru/member.php?u=258922)
by the way, it is possible to add more customization like the following:
- different global threads in different forums ' this feature sounds great, but looks hard to do'.
let's say I want to add some global threads in some forums and other different global threads in the excluded forums... is that possible??
Thanks, :)
BirdOPrey5
05-23-2013, 12:31 AM
Not as it is coded and I will not be adding any additional features to this mod. You are welcome to try yourself if you are inclined/able.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.