Announcement

Collapse
No announcement yet.

Include file in footer template

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

  • [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

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

    Comment


    • #3
      Originally posted by feldon23 View Post
      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


      • #4
        Can anyone help?

        Comment


        • #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


          • #6
            same issue here

            Comment

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