vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   "No Avatar Selected" (https://vborg.vbsupport.ru/showthread.php?t=43197)

KrisP 09-05-2002 05:21 PM

"No Avatar Selected"
 
Hi there...

Just wondered what hack does that the "No Avatar Selected"-avatar shows up when the user didn't choose an avatar.

I have quite some hacks installed on my forum, and I have the "No Avatar" picture in my forum directories (/images/avatar/noavatar.gif)

http://www.unitedadmins.org/forums/i...s/noavatar.gif

Yep, that one ;-)
But what is the postbit code for make it show up or the maybe PHP file to edit/fix.

I THINK I had it working before, just forgot about it I think.
Can I have a link for a thread where I can install a hack that does it, or an instruction on how to "activate" it, since I might have the hack already.

Thanks.


- KrisP (Catch me when I'm falling. I would have done it for you.)

g-force2k2 09-05-2002 05:23 PM

open admin/functions.php

find:

PHP Code:

$post[avatar] = ""

replace with

PHP Code:

$post[avatar] = "<img src='url here'>"

regards :p see if that works ;) didn't test it...

g-force2k2

KrisP 09-05-2002 07:04 PM

Well that sure did f**k it up.

Thanks, but it didn't work.

- KrisP (Hi strange. Can I help you?)

g-force2k2 09-05-2002 07:13 PM

ehh... looks like it should have worked to me? can you give me a screenshot of what you got? regards...

g-force2k2

KrisP 09-06-2002 10:34 AM

It get a all messed up thread if I view a thread after putting that in.

By the way, there is no:
Code:

$post[avatar] = "";
only a
Code:

$post[avatar]
Help plz!


- KrisP (It's getting hotter...)

g-force2k2 09-06-2002 02:21 PM

And you're sure that you're doing this in admin/functions.php?

the code may look slightly different :P but its a:

PHP Code:

$post[avatar]=""

maybe ;)

g-force2k2


All times are GMT. The time now is 08:57 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.01444 seconds
  • Memory Usage 1,724KB
  • 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_code_printable
  • (3)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete