![]() |
Load specific custom field in registration page?
Hello! Currently the default Register template uses {vb:raw customfields_option} to load all custom fields into the Register page. I want to load specific individual custom fields where I see fit on the Register page, instead of the ALL custom fields in one block. What is the vb raw code to load a single specific custom field for the new user to fill in?
Thanks! |
Hello, I am unable to test this to ensure it works - however if you haven't tired already:
Reviewing register.php: Code:
if ($profilefield['required'] == 2) Code:
<vb:if condition="$profilefield[required] != 2">{vb:raw customfields_option}</vb:if> |
That didn't work for me. Any other ideas? Thanks, by the way. :)
|
The next idea would be to edit the register.php. In the same snippet of code, remove:
Code:
if ($profilefield['required'] == 2) Code:
if ($profilefield['required'] != 2) |
Hmmm... unfortunately, there is nothing loading when I try your method. No errors, no fields, nothing. Also, I am not sure if it matters, but these fields I am trying to display are not required fields.
|
Oh I was believing they were required custom fields. Both of my snippets above were as if they were required during registration.
|
So, does anyone know how to help me?
|
Help? Anyone?
|
All times are GMT. The time now is 11:37 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:
|