Search found 17 matches

by kasimi
Mon Feb 23, 2015 6:16 pm
Forum: [3.x][Archive] RFCs
Topic: [RFC] composer phpBB versions and installation
Replies: 16
Views: 23593

Re: [RFC] composer phpBB versions and installation

Add this to your migration. Enabling the extension on any earlier version will fail.

Code: Select all

static public function depends_on()
{
    return array('\phpbb\db\migration\data\v31x\v313');
} 
I'd also be interested in a solution for extensions that don't have migrations.
by kasimi
Wed Jan 21, 2015 11:13 pm
Forum: [3.x] Event Requests
Topic: [Template] search_results_posts_to_advanced_search_after
Replies: 3
Views: 7156

Re: [Template] search_results_posts_to_advanced_search_after

Okay, Iooks good. I'll have to come up with a solution for L13. Thanks so much for your help!
by kasimi
Tue Jan 20, 2015 9:16 pm
Forum: [3.x] Event Requests
Topic: [Template] search_results_posts_to_advanced_search_after
Replies: 3
Views: 7156

[Template] search_results_posts_to_advanced_search_after

I've ported parts of asinshesq 's MOD View or mark unread posts . It needs to add a "Mark forums read" link to the search _ results .html , right below the "Go to advanced search" link. I tried to make things a bit cleaner by moving the event outside of the <p> element but the result didn't look qui...
by kasimi
Tue Jan 20, 2015 9:15 pm
Forum: [3.x] Event Requests
Topic: [PHP] core.get_unread_topics_modify_sql
Replies: 1
Views: 4783

[PHP] core.get_unread_topics_modify_sql

I've ported parts of asinshesq 's MOD View or mark unread posts . The extension needs to modify the SQL query which fetches the unread topics data in the function get_unread_topics() in /includes/functions.php , right after the $sql_array variable is assembled (in 3.1.2 after line 1692). /**  * Chan...
by kasimi
Sat Oct 25, 2014 12:49 pm
Forum: [3.x][Archive] RFCs
Topic: Remove "Delete all board cookies"
Replies: 33
Views: 37139

Re: Remove "Delete all board cookies"

Deleting cookies is required to revoke the "Remember me" setting which users may want to do at any point in time.

How about moving it inside the username dropdown list, above the Logout link?
by kasimi
Mon Jul 21, 2014 2:22 am
Forum: General Development Discussion
Topic: Add 'Full' breadcrumb trail to search results?
Replies: 7
Views: 7409

Re: Add 'Full' breadcrumb trail to search results?

FYI, there's a MOD in the MOD database that does the same thing: https://www.phpbb.com/customise/db/mod/ ... nt_forums/
It needs significantly fewer database queries, in the best case zero additional queries even, because it uses the forum_parents field.
by kasimi
Wed Nov 13, 2013 5:03 pm
Forum: [3.x][Archive] RFCs
Topic: Automatically add list items in bbcode editor
Replies: 13
Views: 12642

Re: [RFC] Automatically add list items in bbcode editor

I usually create my list first and then add the bbcode around it. That's similar to how I do it. Here's what I'm thinking: If there is text selected in the message box when the user hits the list button, it could convert the selection into a list, one item for every new line. Item 1 Item 2 Item 3 S...