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)
-   -   Show "No Avatar" Image If No Avatar is Selected (https://vborg.vbsupport.ru/showthread.php?t=36363)

Heineken77 07-19-2002 06:26 PM

nice! hopefully this will make people start choosing avs :)

thanks buddy!

LOD-squa 08-18-2002 01:07 AM

is there a way I can set the guest image when guestpost?

Diva 08-23-2002 04:32 AM

I was really looking forward to using this, but it is not compatible with my avatars in categories/avatar taken hacks. I hope it will be at some time. Great hack though.

Boofo 08-23-2002 05:25 AM

What is it doing or not doing? I'm sure there is a way to get it to work with it. :)

Quote:

Originally posted by Diva
I was really looking forward to using this, but it is not compatible with my avatars in categories/avatar taken hacks. I hope it will be at some time. Great hack though.

Diva 08-23-2002 06:24 AM

My avatars cannot be selected anymore from the user cp. I have to go into the Admin control panel to choose them. :/

g-force2k2 08-23-2002 06:35 AM

Diva :: try this coding

open admin/functions.php

find:

PHP Code:

        if ($avatarurl=="" or ($bbuserinfo[userid]>and !($bbuserinfo[showavatars]))) {
            
$post[avatar]="";
        } else {
            eval(
"\$post[avatar] = \"".gettemplate("postbit_avatar")."\";");
        } 

and replace it with this:

PHP Code:

        if ($avatarurl=="" or ($bbuserinfo[userid]>and !($bbuserinfo[showavatars]))) {
            
$post[avatar]="<img src=\"/forum/images/avatars/No Avatar.gif\" border=\"0\">";
        } else {
            eval(
"\$post[avatar] = \"".gettemplate("postbit_avatar")."\";");
        } 

Then create a new directory in the forum/images folder and call it avatar.

Then upload your No Avatar Img... save it as No Avatar.gif

hope that helps :) regards...

g-force2k2

Diva 08-23-2002 03:50 PM

Is this instead of another code change or ontop of one for this hack? Or is this a code update? Sorry so blonde... :/

Diva 08-23-2002 05:03 PM

It doesn't work.... :(

KrisP 09-07-2002 12:41 PM

Really cool. Been looking for that.

Great!

/me clicks install...

- KrisP (Poof! Installed...)

PHiXTiT 09-13-2002 12:51 AM

Simple...

5 Stars.


All times are GMT. The time now is 02:33 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.01720 seconds
  • Memory Usage 1,738KB
  • 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
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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