Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
PhotoPlog 1337 Thumbs (Just incase basic templates bore you.) Details »»
PhotoPlog 1337 Thumbs (Just incase basic templates bore you.)
Version: 1.00, by SHANE-D-PAIN SHANE-D-PAIN is offline
Developer Last Online: Jun 2013 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 04-01-2006 Last Update: 04-16-2006 Installs: 94
Uses Plugins Template Edits
 
No support by the author.

Right well I did not like the way the Thumbnails appeared on the Forum Index from PhotoPlog, just made it look like every other site. I also was not happy with the fact that they ONLY showed on the Forum Index.

This is just a nice little change, also my first released plugin of any kind so any virtual bullying will be counter attacked with an onslaught of mouldy oranges.

So here is a little plugin by me, basically just an edit of the original so credit must go to Calorie too. Wonderful thing he/she/it has done with this gallery.

For examples see the screenshots.

By the way this requires that you actually have the PhotoPlog Gallery Installed. (Go Get it!)

Installation Instructions:
  1. Upload the Plugin.
  2. Add the following code to any Template. For best results add it somewhere such as the Very Bottom of the navbar or soemthign else which is included throughout the site.
    Code:
    $photoplog_thumbs
  3. Your done.
If you would like to edit the appearance or number of thumbnails shown then this next part is for you.

Editing the appearance of the Thumbnails.
Open the PhotoPlog 1337 Thumbs Plugin for editing.
Search for this Code:
Code:
<img src=\"".$photoplog_location."/file.php?".$vbulletin->session->vars['sessionurl']."n=".$photoplog_fileid."&amp;w=s\" style=\"width: 55px; height: 55px; padding: 1px; margin: 0px; border: 1px solid #CCCCCC;\" />
Edit anything in the 'style' tag to suit.

To edit the number of Thumbnails Shown.
Open the PhotoPlog 1337 Thumbs Plugin for editing.
Search for this Code:
Code:
 LIMIT 10
And simply change the number to the number of Thumbnails you would like to appear.


To show on vBadvanced (If you are displaying thumbs in header or navbar etc..)
Admin CP > vBA CMPS > Edit Pages > Home Page > Portal Output Global Variables > add: photoplog_thumbs



Feel free to read my blog if you want, not asking for much and I know you will love it, about as much as Honey Loves Ants . www.ShaneRounce.com



Updates:
To install updates simply upload the new plugin over your old one and redo file edits.

17th April 2006 - v1.5
- Fixed Problem with Alignment of more than 5 Images.
- All XHTML Valid now too.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 04-02-2006, 04:48 PM
COBRAws's Avatar
COBRAws COBRAws is offline
 
Join Date: Oct 2002
Location: Buenos Aires
Posts: 864
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice!
Reply With Quote
  #3  
Old 04-02-2006, 05:25 PM
AKapadia AKapadia is offline
 
Join Date: Jan 2006
Location: U.S.A.
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice.....
Reply With Quote
  #4  
Old 04-02-2006, 05:33 PM
Hasann's Avatar
Hasann Hasann is offline
 
Join Date: Aug 2005
Location: Germany
Posts: 897
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cool! thanks for sharing
Reply With Quote
  #5  
Old 04-02-2006, 05:48 PM
SHANE-D-PAIN's Avatar
SHANE-D-PAIN SHANE-D-PAIN is offline
 
Join Date: Sep 2003
Location: Sheffield, Uk
Posts: 140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your welcome.

If anyone has any suggestions for small edits liekt hsi then please PM me, I'll be more than happy to take a look.

Anyone read my blog yet? LOL
Reply With Quote
  #6  
Old 04-02-2006, 11:12 PM
Tim Wheatley's Avatar
Tim Wheatley Tim Wheatley is offline
 
Join Date: Nov 2001
Location: England
Posts: 489
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you.
Reply With Quote
  #7  
Old 04-03-2006, 02:55 AM
ngontran ngontran is offline
 
Join Date: Mar 2006
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

awesome
Reply With Quote
  #8  
Old 04-03-2006, 02:48 PM
GrendelKhan{TSU's Avatar
GrendelKhan{TSU GrendelKhan{TSU is offline
 
Join Date: Jun 2005
Location: Boston | Seoul, S. Korea
Posts: 1,311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

dang! this makes we want to uninstall vbaGallery and install photoblog JUST for this!!

nice!! nice!!
Reply With Quote
  #9  
Old 04-03-2006, 03:27 PM
Jay... Jay... is offline
 
Join Date: Jan 2006
Location: Sunderland, UK
Posts: 351
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very nice hack! cheers!
Reply With Quote
  #10  
Old 04-03-2006, 04:16 PM
Gizmo5h1t3's Avatar
Gizmo5h1t3 Gizmo5h1t3 is offline
 
Join Date: Aug 2005
Location: ROCHDALE LANCS UK
Posts: 650
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cracking addition, only problem is, while it looks pretty good at 800 x 600 res, any higher, and the pics are all over the place...ie....not aligned equally....

even your screen shot shows this....

could be a problem where ppl have sites like mine, with varying width styles....

ive adjusted width in the plugin, so its exactly ok with 8 images in 800 x 600 res, but in 1280 x 1024, it looks bobbins.

cracking addition tho m8
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 04:03 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04985 seconds
  • Memory Usage 2,297KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete