Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
Force Current Members To Fill Out Required Profile Field Details »»
Force Current Members To Fill Out Required Profile Field
Version: 1.0.0, by calorie calorie is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.5.3 Rating:
Released: 06-08-2005 Last Update: 02-01-2006 Installs: 233
Uses Plugins
 
No support by the author.

So you add a new required profile field, and members who join afterwards are forced to fill out the field, but you want your current members to fill out that field too. Well unless your current members go edit their profile, the new field sits and waits for them to take action. This mod will force your current members to fill out the field by prompting them for action before allowing them to return to normal site use. Here are some further details:
  • Install as a vB 3.5.0 product.
  • Thanks to wolfyman for this post.
  • Thanks to KirbyDE for this post.
  • Credit is given to Revan from this post.
  • Credit is given to Locutus2999 from this thread.
  • Related vB 2.2.x from roxics in this thread.
  • Here based off the vB 2.3.x hack by Locutus2999.
  • Cost to install this mod is an additional query.
  • Support only if/as time available, no guarantees.
  • Should you install, say thanks by clicking install.
Remember to set 'Field Required' to 'Yes' and 'Field Editable by User' to 'Yes' for mod to kick in (see profile how-to: http://www.vbulletin.com/docs/html/profile).

Mod Update (03 September 2005):
- changed mod from plugin/hack to product

Mod Update (01 October 2005):
- changed mod to have better output display

Mod Update (10 October 2005):
- changed mod to use required, editable fields

Mod Update (02 February 2006):
- added vB v.3.5.3 force profile update mod

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
b00k

Comments
  #102  
Old 12-12-2005, 09:47 PM
fyjpm's Avatar
fyjpm fyjpm is offline
 
Join Date: Oct 2005
Location: Buffalo, NY
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ConqSoft
They should get the message no matter what part of vBulletin they try to browse to. They do on mine.
You know what I almost cross posted you because I was looking at the code and it does seem that they should keep getting it...I'm thinking its because I'm using CMPS that a blank screen is happening? I'll post back my findings, anyone else have an idea please reply.

Thanks guys!

-John

P.S. Obviously I clicked *INSTALL* and I love this hack. nuff said.
Reply With Quote
  #103  
Old 12-12-2005, 10:00 PM
fyjpm's Avatar
fyjpm fyjpm is offline
 
Join Date: Oct 2005
Location: Buffalo, NY
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can I get the members username in the error message like this:

"Dear so-and-so, you need to fill in the required field blah blah blah..."

Anyone?

Thanks,

John
Reply With Quote
  #104  
Old 12-12-2005, 10:45 PM
fyjpm's Avatar
fyjpm fyjpm is offline
 
Join Date: Oct 2005
Location: Buffalo, NY
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by fyjpm
post back my findings, anyone else have an idea please reply.
Ok I found ok that if you are running CMPS by vBAdvanced that you will not continue to get the errror message on anything besides the CMPS homepage if you have the following enabled in your other php files:

define('VBA_PORTAL', true);
define('VBA_PAGE', 'include');

meaning that you are running vB inside of the CMPS system. I'm suprised no one has run across this yet as I thought lots of ppl used the CMPS product. Any how I still haven't figure out the solution, but I know that if I comment out those lines in all the .php files I edited it works.

Again, if anyone has any further insight that would save me some time, please reply. And thank you very much!

-John
Reply With Quote
  #105  
Old 12-12-2005, 11:28 PM
Kuimera Kuimera is offline
 
Join Date: Aug 2005
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I know this should be kind of hard request, but sometimes we get that kind of dumb users who dont know the hell what is a profile, and when that message shows, they tend to go to the profile and leave without changing anything...
Is there a way to show in the msg what are the new profile fields or something?
Reply With Quote
  #106  
Old 12-12-2005, 11:46 PM
fyjpm's Avatar
fyjpm fyjpm is offline
 
Join Date: Oct 2005
Location: Buffalo, NY
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kuimera
I know this should be kind of hard request, but sometimes we get that kind of dumb users who dont know the hell what is a profile, and when that message shows, they tend to go to the profile and leave without changing anything...
Is there a way to show in the msg what are the new profile fields or something?
Go to:

vB Control Panel > Languages & Phrases > Search in Phrases >

Search for Text :"zzz_update_profile" and tick the "Phrase Variable Name Only" box.

Now you can click "Edit", then click "Copy Default Text", and edit what you want to say to your users on the screen before they click "Edit Profile".

Worked for me!

-John

(P.S. LoL now I wish someone could answer my Q's too!~)
Reply With Quote
  #107  
Old 12-13-2005, 12:25 AM
cbr929rrerion cbr929rrerion is offline
 
Join Date: Oct 2005
Posts: 275
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tried the install on 3.5 and get this message after login,

Code:
Fatal error: Call to undefined function: print_portal_output() in /hsphere/local/home/crotchro/crotchrocketracing.com/includes/functions.php on line 4175
anyone have a fix?

Does it not add the phrase? Instrustion here seem vague? I installed the product and get the above error.. how do we fix this?
Reply With Quote
  #108  
Old 12-13-2005, 12:29 AM
fyjpm's Avatar
fyjpm fyjpm is offline
 
Join Date: Oct 2005
Location: Buffalo, NY
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks like you are running vBAdvanced CMPS...make sure in your ./includes/functions.php file you have the code required from it...it looks like this:

Code:
        if (defined('VBA_PORTAL') AND !defined('SKIP_OUTPUT') AND !defined('VBA_SCRIPT'))
        {
                define('SKIP_OUTPUT', true); 
  
                 global $home;
  
                print_portal_output($home, $vartext);
        }
Quote:
Originally Posted by cbr929rrerion
I tried the install on 3.5 and get this message after login,

Code:
Fatal error: Call to undefined function: print_portal_output() in /hsphere/local/home/crotchro/crotchrocketracing.com/includes/functions.php on line 4175
anyone have a fix?

Does it not add the phrase? Instrustion here seem vague? I installed the product and get the above error.. how do we fix this?
Reply With Quote
  #109  
Old 12-13-2005, 12:37 AM
cbr929rrerion cbr929rrerion is offline
 
Join Date: Oct 2005
Posts: 275
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes I have that

Code:
if (defined('VBA_PORTAL') AND !defined('SKIP_OUTPUT') AND !defined('VBA_SCRIPT'))
	{
		define('SKIP_OUTPUT', true);

		global $home;

		print_portal_output($home, $vartext);
	}
thats is in includes/functions.php

now what?

thanks for the quick reply also.
Reply With Quote
  #110  
Old 12-13-2005, 12:41 AM
fyjpm's Avatar
fyjpm fyjpm is offline
 
Join Date: Oct 2005
Location: Buffalo, NY
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you have this at the top of your main forum homepage? (either forum.php or whatever you renamed it to...if you are not using CMPS as your homepage then look in index.php)

Code:
<?php
define('VBA_PORTAL', true);
define('VBA_PAGE', 'include
I think you need to just really go through the CMPS installation instructions and make sure everything is as it should be...this seems to be your trouble.

FWIW,

John

Quote:
Originally Posted by cbr929rrerion
yes I have that

Code:
if (defined('VBA_PORTAL') AND !defined('SKIP_OUTPUT') AND !defined('VBA_SCRIPT'))
	{
		define('SKIP_OUTPUT', true);

		global $home;

		print_portal_output($home, $vartext);
	}
thats is in includes/functions.php

now what?

thanks for the quick reply also.
Reply With Quote
  #111  
Old 12-13-2005, 12:46 AM
cbr929rrerion cbr929rrerion is offline
 
Join Date: Oct 2005
Posts: 275
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have this

Code:
<?php
define('VBA_PORTAL', true);
define('VBA_PAGE', 'forum');
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 03:07 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.04463 seconds
  • Memory Usage 2,314KB
  • Queries Executed 25 (?)
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
  • (7)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete