The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Ajax Thread (1stPost) Preview 1.5 Gold Details »» | |||||||||||||||||||||||||||
Ajax Thread (1stPost) Preview 1.5 Gold
Developer Last Online: Mar 2013
I have abandoned this modification as I find myself lacking time to do any additional modifications to get it 100% stable.
I would highly recommend that you check out this hack by magnus, as this one seems to be 100% AND looks great. I fell in love with it so I am using it myself The only thing it doesn't do is give you a preview of the attachments, so you're welcome to keep the attachments part of this hack and use it in conjunction with magnus' hack. I may just rewrite the attachments part of this hack and re-release it as a standalone. Here is the link to his modification: Collapsable First Post using AJAX (or Last Post!) https://vborg.vbsupport.ru/showthread.php?t=145187 -Sky- Supporters / CoAuthors Show Your Support
|
Comments |
#122
|
||||
|
||||
Quote:
It looks like you're not using threadicons at all so the problem is that you have 1 too many columns being spanned. Since you've already added the new code.... IN FORUMDISPLAY ============= Find (or the original): Code:
<if condition="$show['threadicons'] && !is_member_of($vbulletin->userinfo, $postpreviewusergroups) && $vbulletin->options[ajaxpostpreview_enable] == 1 && (!(in_array($forumid, array($vbulletin->options['ajaxpostpreview_forums']))))"> <td class="thead" colspan="3"> </td> <else /> <if condition="$show['threadicons'] && is_member_of($vbulletin->userinfo, $postpreviewusergroups) || $vbulletin->options[ajaxpostpreview_enable] == 0 || in_array($forumid, array($vbulletin->options['ajaxpostpreview_forums']))"> <td class="thead" colspan="2"> </td> <else /> <td class="thead"> </td> </if></if> <td class="thead" width="100%"> Try replacing with: Code:
<if condition="$show['threadicons'] && !is_member_of($vbulletin->userinfo, $postpreviewusergroups) && $vbulletin->options[ajaxpostpreview_enable] == 1 && (!(in_array($forumid, array($vbulletin->options['ajaxpostpreview_forums']))))"> <td class="thead" colspan="2"> </td> <else /> <if condition="$show['threadicons'] && is_member_of($vbulletin->userinfo, $postpreviewusergroups) || $vbulletin->options[ajaxpostpreview_enable] == 0 || in_array($forumid, array($vbulletin->options['ajaxpostpreview_forums']))"> <td class="thead" colspan="1"> </td> </if> <td class="thead" width="100%"> |
#123
|
|||
|
|||
I changed the column span to 2, it fixes the column smushing, but the preview doesn't work, it doesn't work when it's smushed either.
The only preview is the default gray box of text. (sorry missed that there were other changes, this is all very fun with a 3 year old shoving legos in my face ) OK I get this Quote:
|
#124
|
||||
|
||||
Quote:
If all that holds true, see if there is a wordwrap issue in the threadbit template for the changes you've made (ie the formatting, making sure there are no spaces where there shouldn't be). Internet Explorer does a good job of telling you about JS errors in the lower left hand corner with a yellow warning triangle. You shouldn't be getting an error there. EDIT: Just to be sure.... you are holding the mouse over the very left arrow of the very left hand column correct? It used to be activated hovering over the mouse, but now it's over the little arrow thingy in the left column. |
#125
|
|||
|
|||
I've got everything in the right place, and I use FireFox. I tried with the mouse over the arrows. I've read this whole dang thread from the first post to the last to see if someone else had the same problem and had worked it out
|
#126
|
|||
|
|||
Oh, and I just saw what the point of that code was:
Icons: True Not in Excluded Group: True Mod Enabled: True Forum Not Excluded: True |
#127
|
||||
|
||||
Quote:
Can you set me up with a useraccount at the forums from the screenshots so I can take a look? Just a regular user able to use the hack. |
#128
|
|||
|
|||
Give me a minute and I'll PM you.
|
#129
|
||||
|
||||
Fixed.
|
#130
|
|||
|
|||
I know it probably has something to do with the css.style but since I am all new to this I dont know better.
How can i get rid of the white borders to the left, right and bottom?! |
#131
|
||||
|
||||
Quote:
Go to the adminCP > styles > manage styles Then select one of the styles and edit the style variables. The second number $stylevar[spacersize] is what determines how big the border is (just like it does on your regular forum index page. The color is decided by the css.page background variable when you edit the css options for a style also. (For styles with a gradient background you can also choose transparent and you won't see the borders. By changing these you'll be changing the way your forum looks so you may have to come up with a compromise for both to look good. I may tinker with the templates to see if there is any other way of doing it. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|