First post on every page

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
rxu
Extensions Development Team
Posts: 3457
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation
Name: Ruslan
Contact:

Re: First post on every page

Post by rxu »

Can't reproduce this bug. Could you be more specific and explain detailed what actions are resulting in such error?
issjut
Registered User
Posts: 113
Joined: Tue Oct 09, 2007 5:02 am
Location: Berlin, Germany

Re: First post on every page

Post by issjut »

ok, i can try ;-)

In UCP you can configure the order direction of posts!

UCP-->Board Preferences-->Edit display options

when i choose "Descending" under "Display post order direction:", the first post isn't first anymore.

eg.
post No. 5
post No. 4
post No. 3
post No. 2
FIRST POST

but i want to have it like this

FIRST POST
post No. 5
post No. 4
post No. 3
post No. 2

if someone add a new post (post No. 6)....

FIRST POST
post No. 6
post No. 5
post No. 4
post No. 3
post No. 2

//edit: if pagination it works on 2nd page.. on 1st it doesn't!
sorry for my bad English ;-)
rxu
Extensions Development Team
Posts: 3457
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation
Name: Ruslan
Contact:

Re: First post on every page

Post by rxu »

issjut
Try this ( :!: NOT ABSOLUTELY TESTED :!: sorry)

Code: Select all

OPEN
viewtopic.php

FIND
if($topic_data['topic_first_post_show'] && ( $start != 0))

REPLACE WITH
if($topic_data['topic_first_post_show'] && ($start != 0 || $sql_sort_order == 'p.post_time DESC'))
issjut
Registered User
Posts: 113
Joined: Tue Oct 09, 2007 5:02 am
Location: Berlin, Germany

Re: First post on every page

Post by issjut »

rxu wrote:issjut
Try this ( :!: NOT ABSOLUTELY TESTED :!: sorry)
Thanks!! It works perfect!

Should it be no already include?
sorry for my bad English ;-)
rxu
Extensions Development Team
Posts: 3457
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation
Name: Ruslan
Contact:

Re: First post on every page

Post by rxu »

issjut wrote:Should it be no already include?
I'll think about it, thanks :)
User avatar
Renodil
Registered User
Posts: 668
Joined: Mon Nov 14, 2005 8:48 am
Contact:

Re: First post on every page

Post by Renodil »

I cleared the cache and refreshed the style, but I don't see it.
User avatar
ThunderCrew
Registered User
Posts: 1438
Joined: Sat Jun 30, 2007 6:26 pm
Location: Ill, Usa
Contact:

Re: First post on every page

Post by ThunderCrew »

Yeah this is what I wanted a while ago. Glad to find it will install later and test it out. Sounds like people say it works fine, hope it does. :D Thanx in advance if so.

Installed it and it worked like a dream. :D Thank you very much. Needed this one for board games and a few other processes that would be nice to have first post ontop at every thread of the topic. Cheers.
Ugg im a t0tal newb again ...... 2 years off cant remember jack ... time to get to it
rxu
Extensions Development Team
Posts: 3457
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation
Name: Ruslan
Contact:

Re: First post on every page

Post by rxu »

Renodil wrote:I cleared the cache and refreshed the style, but I don't see it.
Have you applied style changes (see /templates folder of the MOD package)?
issjut
Registered User
Posts: 113
Joined: Tue Oct 09, 2007 5:02 am
Location: Berlin, Germany

Re: First post on every page

Post by issjut »

Just a suggestion for later version ;)

It would be great if the first post could have a different color or maybe even just a little distance between first post and new posts. In fact, first post and the new posts could better be kept apart!

[ first post ]
A little distance
[ new post 3 ]
[ new post 2 ]
[ new post 1 ]
sorry for my bad English ;-)
rxu
Extensions Development Team
Posts: 3457
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation
Name: Ruslan
Contact:

Re: First post on every page

Post by rxu »

I'll think about it, thanks :)
User avatar
RyoBerlin
Registered User
Posts: 40
Joined: Thu Sep 20, 2007 10:10 pm
Location: Germany, Berlin

Re: First post on every page

Post by RyoBerlin »

yeah i have to c 3 times bevor i know oh.. first is the entry posting every time :D

its confusing.. AN I KNOW THE MOD! :D But normal users dont know about this mod so the colored difference is a important thing i think :D

better for the eyes hehe
User avatar
Renodil
Registered User
Posts: 668
Joined: Mon Nov 14, 2005 8:48 am
Contact:

Re: First post on every page

Post by Renodil »

rxu wrote:
Renodil wrote:I cleared the cache and refreshed the style, but I don't see it.
Have you applied style changes (see /templates folder of the MOD package)?
Yes.
User avatar
Renodil
Registered User
Posts: 668
Joined: Mon Nov 14, 2005 8:48 am
Contact:

Re: First post on every page

Post by Renodil »

Bump. Just so I'm clear on what this mod is supposed to do. It's supposed to show the first post of a thread on every page of that thread right? If it is it's not working.
rxu
Extensions Development Team
Posts: 3457
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation
Name: Ruslan
Contact:

Re: First post on every page

Post by rxu »

Could you tell me please what did you do, step by step, detailed? :)
User avatar
justnicky
Registered User
Posts: 22
Joined: Tue Jan 22, 2008 1:58 pm

Re: First post on every page

Post by justnicky »

:cry: it's showing the message "Show on top of every message" but when I click on it I get this message..

Code: Select all

SQL ERROR [ mysql4 ]

Unknown column 'topic_first_post_show' in 'field list' [1054]

SQL

UPDATE phpbb_topics SET topic_first_post_show = 1 WHERE topic_id = 7

BACKTRACE


FILE: includes/db/mysql.php
LINE: 158
CALL: dbal_mysql->sql_error()

FILE: posting.php
LINE: 1022
CALL: dbal_mysql->sql_query()
what have I done wrong?
Locked

Return to “[3.0.x] MOD Database Releases”