Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.
Thanks a lot!!!! Now everything works just perfect! Cheers, mate.
Is it although possible to display the last post date and author of the last post also?
You know what else would be cool? When the links are displayed, clicking them would lead to the last post in the topic. Not the first one, like right now.
Ok, so if anybody is interested I have a working code that gets you to the last post of the thread, displays the last post author, last post date, post count, view count
Ok, so if anybody is interested I have a working code that gets you to the last post of the thread, displays the last post author, last post date, post count, view count
$node_id_list=implode($nodes_get,',');$sql_forum="SELECT `title`, `thread_id`, `view_count`, `reply_count` FROM `xf_thread` WHERE `node_id` IN ($node_id_list) ORDER BY `last_post_date` DESC LIMIT {$limit}";
You check for viable nodes, BUT you don't check if the user is really allowed to view the thread.
It could be softdeleted or moderated(=> not viable for avarage joe) BUT your script would return it