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
  #12  
Old 04-28-2009, 01:35 AM
down.low down.low is offline
 
Join Date: Mar 2009
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I need to center this watermark,.- can you help me out?
Reply With Quote
  #13  
Old 04-29-2009, 01:18 AM
as7apcool as7apcool is offline
 
Join Date: Feb 2009
Posts: 194
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks alot 4 you

i will try this now
Reply With Quote
  #14  
Old 04-29-2009, 07:26 PM
Bigj85 Bigj85 is offline
 
Join Date: Jan 2009
Location: Guelph,Ontario,Canada
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by down.low View Post
I need to center this watermark,.- can you help me out?
Same here,my avatars are centered and this is not.
I can move it to the side by changing
left: 0px; to left: 14px; or whatever but my style is fluid and it won't show centered for all resolutions like that

anyone know how I can center this?
Reply With Quote
  #15  
Old 05-02-2009, 02:46 AM
Bigj85 Bigj85 is offline
 
Join Date: Jan 2009
Location: Guelph,Ontario,Canada
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I checked it out and it does show centered in different resolutions by changing the CSS left: 0px; to left: 14px;
you might have to do more or less depending on your style and avatar size
Reply With Quote
  #16  
Old 05-02-2009, 06:23 AM
down.low down.low is offline
 
Join Date: Mar 2009
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bigj85 View Post
I checked it out and it does show centered in different resolutions by changing the CSS left: 0px; to left: 14px;
you might have to do more or less depending on your style and avatar size
The avatars are sized differently- I'll try it out and see if it works though..
Reply With Quote
  #17  
Old 05-03-2009, 11:37 PM
InF3RNo's Avatar
InF3RNo InF3RNo is offline
 
Join Date: Apr 2009
Location: United Kingdom
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Haha, you mean 2 minutes install for intelligent people, for me it took 10 minutes.
Thanks, really good mod.
Reply With Quote
  #18  
Old 05-04-2009, 07:19 PM
odln018's Avatar
odln018 odln018 is offline
 
Join Date: Mar 2006
Posts: 210
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would this work on something other than the postbit?

For example, I'm running this mod, and would love to have something like this to dress it up.

https://vborg.vbsupport.ru/showthread.php?t=99498.
Reply With Quote
  #19  
Old 05-04-2009, 10:51 PM
troybtj troybtj is offline
 
Join Date: Apr 2007
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to make this work with only certain users based on their userid?
Reply With Quote
  #20  
Old 05-06-2009, 12:36 PM
J105C J105C is offline
 
Join Date: Mar 2008
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by odln018 View Post
Would this work on something other than the postbit?

For example, I'm running this mod, and would love to have something like this to dress it up.

https://vborg.vbsupport.ru/showthread.php?t=99498.
Sure, just take the postbit html code and embed it to work within that specific template. You would have to ask that developer of that mod to direct you to the specific template(s) to change.

Quote:
Originally Posted by troybtj View Post
Is there a way to make this work with only certain users based on their userid?
That could be possible with conditionals. I don't know which conditional to use though. Very possible. I would ask vbulletin.com for the conditional code for specific user ID's.
Reply With Quote
  #21  
Old 05-08-2009, 07:56 PM
Bigj85 Bigj85 is offline
 
Join Date: Jan 2009
Location: Guelph,Ontario,Canada
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by troybtj View Post
Is there a way to make this work with only certain users based on their userid?
I think you can use

Code:
<if condition="$bbuserinfo[userid] == X"></if>
Replace "X" with the users ID

I have it set up on my forum as a user selectable profile field,if anyone wants to know how to do that just post here and I'll post instructions
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 02:53 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.13038 seconds
  • Memory Usage 2,338KB
  • Queries Executed 26 (?)
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
  • (4)bbcode_code
  • (5)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
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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