vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Add-On Releases - Default avatar for users with no selected avatar (https://vborg.vbsupport.ru/showthread.php?t=207517)

macc 03-11-2009 07:40 PM

Hello!

You should replace   with this code (not after, not before - just instead   )
PHP Code:

<img src="$stylevar[imgdir_misc]/noavatar.gif" border="0" $avwidth $avheight alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" hspace="4" vspace="4" /> 

macc

FFTFTCEd 03-13-2009 06:12 PM

Got it, thanks Macc.

macc 03-14-2009 09:42 PM

Quote:

Originally Posted by FFTFTCEd (Post 1767360)
Got it, thanks Macc.

you are welcome

macc

RiSqq 03-15-2009 01:18 AM

Done as the instructions said and it's not working. The instruction really aren't easy to follow. Anyway anyone can make this a plug in?

wcguy 03-15-2009 01:27 AM

I just got it to work, but this insruction...

PHP Code:

<img src="your url link/noavatar.gif" 

and the written instruction....

Quote:

Change "your url link" to your link to picture (avatar)!
I had to modify.

to

PHP Code:

<img src="./images/misc/noavatar.gif" 

and like other posters above noted, in the first mod, removed the extra
</if>


PS and I'm not sure why but the postbit legacy search code didn't match. I had to hand find it.

RiSqq 03-15-2009 01:53 AM

wcguy, to shorten it further use $stylevar[imgdir_misc]/noavatar.gif.

this is what the script should be as default. Maybe OP should update?

y2krazy 03-16-2009 12:36 PM

How can I get the "Set Avatar" text to show up for just THAT user. With the code, as it is in the original post. Everyone will see "Set Avatar" under a user's avatar that isn't set. When they click on it, it will take them to edit their own avatar.

Thanks in advance!

~ Sean

Wyzrd 03-19-2009 01:03 AM

I'm having a slight problem with this. I have it set for where members can choose whether or not they want the new horizontal postbit, or the old vertical postbit. When doing this, it will only work on the horizontal postbit. How can I get it to work for the old vertical postbit.

--------------------------------
EDIT: I figured out my problem. Thanks. for this great edition to vB.

Fastbird 03-19-2009 03:42 AM

Quote:

Originally Posted by y2krazy (Post 1769577)
How can I get the "Set Avatar" text to show up for just THAT user. With the code, as it is in the original post. Everyone will see "Set Avatar" under a user's avatar that isn't set. When they click on it, it will take them to edit their own avatar.

Thanks in advance!

~ Sean

+1 I'd like to know this also!

Bowromir 03-19-2009 07:33 PM

thanks! works great :)


All times are GMT. The time now is 02:23 PM.

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.01014 seconds
  • Memory Usage 1,739KB
  • 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
  • (3)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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