vBulletin 4.2.3 Problem in CMS!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Tobias Pohlmann
    New Member
    • Sep 2012
    • 16

    vBulletin 4.2.3 Problem in CMS!

    Today i was testing include a Simple Bannerscript into vBulletin PHP Widget, but it does not work.

    PHP Code:
    ob_start();
    include_once(
    "/banner/banner.php");
    $output .= ob_get_contents();
    ob_end_clean(); 
    My Target File is here : https://god-network.org/banner/banner.php

    So, why it does not work ?!

    Note, i do not need install custom Plugin, i ONLY need include a PHP Script and show the Result in the middle filed of the widget.

  • Teascu Dorin
    Senior Member
    • Aug 2010
    • 257

    #2
    I am not sure if I am wrong or not but I think developers are not allowing direct load of unknown php files for security reason. Maybe this could be the reason.
    Best Regards

    roStyles Design LLC
    CEO & Founder (Design and Support)
    Romanian Translator
    Teascu Dorin

    Comment

    • Tobias Pohlmann
      New Member
      • Sep 2012
      • 16

      #3
      But this helps me not... I need a fix...

      Comment

      • Mark.B
        vBulletin Support
        • Feb 2004
        • 24286
        • 6.0.X

        #4
        This behaviour won't work. You can't include external php files in a CMS widget.
        For help with modifying the code, please ask on www.vbulletin.org.
        MARK.B
        vBulletin Support
        ------------
        My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
        My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

        Comment

        • Tobias Pohlmann
          New Member
          • Sep 2012
          • 16

          #5
          Okay...

          Comment

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