Search found 45 matches
- Mon Jun 09, 2014 8:35 pm
- Forum: [3.x] Discussion
- Topic: Error logs appearing 3 days in a row about timezone
- Replies: 13
- Views: 11045
Re: Error logs appearing 3 days in a row about timezone
It's worth noting that the timezone parameter is ignored if the first parameter is a timestamp (prefixed with @) or if it contains a timezone offset. You might want to add a jira for this. As for this error, it might be possible that the timestamp in your database is empty, which would result in cal...
- Mon Jun 09, 2014 8:29 pm
- Forum: [3.x] Discussion
- Topic: cron cli with extensions
- Replies: 5
- Views: 5125
Re: cron cli with extensions
Should I add a jira for this, or is there one already?
- Mon Jun 09, 2014 7:50 pm
- Forum: [3.x] Discussion
- Topic: cron cli with extensions
- Replies: 5
- Views: 5125
cron cli with extensions
I just tried creating a cron in my extension. It runs via the web-based cron, but when using the CLI the cron doesn't run. I tried debugging a bit and noticed that the task doesn't appear in the list of service collection even though it is tagged correctly in the config.yml file. Moving the definiti...
- Mon Jun 09, 2014 2:14 pm
- Forum: [3.x] Discussion
- Topic: How to alter the pagination object?
- Replies: 2
- Views: 2678
Re: How to alter the pagination object?
The easiest way I found was to override the phpbb\pagination service with my own. That way I can change the base url and the total number of items. Without that I would have needed to add a few new events on different pages to achieve the same result.
- Thu Jun 05, 2014 3:03 pm
- Forum: [3.x][Archive] RFCs
- Topic: [RFC|Accepted] Updated BBcode engine
- Replies: 146
- Views: 165513
Re: [RFC|Accepted] Updated BBcode engine
I'm late to this thread, but will the new BBCode parser allow extensions to define custom codes? Currently only simple search/replace type codes can be added through the ACP, but for more complicated codes where a callback function is needed, this approach doesn't work. For example, if I want an ext...
- Tue May 27, 2014 3:00 pm
- Forum: [3.1/Ascraeus] Merged RFCs
- Topic: [RFC] Search engine optimization: canonical link elements
- Replies: 16
- Views: 43825
Re: [RFC] Search engine optimization: canonical link elements
Why wouldn't the view=print be included in the canonical? It seems like obvious duplicated content. If it isn't a canonical it should at least be include a robots "nofollow" meta.
Related: is there not a default robots.txt file?
Related: is there not a default robots.txt file?
- Mon May 26, 2014 6:59 pm
- Forum: [3.x] Discussion
- Topic: How to alter the pagination object?
- Replies: 2
- Views: 2678
How to alter the pagination object?
Hi, We're trying to filter some topics on the view forum page, in order to do that we can change the SQL (via a pending event), but there are two problems remaining. Firstly, the pagination object uses the "forum_topics" value, which is the total topics in the forum, we would need a way to edit that...
- Wed May 14, 2014 2:39 pm
- Forum: [3.x] Event Requests
- Topic: [PHP] core.viewforum_get_topic_id_sql
- Replies: 2
- Views: 8356
Re: [PHP] core.viewforum_get_topic_id_sql
Will this event not be added?
- Fri May 02, 2014 1:47 pm
- Forum: [3.1/Ascraeus] Merged Event Requests
- Topic: core.posting_modify_template_vars correction
- Replies: 18
- Views: 36468
Re: core.posting_modify_template_vars correction
Sorry to drag on this conversation, but the point is that the changes made by adding those additional variables to the event really doesn't help anybody if the one variable they need access to needs to be passed into the constructor. Events should be constructed in a way such that you're given all t...
- Thu May 01, 2014 7:14 pm
- Forum: [3.1/Ascraeus] Merged Event Requests
- Topic: core.posting_modify_template_vars correction
- Replies: 18
- Views: 36468
Re: core.posting_modify_template_vars correction
Didn't see your reply. $template is the template object that renders the template and to which variables/data is assigned. We just need a way to set our own variables to the template, relying on the service injecting the template also isn't ideal, because then the $template gets injected to the cons...