![]() |
Interesting..
|
Thanks, its a handy mod! One problem though, my forum members and guests are seeing the different postbit for the first post on each page of the thread. Only the original posters #1 post in the thread should use the different postbit.
Any idea what could be causing this? |
I'm not sure why that would be happening. The conditional will make sure it is only displayed on the first post of the thread regardless of the page. Did you copy things per the instructions above?
|
Hi, thanks for the quick reply!
I actually used the adjusted conditional from Danny above for multiple prefixes, however I tried it with just your code as well and the bug was still present. In fact on your site you can see it on page 2 of THIS thread for example. It turns out that admin/mod accounts see it correctly with only the first post in the thread using the different postbit. Guests/not logged in and regular user accounts see the different postbit for the first post on each page of the thread - even though that post isn't the original posters. Thanks to one of our members, he found the fix by changing your conditional to: HTML Code:
<if condition="THIS_SCRIPT == 'showthread' AND $post[postid] == $thread['firstpostid'] AND $thread['prefixid'] == news"> |
Quote:
|
As far as I know using the conditional I posted above should work in IE8, Firefox, and Chrome as my staff use those browsers with no report of the bug anymore.
|
A user is now reporting that he sees the different postbit on every first post even in FF. I'm going to upgrade to VB4 soon anyways. Will this still work?
|
Is there any chance of this being ported to VB4?
|
Quote:
Code:
<vb:if condition="THIS_SCRIPT == 'showthread' AND $post[postid] == $GLOBALS['qrfirstpostid'] AND in_array($thread['prefixid'], array('howto', 'news', 'info'))"> |
Thanks I'll try it out!
|
All times are GMT. The time now is 06:28 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|