vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   PhotoPlog 1337 Thumbs (Just incase basic templates bore you.) (https://vborg.vbsupport.ru/showthread.php?t=111993)

SHANE-D-PAIN 04-01-2006 10:00 PM

PhotoPlog 1337 Thumbs (Just incase basic templates bore you.)
 
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. :)

COBRAws 04-02-2006 04:48 PM

nice!

AKapadia 04-02-2006 05:25 PM

nice.....

Hasann 04-02-2006 05:33 PM

cool! thanks for sharing

SHANE-D-PAIN 04-02-2006 05:48 PM

Your welcome. :D

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

Tim Wheatley 04-02-2006 11:12 PM

Thank you.

ngontran 04-03-2006 02:55 AM

awesome

GrendelKhan{TSU 04-03-2006 02:48 PM

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

nice!! nice!! :)

Jay... 04-03-2006 03:27 PM

very nice hack! cheers!

Gizmo5h1t3 04-03-2006 04:16 PM

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


All times are GMT. The time now is 10:00 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01115 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete