[CDB] First post on every page

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Suggested Hosts
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
Locked
rxu
Extensions Development Team
Posts: 2931
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation
Name: Ruslan
Contact:

[CDB] First post on every page

Post by rxu » Sun Aug 24, 2014 1:42 pm

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.

User avatar
Raul [ThE KuKa]
Style Customisations
Style Customisations
Posts: 6040
Joined: Mon Dec 08, 2003 9:24 pm
Location: Spain
Name: Raul Arroyo
Contact:

Re: [DEV] First post on every page

Post by Raul [ThE KuKa] » Sun Aug 24, 2014 3:25 pm

Spanish translation ready in "PR".
All unsolicited PMs will be ignored.
:warning: Knowledge Base | Documentation | Board rules | phpBB Styles Rules & Policies :warning:


If you like my styles, translations, etc. and want to show some appreciation, then feel free to Donate with Image
:flag_es: phpBB Spain - Online Since 2003 :heart:



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

Re: [DEV] First post on every page

Post by rxu » Sun Aug 24, 2014 3:30 pm

Merged :)

User avatar
Walther
Registered User
Posts: 268
Joined: Fri Jul 09, 2004 5:21 pm
Location: The Netherlands

works on 3.1.1

Post by Walther » Fri Nov 07, 2014 2:16 pm

:idea: installed at 3.1.1: no problems

User avatar
yasser33311
Registered User
Posts: 266
Joined: Sat Jul 27, 2013 1:27 pm
Location: algeria
Name: yasser ghe
Contact:

Re: [DEV] First post on every page

Post by yasser33311 » Sat Nov 08, 2014 8:32 am

screenshot?
PhpBB Services - install, update, upgrade, customize: PM

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

Re: [DEV] First post on every page

Post by rxu » Sat Nov 08, 2014 10:03 am

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.

User avatar
wintstar
Registered User
Posts: 280
Joined: Sat Mar 07, 2009 12:39 pm

Re: [DEV] First post on every page

Post by wintstar » Mon Nov 10, 2014 8:28 pm

yasser33311 wrote:screenshot?
you can look here => http://area52.wintstar.de/phpBB/viewtopic.php?f=4&t=2

_avocado_
Registered User
Posts: 3
Joined: Mon Nov 09, 2009 12:10 pm

Re: [DEV] First post on every page

Post by _avocado_ » Tue Jan 27, 2015 10:06 am

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?

_avocado_
Registered User
Posts: 3
Joined: Mon Nov 09, 2009 12:10 pm

Re: [DEV] First post on every page

Post by _avocado_ » Tue Jan 27, 2015 11:44 am

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.

User avatar
uruguayito
Registered User
Posts: 266
Joined: Mon Dec 13, 2010 2:46 pm
Location: Montevideo - Uruguay

Re: [DEV] First post on every page

Post by uruguayito » Tue Jan 27, 2015 12:56 pm

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?
I speak spanish
Sorry for my bad english

User avatar
draky
Registered User
Posts: 247
Joined: Tue Dec 10, 2002 2:04 pm
Location: France
Name: Gilles W.
Contact:

Re: [DEV] First post on every page

Post by draky » Tue Jan 27, 2015 3:47 pm

What about a colored border to distinguish 1st post from others ?

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

Re: [DEV] First post on every page

Post by rxu » Tue Jan 27, 2015 4:09 pm

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.

User avatar
uruguayito
Registered User
Posts: 266
Joined: Mon Dec 13, 2010 2:46 pm
Location: Montevideo - Uruguay

Re: [DEV] First post on every page

Post by uruguayito » Tue Jan 27, 2015 4:26 pm

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
I speak spanish
Sorry for my bad english

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

Re: [DEV] First post on every page

Post by rxu » Tue Jan 27, 2015 4:30 pm

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.

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

Re: [DEV] First post on every page

Post by rxu » Sat Oct 31, 2015 6:09 am

The extension has been validated/released:
https://www.phpbb.com/customise/db/exte ... everypage/

Locked

Return to “Extensions in Development”