Jump to content

RevengeFNF

Members
  • Posts

    2,615
  • Joined

  • Last visited

  • Days Won

    6

 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 RevengeFNF

  1. I don't know if i found a bug or if it works this way, but it doesn't matter what i choose in the "Content Description Truncation" option, the content will only show 2 or 3 lines of the description, even if there is more description to show.

    I have set it to 6, and i can give this example:

    Link: https://observador.pt/especiais/a-historia-dos-dois-cunhados-arrastados-pela-derrocada-contada-por-quem-os-viu-cair/

    Embebed post with only 2 lines:

    image.png.a3d4f3539c885441151b48e8d145d848.png

  2. On 9/29/2018 at 6:09 PM, Morgin said:

    PWAs are not supported in a form that is beneficial to >50% of mobile traffic and until apple embraces it, it will never be more than a niche technology. I'm not saying apple is this important, it's just that in markets where a lot of us have large forums, our users are predominantly apple/iOS users.

    It depends. On my case for example, Google Analytics shows me that for the mobile users, 26,51% enter with an iOS device and the rest with Android. So the vast majority in my case are Android users.

    I also reached the point where my forum have more people visiting it with a mobile phone than a computer.

  3. 4 hours ago, Lindy said:

    If you have enough data to make Elasticsearch worthwhile, it stands to reason you can fix whatever the issue is with ES in the amount of time it's going to take to rebuild the search index locally. Either way, your users aren't going to have accurate activity streams immediately. I'd focus the effort on restoring service to your elasticsearch instance. 

    Lindy, you know i understand about servers and im not expecting to have my server down, and if its down, i will put it up right away.

    What im telling is that we are not online 24 hours a day. If elasticsearch fails, ips could fallback to mysql. It doesn't need to rebuild the whole index. IPS supports rebuilding only the last few days, that will take few space and its fast.

    Like i said, just a suggestion and im not expecting my server to fail. ?

  4. 8 minutes ago, Charles said:

    When you have Elasticsearch enabled we do not maintain the local MySQL search index to save on overhead.

    Imagine that we wake up just to find out that our elasticsearch server is down and we don't have access to it. What we will do is going to the Admin Panel and change the search to Mysql and rebuild the index.

    What iam suggestion is for IPS to do that automatically in case the connection to elasticsearch fails, so our users don't lose access to the Activity Streams while we are away.

    Offcourse im not expecting my elasticsearch server to fail. Its just a fallback that can be useful in case something bad happens.

  5. Im testing the new IPS 4.3 beta, and i stopped elasticsearch on purpose to see what would happen, and View New Content and Search gives no results and i get this error in the logs: Failed to connect to xx.xx.xxx.xxx port 9200: Connection refused.

    What i suggest is that if something bad happens to our elasticsearch server for some reason, IPS should fallback to Mysql, even if its only for the last 7 days, so View New Content can still work.

  6. What if someone starts to insult another member with sticky notes? Can he do something to block that member from sending him more sticky notes?

    It would not be very pleasant if you open the site and you see a big sticky note saying "F*ck You!"

  7. @-FP after i opened a ticket with Invision abou a issue i was having, we got to the conclusing it was Cookie Notice plugin causing it. Disabling it solves the issue.

    The notifications on my site were slow, so i opened the ticket with them. Basically, the notification was showing the last 25 notifications, but then it was showing them in a loop, till it reaches more or less 500 notifications in the box.

    Disabling your plugin, solved the issue.

    Can you check if you are able to replicate it?

  8. Hello @fosters i found 2 issues with your app.

    The first one is a minor. If the Taks is set o be run with cron, it will not work. If you then run manually or the task is set to run with traffic, it works.

    The second one can be a major issue. When i create a new custom notification i get the following error:

    UPDATE `ibf_customnotifications_notifications` customnotifications_notifications  SET `options`='{"core_Group":{"groups":null},"core_Joined":{"range":{"start":{"date":"2012-01-01 00:00:00.000000","timezone_type":3,"timezone":"Europe\/Lisbon"},"end":{"date":"2017-04-30 23:59:59.000000","timezone_type":3,"timezone":"Europe\/Lisbon"}}},"core_Lastvisit":{"range":{"start":{"date":"2017-01-01 00:00:00.000000","timezone_type":3,"timezone":"Europe\/Lisbon"},"end":{"date":"2017-04-30 23:59:59.000000","timezone_type":3,"timezone":"Europe\/Lisbon"}}}}',`id`=1,`url`=NULL,`notification_author`=NULL WHERE id=1 
    IPS\Db\Exception: Unknown column 'notification_author' in 'field list' (1054)
    #0 /home/admin/web/public_html/system/Db/Db.php(991): IPS\_Db->preparedQuery('/*IPS\\Node\\_Mod...', Array)
    #1 /home/admin/web/public_html/system/Patterns/ActiveRecord.php(493): IPS\_Db->update('`ibf_customnoti...', '`options`=?,`id...', 'WHERE id=?')
    #2 /home/admin/web/public_html/system/Node/Model.php(2015): IPS\Patterns\_ActiveRecord->save()
    #3 /home/admin/web/public_html/system/Node/Model.php(2692): IPS\Node\_Model->save()
    #4 /home/admin/web/public_html/system/Node/Controller.php(383): IPS\Node\_Model->saveForm(Array)
    #5 /home/admin/web/public_html/system/Dispatcher/Controller.php(86): IPS\Node\_Controller->form()
    #6 /home/admin/web/public_html/system/Node/Controller.php(63): IPS\Dispatcher\_Controller->execute()
    #7 /home/admin/web/public_html/applications/customnotifications/modules/admin/notifications/notifications.php(32): IPS\Node\_Controller->execute()
    #8 /home/admin/web/public_html/system/Dispatcher/Dispatcher.php(129): IPS\customnotifications\modules\admin\notifications\_notifications->execute()
    #9 /home/admin/web/public_html/admin/index.php(14): IPS\_Dispatcher->run()
    #10 {main}

    The custom notification is added anyway and it will work if i send it.

    What is worst is if i add a link to the notification. I will get the following error and the notification will be saved without the link. This means the app is not working with links.

    UPDATE `ibf_customnotifications_notifications` customnotifications_notifications  SET `options`='{"core_Group":{"groups":null},"core_Joined":{"range":{"start":null,"end":null}},"core_Lastvisit":{"range":{"start":null,"end":null}}}',`id`=5,`url`=(IPS\Http\Url::__set_state(array(
       'url' => 'https://www.google.pt/',
       'data' => 
      array (
        'scheme' => 'https',
        'host' => 'www.google.pt',
        'port' => NULL,
        'user' => NULL,
        'pass' => NULL,
        'path' => '/',
        'query' => '',
        'fragment' => NULL,
      ),
       'queryString' => 
      array (
      ),
       'hiddenQueryString' => 
      array (
      ),
       'isInternal' => false,
       'isFriendly' => false,
    ))),`notification_author`=NULL,`bf_options`=2 WHERE id=5 
    IPS\Db\Exception: Unknown column 'notification_author' in 'field list' (1054)
    #0 /home/admin/web/public_html/system/Db/Db.php(991): IPS\_Db->preparedQuery('/*IPS\\Node\\_Mod...', Array)
    #1 /home/admin/web/public_html/system/Patterns/ActiveRecord.php(493): IPS\_Db->update('`ibf_customnoti...', '`options`=?,`id...', 'WHERE id=?')
    #2 /home/admin/web/public_html/system/Node/Model.php(2015): IPS\Patterns\_ActiveRecord->save()
    #3 /home/admin/web/public_html/system/Node/Model.php(2692): IPS\Node\_Model->save()
    #4 /home/admin/web/public_html/system/Node/Controller.php(383): IPS\Node\_Model->saveForm(Array)
    #5 /home/admin/web/public_html/system/Dispatcher/Controller.php(86): IPS\Node\_Controller->form()
    #6 /home/admin/web/public_html/system/Node/Controller.php(63): IPS\Dispatcher\_Controller->execute()
    #7 /home/admin/web/public_html/applications/customnotifications/modules/admin/notifications/notifications.php(32): IPS\Node\_Controller->execute()
    #8 /home/admin/web/public_html/system/Dispatcher/Dispatcher.php(129): IPS\customnotifications\modules\admin\notifications\_notifications->execute()
    #9 /home/admin/web/public_html/admin/index.php(14): IPS\_Dispatcher->run()
    #10 {main}

     

  9. @Makoto excellent tutorial, i give you my congratulations :y:

    Just a quick note that i think you could add to this tutorial. If someone install's Centos 7 and then follows this tutorial, they will be installing PHP 5.4 which is currently EOL, and therefore no more security updates. Because this tut is all about security, i think the minimum version should be php 5.5.

    So, you could add the instructions for installing Epel and Remi repo(its stays disabled by default), for example, and then the Yum command would be instead: yum --enablerepo=remi,remi-php56 php-fpm php-cli php-mysqlnd php-pdo php-gd php-mbstring php-xml.
    If someone wants to try php 7.0, just change to remi-php70.

    With the Remi repo we can also install php-pecl-imagick instead of using the pecl install.

  10. What about a Mod that existed in version 2.3, that gives us Multiple Members Access checking Cookies?

    File Description


    This modification uses a cookie to detect any members who are using more than 1 account. Since it uses cookies, this method is only effective on one computer, but should help somewhat.



    http://community.invisionpower.com/index.php?app=downloads&showfile=1263
×
×
  • Create New...