vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - Incomplete Profile Fields Reminder (https://vborg.vbsupport.ru/showthread.php?t=124354)

Kaezul 08-18-2006 10:00 PM

Incomplete Profile Fields Reminder
 
Incomplete Profile Fields Reminder
Port of the 3.5 version located here

What this addon does:
If your user has a profile field that has not been filled out, a box will appear on the forum home (or on all pages - admin's option) notifying them of the field's incompletion. The user then has the option to hide the box (either forever or for X amount of days - admin's option also) and edit their profile.

Installation
1. Import the XML file into the product manager
2. No template edits!
3. Enjoy

An AdminCP vBulletin Options section is included to manage which fields should be monitored for incompletion, how long the user can hide the box for, and where the notice should appear.

Notes

You may use this hack as you see fit. You have my permission to modify it in any way you see fit. Should you modify this hack and decide to distribute your own version, you must provide credit to me by linking to this thread.

As always, if you find any bugs, have any suggestions, comments, etc, please post them in this thread.

Credits to Paul41598 for the idea.

Please click Install if you use this hack.

Mr Chad 08-19-2006 01:57 AM

very nice hack!

Pvtiste 08-19-2006 02:14 AM

Very good work ! Install ;)

Just a question, I would like to translate any sentences but when I don't find where is it...

Could I have your help please :D

Thanks

Kaezul 08-19-2006 02:25 AM

Quote:

Originally Posted by Pvtiste
Very good work ! Install ;)

Just a question, I would like to translate any sentences but when I don't find where is it...

Could I have your help please :D

Thanks

Well, the hack isn't phrased, so you'll have to edit the 'blankfields' template.

Pvtiste 08-19-2006 02:32 AM

Perfect ! Thank you so much for your answer ;)

Kaezul 08-19-2006 02:34 AM

Quote:

Originally Posted by Pvtiste
Perfect ! Thank you so much for your answer ;)

Sure. Let me know if something doesn't work out ;)

nix 08-19-2006 05:01 AM

Wow, great idea. Love it!

Snake 08-19-2006 10:09 AM

I love it! :D

ConqSoft 08-19-2006 10:29 AM

vBulletin 3.6.0 has this built in doesn't it? If you make a profile field required, it will force them to enter it on their next visit.

MJM 08-19-2006 12:47 PM

Yep ...
User Profile Field Manager
Field Required
Yes, at registration and Profile updating
Yes, Always
No
No but display at registration

I'm thinking the Yes, Always setting would require a user to fill in the profile at login if ...
- they had joined before this profile field was required and they had not entered info prior to it being a required field.
- if a new required profile field was created, forcing all members to provide info at login

I have not tried this out to verifiy this.

Kaezul 08-19-2006 02:21 PM

Yes, vBulletin has an option to require a field to be filled out, however it has no option to simply remind a user to fill out a field, let alone allow the reminder to show at intervals.

MJM 08-19-2006 03:40 PM

Indeed, thanks for reminding us of this reminders capabilities. ;)

Will keep subscribed to this thread as a reminder of this mod should I ever need to remind our membership to provide required info. ;) ;)

Thanks!

MGM 08-19-2006 06:49 PM

Is there any way that I can have this shown ONLY on the usercp page?

MGM out

Kaezul 08-19-2006 07:01 PM

Quote:

Originally Posted by MGM
Is there any way that I can have this shown ONLY on the usercp page?

MGM out

Yes. During my next update I'll allow you to show it on custom pages or the default pages, but showing it on custom pages will require template editing. I'll be releasing that today sometime, or maybe this evening.

Kaezul 08-20-2006 02:11 AM

Update: You can now configure the message displayed. You can also place the notice on custom pages (see screenshot) and turn the entire module on and off. 3.5 version has also been updated.

MGM 08-20-2006 10:43 PM

Thanks a lot! :)

MGM out

GreysAnatomy 08-21-2006 08:36 AM

D/led and will install as soon as my site decides to work again. Thanks!

upsetter 08-21-2006 08:44 AM

verry cool, thanks for the mod.

Ascor 08-23-2006 01:02 AM

installed, thank you :)

GrendelKhan{TSU 08-28-2006 09:46 AM

sweetness!! :)

<< installs :)

Ninth Dimension 09-09-2006 08:59 PM

Nice hack :D

Lionel 09-18-2006 08:05 AM

Hi, I can't get it to work. I did find a typo. You put optinos instead of options. Maybe there is something else?

PHP Code:

switch($vbulletin->options['blankfields_pages']) 


Lionel 09-18-2006 08:29 AM

OK, I got it to work. Did not realize that fields had to be required and there also was an execution time conflict with the global announcement hack.

However, since the fields that I want to force are not required to all (and I don't also want to scare new members with all those questions), but only to a certain usergroup, how can I make it to work with not required fields? Then I will use it in custom mode with a usergroup conditional.

Thanks.

never mind... I forgot to put the global in vbadvanced. Everything is fine...

Kaezul 09-18-2006 11:01 AM

Quote:

never mind... I forgot to put the global in vbadvanced. Everything is fine...
Glad to see you got it working. If you have any other problems just let me know. And sorry about the typo, I'll update that as soon as I can.

kushal 09-22-2006 08:31 PM

nice mod.
Thank You.

An option to disable users to set date will be good though. The admin should only be able to set the date whe it should appear again.

marcsmith73 02-06-2007 02:52 PM

Love the hack. Location is important on our site!

djbaxter 02-08-2007 02:33 AM

Any way to make this require users to update their profile with a valid birth date? My forum was 'ported to vBulletin so there are several members who haven't added that information.

deezelpope 04-09-2007 05:58 PM

Love this!!! Thank you!!:up:

djbaxter 04-09-2007 10:48 PM

What would make it better would be if it could also flag non-custom profile fields, like birth dates...

deezelpope 04-10-2007 09:19 AM

I agree, but some people are weird about their birthdays...I don't get that.:erm:

djbaxter 04-10-2007 12:06 PM

To clarify, since I imported from other software, I have a number of members who have their birth dates set to "January 1, 1" - last New Year's Day, the forum sent out a ginormous quantity of Happy Birthday emails.

Actually, even a MySQL query to reset all those to "----- <blank> <blank>" would be fine, though I know that's off-topic here - the original problem was an ImpEx issue.

kube 04-23-2007 09:45 PM

How do I change the X days to 31 days ? so that the user can`t decide himself ???

melscamera 04-26-2007 07:28 PM

excellent mod - great job.. some of these things should be standard items in VB... the more options they have i think they would sell more licenses for VB
Quote:

Originally Posted by Mr Chad (Post 1055516)
very nice hack!


BadgerDog 04-27-2007 11:04 PM

Uninstalled from v3.6.4... too bad as I really liked the premise...

Worked immediately after install until very first user (happened to be Admin status) clicked "Never Show Again" option at the Forum Home screen .....

After that action, the prompt never comes up for anyone, even though their profile fields are empty.

I tried un-insalling it, then re-installing it on the premise that it might have to re-initialize, but it still won't prompt under NavBar, except for that very first time.

I'll try it again if a new release comes out, on the off chance it will make a difference.

Thanks for the efforts. I do appreciate all of these coders who spend their personal time to help folks like me who just use their products.

Regards,
Badger

BadgerDog 04-27-2007 11:25 PM

Ignore last post ... :o

Installed... works just fine.... :up:

A word for other folks as dumb as me. When you are testing from one computer using multiple usernames, remember that some mods use cookies that affect all usernames from the same machine. :D

Anyway, I cleared the cookie and everything started working...

Give me a coffee break and you have to retrain me... :D

Thanks

Regards,
Badger

MeMySelfNi 05-17-2007 09:33 AM

*installed*

shlomot 05-17-2007 12:40 PM

A promising MOD, thank you.

A quick question before installation: any chance that it may clash with vb 3.6.7 PL1?

Thanks again.

machethier 05-17-2007 02:24 PM

very interesting hack, installed!

Mrdby 05-18-2007 07:41 PM

3.6.7?

xXxStitchxXx 05-19-2007 08:30 AM

How can I edit the message for my users? I have Russian version of VB running.


All times are GMT. The time now is 02:20 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.01355 seconds
  • Memory Usage 1,809KB
  • 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
  • (1)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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