Recent content by Krel

  1. Krel

    XF 2.0 xf2 callback. insert php in template.

    Ok. That's my solution: 1. Create dir at /src/addons/Quotes/ 2. put there file touch /src/addons/Quotes/Quotes_Index.php <?php namespace Quotes; class Quotes_Index { your code here } 3. In template insert <xf:callback class="\Quotes\Quotes_Index" method="getHtml"></xf:callback> It works well.
  2. Krel

    XF 2.0 xf2 callback. insert php in template.

    Could you please google for me some manuals? I really can't understand what to do and what to change.
  3. Krel

    XF 2.0 xf2 callback. insert php in template.

    Not works. I put in library/Quotes/Index.php <?php class Quotes_Index { public static function getHtml() { //include '\library\Example\Srv_Status.php'; include '/var/www/html/quotes.php'; return $output; } } ?> Then I tryed insert in template <xf:callback class="Quotes_Index"...
  4. Krel

    XF 2.0 xf2 callback. insert php in template.

    Hello. This code worked with xf1.x. <xen:callback class="Quotes_Index" method="getHtml"></xen:callback> After upgrade to 2.0 this code doesn't work. Please tell me how change this code for xenforo 2? I'd like to insert php in my template xf2.
  5. Krel

    [solved] Max upload size via xenforo resource manager. Can't upload more than ~30mb

    My friends! I found answer! Oh.. All day... If you have same problem, then check next files: /etc/ngingx/site-available/mysite.conf (default maybe...) there you find another client_max_body_size 32m; change it. Thanks me :)
  6. Krel

    [solved] Max upload size via xenforo resource manager. Can't upload more than ~30mb

    Hello. I need help. Sorry for my English. I have the latest xenforo forum. And the latest resource manager version. I configured server. And now I can upload about 30mb. But I need more! How to fix this problem? My server is nginx with php-7.0.19-1 at debian 9.0. My phpinfo strigs...
Top Bottom