Topic RSS
9:15 am
Hello, Im trying to create a FAQ answer form on my site. It works so far just by me inserting all the data into the db. But I was curious to know is there any function I can use from SP to create the post for me?
Thanks!
I might be feeling dense after my long drive today but I am not quite certain what you are asking here? Can you be a bit more, say, expansive?
3:26 pm
Sure, just as WP has wp_insert_post($args) is there any such function for SP?
A function that I can call with my arguments, that inserts a new Topic/post into the forums.
Actually a good question. The answer is no – not currently. The routines I would point you to rely on post variables.
But you could take a look at the file sf-post.php in the /library folder which does the work. That could be adapted to have parameters passed in
Most Users Ever Online: 444
Currently Online: Yellow Swordfish, woody, scitexnz, williambennettiv, Jason Clark, Superfast, ahcreate
55 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
-Radio-: 1251
Lee H: 606
Luffer: 535
Conrad_Farlow: 501
jim: 478
neon: 263
ovizii: 240
Tal: 240
Member Stats:
Guest Posters: 2624
Members: 7354
Moderators: 1
Admins: 2
Forum Stats:
Groups: 5
Forums: 16
Topics: 10877
Posts: 79454
Newest Members: somosguatemala, ahcreate, eatonrabbit, indifrendz.com, Superfast, Jason Clark, LisaGergets, williambennettiv, scitexnz, Brad Holland
Moderators: Brandon C (162)
Administrators: Yellow Swordfish (22180), Mr Papa (23688)
Log In
Register
Home
Add Reply
Add Topic
Quote
Online


Privacy Policy
Mr Papa


