How to create a post

Discussion forum for Extension Writers regarding Extension Development.
Post Reply
drooid
Registered User
Posts: 81
Joined: Tue Mar 31, 2009 9:15 am

How to create a post

Post by drooid »

I try to create automated post adding function in my extension.
New post should have simply new topic and short message text, both based on two variables filled into separate template and also stored in separate table.
I've done my table creation, but I stucked at new post sreation.
Is it possible to call external funnction submit_post form /incluses/functions_posting.php? How should I implement this call in my controller/handle main function?
drooid
Registered User
Posts: 81
Joined: Tue Mar 31, 2009 9:15 am

Re: How to create a post

Post by drooid »

I have another problem with parsing message.
How insert cr and lf in message? <br> is accepted and properly displayed, but its non visible (removed) in post edit mode.
User avatar
Ger
Registered User
Posts: 2108
Joined: Wed Jan 02, 2008 7:35 pm
Location: 192.168.1.100
Contact:

Re: How to create a post

Post by Ger »

My extensions:
Simple CMS, Feed post bot, Avatar Resize, Modbreak, Magic OGP, Live topic update, Modern Quote, Quoted Where (GDPR) and Autoresponder.
Newest: FAQ manager for 3.2

Like my work? Buy me a coffee to keep it coming. :ugeek:

-Don't PM me for support-
Post Reply

Return to “Extension Writers Discussion”