The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
I need help with a line in the Threadbit Template for vB 3.0.3.
I'm using the Thread Creation Date hack (https://vborg.vbsupport.ru/showthread.php?t=64378). Now, the key line that this hack adds to the end of the Threadbit Template is this one: Code:
<if condition="$show['threadmoved']"> <td class="alt2" align="center">-</td> <else /> <td class="alt2" title="<phrase 1="$thread[replycount]" 2="$thread[views]">$vbphrase[replies_x_views_y]</phrase>"> <div class="smallfont" style="text-align:$stylevar[right]; white-space:nowrap"> $thread[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$thread[lastposttime]</span></if><br /> <phrase 1="member.php?find=lastposter&t=$thread[threadid]" 2="$thread[lastposter]">$vbphrase[by_x]</phrase> <a href="showthread.php?$session[sessionurl]goto=lastpost&t=$thread[threadid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a> </div> </td> </if> <!-- This is the key line that the hack adds --> <td class="alt1" align="center"><div class="smallfont" style="text-align:$stylevar[center]; white-space:nowrap">$thread_dateline</div></font></td> <if condition="$show['notificationtype']"> <td class="alt1"><div class="smallfont"> <label for="sub$subscribethread[$threadid]">$thread[notification]</label> <input type="hidden" name="oldemailupdate[$subscribethread[$threadid]]" id="oe_$subscribethread[$threadid]" value="$emailupdate[$threadid]" /> </div></td> <td class="alt2"><input type="checkbox" name="deletebox[$subscribethread[$threadid]]" id="sub$subscribethread[$threadid]" value="yes" /></td> <else /> <td class="alt1" align="center"><if condition="$show['threadmoved']">-<else /><a href="#" onclick="who($thread[threadid]); return false;">$thread[replycount]</a></if></td> <td class="alt2" align="center">$thread[views]</td> <if condition="$show['forumlink']"> <td class="alt1"><a href="forumdisplay.php?$session[sessionurl]f=$thread[forumid]">$thread[forumtitle]</a></td> </if> </if> </tr> The problem is that there is no IF statement checking to see if the Threadbit is being used on the Thread Subscriptions page of the UserCP. As a result, an empty column (where the Thread Creation Date would normally be) is being added to the table. This is throwing the synchronization of Column Header to Column Data completely off. (See attached image) I'm guessing that the easiest solution would be to encapsulate this line with an IF statement so that if the Thread Subscriptions page is what's being displayed, this statement will not be executed. But I need help in accomplishing this. The author is no longer responding to the thread, not on vB.org - and not on his own website, which is why I'm asking here. Can anyone lend some insight? ![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|