Announcement

Collapse
No announcement yet.

Putting PHP Code into Vbulletin styles?

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

  • Putting PHP Code into Vbulletin styles?

    I tried putting PHP code within <? ?> on my Vbulletin header, but it doesn't show. Is there some sort of restriction option that I can turn off to get it to work?

  • #2
    You can't add php code to the templates as the code will not be parsed. You can use the Plugin System to add code. For help with custom coding please ask over at vBulletin.org

    Comment


    • #3
      Originally posted by Gareth-AWD View Post
      I tried putting PHP code within <? ?> on my Vbulletin header, but it doesn't show. Is there some sort of restriction option that I can turn off to get it to work?
      Search for a mod called "let php live" over on vbulletin.org. It allows you to do what you're talking about.

      Comment


      • #4
        I'd avoid that modification and learn to use the plugin system.

        Comment

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