i want to show images extracted from the forum post as cover on the homepage.
those covers are based on forum id (static)
i want those covers to be based on the image links found in the last post made. so I made changes to database to add the last post not only title and id. but I don't know how to modify the hook updateForumLastPostData as it is not updating the newly created column.
I guess i have to fiddle more with classPost. as you mentioned the $topic['post'] is empty and $post['post'] doesnt work. thanks anyway
i added a column in `ibf_forums`.`topics` last_post_content
$dbs['last_post_content'] = $topic['post'];
my aim is to parse the content of the post with my own script to extract image links on the homepage. So first thing i want to do is to update the forums table with the last post content. if I wasn't clear please let me know.
I want to edit how this hook behaves by including the content of the post to forums. i made the edits for the database and to the classPost.php as well.
but i couldn't find which file contains updateForumLastPostData .