Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

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
  #12  
Old 03-03-2016, 05:38 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 Stratis View Post
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
When I force a thread to be read, then a member without an avatar first sees that he must read a thread, and then when he clicks the provided link, he sees that he must define an avatar. Once he defines an avatar, he is done, but he has not actually seen the thread he was supposed to read.

I will soon investigate how to make this work with "Force Reading of PMs" as well...I will have to install it and run some tests.
Reply With Quote
  #13  
Old 03-03-2016, 05:55 PM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MarkFL View Post
When I force a thread to be read, then a member without an avatar first sees that he must read a thread, and then when he clicks the provided link, he sees that he must define an avatar. Once he defines an avatar, he is done, but he has not actually seen the thread he was supposed to read.
You and me and many others will have no problem, they will insert first the avatar, we have in forum many "dummies" users that even to register is hard for them. (like me in coding)

They press what comes first or what they thinks that time. Any way same situation is with force PMs. Maybe their are more forcing mods out there, or other function
that I cannot remember now. If it has an option for us to exclude what we want it would be the best. neither than excluding something specific, today is PM, tomorrow maybe something else.

P.S If it is no hard to make it. Otherwise its ok as it is.
Reply With Quote
  #14  
Old 03-03-2016, 06:50 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.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.
Reply With Quote
  #15  
Old 03-03-2016, 07:57 PM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yep, this makes the difference, excellent for another time
In my case I put this (private,usercp).


Some Scripts for non coders like me.
activity
album
blog
calendar
forumdisplay
group
member
newreply
newthread
picture
private
search
showthread
usercp
vbcms

Thank you Mark
Reply With Quote
Благодарность от:
MarkFL
  #16  
Old 11-12-2016, 08:45 AM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mark today I log in as a test user that has no avatar, mod forces me to insert an avatar. If I press in tabs I have for forums I realized that all images at the left side don't show up next to the thread title. it is not problem of this mode, but I use this to show those images https://vborg.vbsupport.ru/showthread.php?t=270794


For some reason, until member puts an avatar all forums don't show images and instaed of it shows the X






Any idea?
Attached Images
File Type: png x.png (138.3 KB, 0 views)
Reply With Quote
  #17  
Old 11-12-2016, 02:45 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What do you mean by "If I press in tabs I have for forums?"
Reply With Quote
  #18  
Old 11-13-2016, 01:17 PM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MarkFL View Post
What do you mean by "If I press in tabs I have for forums?"
On Navbar I have buttons from the basic forum categories. So when they press it they redirect to the specific forum, all threads there.... images are missing as I describe in previous message.
Reply With Quote
  #19  
Old 11-13-2016, 01:32 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, just so I'm clear on what's happening...

You have a test account without an avatar, and using this account you see the error message stating an avatar must be defined.

Instead of following the link given in the error message to the UserCP to define an avatar, you click a navtab which directs you to one of your forums.

You are taken to the forum, and images that should display, do not.

Is that correct?
Reply With Quote
  #20  
Old 11-13-2016, 01:38 PM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes that is correct, actually I have seen some users in who is "on line" that they was surfing in forums with out putting an avatar, good thing is that they cannot read threads because they get the error again. So this made me to login with test user to see when they get the error and accidently I saw this issue .

Ok its not a big deal, but thought just to tell you.
Reply With Quote
  #21  
Old 11-13-2016, 01:41 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What are your excluded scripts?
Reply With Quote
Reply

Thread Tools

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 09:37 PM.


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.06074 seconds
  • Memory Usage 2,351KB
  • 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
  • (3)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
  • (11)post_thanks_box
  • (3)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (6)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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
  • 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