Jump to content

HDiddy

Clients
  • Posts

    152
  • Joined

  • Last visited

 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 HDiddy

  1. On 9/15/2022 at 6:33 PM, Schaken said:

    I have had LOTS of issues with big companies. I imagine amazon would be only worse from there. I like the smaller companies that still care about individuals. I appreciate that advice.

     

     

    I really do not mind spending a little money. Right now, my site with all expenses costs my almost $5K a month to keep running. Thats not huge I know, but its good enough I can call a successful small business.

    @Schaken,

    We had the same issue trying to find something that works as we are using Cloud hosting for Invision.  Our issue was not the downloads storage space, but more so the download bandwidth we were using and finding something compatible with Invision.  We use only about 280GB of storage but we run on average 2TB of bandwidth.  We were on Wasabi but had issues with our bandwidth being so high.  We ultimately moved to Vultr Object Storage, which has been working perfect for us.

    We pay about $20 - $25 a month depending on our bandwidth. I would check them out.

  2. HI Adriano,

    Just an FYI, the Downloads Category Grid view does not reflect the right prices if using Membershop Points for downloads. It basically just shows everything as free.  The standard default view works fine however.  I figured this is a template thing.  I tried to see if I can find it but not sure what templates this falls under so yeah.  I am just going to revert to the default view until you get a chance to take a look at it. Cheers Mate!!

  3. 21 hours ago, All Astronauts said:

    @HDiddy 4.7.1 has changed up the underlying code for generating those Quick Search (QS) options so do not upgrade yet if that is important to you. 

    Otherwise...

    SSSR 7.1.0 to be submitted probably this evening some time:

    • For Invision Community 4.7.1.x + due to underlying 4.7.1 changes
    • FIX! Quoted search terms that had a comma within that quoted text were breaking Search Light, only marking the first portion of text up to the comma. This is fixed now.
    • REMODELED! With the new 4.7.1 Quick Search I had to revamp both the latest searches appendage AND the search filter filter stuff. All good again.
    • NEW! That new 4.7.1 Quick Search FORCES the default option to whatever content item you are viewing. SSSR now provides an option to force it to Everything all the time.

    The utility of the latest searches next on the QS dropdown is a bit lessened with the whole minimal thing going on. For now I've patched it up to still work along side it but I may just make an optional micro button thing along side the QS to just pop up popular searches, latest searches, etc... some time down the line. This is also now limited to displaying the latest ten searches.

    Caught a bug with the Search Light marking - if you made a quoted search, and the quote itself had a comma somewhere in the text, the mark was breaking at that point and not marking anything after that. All patched up.

    And, with the latest QS changes, it is now forcing the QS area search to whatever app you are in instead of everything. I've got an option already set, tested, and working, that will force QS to ALWAYS default to Everything for the search. If you are in a content item the contextual search area options (this topic, this forum, etc.) are still there in the dropdown to choose, but Everything is still set as the selected option.

    LOL,

    One of the other admins pushed the updated before I had a chance to stop them.  Hahahaha its all good but I see what you ae saying.

  4. 1 hour ago, Adriano Faria said:

    Edit the widget template and leave it as you want. 

    This version adds this new column. Not sure why it didn’t add to your install.

    Is it working after re enter the items?

    No still gives an error trying to add any new item

  5. 5 hours ago, Adriano Faria said:

    What shows in the log?

    I didn’t touch the statistics page yet.

    There were 2 entries in the log

    SELECT membersshop_items.*, author.* FROM `membersshop_items`  LEFT JOIN `core_members` AS `author` ON author.member_id = membersshop_items.member WHERE ( membersshop_items.id IN(10,12,13,14) ) ORDER BY position asc
    IPS\Db\Exception: Unknown column 'membersshop_items.member' in 'on clause' (1054)
    #0 /var/www/html/107017/system/Db/Select.php(388): IPS\_Db->preparedQuery('/*r304709::r304...', Array, true)
    #1 /var/www/html/107017/system/Db/Select.php(446): IPS\Db\_Select->runQuery()
    #2 [internal function]: IPS\Db\_Select->rewind()
    #3 [internal function]: IteratorIterator->rewind()
    #4 /var/www/html/107017/system/Helpers/Table/Content.php(355): iterator_to_array(Object(IPS\Patterns\ActiveRecordIterator))
    #5 /var/www/html/107017/init.php(927) : eval()'d code(159): IPS\Helpers\Table\_Content->getRows(Array)
    #6 /var/www/html/107017/system/Helpers/Table/Table.php(494): IPS\Helpers\Table\hook243->getRows(Array)
    #7 /var/www/html/107017/init.php(927) : eval()'d code(177): IPS\Helpers\Table\_Table->__toString()
    #8 /var/www/sitefiles/r304709/applications/membersshop/modules/front/shop/main.php(169): IPS\Helpers\Table\hook243->__toString()
    #9 /var/www/html/107017/system/Dispatcher/Controller.php(107): IPS\membersshop\modules\front\shop\_main->shopItems()
    #10 /var/www/sitefiles/r304709/applications/membersshop/modules/front/shop/main.php(20): IPS\Dispatcher\_Controller->execute()
    #11 /var/www/html/107017/system/Dispatcher/Dispatcher.php(153): IPS\membersshop\modules\front\shop\_main->execute()
    #12 /var/www/html/107017/index.php(13): IPS\_Dispatcher->run()
    #13 {main}

    and

    SELECT membersshop_items.*, author.* FROM `membersshop_items`  LEFT JOIN `membersshop_item_categories` ON membersshop_items.cat_id=membersshop_item_categories.id  LEFT JOIN `core_members` AS `author` ON author.member_id = membersshop_items.member WHERE ( membersshop_items.id IN(14,13,12,10,9,6,3,2,1) ) ORDER BY id DESC
    Unknown column 'membersshop_items.member' in 'on clause'

     

    2 minutes ago, HDiddy said:

    There were 2 entries in the log

    SELECT membersshop_items.*, author.* FROM `membersshop_items`  LEFT JOIN `core_members` AS `author` ON author.member_id = membersshop_items.member WHERE ( membersshop_items.id IN(10,12,13,14) ) ORDER BY position asc
    IPS\Db\Exception: Unknown column 'membersshop_items.member' in 'on clause' (1054)
    #0 /var/www/html/107017/system/Db/Select.php(388): IPS\_Db->preparedQuery('/*r304709::r304...', Array, true)
    #1 /var/www/html/107017/system/Db/Select.php(446): IPS\Db\_Select->runQuery()
    #2 [internal function]: IPS\Db\_Select->rewind()
    #3 [internal function]: IteratorIterator->rewind()
    #4 /var/www/html/107017/system/Helpers/Table/Content.php(355): iterator_to_array(Object(IPS\Patterns\ActiveRecordIterator))
    #5 /var/www/html/107017/init.php(927) : eval()'d code(159): IPS\Helpers\Table\_Content->getRows(Array)
    #6 /var/www/html/107017/system/Helpers/Table/Table.php(494): IPS\Helpers\Table\hook243->getRows(Array)
    #7 /var/www/html/107017/init.php(927) : eval()'d code(177): IPS\Helpers\Table\_Table->__toString()
    #8 /var/www/sitefiles/r304709/applications/membersshop/modules/front/shop/main.php(169): IPS\Helpers\Table\hook243->__toString()
    #9 /var/www/html/107017/system/Dispatcher/Controller.php(107): IPS\membersshop\modules\front\shop\_main->shopItems()
    #10 /var/www/sitefiles/r304709/applications/membersshop/modules/front/shop/main.php(20): IPS\Dispatcher\_Controller->execute()
    #11 /var/www/html/107017/system/Dispatcher/Dispatcher.php(153): IPS\membersshop\modules\front\shop\_main->execute()
    #12 /var/www/html/107017/index.php(13): IPS\_Dispatcher->run()
    #13 {main}

    and

    SELECT membersshop_items.*, author.* FROM `membersshop_items`  LEFT JOIN `membersshop_item_categories` ON membersshop_items.cat_id=membersshop_item_categories.id  LEFT JOIN `core_members` AS `author` ON author.member_id = membersshop_items.member WHERE ( membersshop_items.id IN(14,13,12,10,9,6,3,2,1) ) ORDER BY id DESC
    Unknown column 'membersshop_items.member' in 'on clause'

     

     

    I ended up just deleting all my Member Shop Items as I was going to redo them anyway.  That seem to bring things back.

  6. @Adriano Faria Downloads issue with points is working as expected.  Cheers Mate!!

     

    The only thing I saw which is bugged in this update is the member shop is throwing the following error, I tried refreshing the site cache and it is still showing up.

    [[Template membersshop/front/shop/index is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]

    and

    The Statistics Page is still not loading.

  7. On 7/6/2022 at 11:27 PM, All Astronauts said:

    7.0.0 Submitted! Available when approved...

    NEW! Last Searches made by community members added alongside Quicksearch!
    NEW! @HDiddy Your Quicksearch filter filter has arrived!
    CHANGE! The remove content item icon from search results has been expanded into an emphasized search results view option.
    4.7.0 compatibility sweep. All good. 6.0.0 users are fine as well.

    Could contain: Text, Menu, Page, File

    Could contain: Text, Menu, Page

    This is an option in settings. Toggle it on and the last searches made by your community members will appear here. Unlike Social Search, I do not believe I am running these through the bad word filter - these are a straight pull from what IPS is saving as searches now. Yell if that is a problem. Otherwise, as long as you have searches this will populate nicely. Looks good when QS is not expanded, the results will pile in when it is expanded. There is a hard-coded three-minute cache on these terms. So after three minutes since the last build, the next Quicksearch user (or more likely page load) will rebuild the cache and so on - so your DB load is pretty much nil on this.

    Could contain: Word, Text, File, Page, Webpage

    This has been sitting in this plugin since December/January I think; sorry bout that. Anyways, as stated above, when you have a ton of pages content every bit gets jammed into Quicksearch. You can toggle some of them off here and just present a lean QS experience instead of overwhelming users with options. This affects the QS EXCLUSIVELY! Users using advanced search will still get all the options they can handle.

    As for the emphasized search results option, this:

    Could contain: Word, Text, Page

    Becomes this:

    Could contain: Word, Text, Page

    No more superfluous icons and photos, slightly enlarged search result text, margins and padding adjusted to fit.

    Everything is working as before in 4.7.0 - oh, though I did make an adjustment to the search marking terms cookie auto-destruct time.  When you click through on a search result with Searchlight enabled, your search term comes through on a cookie that is made on the spot, then read once your content page finished loading, and then is wiped out just as fast. I had it set to autodestruct after 8 seconds just as a safety catch but ya know, if you have a content item loading in that is - oh - say - maybe 1/3 of a book text? A really thick book? It takes time for a DB to grab that blob, and then it takes time for your browser to dump all that text into the window. Unlike when IPS was doing this with search and stream results (remember the whole point of this mod initially?), we do want all the text of the content item to load in. But time. Yeah. 8 seconds was not enough so Searchlight would not run if the page took longer than that to load, which it did on one of the sites under my purview. That number is now 16 seconds - maybe more. So, on the off-chance you have massive content items that Searchlight was not firing on to mark out terms, it probably does now 🙂

    BTW I'm way behind checking out my apps and plugins for 4.7 but I really do imagine everything is perfectly fine for upgrading if you don't want to wait.

    The search filters update is perfect and works great with (BIM) Quick Search. Thanks!!!!!

     

  8. On 7/22/2022 at 2:09 AM, Adriano Faria said:

    If you mean the default image, it’s a theme resource. You can change in your ACP -> Customization-> your theme -> Manage Resources (or something like this).

    Thanks!! I just found that...silly me.

  9. On 3/31/2022 at 2:16 AM, Adriano Faria said:

    It is. This is a huge resource and unfortunately there’s more people than you with problems with it. Follow the file and you will know when the new version is uploaded. 

    Another reason for it is taking long is that I have other 200 resources that deserves some attention/updated and requires support too so this one is not more important than any other to me. 

    EDIT: I’ll check if your issue is already fixed in my list and will release a “subversion” on my board so people can use it with some fixes already and then release here on IPS the final when it’s ready. I’ll take a look during weekend. 

    Hi any ETA on this? I didn't see any updates on your board so just wondering if a fix will be coming.

  10. On 2/3/2022 at 12:44 PM, Michael.J said:

    No not currently but good idea and will add to my feature list for future versions.

    Hi @Michael.J do you know if you your are planning on rolling this out in the future.  The points system I use now had this feature which has been broken for over a year with no ETA on a fix, kind of ready to move on to something else if your planning on rolling this out.

  11. Hi,

    So when we automatically promote community members to higher levels it should be because they have been a good community member.  Right now there is an option to not promote "Banned" community members...(which seems kind of pointless to me), so why not have the option where we can decide what is the maximum amount of warning points a member can have and still be eligible for a group promotion.

  12. On 6/18/2022 at 1:13 AM, Sonya* said:

    Just register and create your sandbox for free https://docs.bonsai.io/article/326-creating-a-new-account Use the data of the sandbox in AdminCP. It is a fully functional but very limited tier. Then upgrade to what tier you need.

    So I actually spun this up with using the Elasticsearch vs Opensearch.  Gonna have to say it was dirt easy not to mention I can turn it on immediately.  I did my re-index and immediately needed to bump the plan up to the $20/month plan which seems to be enough for now.

  13. On 6/16/2022 at 12:15 AM, Sonya* said:

    @HDiddy even that, that you have written, is too complicated for me 😄 

    I use https://bonsai.io/ for free (Sandbox) right now for one of my projects, to test it. It's pretty straight away, register, create a node with mouse click, enter the data in AdminCP, works. Now, I have to decide to what paid plan I  have to go with, that's why my question. I do not really understand what I need.

    HAHA!! Well there is that.  I may have to look into the Bonsai service myself as I have been jumping around from thing to thing. Where you able to test the Sand Boxed Tier with your production community?

  14. 14 minutes ago, Sonya* said:

    Can someone advice on these plans for Elasticsearch? Are docs = number of posts, records, entries, images etc? What are shards, Read, Update? Explain it like to 5th grade please 😄 

    Could contain: Text, Page, Number, Symbol, Menu

    When I had my service with Elasticsearch the plans were based on hourly compute cost based on capacity.  Honestly, it started to get really confusing on what is what.  The plans were for computing because technically speaking the software is free and you pay for is server capacity.  The most minimum plan you could get on Elastic.com ran about $50 a month for 2 CPUs and I believe 1GB of RAM on 2 instances.

    I have just started up with https://elest.io/ which is basically a platform that provides you compute instances to install multiple application platforms.  I have not tied it to my Invision service yet as I am waiting for the update so that the bug mentioned above is fixed. That said, The big thing with this service is that the installation is turnkey.  You just choose the app you want to install and choose the compute platform you want to use. Below are the providers you can select

    Could contain: Text

    HETZNER seemed to be the best price so I did set up something with them in Finland where they had available large capacity running $36 a month.  If anything I noticed when running Elastic's service....RAM was always the thing that was spiking so decided to get something with a fair amount of RAM.

    Could contain: Text, Page, Business Card, Paper

     

    From there I selected when I wanted to install and the service did the rest

    Could contain: Text, Menu, Page, File

     

    Now I am not sure how this will work in practice once I turn everything on as this is only 1 server.  No Master and Slave instances here. One thing to note, I had to create an index using the online console once the service was active. Just make sure there is not a hyphen in the index name as IPB will not accept it.

    And that is where my knowledge stops. LOL any other little tweaks and optimizations for me is going to have to come from YouTube and reading the online manual.

  15. On 6/14/2022 at 6:48 AM, DSystem said:

    @HDiddy

    Here is the guide I used to install opensearch 2.0 on centos 7

    Install OpenSearch 2.0
    java
    sudo yum install java-11-openjdk-devel
    java -version
     

    OpenSearch -> https://opensearch.org/docs/2.0/opensearch/install/rpm/
    sudo curl -SL https://artifacts.opensearch.org/releases/bundle/opensearch/2.x/opensearch-2.x.repo -o /etc/yum.repos.d/2.x.repo
    sudo yum repolist
    sudo yum clean all
    sudo yum list | grep opensearch
    sudo yum install opensearch
    sudo systemctl start opensearch.service


    First Test
    systemctl status opensearch.service
    curl -XGET https://localhost:9200 -u 'admin:admin' --insecure

    Added when starting linux
    sudo systemctl enable --now opensearch

    Disabling security -> https://opensearch.org/docs/2.0/security-plugin/configuration/disable/

    echo -e "\n# To disable security\nplugins.security.disabled: true" >> /etc/opensearch/opensearch.yml

    systemctl restart opensearch.service

    Second test
    curl -XGET http://localhost:9200
    {
      "name" : "srv.xxxxxxxx.com",
      "cluster_name" : "opensearch",
      "cluster_uuid" : "gNoLRKpERSOmQS9raXqUig",
      "version" : {
        "distribution" : "opensearch",
        "number" : "2.0.0",
        "build_type" : "rpm",
        "build_hash" : "bae3b4e4178c20ac24fece8e82099abe3b2630d0",
        "build_date" : "2022-05-19T00:25:28.444553037Z",
        "build_snapshot" : false,
        "lucene_version" : "9.1.0",
        "minimum_wire_compatibility_version" : "7.10.0",
        "minimum_index_compatibility_version" : "7.0.0"
      },
      "tagline" : "The OpenSearch Project: https://opensearch.org/"
    }


    optimization -> http://wiki.centos-webpanel.com/how-to-install-elasticsearch
    sed -i -e 's|-Xms1g|-Xms2g|g' /etc/opensearch/jvm.options
    sed -i -e 's|-Xmx1g|-Xmx2g|g' /etc/opensearch/jvm.options

     

    Thanks for this. Installation was not really my issue, but I can see this helping anyone that didn't go my path.  I used Elestio which handles the installation so I do not have to.  The part that I think some people...including myself is how you configure it back to Invision. A few questions...

    Creating an index and any tips are tricks there or anything folks who are fairly technical but brand new to Elasticsearch would benefit from.

  16. This is cool, I am spinning up a Opensearch instance through Elestio and discontinuing my Elasticsearch service which was getting too pricey.  Glad I should be able to activate it when the update comes out.  What would be cool, if anyone had the time, would be to post some standard configuration guides. I always feel like I am doing something wrong messing with Elasticsearch.

  17. On 4/2/2022 at 8:35 PM, AlexWebsites said:

    I have this from @DawPi, works good. I would be interested in any updates. I do think a simple

    X amount of downloads remaining for the day/week/month would be nice. My settings are as such:

    image.png.bac8eb1e93d43edd7205111bf1aae4f8.png

     

    If a user has downloaded 2 files yesterday and now 2 today, they have 6 left for the week and see:

    image.png.5f203618339794b1108dc5ac5d0d54fc.png

    I almost wish it was simple like:

    Downloads Remaining

    Day     Week   Month

      0             6           16

    What I am looking for is a persistent block.  It seems this only shows when a user has maxed out their downloads. I like your idea of "Downloads Remaining" I would just like it in a block so I can put it where I like on my site.  The additional information should be provided in a overly when clicked or when the user hovers over the block.

  18. 11 hours ago, DawPi said:

    I have something like this.

    screen_1.png

    screen_2.png

    This only maybe half of what I am looking for.  What I need is something that tells users you have X amount of downloads remaining for the day.  So if they can download 25 files per day and they have already downloaded 10, it should say they have 15 downloads left. The time is nice once they get to their last download as it  basically will tell them when things reset.

  19. Looking for a simple block that would show how many downloads are remaining for a user when download limits are turned on. Additionaly when clicking on the link in the block an overlay screen should show the last  number of downloads in that specific time frame.

  20. 16 hours ago, Adriano Faria said:

    It is. This is a huge resource and unfortunately there’s more people than you with problems with it. Follow the file and you will know when the new version is uploaded. 

    Another reason for it is taking long is that I have other 200 resources that deserves some attention/updated and requires support too so this one is not more important than any other to me. 

    EDIT: I’ll check if your issue is already fixed in my list and will release a “subversion” on my board so people can use it with some fixes already and then release here on IPS the final when it’s ready. I’ll take a look during weekend. 

    CHeers. Appreciate It.

×
×
  • Create New...