vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Add-On Releases - [PXL] PP Round Thumbnail Overlay v1.2 (https://vborg.vbsupport.ru/showthread.php?t=129955)

PixelFx 10-24-2006 10:00 PM

[PXL] PP Round Thumbnail Overlay v1.2
 
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!

ChavMagnet 10-25-2006 09:02 PM

1st post WOOT!

Zachariah 10-25-2006 10:16 PM

:D nice

KevNJ 10-25-2006 10:43 PM

* subscribes to thread to install later tonight *

Ev!L ErN!E 10-25-2006 11:01 PM

very nice

Zachariah 10-25-2006 11:36 PM

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>


Lizard King 10-26-2006 03:49 AM

Never had time to get this done with the new gallery :)

Clayton 10-26-2006 06:29 PM

this looks very smart

Lionel 10-26-2006 10:02 PM

I like this a lot. It's a pity I don't know how to make the gray background transparent in photoshop

becafuel 10-27-2006 06:27 AM

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.


All times are GMT. The time now is 06:51 AM.

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.01263 seconds
  • Memory Usage 1,788KB
  • 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
  • (9)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