File: includes/functions_display.php
Unmodified
Added
Modified
Removed
Line 646 | Line 646 |
---|
* @var array row The data of the forum * @var array subforums_row Template data of subforums * @since 3.1.0-a1
|
* @var array row The data of the forum * @var array subforums_row Template data of subforums * @since 3.1.0-a1
|
* @change 3.1.0-b5 Added var subforums_row
| * @changed 3.1.0-b5 Added var subforums_row
|
*/ $vars = array('forum_row', 'row', 'subforums_row'); extract($phpbb_dispatcher->trigger_event('core.display_forums_modify_template_vars', compact($vars)));
| */ $vars = array('forum_row', 'row', 'subforums_row'); extract($phpbb_dispatcher->trigger_event('core.display_forums_modify_template_vars', compact($vars)));
|
Line 1496 | Line 1496 |
---|
* @param array $user_data the current stored users data * @param int $user_posts the users number of posts *
|
* @param array $user_data the current stored users data * @param int $user_posts the users number of posts *
|
* @return array An associative array containing the rank title (title), the rank image source (img) and the rank image as full img tag (img)
| * @return array An associative array containing the rank title (title), the rank image as full img tag (img) and the rank image source (img_src)
|
* * Note: since we do not want to break backwards-compatibility, this function will only properly assign ranks to guests if you call it for them with user_posts == false */
| * * Note: since we do not want to break backwards-compatibility, this function will only properly assign ranks to guests if you call it for them with user_posts == false */
|
Line 1553 | Line 1553 |
---|
} } }
|
} } }
|
| /** * Modify a user's rank before displaying * * @event core.get_user_rank_after * @var array user_data Array with user's data * @var int user_posts User_posts to change * @var array user_rank_data User rank data * @since 3.1.11-RC1 */
$vars = array( 'user_data', 'user_posts', 'user_rank_data', ); extract($phpbb_dispatcher->trigger_event('core.get_user_rank_after', compact($vars)));
|
return $user_rank_data; }
| return $user_rank_data; }
|