Not sure if this is a bug but attachement don't display correctly
there is no linebreak between two attachements
how can I fix this?
Not sure if this is a bug but attachement don't display correctly
there is no linebreak between two attachements
how can I fix this?
I have a similar problem... I'd like tu show my attach exactly as in the post order (like image, title and text), but I can see just a link to the image "Attach 3790".
Any help for us?![]()
Anyone investigating the matter?
It hasn't even been 12 hours, so now, However I believe that this is currently slightly a vBulletin issue. I'll need to have Brian investgate.
Zachery
I may or may not do things.
I am ok to take any fix even if that requires php files editing.
seems like this one is a pain in the ass :/
sorry for double post but....
it seems a very important bug to me
is a fix planned for next release?
Its not a bug so much, its a feature working as its designed too.
Zachery
I may or may not do things.
Lies! :P
they aren't supposed to show like that
there should be a linebreak between attachement
obviously a bug
Last edited by Cobra SA; 09-30-2006 at 06:41 AM.
Sorry, I totally thought you were asking about something else.
I'll see if I can get this fixed.
Zachery
I may or may not do things.
Thanks for pointing this out. If you'll look in your modules/news.php file for this code:
Replace with this:PHP Code:
$news['attachment'] .= '<img class="inlineimg" src="' . $stylevar['imgdir_attach'] . '/' . $attachment['attachmentextension'] . '.gif" alt="' . construct_phrase($vbphrase['file_type_x'], $attachment['attachmentextension']) . '" width="16" height="16" border="0" style="vertical-align:baseline" /> <a href="' . $vbulletin->options['bburl'] . '/attachment.php?' . $session['sessionurl'] . 'attachmentid=' . $attachment['attachmentid'] . '">' . $attachment['filename'] . '</a> (' . vb_number_format($attachment['filesize'], 1, true) . ', ' . construct_phrase($vbphrase['x_views'], $attachment['counter']) . ')';
And that should take care of the problem.PHP Code:
$news['attachment'] .= '<div><img class="inlineimg" src="' . $stylevar['imgdir_attach'] . '/' . $attachment['attachmentextension'] . '.gif" alt="' . construct_phrase($vbphrase['file_type_x'], $attachment['attachmentextension']) . '" width="16" height="16" border="0" style="vertical-align:baseline" /> <a href="' . $vbulletin->options['bburl'] . '/attachment.php?' . $session['sessionurl'] . 'attachmentid=' . $attachment['attachmentid'] . '">' . $attachment['filename'] . '</a> (' . vb_number_format($attachment['filesize'], 1, true) . ', ' . construct_phrase($vbphrase['x_views'], $attachment['counter']) . ')</div>';
Worked like a charm
Thanks Brian and Zach
You rock!!
There are currently 1 users browsing this thread. (0 members and 1 guests)