Jump to content

pequeno

Clients
  • Posts

    744
  • Joined

  • Last visited

  • Days Won

    1

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Posts posted by pequeno

  1. I connect correctly my X account in ACP, but when I promote in Twitter I have this error.

    " Can't promote in Twitter "

    System log

    #0 /usr/www/users/website/system/Content/Promote/Twitter.php(286): IPS\_Log::log()
    #1 /usr/www/users/website/applications/core/sources/Promote/Promote.php(614): IPS\Content\Promote\_Twitter->post()
    #2 /usr/www/users/website/applications/core/sources/Promote/Promote.php(1338): IPS\core\_Promote->send()
    #3 /usr/www/users/website/applications/core/tasks/promote.php(38): IPS\core\_Promote::processQueue()
    #4 /usr/www/users/website/system/Task/Task.php(274): IPS\core\tasks\_promote->execute()
    #5 /usr/www/users/website/system/Task/Task.php(237): IPS\_Task->run()
    #6 /usr/www/users/website/applications/core/interface/task/task.php(72): IPS\_Task->runAndLog()
    #7 {main}

     

    Loaded hooks

    • applications/collections/hooks/promoteSource.php
    • applications/collections/hooks/memberSource.php
    • applications/bouncer/hooks/Member.php
  2. On 11/25/2023 at 10:19 PM, Daniel F said:

    This is something what we have implemented for v5.

    Why? What was the issue?

    Couldn't you use the "Member Edited" trigger?

    Promote content: when promote a content, I want to trigger a zap for publish in facebook page.

    Can you implemented this?

    Trigger only selected category post: it was good idea can trigger only topics or posts from a selected categories. If I have a presentation forum, I wan´t to post this posts.

    Thanks.

  3. 50 minutes ago, opentype said:

    But are we sure it’s not a bug? Hcaptcha should auto detect the language of the system and I can confirm that this is not working. 

    If I use an hcaptcha demo site like this, the captcha is shown in German. 
    But if I open the registration form of my German IPS community, everything in the captcha is shown in English. 
    So, it looks like the difference is caused by IPS’ implementation. 

    For now, I fixed it by changing the template. 

    <div class="h-captcha" data-hl="de" data-sitekey="{$siteKey}"></div>

     

    Thanks @opentype 

    In which template is the modification made?

  4. Just now, Marc Stridgen said:

    There is nothing specific within our softwarew that will change the language used on h-captcha. We simply provide the key and secret for this

    Hello @Marc Stridgen

    I suppose that in the code of your application there will be the h-Captcha API to include this:

    https://docs.hcaptcha.com/languages/

    For example in this file (Template>core>global>forms>hCaptcha) , is it possible ?:

    <div data-ipsCaptcha data-ipsCaptcha-service='hcaptcha' data-ipsCaptcha-key="{$siteKey}" data-ipsCaptcha-lang="{$lang}">
    	<div class="h-captcha" data-sitekey="{$siteKey}"></div>
    </div>

    Many Thanks!

  5. On 12/25/2021 at 1:24 AM, pequeno said:

    Hello.

    Using thus code:

    RewriteRule (.*) /index.php/$1 [L]

    instead of:

    RewriteRule . /index.php [L]

    It seems to work correctly removing index.php  and I don't get the error:

    Now, the code in htaccess is.

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule (.*) /index.php/$1 [L]

    I will verify that it does not give problems and I will keep you informed.

    Sorry! After checking a few days, don´t remove index.php from my URL

    1 minute ago, pequeno said:

    Sorry! After checking a few days, don´t remove index.php from my URL

     

    On 12/21/2021 at 11:46 AM, Marc Stridgen said:

    If its only when you have that in the code, you would need to remove it, as that isnt our code there. I have added notes to this ticket so we can get clarification from our developers on whether or not it should be redirecting when visiting index.php directly

    Please, can you check it ?

    Thanks.

  6. Hello.

    Using thus code:

    RewriteRule (.*) /index.php/$1 [L]

    instead of:

    RewriteRule . /index.php [L]

    It seems to work correctly removing index.php  and I don't get the error:

    Quote

    The link could not be embedded because of an unexpected error: forbidden. The CSRF protection key did not match. This may indicate a plugin or theme is out of date. Please contact technical support for more information.

    Now, the code in htaccess is.

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule (.*) /index.php/$1 [L]

    I will verify that it does not give problems and I will keep you informed.

  7. 38 minutes ago, Marc Stridgen said:

    If its only when you have that in the code, you would need to remove it, as that isnt our code there. I have added notes to this ticket so we can get clarification from our developers on whether or not it should be redirecting when visiting index.php directly

    Thank you. Because the real problem is the redirection of index.php with your code.

    Can I add my redirects to htaccess now? It seems that this does not affect your code.

  8. 2 hours ago, Jim M said:

    Could you please provide the image/video you're attempting to share?

    Any Youtube Video, for example this:

    And any image.

    This error is only with this code in htaccess

    RewriteCond %{THE_REQUEST} \ /(.+/)?index\.([^/]+)(\?.*)?\  [NC]
    RewriteRule ^(.+/)?index\.([^/]+)$ /%1 [NC,R=301,L]

    That works for remove index.php in the URL, but create problems embed videos and images:

    Quote

    The link could not be embedded because of an unexpected error: forbidden. The CSRF protection key did not match. This may indicate a plugin or theme is out of date. Please contact technical support for more information.

     

  9. On 12/13/2021 at 9:53 PM, pequeno said:

    Works Perfectly! Thanks.

     

    On 12/13/2021 at 12:58 PM, Marc Stridgen said:

    Please let us know if that does not resolve your issue

     

    On 12/12/2021 at 11:03 PM, Adlago said:

    Test - add this

    RewriteCond %{THE_REQUEST} \ /(.+/)?index\.([^/]+)(\?.*)?\  [NC]
    RewriteRule ^(.+/)?index\.([^/]+)$ /%1 [NC,R=301,L]

     

    NOT SOLVED!

    Works removing index.php but when I try to upload a embed video or image, I obtain this error:

    Quote

    The link could not be embedded because of an unexpected error: forbidden. The CSRF protection key did not match. This may indicate a plugin or theme is out of date. Please contact technical support for more information.

     

  10. 1 hour ago, Marc Stridgen said:

    Again, you havent actually answered what is happening on the first item when you visit with /index.php

    It does sound here like there may be an issue with rewrites on your server

    Indeed, if I put the address with index.php in the browser, it is not removed and the destination is the same.

    On 11/26/2021 at 10:19 PM, pequeno said:

    URL in browser -> Destination
    mydomain.com/index.php ->  mydomain.com/index.php

    The redirect to remove index.php does not apply in my case.

    It only applies if I put a / at the end.

    On 11/26/2021 at 10:19 PM, pequeno said:

    mydomain.com/index.php/ ->  mydomain.com

    The same happens in topics that have index.php at the end.

    On 11/26/2021 at 10:19 PM, pequeno said:

    mydomain.com/forum/topic/index.php ->  mydomain.com/

    mydomain.com/forum/topic/ -> mydomain.com/forum/topic/

    Thanks @Adlago

    13 hours ago, Adlago said:

    Test - add this

    RewriteCond %{THE_REQUEST} \ /(.+/)?index\.([^/]+)(\?.*)?\  [NC]
    RewriteRule ^(.+/)?index\.([^/]+)$ /%1 [NC,R=301,L]

     

    I will test.

  11. On 12/10/2021 at 9:42 PM, Adlago said:
    <IfModule mod_rewrite.c>
    Options -MultiViews
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule \.(js|css|jpeg|jpg|gif|png|ico|map)(\?|$) /404error.php [L,NC]
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    Try and put this at the bottom of your htaccess file

    Thanks.

    It's the code I use, provided by IPS in the ACP, and it doesn't work ... I can't remove index.php from the url

×
×
  • Create New...