The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Thumbnail of Attachments on forum display Details »» | |||||||||||||||||||||||||||
Thumbnail of Attachments on forum display
Developer Last Online: Oct 2005
This hack has been requested a number of times, for multiple versions of vBulletin. For whatever reason, it was never done (at least publicly) until now. Heres to wishing each and everyone of you a Merry Christmas, and a prosperous, healthy, and safe, New Year!
What it does: This hack will display a thumbnail of the threads attachment on the forum display. Quite useful if you have forums designated for graphics/photos .. etc. Could also be tweaked to display the posters avatar instead of an attachment. Variable possibilities. (Screenshot attached for further review) and or see it in action at this forum in realtime. If the thread has multiple attachments, it will display the first. If no attachment, a 'no attachment' thumb will appear. Can be assigned for use in any forum you wish it to be active in. Install time is minimal - Less than 5 minutes for the average joe. (Simplicity at it's Finest) 1 file to modify, and 1 template to modify, along with the upload of an image. Known Issues: If the attachment is not an image, a thumbnail will not be shown. (IE: .zip or .rar) If you install it, please click the 'Install' icon - Updates will be sent to those who do. Supporters / CoAuthors Show Your Support
|
Comments |
#77
|
|||
|
|||
Actually, I would
|
#78
|
|||
|
|||
O.k., i'll write it down and post it later on this day.
|
#79
|
|||
|
|||
THis hack is awesome!! thanks.
I would love to see images in the search as well and the gallery idea sounds amazing!! Thanks for all your hard work |
#80
|
|||
|
|||
O.k., i think, i've got it so far. :nervous:
I included all files in a zip-files, including an image for the upload-button. This hack isn't still finished, i'm trying to find out other things to do, so be patient. I hope you like it. Edit: Included a screenshot, how it looks like now. |
#81
|
||||
|
||||
Quote:
|
#82
|
|||
|
|||
Quote:
In your txt file you say to Code:
6. Find: // REPLACE NUMBERS BELOW WITH FORUM IDS YOU WANT THUMBNAILS TO SHOW IN $forumids = array(1,2,3); //this is the original-text, id's may vary depending on your forum if (in_array($forumid, $forumids)) { $displaythumbs = true; } 7. Replace it with: if (in_array($forumid, $forumids)) { $displaythumbs = true; } Code:
// CHANGE THE LINE BELOW "4,5,17" TO BE THE FORUM ID # YOU WISH THUMBS TO BE DISPLAYED IN $displaythumbs = false; if (strpos("3", strval($forumid)) !== false) $displaythumbs = true; Also i don;t have this line Code:
// while ($thread = $DB_site->fetch_array($threads)) |
#83
|
|||
|
|||
No Panic!
You need the modified hack from Delphy (i think you find on page 2 on this thread. It's attached to his post). The lines you've posted are from Dechevious hack. The second code you couldn't find is also in Delphys Hack. First of all you should install it, and do my modifications. Then it should work. |
#84
|
|||
|
|||
Quote:
AHHH You know i read that in yor post as well and i thipught htis was that hack. :ermm: DUHHH Thanks!! Ryan |
#85
|
|||
|
|||
Really cool this gallery hack!!! Love it...
but (i hope i am not rude asking that) i would like to have in one forum the "normal thumbnail" from delphy and in one Forum (the showroom) i would like to have your gallery mod. is that possible? i reeeeaaallly hope so. thanks so much for the efford you guys put in this... Martin |
#86
|
|||
|
|||
Hmh, i think it could be possible. I'll have a look after it at the weekend.
|
#87
|
|||
|
|||
Nice one, thanks for your efforts.
|
#88
|
|||
|
|||
i tried and followed the steps i re did it 4 times and my forum still looks like this:
http://www.illefx.com/forum/forumdisplay.php?f=18 what am i missing? what am i doing wrong? |
#89
|
|||
|
|||
Did you set the right forum id in "global.php"? That could be, why it isn't working.
Edit: Could be also something on the permissions. I'll check it with my testforum here at home. |
#90
|
|||
|
|||
Quote:
|
#91
|
|||
|
|||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|