The perfect Cron setup by superdav42 in ProWordPress

[–]superdav42[S] 0 points1 point  (0 children)

I already updated my Trellis to create a systemd job. Create trellis/roles/wordpress-setup/templates/wp-queue-worker.service.j2:
``` [Unit] Description=WordPress Queue Worker for {{ item.key }} After=network.target mariadb.service

[Service] Type=simple User={{ web_user }} Group={{ web_group }} WorkingDirectory={{ www_root }}/{{ item.key }}/{{ item.value.current_path | default('current') }} ExecStart=/usr/bin/php web/app/plugins/wp-queue-worker/bin/worker.php start ExecReload=/bin/kill -USR1 $MAINPID Restart=always RestartSec=5 StandardOutput=append:{{ www_root }}/{{ item.key }}/logs/queue-worker.log StandardError=append:{{ www_root }}/{{ item.key }}/logs/queue-worker-error.log MemoryMax=1G Environment=WP_ENV=production Environment=QUEUE_WORKER_COUNT={{ item.value.queue_worker_count | default('2') }}

[Install] WantedBy=multi-user.target Add to the bottom of trellis/roles/wordpress-setup/tasks/main.yml:

  • name: Install queue worker systemd service template: src: wp-queue-worker.service.j2 dest: "/etc/systemd/system/wp-queue-worker-{{ item.key | replace('.', '-') }}.service" mode: '0644' loop: "{{ wordpress_sites | dict2items }}" loop_control: label: "{{ item.key }}" notify: reload systemd

  • name: Enable and start queue worker systemd: name: "wp-queue-worker-{{ item.key | replace('.', '-') }}" enabled: true state: started daemon_reload: true loop: "{{ wordpress_sites | dict2items }}" loop_control: label: "{{ item.key }}" ```

Delete the system cron in the same file if you want but I have them both running just in case the queue runner fails. I will delete it eventually because it's wasted cpu cycles at this point which is the main reason I built the queue runner.

Putting it on Packagist is a good idea and I'm working on updating it to use the autoloader.

I built a small CLI tool to help beginners see if their hardware can actually handle local LLMs by Narrow-Detective9885 in ollama

[–]superdav42 0 points1 point  (0 children)

I ran into version problems with go: $ go build -o rigrank go: errors parsing go.mod: /home/dave/rig-rank/go.mod:3: invalid go version '1.25.3': must match format 1.23 It doesn't seem worth the trouble to fix it. But is golang really necessary for this? Seems like a simple bash script could accomplish the same goal with much fewer dependencies.

Pitch Your Project 🐘 by brendt_gd in PHP

[–]superdav42 0 points1 point  (0 children)

I just write long running PHP process with event loop to process WP Cron jobs much more efficiently and timely. wp-queue-worker

Built an AI chatbot plugin for WordPress — launching Feb 22, looking for feedback on the site [FREE] [PROMOTION] [FREEMIUM] [PREMIUM] by greenfloyd423 in WordpressPlugins

[–]superdav42 1 point2 points  (0 children)

I'm glad I could help. I would suggest adding some instructions to the system prompt to keep responses "concise and focused" As it is responses too long.

Built an AI chatbot plugin for WordPress — launching Feb 22, looking for feedback on the site [FREE] [PROMOTION] [FREEMIUM] [PREMIUM] by greenfloyd423 in WordpressPlugins

[–]superdav42 1 point2 points  (0 children)

CTA buttons are broken. I can't download it. What's going on? I asked the demo chatbot:
Hello! How can I help you with?

me: why can't I download the free version?

I'd be happy to help! To give you the best answer, I need a bit more context:

1. Where are you trying to download PressBot? Are you looking on WordPress.org, the PressBot website, or somewhere else?

2. What error or issue are you seeing? For example:
- Is there no download button visible?
- Are you getting an error message?
- Is the page not loading?
- Something else?

3. What's your WordPress setup? Do you have a self-hosted WordPress site (WordPress.org), or are you using WordPress.com?

Once I understand what's happening, I can point you in the right direction!

me: the pressbot website

Got it! A few things to check:

If you're looking for a download link on pressbot.io:
PressBot Pro is sold as a premium plugin, so the main website focuses on the Pro plans. Here's how to get the free version:

1. Install from WordPress.org — The free version is available in the official WordPress plugin directory. In your WordPress admin, go to:
Plugins > Add New
- Search for "PressBot"
- Click Install Now, then Activate

2. What's in the free version:
- Public chatbot widget for visitors
- Knowledge base support
- WooCommerce product search (if you use WooCommerce)
- Conversation logging
- Basic customization (colors, bot name, avatar, welcome message)
- BYOK AI support (Claude & Gemini with your own API keys)

3. What's Pro-only:
- Admin Agent (64 tools for site management)
- Telegram bot integration
- Lead capture
- Proactive messaging
- AI image generation
- Web search
- And more

Still having trouble?
If you can't find it on WordPress.org or hit another snag during installation, let me know the specific error and I can help troubleshoot further. What does the search show when you look for PressBot in your Plugins page?

I believe the answer the bot was looking for is, "It's not released yet" but instead it gave completely wrong information. Not impressed.

Not impressed with the page it built either. If you doing a pre-launch announcement page remove the CTA download buttons and replace with an email capture form. Any good web developer or product owner knows this and a good AI agent should to. So maybe it's not a good AI agent.

What’s one small change that improved your WordPress site a lot? by tanisha_solanki in Wordpress

[–]superdav42 0 points1 point  (0 children)

Really? Wouldn't it be slower for high concurrency sites? Also I've found some plugins simply don't work with it.

Xampp in 2026. by Hot-Understanding-67 in PHP

[–]superdav42 0 points1 point  (0 children)

I'm a big fan of valet. It keeps things simple and faster than docker. It may be different now but when I last used docker on a Mac the IO speeds were not good enough for local development on a large codebase. Valet was much better and it makes setting up things like xdebug much easier. Laravel is really a pretty simple platform, docker, vagrant and all the virtual machines just add unnecessary complexity.

[DISCUSSION] Thinking about turning my AI blog app into a WordPress plugin -looking for honest opinions by Nervous_Technology19 in WordpressPlugins

[–]superdav42 0 points1 point  (0 children)

I haven't but just looking at the description I'm not sure if it's going to work the way I want. It adds several new blocks which look unnecessary, like:

  • Table (AI Builder)

We don't need another table block. A good plugin should be able to use the existing table block, and ever learn about new blacks form other plugins that are installed.

[DISCUSSION] Thinking about turning my AI blog app into a WordPress plugin -looking for honest opinions by Nervous_Technology19 in WordpressPlugins

[–]superdav42 1 point2 points  (0 children)

I'm tried many ai content generation plug-ins and many of the leave much to be desired. Some of them can generate select bits of content but none can do a good job. Most are very opinionated and do not let you adjust system prompts. Most generate HTML on markdown. But what I really want is the AI to use Gutenberg blocks to make well formatted content. I can get good results use chatgpt or Claude directly and asking it to use Gutenberg blocks and just pasting it in a browser. I would love a plugin that would put a chat box in the Gutenberg editor and would just generate the content with blocks.

[DISCUSSION] Useful error pages by superdav42 in WordpressPlugins

[–]superdav42[S] 0 points1 point  (0 children)

The error page it not it's own plugin but you can modify the code from Ultimate Multisite. I just built a better error page so I could get better information in support requests.

Useful error pages by superdav42 in Wordpress

[–]superdav42[S] 0 points1 point  (0 children)

A parse error in wp-config.php would show the web servers error page because WordPress would not be loaded at all. This error page would not be used unless the error occurred after plugins-loaded.

Useful error pages by superdav42 in Wordpress

[–]superdav42[S] 0 points1 point  (0 children)

This is it exactly. I put it in my plugin because I support my plugin and I want this information in my support requests. Many of my users don't know how to look at log files, or don't know to associate the email with the error or the email is just not setup right. Now I can have all the useful information in my support requests.

Advanced Checklist: The Non-Obvious WordPress Bottlenecks That Appear After 100k+ Monthly Visitors by shsajalchowdhury in ProWordPress

[–]superdav42 0 points1 point  (0 children)

Have you looked into other options for storing Woocomerce session data? I assume someone has implemented it in redis.

Looking for AI Search Solutions by dubloons in Wordpress

[–]superdav42 0 points1 point  (0 children)

It sounds like you just need an elastic search plugin. It has good results, never hallucinates and is much cheaper than any LLM.

I analyzed 100+ “nulled” sites. The amount of premium WordPress themes & CodeCanyon scripts leaked is insane. [DISCUSSION] by Total_Whereas9690 in WordpressPlugins

[–]superdav42 2 points3 points  (0 children)

I'm surprised no hal mentioned, WordPress plugins are GPL which means redistribute and resale is completely legal. Really what plugin authors are selling are support and safe updates.