vBulletin Modifications

Thumbnail of attachment on forumdisplay

Welcome to vBHackers.com! - vBHackers Updates:

Go Back   vBulletin Modifications > General vBulletin Section > vBulletin Modification Requests

Reply
 
LinkBack Thread Tools
Old 09-03-2004, 04:35 PM   #1
Charter Member
Aceman's Avatar
Join Date: Apr 2004
Real Name: Chris Canada
Location: Washington D.C.
Aceman is on a distinguished road

Default Thumbnail of attachment on forumdisplay

I'm seeing this exact method being used on cgtalk.com and I could really use something like this on my site. However I don't know how to code it. You can see it in action here:

http://www.cgtalk.com/forumdisplay.php?f=121

It auto formats the thumbnails to a specific size by adding black. Very cool. If anyone knows how to do this it would be a great tool for alot of site's that are about photos, graphics, or images.. etc.

This visual gallery feature would be GREAT for sites that focus on artwork and visual media.

Here is a screenshot from cgtalk.com which uses this feature.



I'll willing to negociate! admin@scifi-meshes.com

Aceman

Last edited by Aceman; 09-08-2004 at 12:36 AM..




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 09-03-2004, 06:13 PM   #2
Coder
Join Date: Apr 2004
Location: UK
ShavedApe is on a distinguished road

Default

Thats very cool I like that a lot.
Dont know how its done but I am going to look into it




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-09-2004, 02:28 PM   #3
Charter Member
Aceman's Avatar
Join Date: Apr 2004
Real Name: Chris Canada
Location: Washington D.C.
Aceman is on a distinguished road

Default

ShavedApe? Did you have any progresss on this GREAT HACK for ART sites?




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-11-2004, 08:36 PM   #4
Coder
Join Date: Aug 2004
Fury is on a distinguished road

Default

that's very nice, havent seen this one here so far.
well, Aceman, SA left vBhacks so he wont be able o help you out here.
ill try to see what can i do here, if ill have some spare time :|




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-12-2004, 03:59 PM   #5
Charter Member
Aceman's Avatar
Join Date: Apr 2004
Real Name: Chris Canada
Location: Washington D.C.
Aceman is on a distinguished road

Default

I have attempted to create this hack on my own.

The following code I placed in forumdisplay.php around line 525 (Vb 3.0.3)

You must first be a registered member to view any code.
I also placed this in threadbit template:
You must first be a registered member to view any code.
But this $imagethumb never shows up. I'm just not sure how to display the image.. the FORUMID of 102 is specific to my forum as this feature will only showup in the Gallery forum of my site.. THIS IS NOT A GALLERY HACK.. it merely shows a THUMBNAIL of the FIRST attachment on the forum summary page. It's a gallery-lite hack.

Anyone think they can help me with the coding to show the image in threadbit?

Aceman




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-13-2004, 03:28 PM   #6
Coder
Join Date: Aug 2004
Fury is on a distinguished road

Default

ok, its easy to modify, but i suggest you to choose "one size" for the images, instead of dividing and multipy it each time
like 100x100




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-13-2004, 04:53 PM   #7
Charter Member
Aceman's Avatar
Join Date: Apr 2004
Real Name: Chris Canada
Location: Washington D.C.
Aceman is on a distinguished road

Default

Ideally for me.. The thumbnail would be 80x80 pixels.. however I'm trying to avoid stretching odly shapped images.. hense to math

I'm still not able to get the variable: $imagethumb to show up. And I am sure the code in forumdisplay.php is the problem.

$avurl="http://www.scifi-meshes.com/forums/attachment.php?postid=" . $checkquery['postid'];

may be the problem.. someone suggested this:

$avurl="http://www.scifi-meshes.com/forums/attachment.php?postid=" . $checkquery['postid'].";

But that doesn't seem to work as the syntax is wrong I think.. " missing or something.

Aceman




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-14-2004, 09:03 AM   #8
Coder
Join Date: Aug 2004
Fury is on a distinguished road

Default

hmm.. the "fix" that someone suggested you wont work unless you'll add another " at the end, which is not necessary.

i think its some problem with calling "Checkquery".
i dont have test board, so i cant really test it myself :|




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-14-2004, 08:58 PM   #9
Coder
Join Date: Apr 2004
lasto is on a distinguished road

Default

hope someone pulls this off because that is one of best hacks ive seen in long while




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-23-2004, 12:14 AM   #10
Coder
Join Date: Jun 2004
Location: Attic
xfile is on a distinguished road

Arrow

the hack is released here

http://www.vbulletin.org/forum/showthread.php?t=73220




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't Download Attachment Before X posts Developer vBulletin 3.5 / 3.6 Hack Releases 13 10-17-2006 03:09 PM
Attachment page emzz vBulletin Modification Requests 3 12-30-2005 05:22 PM
Forum Dispaly showing attachment pic D4rKNull vBulletin Modification Requests 0 11-20-2005 04:20 PM
Attachment lockdown untill reply b6gm6n vBulletin Modification Requests 15 07-10-2005 09:27 AM
Forumdisplay FTP & Country D3LTA vBulletin Modification Requests 6 12-31-2004 12:46 AM


All times are GMT -3. The time now is 07:10 PM.

Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc. (Patent Pending)