Search found 7 matches

by joelk
Tue Mar 25, 2014 7:34 pm
Forum: [3.x] Event Requests
Topic: [PHP] core.viewforum_get_topic_id_sql
Replies: 2
Views: 6300

[PHP] core.viewforum_get_topic_id_sql

Identifer: core.viewforum_get_topic_id_sql Location: viewforum.php Parameters: sql_array Explanation: Currently there is no way to restrict which topics get shows on a forums page. It is possible to join with another table to retrieve additional details, but restricting based on that join isn't poss...
by joelk
Tue Mar 25, 2014 6:00 pm
Forum: [3.1/Ascraeus] Merged Event Requests
Topic: core.posting_modify_template_vars correction
Replies: 18
Views: 25113

core.posting_modify_template_vars correction

For some reason I cannot login to jira, so I'm posting this here. in posting.php the event dispatcher is called directly triggering the core.posting_modify_template_vars event, but the event doesn't have any data, so it's impossible to modify the template array within the event listener. Instead the...
by joelk
Tue Mar 25, 2014 2:33 pm
Forum: [3.x] Discussion
Topic: 3.1 development with Symfony bundles
Replies: 4
Views: 4338

Re: 3.1 development with Symfony bundles

I did end up adding my dependencies to the extension composer.json, and that works fine, but to make use of all my symfony bundles, I had to create my own Kernel object within a custom service. I then pass this kernel/service around to my other phpbb services as needed; this keeps my bundles and php...
by joelk
Tue Mar 25, 2014 2:29 pm
Forum: [3.1/Ascraeus] Merged Event Requests
Topic: [PHP] core.viewforum_get_topic_data
Replies: 2
Views: 10683

Re: [PHP] core.viewforum_get_topic_data

I'm trying to implement this event to join on another database table to restrict the result set. The SQL being generated works fine, but it looks like that SQL in some places gets reused partially, and in other places not at all. 1) Retrieving the announcements preserves the JOIN, but omits the WHER...
by joelk
Wed Mar 12, 2014 3:03 pm
Forum: [3.x] Discussion
Topic: 3.1 development with Symfony bundles
Replies: 4
Views: 4338

Re: 3.1 development with Symfony bundles

Thanks, are you not sure it would need to happen in phpbb_create_container() instead of during the enable step? I'm able to add the bundles to the container, but it doesn't get written to the cache file as it should. What we really need is the Kernel, which calls prepareContainer() and updates the c...
by joelk
Tue Mar 11, 2014 8:15 pm
Forum: [3.x] Discussion
Topic: 3.1 development with Symfony bundles
Replies: 4
Views: 4338

3.1 development with Symfony bundles

Hi guys, I've been following the slow but steady development of 3.1 for a while now. I'm evaluating it as a replacement for a highly customized VB3. The move to symfony components and composer is great and gives me hope that it'll be flexible enough for my needs. The scenario so far is that I have s...