Created
June 19, 2014 08:37
-
-
Save nickvergessen/386c19c606c9bf1e032f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Move [c]$active_f_row = $active_t_row = array();[/c] to the top of the function, | |
Add event before [c]if ($userdata['user_posts'] > 5000)[/c] and make the if condition a event variable as well as active_t_row, active_f_row | |
if active_t/f_row are both not empty anymore, skip the [c]if (!empty($forum_ary))[/c] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[b]Variables:[/b] | |
[list] | |
[*]$link_topic | |
[*]$link_forum | |
[*]$link_pm | |
[*]$insert_url | |
[*]$view_url | |
[*]$title | |
[*]$skip_row[/list] | |
[b]Before:[/b][code]$template->assign_block_vars('draftrow', array([/code] | |
Directly add [c]topic_poster[/c] to the query |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Should not be needed. We just load all for this user and then check the permissions before displaying them? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
We should fix phpbb and deduplicate this into a parent method, then only 1 event should be required |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
yes
looking into it at the moment