Register Members List Search Today's Posts Mark Forums Read

Thread Tools
Old 06 Jul 2018, 12:43
Inna Inna is offline
Join Date: Jul 2016
How to manually add post to a thread

Hello, we've written a Python bot to gather info from other sites and post it in our forum.
As far as I know, I've told the programmer to create a thread in forum (not in phpmyadmin), so till now we have one thread+threadid, one post+postid.
I told him to insert data in `post` table like this:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

It adds the post, but I'm not sure whether to insert any more data in other tables like `datastore`, `setting`, etc.
It seems to successfully add the post. I told him it's not necessary to increase user's post count in `user` table, because we do not need the bot's post count, and the forum in which the bot is replying and sending post is hidden from other users (only admin-level users can see the forum).

Also all of my sites are run in WordPress, and I want this bot to gather data from only my sites to add it in my forum. So, there's no scraping.

Gathering data from my sites to insert into my site.

Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

New To Site? Need Help?

All times are GMT. The time now is 04:04.

Layout Options | Width: Wide Color: