The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Can anyone lend a hand on a) How to achieve this or b) Proper search terms to find instructions on this? I have different demographics at registration including Zip Code and Income Range that I need to extract for a media kit, but cannot seem to figure out how to do this. Thanks in advance!
|
#2
|
||||
|
||||
![]()
I think this is what your looking for.
Within your "media kit", where you wish for those fields to display, add the following code. replacing the xxx with the field number of that field. Repeat these steps for each field you what to show. Code:
<if condition="$user['fieldxxx']"> <li><span class="shade">$vbphrase[fieldxxx_title]</span> $user[fieldxxx]</li> </if> Hopefully, this is what you were referring to & I answered it correctly with coding from a mod here. |
#3
|
|||
|
|||
![]()
Hi thanks for the reply, but that simply shows one field. I need to get all of the data from the members, so that I can put in the media kit things statistics such as:
Household income: 100-10000 20% 10001-1000000 40% etc. |
#4
|
||||
|
||||
![]()
Then repeat that step until to add each you want added.
|
#5
|
|||
|
|||
![]()
Use the database manager with an SQL statement like this to grab all of the data for all users. Change the field numbers appropriately.
PHP Code:
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|