vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Default Avatar (https://vborg.vbsupport.ru/showthread.php?t=97347)

dieselpowered 12-06-2005 02:06 PM

Quote:

Originally Posted by oglsmm

The arcade already uses a default avatar for those without. Just replace the one in the arcade with the one you use for this hack and it will look the same :)

davidw 12-06-2005 03:20 PM

Quote:

Originally Posted by Aftermath
I am looking for a default profile picture hack. Anyone?

https://vborg.vbsupport.ru/showthread.php?t=97928

aciurczak 12-07-2005 06:53 PM

Liked this idea, but went with

Link to thread on vbulletin.com

instead. It actually populates the avatar field for new users with a default avatar ID, so it shows up as normal everywhere else on the board without more plug-ins or template edits. I then went into phpMyadmin and pushed that same avatar ID into all users who had never set their own avatar.

AWI 12-08-2005 03:59 AM

Great idea, thanks

Snake 12-08-2005 04:45 PM

Quote:

Originally Posted by christianb

Thanks man.

interceptor 12-19-2005 10:46 PM

Great, install time 30s. Installed.

ReZ 12-27-2005 02:25 PM

[Clicks Install]

Thanks for the Zac!

siriuxs 01-04-2006 11:03 AM

I have the problem. When a user log-in in my forum, and after click on a someone thread, it appears the following errors:

Quote:

Database error in vBulletin 3.5.2:
Invalid SQL:
SELECT dateline, userid FROM vb_customavatar WHERE userid =;
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 Error Number : 1064
Date : Wednesday, January 4th 2006 @ 11:00:37 AM
Script : http://www.mondoforum.org/forums/sho...st&threadid=56
Referrer : http://www.mondoforum.org/
IP Address : 87.6.36.123
Username :
Classname : vb_database
Why?

Zachery 01-04-2006 12:42 PM

Quote:

Originally Posted by siriuxs
I have the problem. When a user log-in in my forum, and after click on a someone thread, it appears the following errors:


Why?

Thats not possibly from my mod, there is another modification to do a default avatar with that is probally causing this.

jmacieira 01-06-2006 12:38 AM

Sweet !! Thanks

sip217 01-06-2006 07:14 PM

Awesome! Just clicked install. Thanks!

GrendelKhan{TSU 01-10-2006 06:51 AM

perfect. workin in 3.5.3

image is nice and bland too. :D (incentive for ppl to select an avatar properly :D)

Hossack 01-10-2006 05:00 PM

Thank you, exactly what I was looking for.

Regards, Hossack

Brandon Sheley 01-24-2006 06:06 AM

/me installs

thank you

Guest210212002 01-26-2006 02:54 PM

/me clicks install

kira 03-04-2006 04:05 AM

Cool idea -- many thanks for the great plugin!

erinys 03-05-2006 10:32 AM

awesome plugin! thanks a lot!

SHalliday 03-05-2006 01:51 PM

Clicked Install

Everything installed and works perfect. Nice Addon and thank you very much!

vchase 03-05-2006 04:05 PM

Quote:

This file appears to be a Plugin, not a Product. Please use the Plugin Manager to add this file.
When i try to import from product manager. This is what i get... plz help!

Tralala 03-05-2006 04:25 PM

Quote:

Originally Posted by RasMasta


Quote:

Originally Posted by TygerTyger
Mine's quite similar to RasMasta's, people are welcome to use it. Apparently it looks like Tom Jones :ermm:

"Quite similar?"

It's exactly the same!

raagaswaram 03-15-2006 11:41 PM

hey
i tried not working :(
i did download/upload plugin then upload definition file from the computer still not owrking :(

Zachery 03-16-2006 06:56 PM

Did you follow all of the instructions?

Nathan2006 03-22-2006 02:12 AM

Thanks Zachery :)

Install

flfooty tv 03-23-2006 12:32 PM

love it thank you :)

sandrodz 03-28-2006 05:18 PM

super! than you... just installed, works fantastic!

ogden2k 04-01-2006 11:18 PM

How would I add a conditional to this plugin for this:

If userfield is set to female: display this avatar, if userfield option set to male, use this avatar.

Thank you.

ogden2k 04-03-2006 12:28 PM

Quote:

Originally Posted by ogden2k
How would I add a conditional to this plugin for this:

If userfield is set to female: display this avatar, if userfield option set to male, use this avatar.

Thank you.

Anyone?

sorry01 04-03-2006 06:15 PM

works fine tanks....:banana:

rareclownfish 04-04-2006 12:49 AM

thanks installed

rareclownfish 04-04-2006 03:17 AM

I'm having a little problem with it. Whenever I click on any user and view their profile the avatar comes up as a RED X.
What do I need to change?

ogden2k 04-04-2006 02:01 PM

Quote:

Originally Posted by rareclownfish
I'm having a little problem with it. Whenever I click on any user and view their profile the avatar comes up as a RED X.
What do I need to change?

In the XML file, specifiy the full path to the default images.

ryancooper 04-06-2006 11:03 AM

Is there a way to link the default no avatar to the choose avatar section of the member. Some of my members dont realize where to change there avatar and this would be a easy way to do it.

Tralala 04-06-2006 11:07 AM

Quote:

Originally Posted by ryancooper
Is there a way to link the default no avatar to the choose avatar section of the member. Some of my members dont realize where to change there avatar and this would be a easy way to do it.

Great idea!

TitanJeff 04-06-2006 11:55 AM

I appear to be getting errors. Here is my code:

<?xml version="1.0" encoding="ISO-8859-1"?>

<plugins>
<plugin active="1" product="vbulletin">
<title>Default Avatar</title>
<hookname>postbit_display_complete</hookname>
<phpcode><![CDATA[if (!$this->post['avatarurl'])

{

$this->post['avatarurl'] = "images/avatars/flame.gif";

}

if ($this->registry->userinfo['showavatars'])

{

$show['avatar'] = true;

}]]></phpcode>
</plugin>
<plugin active="1" product="vbulletin">
<title>Default Avatar member.php</title>
<hookname>member_complete</hookname>
<phpcode><![CDATA[if (!$avatarurl)

{

$userinfo['avatarurl'] = "images/avatars/flame.gif";

}

$show['avatar'] = true;]]></phpcode>
</plugin>
</plugins>

Any suggestions? Thanks.

criscokid 04-14-2006 10:40 AM

Quote:

Originally Posted by ryancooper
Is there a way to link the default no avatar to the choose avatar section of the member. Some of my members dont realize where to change there avatar and this would be a easy way to do it.

I think I made a similar suggestion a few months ago - it would certainly be of benefit to those users that are new to discussion forums.

I have this plugin running on my site. I've just logged in to the site using Firefox and instead of my own avatar showing the 'no avatar selected' avatar is showing. Using MSIE my own avatar is showing. Anyone have any idea of what the problem is?

Zachery 04-14-2006 11:24 AM

Odd... are you 100% positive that you are logged in as the same user on both?

criscokid 04-16-2006 08:11 PM

My avatars are set to 80x80 whilst the 'deafualt avatar' is 64x64. What is happening is that the 'deafualt avatar' (64x64) is being shown at 80x80 so it appears to be stretched out.

I've tried this with another person on their own computer and it's happening to them when they view their threads in Firefox. When I view the same thread in Firefox on my computer the new avatar is showing. It's almost as if Firefox isn't properly 'pulling' the image in - it's refreshing the image size but not the actual image.

TitanJeff 04-17-2006 11:02 PM

Any idea what I goofed up there in the code? I would like to get this going. Thanks.

Roms 04-19-2006 01:32 AM

Thanks :)

jodycwilliams 04-19-2006 07:01 AM

Very nice! Definitely put this to use on my forums!


All times are GMT. The time now is 11:41 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.01610 seconds
  • Memory Usage 1,796KB
  • 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
  • (12)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
  • (40)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