vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Default avatar + cannot change until X posts (https://vborg.vbsupport.ru/showthread.php?t=106681)

UBRF 01-30-2006 12:53 AM

Default avatar + cannot change until X posts
 
Like a n00bie avatar?

Smiry Kin's 01-30-2006 01:49 AM

theres alread a default avatar about..

then when they got the x posts. just make them move into a new user groups which allows the usage of Avatars. if you want help setting it up, PM me or mail me.. via profie.. :)

UBRF 01-30-2006 01:31 PM

I'm aware of the default avatar hack, which is actually why I made this request. I'm just unsure of how to set it up so that when new members register they're put in a user group that displays only 1 avatar, but once they reach X number of posts, the avatar goes away and they can upload their own. I don't want users with 2,000 posts and no avatar to get stuck w/ the n00b avatar, which is what the default avatar hack alone would do right?

Borgs8472 01-30-2006 01:32 PM

^ ^
I see your problem.

It might take a hack to remove an avatar on usergroup change, not sure where to start there...

Actually, maybe you could make a cron job to do it?

UBRF 01-30-2006 01:40 PM

I think the easiest way would be to have a hack assign an avatar to an individual usergroup, then remove that usergroups ability to change their avatar. Then you would be able to use the promotion system to bump the user into the regular user usergroup after x posts correct?

UBRF 01-31-2006 06:53 PM

Bump for ideas?

Andreas 01-31-2006 06:59 PM

1. Registered Usergroup cannot use Avatars
2. Usergroup "Normal with Avatars" can
3. Create a Promotion to promote Users from Registered to "Normal with Avatars" after X posts

In Templates postbit/postbit_legacy/MEMBERINFO/memberlist_resultsbit add

Code:

<if condition="$arrayname['usergroupid'] == 2">
Default Avatar Code here
</if>

$arrayname is $post or $userinfo, depending on the template.

Done.

UBRF 01-31-2006 10:07 PM

thanks

UBRF 02-02-2006 01:46 AM

Quote:

Originally Posted by Andreas
1. Registered Usergroup cannot use Avatars
2. Usergroup "Normal with Avatars" can
3. Create a Promotion to promote Users from Registered to "Normal with Avatars" after X posts

In Templates postbit/postbit_legacy/MEMBERINFO/memberlist_resultsbit add

Code:

<if condition="$arrayname['usergroupid'] == 2">
Default Avatar Code here
</if>

$arrayname is $post or $userinfo, depending on the template.

Done.

This isn't working...this is for 3.5.3 using https://vborg.vbsupport.ru/showthrea...default+avatar
that default avatar hack

Should I be using a different default avatar hack?


All times are GMT. The time now is 02:25 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.01021 seconds
  • Memory Usage 1,726KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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