Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
J105 - Beautiful Bevel and Emboss Custom Avatars Details »»
J105 - Beautiful Bevel and Emboss Custom Avatars
Version: 1.00, by J105C J105C is offline
Developer Last Online: Feb 2010 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.8.2 Rating:
Released: 04-22-2009 Last Update: Never Installs: 26
Template Edits
Re-useable Code Additional Files  
No support by the author.

This is my first mod, I hope you enjoy it!

This is actually quite simple and makes your forum look that much better with uniform embossed avatars with round corners.

This is accomplished by a simple CSS PNG image overlay.

Setup time is less than 2 minutes.

NOTE: The watermark.png file and code given is customized to fit the default vB theme.

1) Download and extract the ZIP file then upload watermark.png to your root vb directory

2) Go to AdminCP>Styles & Templates>Style Manager>All Style Options>Go

Scroll all the way down to "Additional CSS Definitions" at the footer

There should be two field boxes listed. COPY and PASTE THIS into the lower field box above all other CSS definitions

Code:
#watermark_box {
position:relative;
display:block;
}
img.watermark {
position: absolute;
top: 0px;
left: 0px;
}

TEMPLATE EDIT (POSTBIT):

3) Go to AdminCP>Styles & Templates>Style Manager>All Style Options>Edit Templates>Postbit Templates>Postbit [or] Postbit_legacy (depending upon your settings)


Then FIND:

Code:
<a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase

[xs_avatar]</phrase>" border="0" /></a>

REPLACE with:

Code:
<!-- Watermark by J105C oljc.net -->
<div id="watermark_box">
<a href="member.php?$session[sessionurl]u=$post[userid]">
<img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0"/>
<img src="/watermark.png" class="watermark" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0"/></a>
<!-- / END watermark -->
4) Should be all done. Please click installed, thank you!

I also included the PSD file so you can change the color of the tips on the .PNG file to match your custom background color. You may do this under the Photoshop layer titled, "CORNERS" and tweaking the HUE/SATURATION/LIGHTNESS + Colorize.

ENJOY and God Bless you!

Download Now

File Type: zip watermark_j105C.zip (85.6 KB, 188 views)

Screenshots

File Type: jpg before_after.jpg (93.3 KB, 0 views)

Show Your Support

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

Comments
  #2  
Old 04-23-2009, 05:41 PM
K4GAP K4GAP is offline
 
Join Date: Mar 2008
Posts: 1,255
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is going to make things look really nice on my forums. Thanks!
Reply With Quote
  #3  
Old 04-23-2009, 05:42 PM
pein87's Avatar
pein87 pein87 is offline
 
Join Date: Sep 2008
Posts: 352
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks I'll give it a try
Reply With Quote
  #4  
Old 04-23-2009, 07:46 PM
TimberFloorAu's Avatar
TimberFloorAu TimberFloorAu is offline
 
Join Date: May 2008
Location: Brisbane
Posts: 2,264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quite weird you should post this, as its something I have considered for a long time, but on a more custom vein for our forums.

Enclosed is a pic, the left image is a standard avatar

The right image is that avatar with a custom overlay ( with a corner banner watermark image )

Now.

What I want to achieve is users who have filled in a particular field within their USERCP, custom profile field. Can choose: from dropdown...

Nothing ( so standard avatar they upload appears )
Visa ( so custom visa overlay appears as in image )
Citizen ( so custom visa overlay appears as in image but different graphic )

Reckon you could code this up ?

Ste
Attached Images
File Type: jpg overlay_avatar.jpg (21.7 KB, 0 views)
Reply With Quote
  #5  
Old 04-23-2009, 09:08 PM
J105C J105C is offline
 
Join Date: Mar 2008
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GaryT View Post
This is going to make things look really nice on my forums. Thanks!
Quote:
Originally Posted by pein87 View Post
thanks I'll give it a try
Thanks for your support guys! Enjoy!

Quote:
Originally Posted by TimberFloorAu View Post
Quite weird you should post this, as its something I have considered for a long time, but on a more custom vein for our forums.

Enclosed is a pic, the left image is a standard avatar

The right image is that avatar with a custom overlay ( with a corner banner watermark image )

Now.

What I want to achieve is users who have filled in a particular field within their USERCP, custom profile field. Can choose: from dropdown...

Nothing ( so standard avatar they upload appears )
Visa ( so custom visa overlay appears as in image )
Citizen ( so custom visa overlay appears as in image but different graphic )


Reckon you could code this up ?

Ste
This is very possible. I can create your .PNG file, code, and steps no problem. I just need some information. What size Avatars do you use on your forum, and did you want anything else other than the "Vista" dropdown?
Reply With Quote
  #6  
Old 04-23-2009, 09:29 PM
TimberFloorAu's Avatar
TimberFloorAu TimberFloorAu is offline
 
Join Date: May 2008
Location: Brisbane
Posts: 2,264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Our avatars can vary but max size is 120 x 120

I am happy to resize within ACP, so that all avatars are uniform size.

The two stripes I can create. Could be more.

But essentially. I have included 4 psd files to create 2 types of stripe. They can be renamed whatever and saved as png.

I prefer 80% opacity so have included those aswell. These are on 120px x 120px avatar sized backgrounds

one is VISA other is CITIZEN
Attached Files
File Type: zip avatar_psd.zip (234.9 KB, 19 views)
Reply With Quote
  #7  
Old 04-26-2009, 05:59 AM
LOKIN510051's Avatar
LOKIN510051 LOKIN510051 is offline
 
Join Date: Mar 2009
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Muy Bueno Gracias Ya Lo Instale Y Me Gusto.
Reply With Quote
  #8  
Old 04-26-2009, 06:28 AM
SkyCatcher's Avatar
SkyCatcher SkyCatcher is offline
 
Join Date: Feb 2003
Location: Germany
Posts: 310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The overlay isn't overlaying on my forum.

Granted, my style is modified, but any ideas why it doesn't overlay the avatar, but instead displays it on another line?

My avatars are in the filesystem incase that makes a difference.

Edit: Ok it was my custom style. I had to tweak it a little bit and undo the center aligned div for the postbit as well.

Second attechment is the new version.
Attached Images
File Type: jpg boxerror.jpg (5.6 KB, 0 views)
File Type: jpg boxsuccess.jpg (6.9 KB, 0 views)
Reply With Quote
  #9  
Old 04-26-2009, 07:01 AM
marshal_ramdev marshal_ramdev is offline
 
Join Date: Mar 2009
Location: Ludhiana
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks will test it
Reply With Quote
  #10  
Old 04-27-2009, 05:57 AM
J105C J105C is offline
 
Join Date: Mar 2008
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SkyCatcher View Post
The overlay isn't overlaying on my forum.

Granted, my style is modified, but any ideas why it doesn't overlay the avatar, but instead displays it on another line?

My avatars are in the filesystem incase that makes a difference.

Edit: Ok it was my custom style. I had to tweak it a little bit and undo the center aligned div for the postbit as well.

Second attechment is the new version.
Glad you got it working. The files and code only supports the default vbtheme

Quote:
Originally Posted by LOKIN510051 View Post
Muy Bueno Gracias Ya Lo Instale Y Me Gusto.
Fue todo un placer

Quote:
Originally Posted by TimberFloorAu View Post
Our avatars can vary but max size is 120 x 120

I am happy to resize within ACP, so that all avatars are uniform size.

The two stripes I can create. Could be more.

But essentially. I have included 4 psd files to create 2 types of stripe. They can be renamed whatever and saved as png.

I prefer 80% opacity so have included those aswell. These are on 120px x 120px avatar sized backgrounds

one is VISA other is CITIZEN
I just sent you a PM, it is complete
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 08:51 AM.


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.04883 seconds
  • Memory Usage 2,343KB
  • Queries Executed 24 (?)
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
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)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
  • (6)postbit_attachment
  • (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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete