![]() |
How to...
1. Add a minumum character input that a user has to add when filling in the profile field: Location?
2. Update all users profile field: Location-> to blank, no info? 3. Make the profile field: Location, only show in the postbit if info was entered. If nothing is entered, it won't display. Thanks in advance! |
3.try this one
open functions.php find: PHP Code:
PHP Code:
|
Thanks! Will give it a try. I really need number 1. :)
|
for 1:
in register.php it will work somehow similar, but i'll show you how to do in member.php :) find that: PHP Code:
PHP Code:
|
Quote:
|
it has nothing to do with the required state :)
it's jsut for field id2 :) |
Quote:
|
it was jsut the fast way ;)
you can of course create a new errortemplate and change the one if clause into too if needed :) |
Quote:
PHP Code:
|
if it's a required field, it shouldn't be able to left blank right?
|
Required fields can't be blank at registration. You can set it to blank via the admin CP IIRC though.
|
Is it possible to configure this in the admin cp, under custom profile fields? There is a maximum input line, would it be possible to add a minumum input line?
|
Not without hacking. You've come to the right place, though :p
|
Quote:
|
this :)
PHP Code:
|
Thank you Xenon! :)
|
Does the character limit apply to any? So a user could enter something like *#^@! in the locattion field? Is there a way to make it so it has to be actual letters?
|
Quote:
|
All times are GMT. The time now is 04:18 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:
|