Page 1 of 6

Colored link when new post

Posted: Wed Nov 26, 2008 10:36 pm
by Extensions Robot
Modification name: Colored link when new post
Author: JimA
Modification description: This MOD does change the color of the topic-title and forum-name when there are new posts in it.
Modification version: 1.0.2
Tested on phpBB version: 3.0.4

Download file: colored_link_when_new_post_1.0.2.zip
File size: 51.79 KiB

Modification overview page: View

The phpBB Team is not responsible nor required to provide support for this modification. By installing this MOD, you acknowledge that the phpBB Support Team or phpBB Extensions Team may not be able to provide support.

-->Modification support<--

Colored link when new post

Posted: Wed Nov 26, 2008 10:36 pm
by Paul
Modification validated/released

Notes:

Colored link when new post

Posted: Wed Nov 26, 2008 10:36 pm
by JimA
Thank you. :)

Screenshots:
Forum view:
Image

Topic view:
Image

Re: Colored link when new post

Posted: Wed Nov 26, 2008 10:58 pm
by darkonia
n1 mod. runs good, thx :ugeek:

Re: Colored link when new post

Posted: Thu Nov 27, 2008 6:25 am
by autinhyeu
Thanks so much ;)

Re: Colored link when new post

Posted: Thu Nov 27, 2008 7:14 am
by mikeablah
Works perfectly :mrgreen:

Re: Colored link when new post

Posted: Thu Nov 27, 2008 8:38 am
by kber
is this work in (view new posts ) page too ? or the view forum , index pages only

Re: Colored link when new post

Posted: Thu Nov 27, 2008 2:59 pm
by JimA
At the moment there will be no color in the "View new posts" page. I will possibly include this in the next version but are not promising you anything.

Re: Colored link when new post

Posted: Sun Nov 30, 2008 12:56 am
by TMorph
Ok nice mod, thanks. Greetings :P

Re: Colored link when new post

Posted: Sun Nov 30, 2008 1:50 pm
by odriego
How do I make the SQL step?

EDIT: I found out, with this guide.

http://www.phpbb.com/community/viewtopi ... 0&t=588697

Re: Colored link when new post

Posted: Sun Nov 30, 2008 2:38 pm
by odriego

Code: Select all

Feil
SQL-spørring:  

SELECT * 
FROM Array
WHERE CONCAT_WS( "-", config_name, config_value ) = "new_post_colour"
ORDER BY config_name, config_value
LIMIT 0 , 30 

MySQL sa:  

#1146 - Table 'mittlested.Array' doesn't exist 
ehmm.. Does this mean i screwed up something??

I assume that i have to change this : "phpbb_config " But how can i find out what to write there?

Re: Colored link when new post

Posted: Sun Nov 30, 2008 2:48 pm
by odriego
i tried to change it to phpbb3_config and got this.

Code: Select all

Feil
SQL-spørring: 

INSERT INTO phpbb3_config( config_name, config_value ) 
VALUES (

'new_post_colour', 'd82929'
) 

MySQL sa:  

#1062 - Duplicate entry 'new_post_colour' for key 1
and when i look closer at it it says:

Code: Select all

                     SELECT *
                       FROM Array
                      WHERE CONCAT_WS("-", config_name,  config_value)
                            = "new_post_colour"
                   ORDER BY config_name,  config_value
I realy need some assistance here.. :(

Re: Colored link when new post

Posted: Sun Nov 30, 2008 2:50 pm
by RMcGirr83
Your config.php file will state what the prefix is for your phpBB tables (in a generic install it would be phpbb_)

Re: Colored link when new post

Posted: Sun Nov 30, 2008 2:52 pm
by odriego
How can I find out what it is? Im not so well known. Can i check somewhere what it is?

EDIT:

I made it :) I called mine phpbb3_config.

Thank you so much! I have just donated 20$ to phpbb.com

Re: Colored link when new post

Posted: Sun Nov 30, 2008 3:32 pm
by odriego
If something is posted in a subforum, the link does not turn red at my board index.
But if i post a topic elswhere it works. :)

Is there a fix for showing the "mother-title" red also if someone have posted in its sub forum?

(sorry my bad english)