vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v3.0 Support > Troubleshooting & Problems

Reply
 
Thread Tools Display Modes
  #1  
Old 12-30-2008, 10:02 AM
freni32 freni32 is offline
Member
 
Join Date: Oct 2007
Posts: 87
Default IF statement, need help

trying to write an IF statement that way their is different unique text at the top of my website on each different category using vbulletin forum. I tried writing this IF statement in my header and it doesnt work, any ideal why?

<if condition="$forum[forumid] == 9">
<h4>Valentine One Radar Detector</h4>
<b>Valentine One Radar Detector Reviews</b>. </i>Valentine one radar detectors</i> are one of the top performing <i>radar detectors</i> on the market! They have arrows to display the direction where the cop is at and also gives you a count of how many the radar detector is detecting. Valentine One Radar <b>V1</b> is one of the leading radar detectors as well at <i>detecting laser</i>!
</if>
Reply With Quote
  #2  
Old 12-30-2008, 10:33 AM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default

Not really sure why that wouldn't work off the top of my head. It really doesn't have anything to do with vBa products though if you're doing this on your forums pages, so help with vBulletin issues should be asked for at vbulletin.org/com.
Reply With Quote
  #3  
Old 12-31-2008, 01:43 AM
LT Mote LT Mote is offline
Junior Member
 
Join Date: Sep 2006
Posts: 4
Default

<if condition="$bbuserinfo[usergroupid] == 9">

is the proper form of the IF code

--EDIT--

lmao, my bad... Your not doing user group.... Your doing forum IDs xD just noticed that lmao.

Last edited by LT Mote; 12-31-2008 at 01:53 PM.
Reply With Quote
Reply


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

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Conditional Statement Itworx4me Troubleshooting & Problems 6 01-20-2011 10:11 PM
If statement for homepage only freni32 "How Do I..." Questions 13 12-29-2008 02:07 PM
Can anyone tell me what this is in the If statement. Techmonkeys Troubleshooting & Problems 1 12-08-2008 11:08 AM
IF statement badseed "How Do I..." Questions 9 03-29-2008 06:46 PM
Need if/else statement for urls macker123 Modifications 6 01-20-2005 12:30 AM


All times are GMT -4. The time now is 05:11 AM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.