FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index Off Topic / Otros temas Forum with automatic responses....
Posts: 883
Joined: Thu Dec 24, 2009 12:46 AM
Forum with automatic responses....
Posted: Sat Oct 11, 2025 06:37 PM
So i had this idea, and implemented it, i need a few testers....

I made a Forum with WordPress and wpForo, i created a behind the scenes cron job to update every so often,,,, so the users come and post, and eventually the cron job will activate and answer them depending in the information i give the AI.... so, if you will like to help,,,,,, register to the Forum and place a post, that will help me to make it better, Right now has limited information and even wrong information, but is only testing.... I appreciate your help.....

http://www.xBasePHP.com/wp this forum is having cache problems with the users,,,, im looking into it,,,, but the posts can be seen when logging out....

## 📊 How It Works

```
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ 1. Bot checks wpForo for new posts β”‚
β”‚ (every 60 seconds) β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
β”‚
β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ 2. Gets topic context (previous posts) β”‚
β”‚ (last 5 posts in thread) β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
β”‚
β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ 3. Sends question + context to AI Server β”‚
β”‚ (via API) β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
β”‚
β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ 4. AI generates helpful response β”‚
β”‚ (based on xBasePHP knowledge) β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
β”‚
β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ 5. Bot posts reply to forum β”‚
β”‚ (includes AI disclosure footer) β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
```

=====>

Bayron Landaverry
xBasePHP.com
(215)2226600 Philadelphia,PA, USA
MayaBuilders@gMail.com
Guatemala

FWH25.06--Harbour 3.0.0--BCC7.7--UEstudio 10.10
Windows 10

FiveWin, One line of code and it's done...

Posts: 883
Joined: Thu Dec 24, 2009 12:46 AM
Re: Forum with automatic responses....
Posted: Sun Oct 12, 2025 03:38 AM
New forum,,, a bit more familiar....

Just register and ask a question just to have fun.....

http://www.xBasePHP.com/phpbb3

=====>

Bayron Landaverry
xBasePHP.com
(215)2226600 Philadelphia,PA, USA
MayaBuilders@gMail.com
Guatemala

FWH25.06--Harbour 3.0.0--BCC7.7--UEstudio 10.10
Windows 10

FiveWin, One line of code and it's done...

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Forum with automatic responses....
Posted: Sun Oct 12, 2025 03:57 AM
Dear Byron,

Nice! :)

I like the idea of having a GrokAI, ClaudeAI, ChatGptAI, etc. registered users that can be invoked to post answers :idea:

Using X you can write @grok to require a Grok's answer. Wondering what would be the proper way to do it here.

Maybe a button besides "Post Reply" where you select the agent and get the answer as a new post.

But that means to invoke the AIs APIs and use keys and have use expenses... and the technical challenge to implement it!

I appreciate your comments. So happy to see that you are very AI passionated like me :wink:
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 883
Joined: Thu Dec 24, 2009 12:46 AM
Re: Forum with automatic responses....
Posted: Sun Oct 12, 2025 04:37 AM
phpBB has already an api,,, not REST-api, but since you can upload to the server,,, you build your own code, and get a Cron-job to check the posts every so often, so its fully integrated to the forum, and the answers get registered in the forum, as i did....

Normally everyone has the AI assistant as an addition, so i just asked, and i was answered it couldn't be done, so i said what if??? and asked the right questions, in the right sequence, and did-it...

Instead of writing to the database directly, i asked if phpBB has an internal api, and after checking the code, it has... so the code just asks for the info of the status of the posts, AI reasons and then post directly to the forum....

AIs are very limited now,,, you have to be very specific, and go piece by piece, or all you get all day is ,, I'm sorry, you are absolutely correct.... and nothing gets done....

But please try to place a post in the forum,,,,,,, i also want to have it tested by someone else.....
Antonio Linares wrote: Dear Byron,

Nice! :)

I like the idea of having a GrokAI, ClaudeAI, ChatGptAI, etc. registered users that can be invoked to post answers :idea:

Using X you can write @grok to require a Grok's answer. Wondering what would be the proper way to do it here.

Maybe a button besides "Post Reply" where you select the agent and get the answer as a new post.

But that means to invoke the AIs APIs and use keys and have use expenses... and the technical challenge to implement it!

I appreciate your comments. So happy to see that you are very AI passionated like me :wink:

=====>

Bayron Landaverry
xBasePHP.com
(215)2226600 Philadelphia,PA, USA
MayaBuilders@gMail.com
Guatemala

FWH25.06--Harbour 3.0.0--BCC7.7--UEstudio 10.10
Windows 10

FiveWin, One line of code and it's done...

Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: Forum with automatic responses....
Posted: Sun Oct 12, 2025 07:01 AM
To avoid API costs, I do something similar. I copy the content of the forums that interest me and then have an FAQ block generated. In this particular case it’s easy: there are only a few posts, and for me reading the questions and answers is like reading the newspaper or filling out a crossword puzzle.

clipper2web.com

https://clipper2web.com/faq.html
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Forum with automatic responses....
Posted: Sun Oct 12, 2025 07:17 AM
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 883
Joined: Thu Dec 24, 2009 12:46 AM
Re: Forum with automatic responses....
Posted: Sun Oct 12, 2025 01:07 PM
LOL, the master always beat the pupil, Google will always beat any AI...... forgot to check before embarking in the adventure... but it was rewarding to be able to do it 2 separate ways in different forums... I just do it for the rewards of the learning process anyhow....
Antonio Linares wrote: It already exists an official extension for phpbb:

https://github.com/privet-fun/phpbb_ailabs
https://www.phpbb.com/customise/db/extension/simple_mentions/

=====>

Bayron Landaverry
xBasePHP.com
(215)2226600 Philadelphia,PA, USA
MayaBuilders@gMail.com
Guatemala

FWH25.06--Harbour 3.0.0--BCC7.7--UEstudio 10.10
Windows 10

FiveWin, One line of code and it's done...

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Forum with automatic responses....
Posted: Sun Oct 12, 2025 02:01 PM
Dear Byron,

I asked Grok about it :)

phpbb extensions are not easy to be implemented specially for security reasons. So it is always safer to use an existing one.

We all have a long way to learn AI... so thank you for your inspiring ideas, they are very welcome :!:
regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion