View Full Version : Help with making a member page please!
kinhell
03-26-2011, 11:48 PM
Hi, I wanted to know if there was a way to have a page within my CMS (latest version) to list members from specified usergroups and show selected fields from their profile.
Im making a gaming guild site and wanted to show the members of the guild in a list with specified profile attributes so the page is always kept up to date with our members depending on their usergroup
Any help appreciated
Lynne
03-27-2011, 03:45 AM
You may create a PHP Direct Evaluation page in the CMS to do this.
bruneiguru
03-27-2011, 04:33 AM
Would you have any links or guides on how to create that kind of page please?
kinhell
03-27-2011, 09:18 AM
Thanks Lynne is there any example code I could use or anything as Im not sure where to begin really
Lynne
03-27-2011, 05:58 PM
Here's a real simple one:
$x=vB::$vbulletin->userinfo['username'];
$output .="
Your Forum Username Is:<br />
<b>".$x."</b>";
Just write your php in there and make sure your output is assigned to $output
AFemaleProdigy
03-28-2011, 03:57 AM
Hey, use this to show your specific custom profile fields in your new memberlist...
{vb:raw userinfo.field12}
Change the number 12 to whatever your custom field number is. Find that number in the admincp user profile fields editor.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.