Announcement

Collapse
No announcement yet.

hook throws an error?

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

  • hook throws an error?

    I'm trying to show a php table only when a certain forum is displayed, so I inserted the php code into a plugin and am having trouble whenever I enable the hook.
    (attachment #1) The error
    (attachment #2) The hook
    (attachment #3) the if statement in the FORUMDISPLAY template to display code only when its equal to 6.
    Any ideas???
    Thanks...
    Attached Files

  • #2
    Your providers_hook.php doesn't work. It's throwing up an error.

    Comment


    • #3
      this?
      << link removed - adult content >>
      (ADULT CONTENT)
      Last edited by peterska2; Thu 24th May '07, 11:37am.

      Comment


      • #4
        1. Your site has adult content, I dont care but my job (if I were posting from work) might.

        2. Questions like this should go to vbulletin.org since this is custom code

        3. I think its the code your using in the plugin (your if statement is also wrong, try testing without the condition).
        Plan, Do, Check, Act!

        Comment


        • #5
          ohhh sorry. I took out the if statement and it throws an error, it could still be the code, even if the hook (my php page) works if I go straight to the URL?)

          Comment

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