Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-30-2006, 12:53 AM
UBRF UBRF is offline
 
Join Date: Jan 2006
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Default avatar + cannot change until X posts

Like a n00bie avatar?
Reply With Quote
  #2  
Old 01-30-2006, 01:49 AM
Smiry Kin's's Avatar
Smiry Kin's Smiry Kin's is offline
 
Join Date: Dec 2005
Location: United Kingdom!
Posts: 954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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..
Reply With Quote
  #3  
Old 01-30-2006, 01:31 PM
UBRF UBRF is offline
 
Join Date: Jan 2006
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #4  
Old 01-30-2006, 01:32 PM
Borgs8472 Borgs8472 is offline
 
Join Date: Apr 2004
Posts: 924
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^ ^
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?
Reply With Quote
  #5  
Old 01-30-2006, 01:40 PM
UBRF UBRF is offline
 
Join Date: Jan 2006
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #6  
Old 01-31-2006, 06:53 PM
UBRF UBRF is offline
 
Join Date: Jan 2006
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bump for ideas?
Reply With Quote
  #7  
Old 01-31-2006, 06:59 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 01-31-2006, 10:07 PM
UBRF UBRF is offline
 
Join Date: Jan 2006
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks
Reply With Quote
  #9  
Old 02-02-2006, 01:46 AM
UBRF UBRF is offline
 
Join Date: Jan 2006
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:02 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.04417 seconds
  • Memory Usage 2,232KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete