![]() |
Installed, good one. ;)
|
thanks mate. this is a nice one!
|
thanks man i was looking for it
|
Very nice product, thank you for developing!
|
Thank you! Nice! Installed - working great :)
|
When I click the download link, I just get a page with code. Shouldn't I be getting an xml file?
Bob |
sorry for asking a dumb question here but what do I have to do to make an already-existing field required? like the MSN field for example?
|
@bobs409: try right click, save as, or left click, save to disk.
@TYorke: this mod is for ACP -> User Profile Fields where both 'Field Required' and 'Field Editable by User' are set to the 'Yes' option. |
Quote:
If you haven't figured this out yet. Right click on the file and save target as. |
Just what I needed thank you very much
|
Nice hack, but there is a "BIT" more code than required for this hack. Just about 21 extra lines of code that could be eliminated :)
|
@Dark Visor: sure, take out the three rows dealing with num_rows if you want, but for this hook location, try taking out the other eighteen rows and see what you get onscreen. ;)
|
Does it have to be in that hook location? :P
|
How many rows of vB code would be processed if it were in a different hook location? ;)
|
LOL. You're right. However, a lot of standard code is better than a little custom code :) Besides, it could be done as a code mod, then you would be able to choose the most appropriate place :) (do we always have to sacrifice performance for easiness of installation? hmm...).
|
Quote:
|
Quote:
|
works great for me so far. Thanks.
|
Id like to see the users that decide to test how "required" this message really is by clicking around other links on the page to keep getting the same message screen instead of a blank html page. Can someone suggest a how-to?
Thanks, John |
They should get the message no matter what part of vBulletin they try to browse to. They do on mine.
|
Quote:
Thanks guys! -John P.S. Obviously I clicked *INSTALL* and I love this hack. nuff said. |
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 |
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 |
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? |
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!~) |
I tried the install on 3.5 and get this message after login,
Code:
Does it not add the phrase? Instrustion here seem vague? I installed the product and get the above error.. how do we fix this? |
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')) Quote:
|
yes I have that
Code:
now what? thanks for the quick reply also. |
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 FWIW, John Quote:
|
I have this
Code:
<?php |
Well if you named your CMPS page that displays all of Vbulletins pages to "forum" then you are ok with this part. You can check by going into Admin Control Panel > vBa CMPS > Edit Pages and look for "forum" if you don't see it then this is your problem and change that to what you do see there and see if that works. IF you do see it, then I'm getting at a loss for why its doing this for you...
-John Quote:
|
ok... what should be named what?
it was named default, I renamed it to forum, still not work but the identifier is still default... what where do I need to check? |
So you have to change it manualy, every time I add a new profile field I go there and change in the text what I added, that a good idea.
Tks a lot, now plz ppl, anwser is questions :P |
Quote:
http://www.vbadvanced.com/membersare...tid=4&pageid=6 Then you just have to make sure that the : <?php define('VBA_PORTAL', true); define('VBA_PAGE', 'include'); is the same as the module's identifier you created. |
Quote:
Code:
eval(standard_error(fetch_error('zzz_update_profile',$vbulletin->options['bburl'],$vbulletin->session->vars['sessionurl']))); Code:
eval(standard_error(fetch_error('zzz_update_profile',$vbulletin->options['bburl'],$vbulletin->session->vars['sessionurl'],$vbulletin->userinfo['username']))); change to Code:
Dear {3}, there are new required profile field(s) since your last visit: click <a href="{1}/profile.php?{2}do=editprofile">Edit Profile</a> to update. -John EDIT: see next post for combined features: https://vborg.vbsupport.ru/showthrea...554#post847554 |
Quote:
Code:
Dear {3} there are new required profile field(s) since your last visit: {4}. Click <a href="{1}/profile.php?{2}do=editprofile">Edit Profile</a> to update. Code:
// #### Force Current Members To Fill Out Required Profile Field #### |
Quote:
http://www.vbadvanced.com/forum/showthread.php?p=74589 But here's the quick fix: add: PHP Code:
PHP Code:
|
Im sad to say I wish I could get it to work but I cant, I named the part in the index.php file the same as the identifier and all else checks out.. I guess I cant use this
|
Quote:
|
Is there a way to force users to pick their avatar OR upload their profile's picture?
*Click Install* |
All times are GMT. The time now is 01:01 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|