The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Files List v3.01 Details »» | |||||||||||||||||||||||||
Hey,
VERSION 3.01 [25/05/2004] ----------------------------------------------- This Hack is released under an EverythingvB.com FullAttribution-LimitedDerivs-LimitedTranslation License ----------------------------------------------- This new hack gives you the function of grouping all your attachments in one single list, divided into pages and with the option of viewing files by category, eg Video Clips, Archives and Excecutables etc. All installation instructions are provided in the install file, and modification details are in the php file included in the zip. All images used for some files are also attached. Any problems, queries or errors, please report here or PM me so I can sort them out as soon as possible, to ensure this hack is to your standards. Current key functions:
http://www.collegepranks.co.uk/forums/fileslist.php Note to current users about upgrading:
PLEASE CLICK INSTALL Show Your Support
|
Comments |
#82
|
||||
|
||||
Quote:
GD2+ also ... |
#83
|
||||
|
||||
OK, the thumbnail code is in the view_attachment_bits template. its an IF statement, I can take a look at it later n get back to you.
|
#84
|
||||
|
||||
OK, I think I have fixed the problem, replace the code in your attachment_view_bits template with this:
Code:
<tr> <td class="alt1" width="100%" align="center"> <div class="smallfont" style="text-align: left;">$attach[username] <if condition="$mode == images and $vboptions[attachthumbs] == 1 or $vboptions[attachthumbs] == 2"> <a href="attachment.php?$session[sessionurl]attachmentid=$attach[attachmentid]" target="_blank"><img class="thumbnail" src="attachment.php?$session[sessionurl]attachmentid=$attach[attachmentid]&stc=1&thumb=1" border="0" alt="Click image for larger version Name: $attach[filename] Views: $attach[counter] Size: $attach[filesize]" /></a> <else /> <img class="inlineimg" src="$stylevar[imgdir_attach]/$attach[attachmentextension].gif" alt="<phrase 1="$attachment[attachmentextension]">$vbphrase[file_type_x]</phrase>" width="16" height="16" border="0" style="vertical-align:baseline" /> <a href="attachment.php?attachmentid=$attach[attachmentid]" target="_blank">$attach[filename]</a> ($attach[filesize], $attach[counter] views)</div> </if> </td> </tr> |
#85
|
||||
|
||||
Quote:
Later today I have more time and will have also a look in the code. Tnx |
#86
|
||||
|
||||
OK, when your a guest it cant show the thumbnail, but when your logged in it works, I will sort that later so it shows the filename when your a guest and the thumb when your logged in.
Works on your site tho: |
#87
|
||||
|
||||
Quote:
Well I don't understand it anymore :laugh: You can see thumbs on my board, well me not. Login with Admin, Mod, Reg User and all didn't show thums, while I see the thumbs in the postings. I gave the link now to some users to have a look there. (edit) I think that not allowing guests to see it is ok. |
#88
|
||||
|
||||
OK, this is the latest view_attachment_bits template, it has the guest thing I was talking about.
Code:
<tr> <td class="alt1" width="100%" align="center"> <div class="smallfont" style="text-align: left;">$attach[username] <if condition="$mode == images and $vboptions[attachthumbs] == 2 and $bbuserinfo['userid']"> <a href="attachment.php?$session[sessionurl]attachmentid=$attach[attachmentid]" target="_blank"><img class="thumbnail" src="attachment.php?$session[sessionurl]attachmentid=$attach[attachmentid]&stc=1&thumb=1" border="0" alt="Click image for larger version Name: $attach[filename] Views: $attach[counter] Size: $attach[filesize]" /></a> <else /> <img class="inlineimg" src="$stylevar[imgdir_attach]/$attach[attachmentextension].gif" alt="<phrase 1="$attachment[attachmentextension]">$vbphrase[file_type_x]</phrase>" width="16" height="16" border="0" style="vertical-align:baseline" /> <a href="attachment.php?attachmentid=$attach[attachmentid]" target="_blank">$attach[filename]</a> ($attach[filesize], $attach[counter] views)</div> </if> </td> </tr> |
#89
|
||||
|
||||
SmartGnome, have you pressed Ctrl+F5 to do a clean refresh to see if that works? It works really well when I use it.
|
#90
|
||||
|
||||
Quote:
|
#91
|
||||
|
||||
Ok I fixed it for you again. The third line is what had to be changed.
HTML Code:
<tr> <td class="alt1" width="100%" align="center"> <div class="smallfont" style="text-align: left;">$attach[username] <if condition="$mode == images and $vboptions[attachthumbs] == 1 or $mode == images and $vboptions[attachthumbs] == 2"> <a href="attachment.php?$session[sessionurl]attachmentid=$attach[attachmentid]" target="_blank"><img class="thumbnail" src="attachment.php?$session[sessionurl]attachmentid=$attach[attachmentid]&stc=1&thumb=1" border="0" alt="Click image for larger version Name: $attach[filename] Views: $attach[counter] Size: $attach[filesize]" /></a> <else /> <img class="inlineimg" src="$stylevar[imgdir_attach]/$attach[attachmentextension].gif" alt="<phrase 1="$attachment[attachmentextension]">$vbphrase[file_type_x]</phrase>" width="16" height="16" border="0" style="vertical-align:baseline" /> <a href="attachment.php?attachmentid=$attach[attachmentid]" target="_blank">$attach[filename]</a> ($attach[filesize], $attach[counter] views)</div> </if> </td> </tr> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|