![]() |
I want to add some custom user profile fields to the advanced member search. I've had a look around and it looks like a fair amount of hacking required to do this, but I was hoping maybe someone either has already done it or has an idea how I should go about it?
|
Not really.
You will need to edit two things: memberlist.php file and memberlistsearch template For the file, you should add something like this: Code:
if ($customfieldname!="") { somewhere in this block: Code:
if ($icq!="") { Then you will need to add an input box to the template, and make the name of it customfieldname, so it'll match the code you added earlier. Not really hard, but takes a bit time. :) |
As easy as that! Works perfectly, FireFly.
Once again, thank you very much!! :) |
Will this search any custom user profile fields that have been added in VB control panel?
Quote:
|
Yes, but you must make the changes to the parts in red and add the fields to the searching template.
|
All times are GMT. The time now is 07:20 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:
|