You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello imkingdavid. Huge thanks for your modification, which I'm testing. I findone of the most lacking features is indeed that it doesn't show up on search results, most importantly on the "search new posts" page.
I spent the evening looking for a solution, but though I was a decent modder in phpbb 3.0, I must admit I don't really have the time to learn how to write extensions properly. I do some modification on existing ones, for small issues.
Here's what I found so far... in listener.php, it seems possible to me to add a function to modify the topic data before it is assigned to the template via core.search_modify_tpl_ary (which is linked to search.php). The documentation states you can modify attachments, folder_alt, folder_img, posts_unapproved, replies, row, show_results, topic_deleted, topic_title, topic_type, topic_unapproved, tpl_ary, u_mcp_queue, unread_topic, view_topic_url, zebra
The topic_title and tpl_ary seem interesting for our purpose. I tried writing the function myself, based on some other extensions I've looked up but for some reason I can't manage to make it work :(.
Alternatively, you could add your own entry which could then show up in the search results via topiclist_row_prepend.html, an event that's also included in the search results.
I hope this info helps you out, I'm afraid I don't know how to make it completely work myself otherwise I'd just have given you the code :).
This is pending the addition of template events (and potentially PHP events, depending on which page it's going into) for the core.
The text was updated successfully, but these errors were encountered: