[PHP] core.viewforum_get_shadowtopic_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.viewforum_get_shadowtopic_data

Post by MattF »

Identifer: core.viewforum_get_shadowtopic_data

Location: viewforum.php
After: WHERE ' . $db->sql_in_set('topic_id', array_keys($shadow_topic_list)); line 555

Parameters: $sql

Explanation: Allow extensions to modify the shadow topic data $sql when viewing a forum. For example, Topic Preview MOD does this, it adds the first_post_text to $sql using LEFT_JOIN statements.
Has an irascible disposition.

Post Reply