Submit Post, Getting Post, how to do

Discussion forum for MOD Writers regarding MOD Development.
Locked
kroliczka
Registered User
Posts: 5
Joined: Mon Jun 22, 2015 3:16 pm

Submit Post, Getting Post, how to do

Post by kroliczka » Wed Jun 24, 2015 11:54 am

I'm making for my homework little bot for my own forum. Bot have to read latest post at topic, take answer from database and post answer.

I wanted to do it using PHP PDO (and maybe something more), but I'm reading here at forum that the best to use Submit_Post function. But I don't understand how does it work and I can't find FULLY examples (wiki isn't enough). I'm not master of php ;)

Could anyone help me how to do that?
Is any function to "get latest post"?
Or maybe don't fight with functions and just use mySql (I'm quite good in that)?
Maybe you've got any other ideas how to do it the easiest way?

rxu
Extensions Development Team
Posts: 2945
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation
Name: Ruslan
Contact:

Re: Submit Post, Getting Post, how to do

Post by rxu » Wed Jul 01, 2015 3:09 pm


Locked

Return to “[3.0.x] MOD Writers Discussion”