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

Reply
 
Thread Tools
Avatar Inside A Frame - Details »»
Avatar Inside A Frame -
Version: 1.00, by Khalid-B Khalid-B is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 4.1.x Rating:
Released: 12-26-2011 Last Update: 12-27-2011 Installs: 16
Template Edits
Code Changes Additional Files Translations  
No support by the author.

Avatar Inside A Frame ,


Function.

better looking Avatar in postbit_legsy by a simple template editing .


Installation.

only 2 simple options to follow.

fisrt go to your style's postbit_legcy template and

Look for ,

PHP Code:
            <vb:if condition="$show['avatar']">
            <
class="postuseravatar" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}">
                <
img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" title="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />
            </
a>
            </
vb:if> 
and Replace with,


PHP Code:
<vb:if condition="$show['avatar']">

            <
class="postuseravatar" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}">
        <
table style="background-image: url(images/misc/frame2.png); width: 180px; height: 256px; border: 0px solid transperent; ">

<
tr><td style="text-align: center; vertical-align: middle;"
<
img src="{vb:raw post.avatarurl}"  alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" title="{vb:rawphrase xs_avatar, {vb:raw post.username}}"  
[COLOR="Red"]width="130" height="180"[/COLOR]
 
style="border-top: 0px solid #6C4A46;
        border-right: 0px solid #947C72;
        border-bottom: 0px solid #947C72;
        border-left: 0px solid #6C4A46;" 
/>
  
</
td></tr></table>
            </
a>
            </
vb:if> 

now download attached image and upload in images/misc folder
avatar can be adjusted by changing width="130" height="180" to any .
That's it.

NOTE..

Few options like,

border-right:
border-bottom:
border-left:

are optionals...

Download Now

File Type: zip misc.zip (34.2 KB, 138 views)
File Type: zip frame psd.zip (54.9 KB, 122 views)

Screenshots

File Type: jpg default-avatar.JPG (44.7 KB, 0 views)
File Type: jpg custom.JPG (40.5 KB, 0 views)

Show Your Support

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

Comments
  #2  
Old 12-27-2011, 10:22 PM
HHelp1's Avatar
HHelp1 HHelp1 is offline
 
Join Date: May 2011
Location: Florida
Posts: 275
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow that's so nice but you only have the black frame? Does ya have another ? If yes I wud like ya to share ^^ and is it okay ya can share ya postbit too please? If Yamaha I'm very appreciate it ^^
Reply With Quote
  #3  
Old 12-28-2011, 12:27 AM
Khalid-B's Avatar
Khalid-B Khalid-B is offline
 
Join Date: Apr 2007
Location: NL
Posts: 450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

psd file added so you can change color according to your style..
Reply With Quote
3 благодарности(ей) от:
doctorsexy, HHelp1, nacaruncr
  #4  
Old 12-28-2011, 12:44 AM
HHelp1's Avatar
HHelp1 HHelp1 is offline
 
Join Date: May 2011
Location: Florida
Posts: 275
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay thanks ^^
Reply With Quote
  #5  
Old 12-28-2011, 12:55 PM
HHelp1's Avatar
HHelp1 HHelp1 is offline
 
Join Date: May 2011
Location: Florida
Posts: 275
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Holy SNAP! this is WORKING PERFECT WITH 4.1.8! Marked Installed! and NOTM! THANK YOU!
Reply With Quote
  #6  
Old 12-29-2011, 11:15 PM
HHelp1's Avatar
HHelp1 HHelp1 is offline
 
Join Date: May 2011
Location: Florida
Posts: 275
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

May you please tell me that how do I make register user smaller avatar as I set at user group and admin avatar is bigger?
Reply With Quote
  #7  
Old 12-30-2011, 02:51 PM
doctorsexy's Avatar
doctorsexy doctorsexy is offline
 
Join Date: Mar 2011
Location: earth
Posts: 383
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed thanks.. looks brill take a look http://www.groovie-baby.co.uk

made my own frame...
Reply With Quote
  #8  
Old 12-30-2011, 03:00 PM
HHelp1's Avatar
HHelp1 HHelp1 is offline
 
Join Date: May 2011
Location: Florida
Posts: 275
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

May any 1 please tell me that how do I make register user smaller avatar as I set at user group and admin avatar is bigger?
Reply With Quote
  #9  
Old 12-30-2011, 04:13 PM
doctorsexy's Avatar
doctorsexy doctorsexy is offline
 
Join Date: Mar 2011
Location: earth
Posts: 383
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cant you set it in the ACP>usergroupes and set the size there?

under Picture Uploading Permissions

Custom Avatar Maximum Width (pixels) ect
Reply With Quote
  #10  
Old 12-30-2011, 04:43 PM
HHelp1's Avatar
HHelp1 HHelp1 is offline
 
Join Date: May 2011
Location: Florida
Posts: 275
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i did set 100x100 so which is smaller but when i install that the avatar is big same as the frame.
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 03:31 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.06284 seconds
  • Memory Usage 2,330KB
  • 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
  • (2)bbcode_php
  • (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
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (3)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (4)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • 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
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete