Register Members List Search Today's Posts Mark Forums Read

Thread Tools
Old 20 Feb 2010, 14:02
MindTrix's Avatar
MindTrix MindTrix is offline
Join Date: Apr 2002
Real name: Liam Hawkins
IF conditions with custom profile fields?

Hello all, I am looking to set up a custom profile field that simply asks the user whether they want a certain thing displayed, they have the option of yes or no

How would i write the IF condition that would work with this?

Hacks Made :
Store 3.0 Color Name Add On.
Last 5 Attachments On Forum Home
Rap Battle System -=RBS=-

Tutorials Made :
The Basics Of PHP For Beginners and The Basics Of PHP [Part 2]

Running away from that Thousand Post Mark
Reply With Quote
Old 20 Feb 2010, 17:59
Lynne's Avatar
Lynne Lynne is offline
Join Date: Sep 2004
Real name: Lynne
Depends on what template you are using this in. You may have to do a JOIN in a query to get the field and then to use it, it would be $variableName['fieldx'] where variableName is the name of the variable and x is the field number.
Former Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
Old 29 Jul 2010, 11:10
Dunhamzzz Dunhamzzz is offline
Join Date: Jul 2008
Real name: Matthew
Bump, I am looking on how to do this to display something in the footer..
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

New To Site? Need Help?

All times are GMT. The time now is 21:59.

Layout Options | Width: Wide Color: