Search results

  1. E

    XF 2.1 Help on a page

    Hello, I want to know if it's possible to include a php file or php syntax on a page like that: <xf:if is="{{ $xf.visitor.isMemberOf(5) }}"> include 'mypage.php'; <xf:else /> Sorry But you have not buy this product yet </xf:if> Thank in advance
  2. E

    XF 2.1 PHP Function in an add-on

    Hello , I need to add a license system for my add-on for avoir share and i just need to add this on my add-on : require_once '../test.php'; $api = new LicenseBoxAPI(); $res = $api->verify_license(); if($res['status']!=true){ die('Your license is invalid, please contact support.'); } But i...
Top