Jump to content

Chris027

Clients
  • Posts

    705
  • Joined

  • Last visited

  • Days Won

    2

 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 Chris027

  1. If anyone else uses nginx and wants to know how to do this. Convert the htaccess file then add the converted text in the site configuration file. 

    The following can be added to the server block, usually located in /etc/nginx/sites-available/yourserver.conf

    Then restart nginx

    location /api/ {
      if (!-e $request_filename){
        rewrite ^/api/(.*)$ /api/index.php;
      }
    }

     

  2. Just now, Jim M said:

    If you do not use Apache, you would need to convert what is provided in the .htaccess to whatever server you do use. I'm afraid, we only support Apache at this time.

    Ah. I need to convert it to work with the worlds most popular web server :~)

  3. I have this same issue. I uploaded the .htaccess file (although I don't use apache), but nothing changes.

     

    #3C414/1

    Zapier needs to use the REST API to communicate with your community, but there is currently an issue with your REST API setup. Visit the REST & OAuth page to learn more and fix this issue.

     

    Zapier needs to use the REST API to communicate with your community, but there is currently an issue with your REST API setup. Visit the <a href='THIS LINK>REST & OAuth</a> page to learn more and fix this issue.

  4. I have some errors in the system log related to Bookmarks. 

     

    SELECT COUNT(*) as cnt FROM `bookmark_items` WHERE member_id=25654 AND app IN('core','cms','blog','downloads','nexus','gallery','forums','convert','bookmark','autowelcome','classifieds','clubsenhancements','ignoretopics','memberscountry','neappcontactus') AND ( visibility_type=1 OR ( visibility_type=2 and member_id=) )
    IPS\Db\Exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') )' at line 1 (1064)
    #0 /mysite/system/Db/Select.php(388): IPS\_Db->preparedQuery()
    #1 /mysite/system/Db/Select.php(446): IPS\Db\_Select->runQuery()
    #2 /mysite/system/Db/Select.php(370): IPS\Db\_Select->rewind()
    #3 /mysite/applications/bookmark/sources/Bookmark/Table.php(111): IPS\Db\_Select->first()
    #4 /mysite/system/Helpers/Table/Table.php(494): IPS\bookmark\Bookmark\_Table->getRows()
    #5 /mysite/applications/bookmark/extensions/core/Profile/Bookmarks.php(69): IPS\Helpers\Table\_Table->__toString()
    #6 /mysite/applications/core/modules/front/members/profile.php(353): IPS\bookmark\extensions\core\Profile\_Bookmarks->render()
    #7 /mysite/system/Dispatcher/Controller.php(118): IPS\core\modules\front\members\_profile->manage()
    #8 /mysite/applications/core/modules/front/members/profile.php(81): IPS\Dispatcher\_Controller->execute()
    #9 /mysite/system/Dispatcher/Dispatcher.php(153): IPS\core\modules\front\members\_profile->execute()
    #10 /mysite/index.php(13): IPS\_Dispatcher->run()
    #11 {main}

    BACKTRACE

    #0 /mysite/init.php(1029): IPS\_Log::log()
    #1 /mysite/system/Helpers/Table/Table.php(574): IPS\IPS::exceptionHandler()
    #2 /mysite/applications/bookmark/extensions/core/Profile/Bookmarks.php(69): IPS\Helpers\Table\_Table->__toString()
    #3 /mysite/applications/core/modules/front/members/profile.php(353): IPS\bookmark\extensions\core\Profile\_Bookmarks->render()
    #4 /mysite/system/Dispatcher/Controller.php(118): IPS\core\modules\front\members\_profile->manage()
    #5 /mysite/applications/core/modules/front/members/profile.php(81): IPS\Dispatcher\_Controller->execute()
    #6 /mysite/system/Dispatcher/Dispatcher.php(153): IPS\core\modules\front\members\_profile->execute()
    #7 /mysite/index.php(13): IPS\_Dispatcher->run()
    #8 {main}

     

    Looks like I can reproduce it by visiting the following URL as a guest - /profile/user-username/?tab=node_bookmark_Bookmarks

  5. 6 minutes ago, Clover13 said:

    I get that side of the coin too, but you can monetize YouTube.  Does IPS have video monetization built into video?  I haven't seen it.  You can also embed your YouTube videos into IPS and monetize around the video (literally around it), while also monetizing the video itself (within it).

    I've posted an enhancement request in the past, the goal isn't to direct traffic away from our IPS communities to YouTube, it is to interface with YouTube for video handling, processing, storage and browser agnosticism...and then embed that video within our IPS content automatically.  When you upload a video to IPS (say in forums), leverage YouTube's API to upload it to a channel, then embed the YouTube URL where that attachment would otherwise go.  This is an oversimplified workflow not accounting for asynchronous behavior and post submission updates, but it seems feasible and offers stronger benefits than IPS trying to become YouTube IMHO (unless video processing/handling/storage/presentation has become easier).  Either way, video storage alone is a high cost, and YouTube frees you of that.  On top of that, YouTube has strong analytics to leverage viewership, trends, etc to learn and adapt your content.

    I certainly here you, but YouTube’s goal is to get more eyeballs and keep them watching as many minutes as possible. They have buildings full of PhDs with unlimited computing power, working to accomplish that goal.
     

    YouTube payouts are pennies compared to what we can make by working directly with companies who want to advertise. 

    I’ve been to Google. Spent the day talking with them. It was appalling. Despite what the company says, it has zero respect for content created by any of us. The company will do whatever it can to use our content to increase the benefit for its shareholders. 

  6. 14 minutes ago, Clover13 said:

    Pretty disappointing to see this proprietary cloud-only video approach. Video IS the wave and it's one of the biggest gaps to IPS.  Video is HARD, so I'm baffled as to why IPS would want to incur the cost of enhancing this with a cloud-only solution and also incur the resource and storage cost for cloud customers (driving cloud pricing up in all likelihood) versus leveraging YouTube, Vimeo, etc and their APIs to make a cloud and self hosting solution that saves everyone time and money, as well as ports video handling into the hands of companies that have already mastered it.

    I support IPS avoiding YouTube, and enabling us to keep the content we create, on our own communities. I'm not a fan of giving YouTube free content to monitize and pull eyeballs away from our communities, using our content.

  7. 2 minutes ago, Marc Stridgen said:

    If its assets only, those are largely irrelevant, as we would just change the storage method and the links are taken care of by the software. 

    With regard redirects in general, it would depend on your individual requirements, but we can generally accommodate where these are needed

    It's a bunch of old links in articles that point to stuff like audio.xxxxxxxxx.tld that used to be hosted in S3 years ago. Now it's all local at xxxxxxxxxx.tld/s3/audio. Nginx redirects work great rather than tracking down all the links and changing them. 

     

  8. 1 minute ago, Randy Calvert said:

    Are you doing redirects TO (destination) or FROM (source) subdomains?

    If you’re pointing TO a subdomain, it looks like it does not matter based on that plug-in’s screenshot example as it just gives you a spot to enter the destination as a free form field.  (Such as Google.com)

    With that said, I’m not the developer or so you  could ask them for clarification. Was just trying to give some ideas. 

    I'm redirecting from a sub-domain. I used to hose stuff on S3 (images.xxxxxxxxxxx.tld, audio.xxxxxxxxxx.tld, etc...). I moved it all local and just use redirects so all the old links still work.

    1 minute ago, Marc Stridgen said:

    This is more redirecting a whole location rather than individual pages

    As you are self-hosted there, your hosting company would assist with any redirects you need on your product

    I already do these. But I want to know how to do it if I move to the cloud.

  9. Just now, Dll said:

    You're not out of luck, you just need to use your own email provider and not the built in one. 

    So cloud hosting is much more expensive and requires external email and external elasticsearch. Oh fun, can't wait.

  10. On 9/22/2022 at 5:16 AM, Marc Stridgen said:

    Yeah, that would be correct, yes. We do not provide a personalised email service at present

    So anyone concerned about branding is out of luck, as all email appears to come from invisioncommunity?

  11. I’m trying to squeeze every ounce of performance out of my new server, and ran into this article. It suggest load balancing php-fpm by creating a second .sock / instance. 
     

    Has anyone done this or does anyone have an opinion on this?

    performance tuning nginx and php-fpm


    “We created a second .sock2 file, /run/php/php7.2-fpm.sock2, which does not exist by default.

    We added the upstream parameter and referenced the .sock files in the site’s Nginx config:

    upstream backend {
            server unix:/var/run/php/php7.2-fpm.sock1 weight=100 max_fails=5 fail_timeout=5;
            server unix:/var/run/php/php7.2-fpm.sock2 weight=100 max_fails=5 fail_timeout=5;

    We then changed the existing fastcgi_pass value to reference backend.

    fastcgi_pass backend;

    Next we added a second pool to /etc/php/7.2/fpm/pool.d replacing [www] with:

    [www1]
    listen = /run/php/php7.2-fpm.sock1

    and

    [www2]
    listen = /run/php/php7.2-fpm.sock2
  12. 2 hours ago, SeNioR- said:

    Hi Chris. Could you describe what exactly you changed? Thanks.

    I made changes to the mysqld options in the conf file. The “best” values for these will be different for everyone. 
     

    innodb_buffer_pool_size

    innodb_log_buffer_size

    innodb_file_per_table

    innodb_open_files

    innodb_io_capacity

    innodb_flush_method

    Key_buffer_size

    max_allowed_packet

    thread_cache_size

    max_connections

    Connect_timeout

    wait_timeout

    sort_buffer_size

    bulk_insert_buffer_size

    tmp_table_size

    max_heap_table_size

    query_cache_type

    query_cache_limit

    query_cache_min_res_unit

    query_cache_size
     

  13. Live Topics sounds amazing, and like something I’ve wanted forever. Continuing the conversation after live is great, but also keeping the live conversation searchable for other to learn from, is huge. 
     

    Question: Given the additional technologies used for Live Topics, will this be a Cloud only thing? I really hope not. That would be a bridge too far toward pushing people to the Cloud rather than letting us decide what works best for our communities. 

  14. 42 minutes ago, Marc Stridgen said:

    It can only be it loading from the server itself. Note more resources doesn't necessarily mean it performs better. That is more down to the configuration of the server to use those resources in an efficient manner. Check your support area in the admin CP first of all, and see if anything is showing up in the mysql area. If there is, action that and test again. If not, it would likely be a case of tuning your mysql instance to speed it up

    OK, thanks. Nothing recommended in Support area. 
    I will work on MySQL. 

×
×
  • Create New...