[ABD] Forum Based Posts Per Page

Any abandoned Extensions will be moved to this forum.

WARNING: Extensions in this forum are not currently being supported or maintained by the original Extension author. Proceed at your own risk.
Forum rules
IMPORTANT: Extension Development Forum rules

WARNING: Extensions in this forum are not currently being supported nor updated by the original Extension author. Proceed at your own risk.
User avatar
Galixte de EzCom
Registered User
Posts: 1041
Joined: Mon Oct 04, 2004 11:14 pm
Location: France
Name: Raphaël M.
Contact:

Re: [RC] Forum Based Posts Per Page

Post by Galixte de EzCom » Tue Mar 03, 2015 1:45 pm

Hi,

here the French translation.
Last edited by Galixte de EzCom on Sun May 24, 2015 11:26 am, edited 1 time in total.
Communau EzCom
📖 « Traductions d’extensions & styles pour phpBB 3.1.x & 3.2.x ».
📋 Lists of all extensions identified for phpBB 3.1.x & 3.2.x.
📋 Lists of all styles identified for phpBB 3.1.x & 3.2.x.
Image Tu as un forum et tu veux aussi un site web ? Regarde par ici.

rxu
Extensions Development Team
Posts: 3003
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation
Name: Ruslan
Contact:

Re: [RC] Forum Based Posts Per Page

Post by rxu » Thu Apr 09, 2015 3:03 pm

Regarding the Detailed viewonline ext compatibility viewtopic.php?p=13830121#p13830121.
As 'forum_posts_per_page' is not available for viewonline.php, it would require either additional SQL query (which would probably be undesirable) or additional event in viewonline.php to allow modifying the following forum info SQL query:

Code: Select all

// Forum info
$sql = 'SELECT forum_id, forum_name, parent_id, forum_type, left_id, right_id
    FROM ' . FORUMS_TABLE . '
    ORDER BY left_id ASC';
$result = $db->sql_query($sql, 600);
With the latter, the Forum Based Posts Per Page ext could just add a listener method to modify the SQL query in viewonline.php and then override the $config['posts_per_page'] value in the next event.

Thus, I guess we need one more event in viewonline.php.

EDIT: patch submitted https://github.com/phpbb/phpbb/pull/3529

User avatar
Galixte de EzCom
Registered User
Posts: 1041
Joined: Mon Oct 04, 2004 11:14 pm
Location: France
Name: Raphaël M.
Contact:

Re: [RC] Forum Based Posts Per Page

Post by Galixte de EzCom » Wed Sep 07, 2016 4:13 am

Hi,

@rxu and @RMcGirr83 it’s fixed on both sides ?
Communau EzCom
📖 « Traductions d’extensions & styles pour phpBB 3.1.x & 3.2.x ».
📋 Lists of all extensions identified for phpBB 3.1.x & 3.2.x.
📋 Lists of all styles identified for phpBB 3.1.x & 3.2.x.
Image Tu as un forum et tu veux aussi un site web ? Regarde par ici.

Post Reply

Return to “Abandoned Extensions”