vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Avatar in UserCP (https://vborg.vbsupport.ru/showthread.php?t=50619)

assassingod 03-21-2003 10:00 PM

Avatar in UserCP
 
Avatar in User CP

Author: assassingod

Description: This will show you avatar in your User CP.
The avatar is also a link to the 'Edit Avatar' page

Screenshots:
https://vborg.vbsupport.ru/attachmen...&postid=371199

Download:
https://vborg.vbsupport.ru/attachmen...&postid=371198

Tested on vB version:
2.2.9 https://vborg.vbsupport.ru/
2.3.0 https://vborg.vbsupport.ru/

If you use this hack please click the INSTALL button - thank you!

assassingod 03-22-2003 07:38 AM

ScreenShot:

PSI|Dr-X 03-22-2003 08:25 AM

Nice but not much use .. :)

assassingod 03-22-2003 08:29 AM

Oh, forgot to mention that the avatar is a link to the edit avatar page:)

Chris Gwynne 03-22-2003 08:42 AM

This could be done, template style....

assassingod 03-22-2003 09:33 AM

Yeah, but if you want the code to appear in every-page then its best to do it by hacking

X-Fan 03-22-2003 11:02 AM

Just a quick fix for the template mod to ensure individual forums' colors show up:

Code:

<br>
<table cellpadding="0" cellspacing="0" border="0" bgcolor="{ tablebordercolor}" width="100%" align="center"><tr><td>
<table cellpadding="4" cellspacing="1" border="0"  width="100%">
<tr id="cat">
<td bgcolor="{ categorybackcolor}" nowrap><normalfont color="{ categoryfontcolor}"><b>Avatar</b></normalfont></td>
</tr>
<tr>
<td bgcolor="{ firstaltcolor}"><smallfont>$avatar</smallfont></td>
</tr></table></td></tr></table>

Just remove the spaces after each instance of "{

assassingod 03-22-2003 11:22 AM

Thanks X-Fan. I forgot about the replacement :rolleyes:

X-Fan 03-22-2003 11:51 AM

No prob :)

Neat hack, thanks!

LOD-squa 03-22-2003 03:57 PM

I did a similar hack, just I didn't include the link or the table. Nice though ;)


All times are GMT. The time now is 11:07 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.01261 seconds
  • Memory Usage 1,728KB
  • 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
  • (1)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