[PHP] core.search_get_topic_data

These requests for events in core phpBB have been merged into 3.1/Ascraeus and will be available with the next release.
Post Reply
User avatar
MattF
Extension Customisations
Extension Customisations
Posts: 675
Joined: Mon Mar 08, 2010 9:18 am

[PHP] core.search_get_topic_data

Post by MattF »

Identifer: core.search_get_topic_data

Location: search.php
Before // $sql = "SELECT $sql_select

Parameters: $sql_select, $sql_from, $sql_where

Explanation: Allow extensions to get additional topic data when viewing search results as topics by modifying the $sql_select, $sql_from, $sql_where parameters just before they are put into the final $sql variable for querying.

For example, Topic Preview MOD does this, it adds the first_post_text by modifying the $sql_select and $sql_from variables.
Last edited by MattF on Sat Jul 27, 2013 5:02 pm, edited 4 times in total.
Has an irascible disposition.

User avatar
MattF
Extension Customisations
Extension Customisations
Posts: 675
Joined: Mon Mar 08, 2010 9:18 am

Re: [PHP] core.search_results_topics_sql_modify

Post by MattF »

Bump: Updated the above post identifier and explanation.
Has an irascible disposition.

Post Reply