Recent content by canina

  1. C

    XF 2.1 Using a slice or a parallel function

    How can I cut a string using a slice or similar function? <xf:if is="{$xf.fullUri}.slice(0, 40) == ''"> <div> abc </div> </xf:if> (The question is that when the registration page is in Popup So the URI of PopUp also includes all the parameters are sent)...
  2. C

    XF 2.0 Request (from html page) to a function on the server after entering parameters

    I created a function in PHP, and I want the client to come to her at the click of a button. (<xf: callback> gives access to the function and the option of sending parameters, but it reads the function as soon as the page is loaded, and I need to call the function only after there are parameters...
  3. C

    XF 2.1 Error with mailgun

    I want to send emails with a mailgun API. # Include the Autoloader (see "Libraries" for install instructions) require 'vendor/autoload.php'; use Mailgun\Mailgun; # First, instantiate the SDK with your API credentials $mg = Mailgun::create('YOUR_API_KEY'); # Now, compose and send your message...
  4. C

    XF 2.1 <xf:js> ajax to class\method

    How do I access a class / method using the client (<xf: js>)? Thanks in advance.
  5. C

    XF 2.0 bbcode to html

    How do I convert a bb code to an HTML string (on the side of the client)? Thanks
  6. C

    XF 2.0 2 different problems, and probably the common between them is the access to files

    The first problem: When I try to make a new route (for my extension), then the retention event receives an error like this: When I asked @developr he told me that I should give recursive 0777 permissions to internal_data and data folders. I gave and the problem still exists. (Canceling the...
  7. C

    XF 2.0 <xf:callbac> shows error when I want call PHP file

    @Parjam , Did you get along with it? Thanks.
  8. C

    XF 2.0 Got mkdir permission error in TMS

    @developr Did you get along with it? Thanks.
  9. C

    XF 2.0 Getting the url of my page

    I want to insert text on certain pages, according to the URL of the page where the customer stands. Which function accepts the current page (in the router)? Thanks.
  10. C

    XF 2.0 Changing Unread Post title color
  11. C

    XF 2.0 Changing Unread Post title color

    Maybe @Xon can say, what event puts the class 'is-unread' in the templet?
  12. C

    XF 2.0 Changing Unread Post title color

    still not working. The problem is that in html there is no class 'is-unread'
  13. C

    XF 2.0 Changing Unread Post title color

    I've disabled everything. still not working. (Look) Thanks