1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Display XF version on external page

Discussion in 'General PHP and MySQL Discussions' started by LPH, Nov 25, 2013.

  1. LPH

    LPH Well-Known Member

    I'm trying to figure out the best way to display the currently installed XenForo installed on a website. The php page is for diagnostics / troubleshooting a WordPress plugin.

    I tried the following but nothing is returned for XF.

      echo "The installed version of XenForo is" ;
       global $XF;
       echo $version ;
       echo "<br />The installed version of WordPress: ";
       echo bloginfo('version');
    Thank you for any guidance.
  2. xf_phantom

    xf_phantom Well-Known Member

    Where does $version come from?:D

  3. LPH

    LPH Well-Known Member



Share This Page