The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Memberlistsearch based on value of custom field in user's own profile.
Hello,
I'm looking for a way to create a link which searches in the memberlist for a value in a custom profile field (single selection menu). That in itself is not so difficult. See for example here: http://www.vbulletin.com/forum/showthread.php?t=169266 However: I want the value to search for to be the value which the current user has selected in their own profile. More specific: I have a single selection menu for countries. I want a link which states: Click here to find all the users in your country. That would be something like memberlist.php?do=getall&field7=[somecode whichs gets the integer value belonging to the country of the user clicking the link] Any idea how this could be done? Any help would be appreciated. Regards, Walrick --------------- Added [DATE]1218451594[/DATE] at [TIME]1218451594[/TIME] --------------- Please note that "$bbuserinfo[field7]" doesn not work. The field is a single-selection menu, which means that the value which is needed in the URL is an integer. But $bbuserinfo[field7] gives me not the integer but the actual contents of the field. That is what makes this a difficult case. Somehow I have to translate the contents of the user's profile field into the corresponding integer. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|