The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Force Current Members To Fill Out Required Profile Field Details »» | |||||||||||||||||||||||||||
Force Current Members To Fill Out Required Profile Field
Developer Last Online: Nov 2023
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:
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
|
Благодарность от: | ||
b00k |
Comments |
#102
|
||||
|
||||
Quote:
Thanks guys! -John P.S. Obviously I clicked *INSTALL* and I love this hack. nuff said. |
#103
|
||||
|
||||
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 |
#104
|
||||
|
||||
Quote:
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 |
#105
|
|||
|
|||
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? |
#106
|
||||
|
||||
Quote:
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!~) |
#107
|
|||
|
|||
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 Does it not add the phrase? Instrustion here seem vague? I installed the product and get the above error.. how do we fix this? |
#108
|
||||
|
||||
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:
|
#109
|
|||
|
|||
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); } now what? thanks for the quick reply also. |
#110
|
||||
|
||||
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 FWIW, John Quote:
|
#111
|
|||
|
|||
I have this
Code:
<?php define('VBA_PORTAL', true); define('VBA_PAGE', 'forum'); |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|