View Full Version : Recent Attachments in vbadvanced block
sphinx
03-02-2004, 10:00 PM
This adds the last 5 attachments added to the vbadvanced box of your choice!
Thnx to Trix for his hack Recent Attachments On Forum Home which i based this on!
alkatraz
03-02-2004, 11:13 PM
very cool idea! thx!!
i'm going to do the same "column style" thumbs when i upgrade to vb3, but using the photopost thumbnailer
Thnx to Trix for his hack Recent Attachments On Forum Home which i based this on!
Thanks....
Great hack...I need the same thing horizontaly on my forumhome.
Maybe somebody could help me on this?
Also: How many queries it uses ?
milkmycow
03-03-2004, 02:27 AM
just change the html template. It has a break after each image in the code. just take that out and replace it with some spacing.
colicab-d
03-03-2004, 06:33 AM
this use thumbnails or are we being messy and loading the entire image?
Oblivion Knight
03-03-2004, 07:30 AM
You should also include a screenshot that doesn't contain half naked women.. This was pointed out in MindTrix's thread also by the vB.org staff.
Overall, this looks like quite a nice addon if it does load thumbnails and not the entire image.
sphinx
03-03-2004, 08:32 AM
this use thumbnails or are we being messy and loading the entire image?
thumbnails and it's one query
Aceman
03-03-2004, 02:05 PM
It would be nice to have the abilities to:
1. define the size of the attachment thumbnail shown on the homepage from AdminCP, without loading the orginal image. Maybe just change the thumbnail size shown.
2. Show who posted the attachement with link to user's profile.
3. Click on image goes to thread where attachment exists.
4. Show attachments in center column in a horizontal configuration.
Just suggestions.. and I realize your still coding.. but I thought I'd just list a few off the top of my head.
Aceman
sphinx
03-03-2004, 04:16 PM
Aceman i already posted that i wanted to do 2 in the txt file.
number 3 would go against the idea of what i wanted
4 is possible and very easy. i may post it later.
number 1 is a lot of work for me and i am busy with uni and work. i may try it later.
sphinx
03-03-2004, 04:51 PM
i decided to add it to the index page. to install it do the old install file and then this one!!!!
gmarik
03-03-2004, 06:20 PM
This is good. Nice one!
FleaBag
03-04-2004, 04:08 PM
Got this installed, great addition hadn't thought of using something like this before. Thanks!
sphinx
03-04-2004, 07:43 PM
wow! more ppl using than i thought. i am gonna try make a proper gallery now!
MindTrix
03-21-2004, 12:51 PM
ok errrm dunno what to say really :) The was i see it, is that you just changed to template a little bit, not alot really as mine goes down the page aswell, also in my hack there was a post made showing how to make it go across the screen.
Corrrect mine was on the forum home page and yours is the portal and thank you for giving credit to using my hack, but you never even asked me to use it, and you simply took my hack that i released and changed it a tiny bit :)
All the requests asked for here such as not loadin whole image as thumbnail etc has been answered in the hacks original thread.
I dunno i guess im just kinda annoyed that you took something i made and released it as your own and didnt even ask me :)
so........sup with that :)
Geographic2
03-21-2004, 02:23 PM
Also sphinx this hack is VERY inefficient... Did you notice your VBadvanced page slowed dramatically when you installed this? Turn 5mb into <100k with the following change:
<img src='attachment.php? attachmentid=$recentattachment[attachmentid]' alt='$recentattachment[filename]' width="50" height="50">
must be changed to:
<img src='attachment.php? attachmentid=$recentattachment[attachmentid]&thumb=1' alt='$recentattachment[filename]' width="50" height="50">
What would be great would be the option to enable only showing of attachments from certain forums :)
DWard
04-25-2004, 06:33 AM
Why is mine blank?
I take it, it can't show filenames.. Hmm more people post videos and archives on my site.
DWard
04-25-2004, 06:46 AM
Nop, the pitures dont display at all.. bit disappointed
FleaBag
05-02-2004, 02:35 AM
Check you followed all of the instructions exactly. And view your source, see if anything at all appears in the block.
Boofo
05-02-2004, 03:38 AM
What if the last 5 attachmentts are files as well as pictures?
FleaBag
05-02-2004, 04:09 AM
You get a big red X. :(
Serenity
05-02-2004, 09:16 PM
how would i go about it calling to vBGarage v3.1.1 instead of the recent attatchments thru the forum?
FleaBag
05-03-2004, 02:37 AM
I don't think that's a simple matter as I think the vBGarage images are stored in a different part of the database.
SnowBot
05-03-2004, 04:28 AM
how about just making it show the images from a specified forum only?
Lee Wilde
06-15-2004, 06:26 PM
Hi, would this hack work with vBadvanced CMPS ?
adhari_com
06-19-2004, 12:34 PM
I've just altered the attached code to fit vBAdvanced CMPS
of course adding a new module file latest_attachment.php and made the rest of changes ,, but a small tweek that I think should be added to the SQL
AND thumbnail != ''
and that's actually to show the thumbnailed attachments only :nervous:
Cool addon !
Pitman
06-21-2004, 01:54 AM
I figured out how to use it on CMPS but I can't figure out how to only gather attachments from a specific forum... think someone could help me out?
DR?@M W?@V?R
03-22-2005, 08:22 PM
can you update the txt with the changes, I can only see 1 attachment and not 5.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.