Jump to content

FabioPaz

Members
  • Posts

    296
  • 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 FabioPaz

  1. On 6/27/2023 at 12:24 PM, Marc Stridgen said:

    Have you rebuilt the search index since you have done this?

    Hi, @Marc Stridgen

    I changed to elasticsearch and rebuild the index. Didnt worked, so I did another rebuild. 

    Didnt work, so I changed back to mysql (that worked).
     

    Quote

    Have you also checked to see if you have anything showing in  your system logs?

    Now that you mention it, yes, a lot of entries like this:
     

    #0 /var/www/forum/system/Content/Search/Elastic/Query.php(1309): IPS\_Log::log()
    #1 /var/www/forum/system/Content/Controller.php(4099): IPS\Content\Search\Elastic\_Query->search()
    #2 /var/www/forum/applications/core/widgets/relatedContent.php(124): IPS\Content\_Controller->getSimilarContent()
    #3 /var/www/forum/system/Widget/Widget.php(833): IPS\core\widgets\_relatedContent->render()
    #4 /var/www/forum/system/Widget/Widget.php(888): IPS\_Widget->_render()
    #5 /var/www/forum/uploads/template_37_94a9d7649fb9cdbfc784d3516e61a717_global.php(18849): IPS\_Widget->__toString()
    #6 /var/www/forum/system/Theme/SandboxedTemplate.php(61): IPS\Theme\Cache\class_core_front_global->widgetContainer()
    #7 /var/www/forum/uploads/template_37_94a9d7649fb9cdbfc784d3516e61a717_global.php(7275): IPS\Theme\_SandboxedTemplate->__call()
    #8 /var/www/forum/system/Theme/SandboxedTemplate.php(61): IPS\Theme\Cache\class_core_front_global->globalTemplate()
    #9 /var/www/forum/system/Dispatcher/Dispatcher.php(173): IPS\Theme\_SandboxedTemplate->__call()
    #10 /var/www/forum/system/Dispatcher/Standard.php(113): IPS\_Dispatcher->finish()
    #11 /var/www/forum/system/Dispatcher/Front.php(558): IPS\Dispatcher\_Standard->finish()
    #12 /var/www/forum/system/Dispatcher/Dispatcher.php(155): IPS\Dispatcher\_Front->finish()
    #13 /var/www/forum/index.php(13): IPS\_Dispatcher->run()
    #14 {main}


    With this:
     

    Array
    (
        [query] => Array
            (
                [function_score] => Array
                    (
                        [query] => Array
                            (
                                [bool] => Array
                                    (
                                        [must] => Array
                                            (
                                                [0] => Array
                                                    (
                                                        [more_like_this] => Array
                                                            (
                                                                [fields] => Array
                                                                    (
                                                                        [0] => index_title
                                                                    )
    
                                                                [like] => Array
                                                                    (
                                                                        [_index] => XXXXXXXXX
                                                                        [_id] => forums_topic_post-3313076
                                                                    )
    
                                                                [min_term_freq] => 1
                                                                [max_query_terms] => 12
                                                                [min_word_length] => 3
                                                            )
    
                                                    )
    
                                            )
    
                                        [must_not] => Array
                                            (
                                                [0] => Array
                                                    (
                                                        [bool] => Array
                                                            (
                                                                [filter] => Array
                                                                    (
                                                                        [0] => Array
                                                                            (
                                                                                [terms] => Array
                                                                                    (
                                                                                        [index_class] => Array
                                                                                            (
                                                                                                [0] => IPS\core\Statuses\Status
                                                                                                [1] => IPS\core\Statuses\Reply
                                                                                            )
    
                                                                                    )
    
                                                                            )
    
                                                                    )
    
                                                            )
    
                                                    )
    
                                            )
    
                                        [filter] => Array
                                            (
                                                [0] => Array
                                                    (
                                                        [bool] => Array
                                                            (
                                                                [should] => Array
                                                                    (
                                                                        [0] => Array
                                                                            (
                                                                                [terms] => Array
                                                                                    (
                                                                                        [index_class] => Array
                                                                                            (
                                                                                                [0] => IPS\core\Statuses\Status
                                                                                                [1] => IPS\core\Statuses\Reply
                                                                                            )
    
                                                                                    )
    
                                                                            )
    
                                                                        [1] => Array
                                                                            (
                                                                                [terms] => Array
                                                                                    (
                                                                                        [index_class] => Array
                                                                                            (
                                                                                                [0] => IPS\forums\Topic\Post
                                                                                            )
    
                                                                                    )
    
                                                                            )
    
                                                                    )
    
                                                            )
    
                                                    )
    
                                                [1] => Array
                                                    (
                                                        [range] => Array
                                                            (
                                                                [index_date_updated] => Array
                                                                    (
                                                                        [gt] => 1624761971
                                                                    )
    
                                                            )
    
                                                    )
    
                                                [2] => Array
                                                    (
                                                        [terms] => Array
                                                            (
                                                                [index_permissions] => Array
                                                                    (
                                                                        [0] => 2
                                                                        [1] => *
                                                                    )
    
                                                            )
    
                                                    )
    
                                                [3] => Array
                                                    (
                                                        [term] => Array
                                                            (
                                                                [index_hidden] => 0
                                                            )
    
                                                    )
    
                                            )
    
                                    )
    
                            )
    
                        [linear] => Array
                            (
                                [index_date_updated] => Array
                                    (
                                        [scale] => 120d
                                        [decay] => 0.5
                                        [origin] => 1687833971
                                    )
    
                            )
    
                    )
    
            )
    
        [sort] => Array
            (
            )
    
        [from] => 0
        [size] => 5
        [error] => Array
            (
                [root_cause] => Array
                    (
                        [0] => Array
                            (
                                [type] => index_not_found_exception
                                [reason] => no such index [XXXXXXXXX]
                                [resource.type] => index_or_alias
                                [resource.id] => XXXXXXXXX
                                [index_uuid] => _na_
                                [index] => XXXXXXXXX
                            )
    
                    )
    
                [type] => index_not_found_exception
                [reason] => no such index [XXXXXXXXX]
                [resource.type] => index_or_alias
                [resource.id] => XXXXXXXXX
                [index_uuid] => _na_
                [index] => XXXXXXXXX
            )
    
    )

     

  2. Hello, there.

    After enabling elasticsearch on IPB settings (and rebuilding the search index), the forum search always returns 0 results and any system that use the search, dont work either.

    Possible useful info:

    • Lastest version of IPB installed
    • Elasticsearch version 7.10.2
    • ES is running and I'm successfully using it via other software
    • PHP ver 8.1
    • Nginx
    • MariaDB

    Any help would be appreciated.

  3. Hello. As the title says: can I disable all theme blocks at once?

    I dont mind having to edit the database, if it is necessary. Also, I dont mind losing the content of the blocks, or anything.

    Why (if you need to know):

    Recently, I had a "urgent" matter that made me remove a specific text from all blocks forum-wide, but since the blocks are independent between board index/forum category/topic, etc... this created a problem, since some of them were removed and some werent.

    Just to be safe, I want to remove/disable all blocks and them add one by one again.

  4. 6 hours ago, DawPi said:

    Check for that member ID, then open core_validating table. Find that member and remove row. Then open core_members and find that member info again. Edit and empty whole members_bitoptions. You may lost other informations from that field, but most important is to unlock member account. 😉

    This isn't best method to achieve what you want, but should work.

    It worked. Thank you!

    If this helps others: there wasnt a core_validating row in my case, just had to replace members_bitoptions value by a 0.

  5. 8 minutes ago, Randy Calvert said:

    Does this happen if he tries a different browser?  Does this happen if you login as him from the ACP?

    Hello. Yes, the message stays if he changes the browser or I login by the ACP.

    The only different "variable" here is that the email address of the problematic account was previously registered with another account (but the account with that email was deleted).

  6. 50 minutes ago, David N. said:

    Does anyone know if there's a way to test this on a Mac, so that I can take screenshots for my users? My iPhone 7 is too old, and Safari's Developer menu only goes to iOS 14 on my Mac. 

    Search for iOS emulation on mac.

    Not a mac user, but I think iphone devs must have a way to emulate ios on mac in the same way that you can emulate android on windows.

  7. When you enable fluid view in the board index, you will get a beautiful fluid view of all topics in all forums. But even if you filter by "last updated", all pinned topics appears first.

    Is there a native way to hide pinned topics in fluid view and maybe I am missing it?

    I now this is expected, but let me explain my problem: in the board index, the fluid view will show all pinned topics, from all categories and subcategories, first.

    Imagine dozens of categories and subcategories with pinned topics with info that is relevant only in the context of the category.

  8. 32 minutes ago, Daniel F said:

    Hang on hang on.

    It's NOT removed from the sitemap!

     

    Archived topics are removed from the internal search index and people can't reply, but they're not flagged as not indexable for search engines!

    Sorry, you are right.

    I could swear I saw somewhere you can make the sitemap avoid archived topics.
     

  9. If you are doing this because of SEO (removing thin/dead content), you can archive topics without replies. According to the devs, they are removed from the sitemap, etc...

    This is a native feature.

    Also, I think archived topics can be found by a specific table on the database, so, with a little search, you can manually remove them with a single sql query (please, backup first).

  10. Using php8.1.

    QDCnqpW.jpg

    Error: Class "XMLWriter" not found (0) #0 /var/www/XXXXX/applications/core/extensions/core/Sitemap/Content.php(328): IPS\_Sitemap->buildSitemapFile() #1 /var/www/XXXXX/system/Sitemap/Sitemap.php(120): IPS\core\extensions\core\Sitemap\_Content->generateSitemap() #2 /var/www/XXXXX/applications/core/tasks/sitemapgenerator.php(39): IPS\_Sitemap->buildNextSitemap() #3 /var/www/XXXXX/system/Task/Task.php(375): IPS\core\tasks\_sitemapgenerator->IPS\core\tasks\{closure}() #4 /var/www/XXXXX/applications/core/tasks/sitemapgenerator.php(34): IPS\_Task->runUntilTimeout() #5 /var/www/XXXXX/system/Task/Task.php(274): IPS\core\tasks\_sitemapgenerator->execute() #6 /var/www/XXXXX/system/Task/Task.php(237): IPS\_Task->run() #7 /var/www/XXXXX/applications/core/interface/task/task.php(58): IPS\_Task->runAndLog() #8 {main}

    XMLWrite enabled where the forum is running. The same is happening with DOMDocument (also enabled).

    Dont mind if this is a false positive, but if this is affecting the sitemap and how google might find some pages, this would be a problem.

  11. Hello, there. In my country, the date format "Month, D, YYYY" from the lastest version is REALLY, REALLY unusual. Here we use DD/MM/YY (or YYYY).

    Using "relative dates" don't solve the problem for older posts. And changing the system locale neither.

    Is it possible to just change this without paying for a plugin?

    Thank you!

     

  12. Hello, there. For several months, I was successfully using google workspaces smtp to send emails.

    But, without any change, outgoing emails started to pile up in the "Email Error Logs" with "Connection timed out".

    When I keep trying, I get the "504 gateway error "and a crash. Eventually it works, if I keep trying.

    Is this a software problem (IPB) or a google problem?

    PS: there's no evident erros on mysql/nginx/php-fpm error log files.

    Thank you in advance.

  13. 15 hours ago, SC36DC said:

    But the whole point for having a plugin made for using SES with IPB is the fact that using the SES api is much faster than using it through SMTP.

    https://sendgrid.com/blog/web-api-or-smtp-relay-how-should-you-send-your-mail/

    https://www.pepipost.com/blog/smtp-or-api-what-to-choose/

     

    Maybe I'm a cheap bastard, but if you insist in using ses, I would still use the SES smtp instead of paying for a plugin for an API.

    The whole reason I don't use sendgrid or other services is to decrease costs, in the case of ses api you will be stuck with a third party app and still have to pay for ses.

    Now it might not make any difference, but depending of your needs, I would be cautious about scalability in the future.

    In my case, If would have to use a plugin to use ses api:

    • U$20 plugin
    • U$5 every 6 months for renew
    • U$0,10 for every 1000 emails from SES (60.000 free if you send then by a EC2 instance, not my case)

    I send almost 10.000 emails per day (notifications, etc), so lets cut it to HALF just to generate a simple example: 5.000 emails per day x 30 days = 150.000 * 0,10USD = U$15/month

    The end result in the first year: U$210, U$190 everyother year.

    Now, using google workspaces every year: U$64 (more than 3 times less).

    If the quantity of emails you particulary send is small and this comparison don't make a lot of sense, you have a lot of great options too.

    Just for example: without having to deal with any setup, sendgrid (that IPB fully support their api), allow you to send 100 emails per day FOR FREE, and for U$15 bucks you can send up to 50.000 (this is 1600+ emails per day).

    TL:DR: in the end of the day, google workspaces trumps everything if you send less than 10.000 emails per day.

  14. On 12/12/2020 at 11:34 PM, SC36DC said:

    Do you know of a online guide on how to set up Google Workspace correctly? In IPS I selected SMTP, then the following:

    SMTP Host: smtp-relay.gmail.com
    SMTP Protocol: TLS
    SMTP Port: 587
    SMTP Username: My google workspace email
    SMTP Password: My google workspace password

    Is any of this wrong? I'd appreciate any help. Thanks in advance.

    The first result in google for "how to config smtp with gsuite" is from google itself teaching how to config (it's VERY easy).

    In short you have to add the DKIM, SPF records to your domain, allow your workspace users to send email with smtp (this is done on google workspaces) and you must allow "less secure apps" on your account, otherwise google wont allow IPB to use the smtp.

    For people wanting to use SES, you can config SES as a SMTP server and use it with IPB without any third party pluging or "tweaks". Better yet, amazon itself have a great tutorial on how to do this.

  15. 2 hours ago, Davyc said:

    The instant gratification that people crave is not in articles; I would quickly lose interest in an article if I had to read it on a mobile phone.  Likes, thumbs up/down, smiley's and the like are all they want.  Serious users will use forums or other such websites where reading on a larger screen is much more comfortable.

     

    image.png.10f50d6cbaa60a845f2de38ba6b3ae17.png

     

    75% of sessions on my forum are from non serious users.

    Damn kids with those new things called smartphones, right?

    Reading text using a small screen?? ABSURD! 

    Believe me, It wont take long until they start reading books that aren't made from paper. What kindle of world is that?

     

  16. Sorry, @annadaa, but you will be talking to the wall about this in here.

    After 10-12 years using IPB, the focus of the app is still the same.

    All I can think about this is that:

    1. The staff behind the development might be the same from 10+ years ago and are stuck in the 2000s, or...
    2. IPB is a niche product to attract a certain profile of community owners, that like the "forum style from 2000s" to compete with other similar options in the same market.

    It's 2021, while plataforms like reddit (open-source by the way), have a simple UI with a app that works, IPB have.... clubs, calendar...

    It's like IPB exists in a separate world where wordpress, social media, file sharing like google drive don't exist, so they invest in stuff like cms, pages, file sharing system, blogs, etc...

    A lot - if not all - of that features worked very well in 2007-2014, because the options were very limited.

    Just for example: TODAY, I would never, in a million years, pay U$100 for ipb ecommerce or blog (U$175 for both), with wordpress and woocommerce being free, with a bigger community and, actually, better. If you don't like wordpress, there's a lot of other free options that fit the category as well, this is just an example.

    By the way, I use several different apps in my projects. Can you bet which is the only one of them that have problems with performance and needs a lot of server side tweaks or/and will crash my server/generate downtime in almost every new major upgrade? Tip: ipb

    I'm an unhappy costumer and, as of right now, I feel stuck with IPB.

    I already tried changing plataforms in the past, but it was a SEO disaster. Right now, I'm learning django and flutter, to make my own solution (just for my own projects, not to sell for others).

    I simply can't see myself still using IPB in the future.

    The only good thing I notice was an improvement in support. Five (or so) years ago, even paying for updates, staff would treat you as if they were doing a favor (in several occasions my hosting company support at the time fixed problems caused by IPB major upgrades). Now IPB support is MUCH better.

    Please, I'm not trying to win any arguments, this is my experience with IPB in respect with my particular needs, just that...
     

  17. There's a lot of topics with discussions and questions from the same category.

    So it would be nice to activate question if the user marked this topic as a question, like happens in some platforms.

    If there's already a way to do this, please, share.

    This is a game changer, since enabling question for a entire section is a bazooka approach (atleast in my forum).

×
×
  • Create New...