vBulletin Modifications

thumbnail

Welcome to vBHackers.com! - vBHackers Updates:

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

Reply
 
LinkBack Thread Tools
Old 12-21-2006, 08:24 AM   #1
vB Newbie
Join Date: Jun 2006
catwezel is on a distinguished road

Default thumbnail
Version: 3.6.x
Hack Category: Add-On Releases

how can i place the last 5 uploaded thumnails (images) on my forumhome when someone has upload a image
thanks:nervous:




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 12-21-2006, 04:16 PM   #2
loco.m
vB SEO Nutcase
loco.m's Avatar
Join Date: Nov 2005
Real Name: Brandon Sheley
Location: Kansas
loco.m is on a distinguished road

Default

as attachments ? or some gallery,,
we need more info.
__________________
Brandon Sheley / vBHackers.com
vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

vBSEO Google Sitemap Generator - Version 2.2 Released Mandatory Upgrade for vBSEO 3.2.0 GOLD

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Crawlability Network: vBulletin SEO | vBulletin Hackers


vBulletin Setup forum to help owners SEO their forums.
Submit to Quality Directory & Link Directory & Deep Links.
vBulletin SEO - vBulletin Blog - vBulletin Newsletter
Shawnee Kansas Blog - Topeka Kansas Forum




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-21-2006, 04:53 PM   #3
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default

Lemme just write up some stuff.

Last edited by Nick R; 12-21-2006 at 05:00 PM.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-21-2006, 05:05 PM   #4
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default

Ok so you need something like: (untested)
Create a new plugin:
Title: Latest Uploaded Images
Active: Yes
Order: 5
Product: vBulletin
Code:
You must first be a registered member to view any code.
after that you can make a new template, stick $attachedimages in the template, eval the template in the plugin code and add the var to the forumhome template...

Last edited by Nick R; 12-23-2006 at 05:34 PM.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-22-2006, 08:30 AM   #5
vB Newbie
Join Date: Jun 2006
catwezel is on a distinguished road

Default

Quote:
Originally Posted by loco.m View Post
as attachments ? or some gallery,,
we need more info.
no gallery,only the last 5 attachments on forumhome




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-23-2006, 11:49 AM   #6
vB Newbie
Join Date: Jun 2006
catwezel is on a distinguished road

Default

Quote:
Originally Posted by rogersnm View Post
Ok so you need something like: (untested)
Create a new plugin:
Title: Latest Uploaded Images
Active: Yes
Order: 5
Product: vBulletin
Code:
You must first be a registered member to view any code.
after that you can make a new template, stick $attachedimages in the template, eval the template in the plugin code and add the var to the forumhome template...
isn't working for me my version is 3.6.2




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-23-2006, 05:35 PM   #7
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default

So you made and defined a template then?




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-23-2006, 10:41 PM   #8
Michael Biddle
Staff
Michael Biddle's Avatar
Join Date: Feb 2005
Real Name: Michael Biddle
Location: Anaheim
Michael Biddle is on a distinguished road

Default

their was a typo

use:
You must first be a registered member to view any code.
but their is one problem, it shows the actual image, so if its big,m then it makes forumhome huge, i threw it in a product for u though

make a new template named attachedimages and put $attachedimages. then go into forumhome and put $attachedimages under navbar. this is rogersnm code, i just fixed typo
Attached Files
File Type: xml product-last5images.xml (1.3 KB, 6 views)
__________________
Support will ONLY be offered through forums
Michael Biddle / vBHackers.com
vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

vBSEO Google Sitemap Generator - Version 2.2 Released Mandatory Upgrade for vBSEO 3.2.0 GOLD

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Crawlability Network: vBulletin SEO | vBulletin Hackers




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-24-2006, 06:32 AM   #9
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default

Where was the typo?

EDIT: I see it but there's still a typo xD: it should be
You must first be a registered member to view any code.
not
You must first be a registered member to view any code.
and not
You must first be a registered member to view any code.
Another edit: in the code that you shouldn't use vb is hiding a slash..

Last edited by Nick R; 12-24-2006 at 07:02 AM.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-24-2006, 07:02 AM   #10
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default

Here's a complete version which doesn't require template edits, just import the plugin and enjoy it :p

ps. It also shows thumbnails now which link to the image and is XHTML compliant, +the code looks neat :p
Attached Files
File Type: xml product-last5images.xml (2.2 KB, 7 views)




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
Thumbnail on forumdisplay Blindchild02 vBulletin Modification Requests 1 09-24-2006 09:43 PM
[Req. Mod] To display random attachment image's thumbnail on forum home MaxM vBulletin Modification Requests 17 07-31-2006 11:55 AM
Thumbnail Hack Krazyivan vBulletin Modification Requests 0 06-24-2006 01:43 AM
custom thumbnail display Maxx General vBulletin Support 3 05-30-2005 05:10 PM
Thumbnail of attachment on forumdisplay Aceman vBulletin Modification Requests 11 12-24-2004 10:04 PM


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


SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc. (Patent Pending)