Announcement

Collapse
No announcement yet.

Why doesn't this code work ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Why doesn't this code work ?

    [[($vbulletin->userinfo[email][email protected])]] Friendly notice: Please check your forum email address. Your emails are bouncing back. You can go to your users CP to update. Let me know when you've done so. Best Regards[[/($vbulletin->userinfo[email][email protected])]]

  • #2
    Are you trying to make a template conditional inside a template, or a plugin PHP code conditional for a hook?

    Comment


    • #3
      <if condition="$bbuserinfo['email'] == '[email protected]'">blah blah </if>

      for a template

      Comment


      • #4
        template conditional inside a template

        Do I include the single and double quotation marks?


        Thanks

        Comment


        • #5
          Yes, the ' and " i used in my conditional are required.

          Comment


          • #6
            Thank you.

            If I may one last question.....

            In terms of using an email variable....

            What would the code look like for the same function in a PHP plug in Hook?


            Best Regards,

            MP

            Comment

            widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
            Working...
            X