Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Force Users To Define Avatars Details »»
Force Users To Define Avatars
Version: 1.3, by MarkFL MarkFL is offline
Developer Last Online: Jun 2020 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.2.x Rating:
Released: 02-28-2016 Last Update: 05-11-2017 Installs: 20
Uses Plugins
Translations  
No support by the author.

Overview:

This product simply allows you to select usergroups which will be required to define an avatar before being allowed to browse the forums. For affected users, an error message will be displayed with a link to define an avatar.

If you require users to define an avatar regardless of the number of posts they have made, they will see the following:



If you have given your affected users "grace posts", then once they have made that number of posts, the will see something like:



The phrases for the error messages are found here:



Updates:

At the suggestion of Stratis (who has always been a great supporter of my mods), I have made the following updates:

Version 1.1:
  • Added a setting that allows you to give affected users a set number of "grace posts" that they can make before being required to define an avatar.

Version 1.2:
  • Changed execution order of main plugin so it executes before "Force Users to Read a Thread" product.
  • Added setting to allow for chosen scripts to be excluded from the actions of this product.

Version 1.3:
  • Added setting to allow excluding Tapatalk users from the product.

Compatibility:

Tested and working on VB 4.2.x and may work on all 4.x versions of vBulletin.

Backup/Warning:

This product does not alter your database, however it is always good practice to make regular backups and you should make a backup before installing ANY new mod.

As always, products are USE AT YOUR OWN RISK. I will provide support and do my best to help but no absolute guarantee is offered.

To Install:

  1. Download and extract the attached .zip file.
  2. Follow AdminCP -> Plugins & Products -> Manage Products -> Add/Import Product.
  3. Click on "Choose File" and browse to the product .xml file that was packaged in the .zip file.
  4. Click "Import."
  5. You MUST enable the product in the settings before it will function.
  6. Configure the remaining settings to your liking. Each setting has a detailed explanation of its use.



Support for this product can be found here:

Download Now

File Type: zip MarkFL - Force Avatar v1.3.zip (3.4 KB, 29 views)

Screenshots

File Type: png markfl_forceavatar_error.png (3.6 KB, 0 views)
File Type: png markfl_forceavatar_error_graceover.png (4.5 KB, 0 views)
File Type: png markfl_forceavatar_phrases.png (11.9 KB, 0 views)
File Type: png markfl_forceavatar_acp.png (48.0 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
Alan_SP, X-or

Comments
  #2  
Old 02-29-2016, 02:21 PM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mark, you are on fire!

Great idea, I am working on a site with over 100000 members with MANY missing avatar images.
Drives me nuts seeing the missing image X on postbit.
This will force them to add an avatar before continuing right?
Reply With Quote
Благодарность от:
MarkFL
  #3  
Old 02-29-2016, 02:28 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by blind-eddie View Post
Mark, you are on fire!

Great idea, I am working on a site with over 100000 members with MANY missing avatar images.
Drives me nuts seeing the missing image X on postbit.
This will force them to add an avatar before continuing right?
Yes, they will not be allowed to do anything (except log out) without defining an avatar.

I think this will work on vB 3.8.x too without any changes, and I am going to check that out soon, and either way I will be releasing a vB 3.8.x version (hopefully) sometime today.
Reply With Quote
  #4  
Old 02-29-2016, 02:35 PM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default



Thank you and nominated.
Reply With Quote
Благодарность от:
CAG CheechDogg
  #5  
Old 02-29-2016, 03:47 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update - Version 1.1:

At the suggestion of Stratis (who has always been a great supporter of my mods), I have made the following update:
  • Added a setting that allows you to give affected users a set number of "grace posts" that they can make before being required to define an avatar.
Reply With Quote
  #6  
Old 02-29-2016, 05:14 PM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice, works perfect in 4.2.0pl4

Thank you
Reply With Quote
Благодарность от:
MarkFL
  #7  
Old 02-29-2016, 05:21 PM
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Posts: 3,134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MarkFL View Post
I think this will work on vB 3.8.x too without any changes, and I am going to check that out soon, and either way I will be releasing a vB 3.8.x version (hopefully) sometime today.
Quote:
vBulletin Message


The following dependencies were not met:

This product is not compatible with version 3.8.7 of vBulletin. (Compatible starting with 4.0.0 / Incompatible with 5.0.0 and greater)
On install attempt at a 3.8
Reply With Quote
  #8  
Old 02-29-2016, 06:47 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well...what I meant was it might work with vB 3.8.x without any plugin code changes. Obviously the dependencies would have to be altered.
Reply With Quote
  #9  
Old 02-29-2016, 07:06 PM
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Posts: 3,134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MarkFL View Post
Well...what I meant was it might work with vB 3.8.x without any plugin code changes. Obviously the dependencies would have to be altered.
Yeah I assumed you were saying you made this version-agnostic, so tried it.
Reply With Quote
  #10  
Old 03-03-2016, 03:14 PM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Question, I use mod "Force Reading of PMs"

If member login in to site and has a private message at the same time with the announcement to define an avatar, we have a problem.
Define avatar mod does not let user to read PM. He can put avatar but for some reason, two members took time to guess , they keep pressing to read PM (I have a big image for that.)

Is there a way to block some scripts? maybe an option to insert what we want to exclude.
private, usercp, or what else.
Maybe it has problem with other forcing mods to, I did not try mod "force users to read thread"

Mark, every day members willing or not put there avatars, this changed the appearance of forum. Very nice
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 11:02 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07568 seconds
  • Memory Usage 2,352KB
  • Queries Executed 27 (?)
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
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (5)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (5)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete