The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#42
|
|||
|
|||
Quote:
Is this where I am supposed to place this code? Code:
<a href="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]" target="_blank"> <img class="thumbnail" src="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&stc=1&thumb=1" border="0" alt="<phrase 1="$attachment[filename]" 2="$attachment[counter]" 3="$attachment[filesize]" 4="$attachment[description]">$vbphrase[image_larger_version_x_y_z]</phrase>" /></a><div align="left">$attachment[description]</div> <if condition="$show['br']"><br /><br /></if> Example 1 Image ------ Image ------ Image ------ Image Caption ---- Caption ---- Caption ---- Caption Which the above is what I am trying to achieve I get this instead: Example 2 Image Caption Image Caption Image Caption Image Caption How do I get it to look like the example 1? |
#43
|
|||
|
|||
Quote:
|
#44
|
|||
|
|||
You would have to use two levels of HTML tables to achieve that result. Are you sure it is worth it?
|
#45
|
||||
|
||||
is this working for you guys?
me not getting it to work. following probs in 3.07: 1) in multiple image uploads,, it gives just one description. all other images it discards.. that measn i can enter for only 1 image. Rest are discarded. 2) the image on being uploaded with description is not showing description on main post view page... |
#46
|
|||
|
|||
This hack works fine on non-hacked boards. I cannot guarantee that it will work otherwise.
|
#47
|
|||
|
|||
works fine for me on heavily hacked 3.07
|
#48
|
|||
|
|||
Yes, Lionel, it works for you, but keep in mind that your attachments engine was not hacked prior to installation of my hack. As for this guy, I don't know what he has...
|
#49
|
||||
|
||||
ok.. got a bit of it fixed up...i had a template problem cos of the other hack.
still not fully working but i guess its a template issue that can be sorted. thanks anyway.. grt hack |
#50
|
|||
|
|||
Quote:
But wrapping images in a table also means that the table will be as wide as a sum of images' widths. No overflow would happen if images are too wide, instead, a horizontal scroll would appear. Now imagine someone's uploading five 1024x768 images... But if thumbnails are enabled, it makes sense to wrap thumbnails in a table. First, you know beforehand a maximum thumbnail width and can control maximum table width therefore. Second, thumbnails in one vertical line look really ugly, taking up too much space and making post too long. So for these reasons I've made the requested change for thumbnails. To achieve this, I had to change two templates: postbit (or postbit_legacy) and postbit_attachmentthumbnail. In postbit template, find this code fragment: Code:
<legend>$vbphrase[attached_thumbnails]</legend> <div style="padding:$stylevar[formspacer]px"> $post[thumbnailattachments] </div> Code:
<legend>$vbphrase[attached_thumbnails]</legend> <div style="padding:$stylevar[formspacer]px"><table border="0"><tr valign="top"> $post[thumbnailattachments] </tr></table></div> Code:
<td> <table border="0" cellspacing="0"> <caption align="bottom" style="caption-side: bottom; text-align: left;">$attachment[description]</caption> <tr><td> <a href="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]"><img class="thumbnail" src="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&stc=1&thumb=1" border="0" alt="<phrase 1="$attachment[filename]" 2="$attachment[counter]" 3="$attachment[filesize]" 4="$attachment[description]">$vbphrase[image_larger_version_x_y_z]</phrase>" /></a> </td></tr> </table> </td> <if condition="$show['br']"></tr> <tr valign="top"></if> |
#51
|
||||
|
||||
guys a bit of help.. i have sorted almost all the rest probs but one thing remain...
when i upload attachments, they are not showing in the main reply thread.. see the image. What could be the prob? It was showing earlier prior to the hack., thanks in advance |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|