![]() |
Quick question on Users Awaiting Moderation customization
I am currently in the process of customizing the "Users Awaiting Moderation" in the admincp where it lists the users User Name, Email, and IP.
I am in the process of adding a couple of fields on it and stuck on the Age portion. I looked in the postbit to grab and show you what I'm looking for. In this portion of code HTML Code:
<if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if> I can't get the age to show up. So far, I have this in my admincp/user.php file PHP Code:
Thanks It's probably something obvious I'm looking over. It's late and I can't think clearly |
its probably not $post['age'] its most likely something like $post['field2']
|
No, because field2 is location
|
$post['age'] is referring to the 'age' field of the user table.
|
Quote:
|
You need to query the database to retrieve the field.
|
Ok, what do I need to add and where? I'm not very experienced with PHP or MySQL queries. Thanks for your responses :)
|
What do you currently have as your query with $users as the variable?
|
All times are GMT. The time now is 11:35 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:
|