Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications

Reply
 
Thread Tools
[PXL] PP Round Thumbnail Overlay v1.2 Details »»
[PXL] PP Round Thumbnail Overlay v1.2
Version: 1.2, by PixelFx PixelFx is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.6.8 Rating:
Released: 10-24-2006 Last Update: 10-31-2006 Installs: 31
Template Edits
Code Changes Additional Files  
No support by the author.

PP Round Thumbnail Overlay v1.2

I've added this to a number of my sites, and thought I'd share it with members here. It's been a long time since I contributed back to this community so I wanted to start with this.

What does it do?
Basically this creates a round overlay box around all tumbnail images in your vbulletin intergreated & photopost vbgallery. I'll be working on a number of upgrades to this template hack.

Credits:
- PixelFX
- Zachariah
- Darkwaltz4
- Lizard King

Scripts Required:

- vBulletin v3.6.8
- Photopost vBGallery v2.3
- Plugin Forum Home
- Plugin User Profile

Addon Scripts:
- Photopost vBGallery CMPS 3.0

The area this effects the following,
- MemberInfo (Profile)
- vBAdvanced CMPS Main Page
- Main Gallery Thumbmails
- Gallery Thumbnail Film Strip
- Hidden/Open Catigory Images

Notes: This script has been updated to work with the above scripts although should work with earilier versions. If you have problems installing it please let me know.

ScreenShot Notes:
The layout of the gallery my vary as I've custom edited the layouts of each page specifc for my gallery. For my next style. However the round overlay effects for each page, as basically to show you what this hack does as far as overlay images goes.

Files Included:
- TXT file with Template install notes
- overlay-filmstrip.gif
- overlay-filmstrip.PSD
- overlay-imagebit.gif
- overlay-imagebit.PSD
- Screenshots Below Updated for v1.2

Version Informaton:

1.3 (Next Release Notes (ETA Fall 2007 or Sooner)
- Option to Add Reflective Surfaces to Thumbnails
- More Overlay Changes to vBGallery v2.1
- A number of tweaks to code
- Improved PSDs

1.2 (November 11th, 2006
- Tested at Working on vBulletin v3.6.3
- No Change Yet.

1.2 (November 1st, 2006)
- Added Round Box Overlay Support to Catigory Bits
- Updated Code to Reflect overlay-imagebit.gif changes
- Renamed overlay-image.gif to overlay-imagebit.gif

- Created New Image Bit Overlay PSD & Layer Group for v1.2 of this Addon
- Added 3 Types of Image Overlay Colors to PSD
1) Added: Color Overlay, vBFront End (Match default layout of vBulletin v362) (default setting)
2) Added: Black Color Overlay & White Border, for darker sites, you can change the color overlay to match color of your site.
3) Added: White Round Box With Black Border

- Optimized Gif & PSD Code to even more bandwidth friendly!
- Added Alternate FilmStrip PSD v1.2 - Same Features as Above
- Updated Film Strip Code with New PSD Information
- overlay-filmstrip.gif Updated to Match Default Frontend Colors of vBulletin
- Added Round Box Overlay Support to Catigory Bits
- Updated Code to Reflect overlay-imagebit.gif changes
- Renamed overlay-image.gif to overlay-imagebit.gif
- Created New Image Bit Overlay PSD & Layer Group for v1.2 of this Addon
- Pending more changes...

1.1
- Cleanup various changes to hack code (released as part of 1.2)

1.0
- Added Film Strip Round Box Support
- Added Image_Bit Round Box Support
- Created PSD to Make Round Gifs
- Release of Template Hack

Install Information:
Upload overlay-imagebit.gif & overlay-filmstrip.gif to the URL Below. Then do the Template Edits Below. I've included Txt File in Zip if you want to do this hack offline.

URL/Forum/Images/Misc/

4 Template Edits Below:
1) adv_gallery_imagebit
2) adv_gallery_showimage_filmthumb
3) adv_gallery_categorybit_level1
4) adv_gallery_categorybit_level2

TEMPLATE EDITS BELOW

1) OPEN Template: adv_gallery_imagebit

FIND:

Code:
 
 
<div align="center" style="margin-top:5px;margin-bottom:5px">
  <a href="showimage.php?$session[sessionurl]i=$images[imageid]$adv_sorturl"><img alt="$images[title]" border="0" src="$images[url]" /></a>
 </div>
REPLACE WITH:

Code:
 
<!-- Image Bit Overlay v1.2 Start - by PixelFX -->
<table cellpadding="0" cellspacing="0" border="0" align="center">
         <tr>
          <td style="background-repeat: no-repeat; background-position: center; background-image: url($images[url]); class="alt1" bgcolor="#000000">
<a href="showimage.php?$session[sessionurl]i=$images[imageid]$adv_sorturl">
 
<img src="$stylevar[imgdir_misc]/overlay-imagebit.gif" height="104" width="135" border="0" alt="$images[title]"></a></td>
</tr>
</table>
<!-- Image Bit Overlay v1.2 End - by PixelFX -->
DONE / NEXT..

2) OPEN Template: adv_gallery_showimage_filmthumb

FIND:

Code:
 
 
<td align="center" class="alt2" valign="bottom" width="$filmcellwidth">
 <if condition="$imgid == $imageid">
  <img border="0" alt="$imginfo[title]" src="$imginfo[url]" /><br />$imginfo[filmarrow]
 <else />
  <a href="showimage.php?i=$imgid$adv_sorturl"><img border="0" alt="$imginfo[title]" src="$imginfo[url]" /></a><br /><a href="showimage.php?i=$imgid$adv_sorturl">$imginfo[filmarrow]</a>
 </if>
</td>
REPLACE ENTIRE BLOCK WITH:

Code:
 
 
<!-- Film Strip Overlay v1.2 Start - by PixelFX -->
<td align="center" class="alt2" valign="bottom" width="$filmcellwidth">
 <if condition="$imgid == $imageid">
   <table cellpadding="0" cellspacing="0" border="0" align="center">
         <tr> 
<td style="background-repeat: no-repeat; background-position: center; background-image: url($imginfo[url]); class="alt1" bgcolor="#000000"> 
<img src="$stylevar[imgdir_misc]/overlay-filmstrip.gif" height="104" width="135" border="0" alt="$imginfo[title]"></td> 
</tr>
<tr><td>
<div align="center">$imginfo[filmarrow]</div>
</td></tr>
</table> 
 <else /> 
   <table cellpadding="0" cellspacing="0" border="0" align="center">
         <tr>
          <td style="background-repeat: no-repeat; background-position: center; background-image: url($imginfo[url]); class="alt1" bgcolor="#000000">
<a href="showimage.php?i=$imgid$adv_sorturl">
<img src="$stylevar[imgdir_misc]/overlay-filmstrip.gif" height="104" width="135" border="0" alt="$imginfo[title]"></a></td>
</tr>
<tr><td>
<div align="center"><a href="showimage.php?i=$imgid$adv_sorturl">$imginfo[filmarrow]</a></div>
</td></tr>
</table> 
 </if>
</td>
<!-- Film Strip Overlay v1.2 End - by PixelFX -->
DONE / NEXT..

3) OPEN Template: adv_gallery_categorybit_level1

FIND:

Code:
 
                <if condition="$cats['catimage']">
                    <td><a href="browseimages.php?$session[sessionurl]c=$cats[catid]"><img alt="" border="0" src="$vba_options[gallery_fileurl]/$cats[catimageurl]" width="$cats[catimagewidth]" height="$cats[catimageheight]" /></a></td>
                    <td width="$stylevar[cellpadding]"><img alt="" src="$vboptions[bburl]/$vboptions[cleargifurl]" width="$stylevar[cellpadding]" /></td>
                </if>
REPLACE WITH:

Code:
 
        <!-- Catigory Image Level1 Overlay v1.2 Start - by PixelFX -->
                <if condition="$cats['catimage']">
                    <td style="background-repeat: no-repeat; background-position: center; background-image: url($vba_options[gallery_fileurl]/$cats[catimageurl]); class="alt1" bgcolor="#000000"><a href="browseimages.php?$session[sessionurl]c=$cats[catid]"><img src="$stylevar[imgdir_misc]/overlay-imagebit.gif" height="$cats[catimageheight]" width="$cats[catimagewidth]" border="0" alt="$imginfo[title]"></a></td>
                    <td width="$stylevar[cellpadding]"><img alt="" src="$vboptions[bburl]/$vboptions[cleargifurl]" width="$stylevar[cellpadding]" /></td>
                </if>
        <!-- Catigory Image Level1 Overlay v1.2 End - by PixelFX -->
DONE / NEXT..

4) OPEN Template: adv_gallery_categorybit_level2

FIND:

Code:
 
                <if condition="$cats['catimage']">
                    <td><a href="browseimages.php?$session[sessionurl]c=$cats[catid]"><img alt="" border="0" src="$vba_options[gallery_fileurl]/$cats[catimageurl]" width="$cats[catimagewidth]" height="$cats[catimageheight]" /></a></td>
                    <td width="$stylevar[cellpadding]"><img alt="" src="$vboptions[bburl]/$vboptions[cleargifurl]" width="$stylevar[cellpadding]" /></td>
                </if>
REPLACE WITH:

Code:
 
        <!-- Catigory Image Level2 Overlay v1.2 Start - by PixelFX -->
                <if condition="$cats['catimage']">
                    <td style="background-repeat: no-repeat; background-position: center; background-image: url($vba_options[gallery_fileurl]/$cats[catimageurl]); class="alt1" bgcolor="#000000"><a href="browseimages.php?$session[sessionurl]c=$cats[catid]"><img src="$stylevar[imgdir_misc]/overlay-imagebit.gif" height="$cats[catimageheight]" width="$cats[catimagewidth]" border="0" alt="$imginfo[title]"></a></td>
                    <td width="$stylevar[cellpadding]"><img alt="" src="$vboptions[bburl]/$vboptions[cleargifurl]" width="$stylevar[cellpadding]" /></td>
                </if>
        <!-- Catigory Image Level2 Overlay v1.2 End - by PixelFX -->
DONE EDITS.

This is the end of your template edits.

I'll be adding more areas to this hack in the next version, as well as cleaning up code. I've included screenshots below to see what it looks like.

It basically just adds a cleaner look to your gallery. for those interested in using it.

If you have questions free to say hi below ..

DONATE:
If you like the Included PSD Files or this Hack, and want to donate, my paypal email is paypal@vbcredits.com Users are free to use the PSD files as they need to. If you have questions on how to use the PSD's PM me here or on my site once open.

DEMO:
I've updated my layout and site with a new style, and added this hack to the gallery for those that want a live demo again. (Aug 4th, 2007)

http://www.vbcredits.com/gallery/index.php

PLEASE CLICK INSTALL

Enjoy!

Show Your Support

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

Comments
  #2  
Old 10-25-2006, 09:02 PM
ChavMagnet's Avatar
ChavMagnet ChavMagnet is offline
 
Join Date: Sep 2006
Location: Leeds - England
Posts: 194
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

1st post WOOT!
Reply With Quote
  #3  
Old 10-25-2006, 10:16 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice
Reply With Quote
  #4  
Old 10-25-2006, 10:43 PM
KevNJ KevNJ is offline
 
Join Date: Jan 2005
Posts: 310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

* subscribes to thread to install later tonight *
Reply With Quote
  #5  
Old 10-25-2006, 11:01 PM
Ev!L ErN!E Ev!L ErN!E is offline
 
Join Date: Feb 2006
Location: Michigan
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very nice
Reply With Quote
  #6  
Old 10-25-2006, 11:36 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

On: adv_gallery_imagebit

- I had to do this.

Code:
<div align="center" style="background-repeat: no-repeat; background-position: center; background-image: url($images[url]); class="alt1" bgcolor="#000000">
<a href="showimage.php?$session[sessionurl]i=$images[imageid]$adv_sorturl">
<img src="$stylevar[imgdir_misc]/overlay-round.gif" height="104" width="135" border="0" alt="$images[title]"></a>
</div>
Reply With Quote
  #7  
Old 10-26-2006, 03:49 AM
Lizard King Lizard King is offline
 
Join Date: Jan 2005
Location: Mersin
Posts: 907
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Never had time to get this done with the new gallery
Reply With Quote
  #8  
Old 10-26-2006, 06:29 PM
Clayton Clayton is offline
 
Join Date: Nov 2004
Posts: 216
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this looks very smart
Reply With Quote
  #9  
Old 10-26-2006, 10:02 PM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I like this a lot. It's a pity I don't know how to make the gray background transparent in photoshop
Reply With Quote
  #10  
Old 10-27-2006, 06:27 AM
becafuel becafuel is offline
 
Join Date: Mar 2006
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can also play with Firefox specific CSS, which implements CSS3 round borders :

-moz-border-radius-topleft: 15px;
-moz-border-radius-topright: 15px;
-moz-border-radius-bottomleft: 15px;
-moz-border-radius-bottomright: 15px;
-moz-border-radius: 15px;

This will result in someting like the attached screenshot for FF users. Other browsers will ignore these and draw a regular border.
Reply With Quote
Reply

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

Forum Jump


All times are GMT. The time now is 07:36 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.06779 seconds
  • Memory Usage 2,310KB
  • 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
  • (9)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