PDA

View Full Version : Miscellaneous Hacks - Incomplete Profile Fields Reminder


Kaezul
19 Aug 2006, 02:15
Incomplete Profile Fields Reminder
Port of the 3.5 version located here
(http://www.vbulletin.org/forum/showthread.php?t=124353)
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 (http://www.vbulletin.org/forum/member.php?userid=58527) for the idea.

Please click Install (http://www.vbulletin.org/forum/vborg_miscactions.php?do=installhack&threadid=124354) if you use this hack.

Mr Chad
19 Aug 2006, 03:57
very nice hack!

Pvtiste
19 Aug 2006, 04:14
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
19 Aug 2006, 04:25
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
19 Aug 2006, 04:32
Perfect ! Thank you so much for your answer ;)

Kaezul
19 Aug 2006, 04:34
Perfect ! Thank you so much for your answer ;)

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

nix
19 Aug 2006, 07:01
Wow, great idea. Love it!

Snake
19 Aug 2006, 12:09
I love it! :D

ConqSoft
19 Aug 2006, 12:29
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
19 Aug 2006, 14:47
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
19 Aug 2006, 16:21
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
19 Aug 2006, 17:40
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
19 Aug 2006, 20:49
Is there any way that I can have this shown ONLY on the usercp page?

MGM out

Kaezul
19 Aug 2006, 21:01
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
20 Aug 2006, 04:11
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
21 Aug 2006, 00:43
Thanks a lot! :)

MGM out

GreysAnatomy
21 Aug 2006, 10:36
D/led and will install as soon as my site decides to work again. Thanks!

upsetter
21 Aug 2006, 10:44
verry cool, thanks for the mod.

Ascor
23 Aug 2006, 03:02
installed, thank you :)

GrendelKhan{TSU
28 Aug 2006, 11:46
sweetness!! :)

<< installs :)

Ninth Dimension
09 Sep 2006, 22:59
Nice hack :D

Lionel
18 Sep 2006, 10:05
Hi, I can't get it to work. I did find a typo. You put optinos instead of options. Maybe there is something else?

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

Lionel
18 Sep 2006, 10:29
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
18 Sep 2006, 13:01
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
22 Sep 2006, 22:31
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
06 Feb 2007, 16:52
Love the hack. Location is important on our site!

djbaxter
08 Feb 2007, 04:33
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
09 Apr 2007, 19:58
Love this!!! Thank you!!:up:

djbaxter
10 Apr 2007, 00:48
What would make it better would be if it could also flag non-custom profile fields, like birth dates...

deezelpope
10 Apr 2007, 11:19
I agree, but some people are weird about their birthdays...I don't get that.:erm:

djbaxter
10 Apr 2007, 14:06
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
23 Apr 2007, 23:45
How do I change the X days to 31 days ? so that the user can`t decide himself ???

melscamera
26 Apr 2007, 21:28
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
very nice hack!

BadgerDog
28 Apr 2007, 01:04
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
28 Apr 2007, 01:25
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
17 May 2007, 11:33
*installed*

shlomot
17 May 2007, 14:40
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
17 May 2007, 16:24
very interesting hack, installed!

Mrdby
18 May 2007, 21:41
3.6.7?

xXxStitchxXx
19 May 2007, 10:30
How can I edit the message for my users? I have Russian version of VB running.

Mrdby
21 May 2007, 16:45
How do you make it REQUIRED?

MeMySelfNi
22 May 2007, 04:40
even after i clicked for it not to show up until the time i instructed it kept popping up everytime i logged on the board.

voclain
22 May 2007, 21:02
This is EXACTLY what I've been looking for...I have not read through the entire thread yet...but I am going to.

Just incase it's not there.....can I ask for a modification????

I would like to know if I could make it where this box NEVER goes away (unless they fill out the field)....or.....make it so that they cannot go into the forum unless they fill out those required fields....

Is there a way to do that????

Kirk

ymy
08 Jul 2007, 17:34
3.6.7?

Yes, 100% :up: with 3.6.7


ymy

,

Brandon Sheley
08 Jul 2007, 17:59
nice hack :)

FatalBreeze
21 Jul 2007, 22:49
Great hack! but i have a question before i install:
If i set the "Hide blank fields notice" to "show every x days" and a user then enters in the box 999999999999 days. would he be able to do that?

Another thing is a suggestion, i think you sould add another option, maybe the administrator can decide that a specific field is so important that it must be filled, otherwise the user can't post posts, can't read threads etc. before the field is complete?

I'd like to here your response, Thanks in advance :)

mgurain
04 Oct 2007, 13:47
Great hack! but i have a question before i install:
If i set the "Hide blank fields notice" to "show every x days" and a user then enters in the box 999999999999 days. would he be able to do that?

Another thing is a suggestion, i think you sould add another option, maybe the administrator can decide that a specific field is so important that it must be filled, otherwise the user can't post posts, can't read threads etc. before the field is complete?

I'd like to here your response, Thanks in advance :)

I was comming to this mod only to make some fields "must be filled", but it seems it gives the user the option to skip it!

haytham
27 Oct 2007, 12:52
Please make it so it has to be filled in not a choice or they will not be able to enter the forum. Thanks

leroub
02 Nov 2007, 14:48
Thx for this hack...

For french people.... this is a translation.... ;)

yotsume
08 Dec 2007, 18:25
Even though I un-installed this hack it still asks my members to fill in missing profile fields. I need to know ASAP how to 100% remove this hack and all its changes it makes please!

yotsume
08 Dec 2007, 18:44
How do I remove this mod. I uninstalled it but it is still asking my members to complete missing fields. You mod has made my whole board useless! So help PLEASE ASAP!!!

How do I remove all changes this mod makes so it will no longer ask my members to complete their profiles. Its uninstalled and their must be changes this mod makes to other files or to the database. Im on 3.6.8 latest release and you kill my board!

Help me get rid of this ASAP please!

yotsume
08 Dec 2007, 18:45
Developer last online in Sept! Thats scary I missed that and everyone should be warned there are many glitches in this if you have 3.6.8!

yotsume
08 Dec 2007, 19:24
WARNING!!!
This mod will kill your board if you install on the latest vb 3.6.8x


I just talked to the little kid on msn messenger and here is his crap response after killing my board!

[12:10] Yotsume: hello
[12:10] Yotsume: i need help please with your mod
[12:10] Yotsume: you killed my vbulletin board with your missing profile mod!
[12:10] Jarin :: Eden: I didn't kill anything... you install mods at your own risk.
[12:11] Yotsume: i un-installed it but it still asks my members for missing fields
[12:11] Yotsume: so how do i remove your mod and get it to no longer ask members
[12:11] Jarin :: Eden: I haven't worked with vBulletin in over a year, I'm not familiar with the latest versions.
[12:12] Yotsume: so what changes does your mod make?
[12:12] Jarin :: Eden: Open the install file in notepad, it will tell you.
[12:12] Yotsume: what add-ins does it make so i can hunt it down edit the files i need to and fix my board
[12:12] Jarin :: Eden: Chances are you installed it on a version of vBulletin that's not compatible with it
[12:12] Jarin :: Eden: If that's the case I can't do anything for you.
[12:12] Yotsume: 3.6.8
[12:12] Yotsume: latest
[12:12] Jarin :: Eden: I haven't coded since 3.5
[12:12] Yotsume: i need a little help of where to look is all
[12:13] Jarin :: Eden: Check the database for a plugins table.
[12:13] Yotsume: your mod says 3.6X
[12:13] Jarin :: Eden: Yes, 3.6X at the time of release, that says nothing about future versions.
[12:13] Jarin :: Eden: It helps to read the release dates.
[12:13] Yotsume: it helps to make clear releases as well!!!
[12:13] Yotsume: please dont shoot at me
[12:14] Yotsume: your mod needs to be removed from Vb all together!
[12:14] Yotsume: it's very dangerous

[12:14] Jarin :: Eden: Feel free to have them removed, I really don't care. I don't want anything to do with vBulletin.


Please ADMIN remove this hack asap so others dont destroy their boards!

yotsume
09 Dec 2007, 19:24
Can anyone update this hack so it will work with 3.6.8. Its a great hack but the designer is a serious nod. So can someone with a code clue take it over and update it please.

I think everyone who uses VB will love it!

BadgerDog
09 Dec 2007, 21:02
For anyone wondering about version compatibility, it's working fine for me on v3.67pl1 ....... :up:

Regards,
Badger

yotsume
10 Dec 2007, 00:28
Sorry I believe your are wrong big time! It works because you have it installed. You will not be able to disable the hack, your will not be able to uninstall it!

Even though you disable this hack or uninstall it your members will still get a message asking them to complete profile fields. They will not be able to post any messages rendering your site 100% useless. Even though you uninstall it the message will still remain.

I am sorry but I believe your site is now infected as well as mine with this. Make a test account fill in the profile and leave some fields out. Then disable the hack and see if you are screwed for real or not.

I hope not!!! Please post and let everyone with 3.6.7x know for their sake! This is 100% the case on 3.6.8 latest build.

This is a great hack that is very powerful. It needs to be taken over by someone with a code clue and updated ASAP! Many people use vbulletin for business and work. This hack has the potential to do real damage to an entire site!

The snot nose kid who coded this was maybe 13 at the time and said 3.6.0 compatible. I am sorry but there needs to be a better checks and balance system for released hacks!

For anyone wondering about version compatibility, it's working fine for me on v3.67pl1 ....... :up:

Regards,
Badger

BadgerDog
10 Dec 2007, 13:15
Infected ... :confused:

I un-installed and re-installed without a problem..... :up:

I turned it ON and Off..... :up:

I disabled the mod under the products menu .... :up:

I guess I'm just fortunate, but for whatever reason, I'm not infected (whatever that means) and .... yes, it does work fine for me under v3.67pl1... :erm:

Regards,
Badger

yotsume
10 Dec 2007, 14:06
Did you test it with a user account? Yea sure it looks un-installed or disabled until a user tries to enter the site with incomplete profile fields... So did you actually test it? Just uninstalling and reinstalling will not tell you if you have a problem.

Mine even though its un-installed wil not allow a user to have incomplete fields. Also, when the product is installed it no longer shows the fields I set it to check. It just shows the message but no longer shows which field titles they have to complete.

Mine is a nice mess. I think Before I scream more for help I will have to deactivate my other hacks and see if there is a conflict with this...