Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 03-03-2008, 07:36 PM
psxotaku psxotaku is offline
 
Join Date: Feb 2008
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Image Based Avatar Borders

Hi, I would like to implement what I believe to be image-based avatar borders. I have posted an example in the link below.

I wish to add similar borders to my forum, customized to fit my skin. How would I do it? Thanks

Example: http://www.gamingforce.org/forums/ge...top-v-2-a.html

My forum:
www.gamewirelive.net/forum
Reply With Quote
  #2  
Old 03-05-2008, 10:18 PM
psxotaku psxotaku is offline
 
Join Date: Feb 2008
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No one knows how to do this?
Reply With Quote
  #3  
Old 03-06-2008, 02:18 AM
Bradley_Wint Bradley_Wint is offline
 
Join Date: Jul 2007
Posts: 543
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I couldn't find a mod to suit your need. I think they made a simple template modification. My thought would be to design an avatar background as they did.
Code:
http://www.gamingforce.org/forums/images/bb_avatar_back.gif
Then go to the SHOWTHREAD template and look for the code that deals with displaying avatars. You can write up a simple HTML code.
Code:
<TABLE width="131" height="176" cellpadding="0" cellspacing="0" background="http://www.gamingforce.org/forums/images/bb_avatar_back.gif">
  <TBODY>
    <TR>
      <TD align="center">Avatar Display Code here</TD>
    </TR>
  </TBODY>
</TABLE>
Basically this is a clear table (no borders, no padding) set to the size of your avatar border background image size. In the table would be the variable to show the user's custom avatar. The avatar bg image would be set as the table background. Within the table would be your avatar display variable centred both horizontally and vertically. I guess once you set the image avatar margins to the same maximum size of the inner border of the avatar border background image, it should display properly. Also set it within the conditional tags so it won't show up if the user does not have an avatar.

This is only a framework of what could be done so experiment a bit. Hopefully someone else knows the avatar display variable. Sorry i can't help you more but i don't know the avatar display variable name.
Reply With Quote
  #4  
Old 04-04-2008, 08:24 PM
chick's Avatar
chick chick is offline
 
Join Date: Aug 2006
Location: PI Land
Posts: 381
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you for that information Bradley. I noticed the poster never said thank you. geez.
Reply With Quote
  #5  
Old 04-05-2008, 12:41 AM
Bradley_Wint Bradley_Wint is offline
 
Join Date: Jul 2007
Posts: 543
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

maybe he never came back..dunno
Reply With Quote
Reply

Thread Tools
Display Modes

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 04:52 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.03598 seconds
  • Memory Usage 2,191KB
  • Queries Executed 13 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)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_postinfo_query
  • fetch_postinfo
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete