Include file in footer template

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Muller2
    New Member
    • Sep 2009
    • 7
    • 3.8.x

    [Forum] Include file in footer template

    Hi,

    I would like to include a php file in the footer template and I followed this guide http://www.vbulletin.com/forum/showt...P-or-HTML-File but that doesn't seem to work.

    Has this changed in VB4? Or am I doing something incorrectly?

    On the template I have '<div>$includedphp</div>' and on my plugin that is active I have

    Code:
    ob_start();
       include('sitestats.php');
       $includedphp = ob_get_contents();
    ob_end_clean();
    If anyone can help it would be much appreciated

    Thanks,

    Al
  • feldon23
    Senior Member
    • Nov 2001
    • 11291
    • 3.7.x

    #2
    Unfortunately I have no idea how to update that for vB4 or if it's even possible.

    Comment

    • Muller2
      New Member
      • Sep 2009
      • 7
      • 3.8.x

      #3
      Originally posted by feldon23
      Unfortunately I have no idea how to update that for vB4 or if it's even possible.
      Nooooo! I really hope it's possible as I need to include some content around the forums. Thanks for looking though feldon23.

      If anyone can shred some light on the issue it please do

      Thanks,

      Al

      Comment

      • Muller2
        New Member
        • Sep 2009
        • 7
        • 3.8.x

        #4
        Can anyone help?

        Comment

        • alessio
          Member
          • Mar 2007
          • 73
          • 5.1.x

          #5
          include file in vB template

          it seem something is wrong with new template engine and this way do not work also to me.
          i will try to see if some tip can solve, but some suggestion, or better, something ready about, should be done from vB staff.
          Thank you.
          Integrations of any CMS with vBulletin

          Comment

          • hydn
            Senior Member
            • Sep 2005
            • 355

            #6
            same issue here

            Comment

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