Page 1 of 1

[CDB] First post on every page

Posted: Sun Aug 24, 2014 1:42 pm
by rxu
Extension Name: First post on every page
Author: rxu

Extension Description:: Allows to show first post of topic on top of its every page.
Extension Version:: 2.0.0 (unstable)
Conversion information:: This extension is a convertion of First post on every page MOD for phpBB 3.0.x.

Requirements:
  • phpBB 3.1.0-RC3 or later
Development repository: https://github.com/rxu/first_post_on_every_page

Download URL: Download button named "Download ZIP" can be found at the development repository page.
Installation: Extension files should be extracted to /ext/rxu/FirstPostOnEveryPage/ folder. Then the extension should be enabled in ACP as usually.

Precaution: As the ext is still in development, major changes still can be applied which could require full extension purging and reinstallation, so use it on your own risk. DO NOT install it on production boards. For testing purposes only.

Re: [DEV] First post on every page

Posted: Sun Aug 24, 2014 3:25 pm
by Raul [ThE KuKa]
Spanish translation ready in "PR".

Re: [DEV] First post on every page

Posted: Sun Aug 24, 2014 3:30 pm
by rxu
Merged :)

works on 3.1.1

Posted: Fri Nov 07, 2014 2:16 pm
by Walther
:idea: installed at 3.1.1: no problems

Re: [DEV] First post on every page

Posted: Sat Nov 08, 2014 8:32 am
by yasser33311
screenshot?

Re: [DEV] First post on every page

Posted: Sat Nov 08, 2014 10:03 am
by rxu
I think you won't understand anything from the screenshot as it looks like an ordinary topic page but the first post of the topic is on top of every page of the topic. That post looks like any other posts, there's no any difference.

Re: [DEV] First post on every page

Posted: Mon Nov 10, 2014 8:28 pm
by wintstar
yasser33311 wrote:screenshot?
you can look here => http://area52.wintstar.de/phpBB/viewtopic.php?f=4&t=2

Re: [DEV] First post on every page

Posted: Tue Jan 27, 2015 10:06 am
by _avocado_
Hi rxu, thanks for this nice mod. The function is working, but I would like to make the first post better visible/outstanding for my users. Achieving this, I've tried this already, but it does not work (looks the same than before). Have phpBB 3.1.2 and Prosilver running.
Do you have any idea or maybe someone else?

Re: [DEV] First post on every page

Posted: Tue Jan 27, 2015 11:44 am
by _avocado_
Hello again, I've got it :)

Code: Select all

Instead of
AFTER, ADD
   'S_TOPIC_FIRST_POST_SHOW'   => ($topic_data['topic_first_post_show'] == 1) ? true : false,

I have used this
AFTER, ADD
   'S_TOPIC_FIRST_POST_SHOW'   => ($topic_data['topic_first_post_show'] == 0) ? true : false,
I have just changed the 1 to 0. I guess it has something to do with the setting I did in my phpBB setup.
I have set the MOD-function (first post on every page) for the whole forum, not only for the topic.

Re: [DEV] First post on every page

Posted: Tue Jan 27, 2015 12:56 pm
by uruguayito
Tk rxu ...godd Ext ... :mrgreen:

But I see a little bug with ES language ...

it´s not detected auto.

If I delete EN, appears this error:

Image

some idea?

Re: [DEV] First post on every page

Posted: Tue Jan 27, 2015 3:47 pm
by draky
What about a colored border to distinguish 1st post from others ?

Re: [DEV] First post on every page

Posted: Tue Jan 27, 2015 4:09 pm
by rxu
uruguayito wrote:But I see a little bug with ES language ...
Indeed, es translation is not full and the info_acp_first_post_on_every_page.php file is missing. Please copy one from the en folder as a temporary solution.
draky wrote:What about a colored border to distinguish 1st post from others ?
_avocado_ wrote:I would like to make the first post better visible/outstanding for my users
This would be pretty fine, especially if adding ACP option to switch this on/off. regrettably, I don't have much spare time to wirk on this (maybe, a bit later). Thanks.

Re: [DEV] First post on every page

Posted: Tue Jan 27, 2015 4:26 pm
by uruguayito
rxu wrote:
uruguayito wrote:But I see a little bug with ES language ...
Indeed, es translation is not full and the info_acp_first_post_on_every_page.php file is missing. Please copy one from the en folder as a temporary solution.
Perfect. rxu :mrgreen:

:arrow: this is the translate to the spanish for the info_acp_first_post_on_every_page.php:

Code: Select all

Mostrar el primer Mensaje de este tema en cada página del mismo:
Si está activado, el primer mensaje de este tema se mostrará en cada página del mismo

Re: [DEV] First post on every page

Posted: Tue Jan 27, 2015 4:30 pm
by rxu
uruguayito wrote:this is the translate to the spanish for the info_acp_first_post_on_every_page.php
Great, added to the repo, thanks.

Re: [DEV] First post on every page

Posted: Sat Oct 31, 2015 6:09 am
by rxu
The extension has been validated/released:
https://www.phpbb.com/customise/db/exte ... everypage/