Your Portal Version: 1.0.0RC3
Your phpBB Type: Standard phpBB3
MODs installed: Yes
Your knowledge: Basic Knowledge
Boardlink: http://www.exalted-aoc.com/forums
PHP Version: 3.0.2
What have you done before the problem was there?
I have searched this forum for answers.
What have you already tryed to solve the problem?
Nothing apart from searhing on how'to
Description and Message
Hi,
I have gotten your excellent portal up and running properly, but am missing a very useful feature I had on my old forums (phpbb2).
It is regarding the news block and how I can make certain topic titles stand out more than others. As an example I would like to have the posts done on the officers forums in a completely different colour so that they are not missed by the officers. I would also like to have the applications stand out more. This is more visible at my old forums: http://exalted-aoc.com/phpbb2/portal.php
So question is simple; is this doable? To have different colours on topic titles in the news block depending on the forum id?
To get some clever brains around here some ideas; Here is how the genius that helped me on the old portal did it (5'th response I think) : http://www.phpbb.com/community/viewtopi ... 7&t=817355
[News block] Other colors on topic title depending on forum
Forum rules
Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.
Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.
Re: [News block] Other colors on topic title depending on forum
Shameless bump on this one as it really makes the portal a better place for us
This is the way it was done on phpbb2:
Somebody clever, please help!
This is the way it was done on phpbb2:
So I assume it's the /forums/portal/block/news.php that needs this incorporated, but I just don't know how toOPEN
portal.php
FIND
BEFORE ADDCode: Select all
$template->assign_block_vars('recent_topic_row', array(
FINDCode: Select all
$recent_topic_title_row = $recent_topic_row[$i]['topic_title']; if ( $recent_topic_row[$i]['forum_id'] == '134') { $recent_topic_title_row = '<span style="color: red">' . $recent_topic_title_row . '</span>'; } elseif ( $recent_topic_row[$i]['forum_id'] == '14' ) { $recent_topic_title_row = '<span style="color: pink">' . $recent_topic_title_row . '</span>'; }
REPLACE WITHCode: Select all
'L_TITLE' => $recent_topic_row[$i]['topic_title'],
to use it change the 134 and 14 to the forum ids you want and the color: red and color: pink to whatever color you want.Code: Select all
'L_TITLE' => $recent_topic_title_row,
Somebody clever, please help!
Re: [News block] Other colors on topic title depending on forum
Still nobody able to dig into this one?
Re: [News block] Other colors on topic title depending on forum
I'm still very interested in hearing if anybody knows a way around this one..
Re: [News block] Other colors on topic title depending on fo
Sorry for bringing up this topic again.
Can anyone help, please? I would also very much like this feature for my forum.
In the news block on the portal to have another text color for topicnames from
specific forums (one or more).
Thanks in advance and sorry for my poor english.
Have a nice day everybody
Kind regards
Farmand
Can anyone help, please? I would also very much like this feature for my forum.
In the news block on the portal to have another text color for topicnames from
specific forums (one or more).
Thanks in advance and sorry for my poor english.
Have a nice day everybody
Kind regards
Farmand
-
- Portal Professional
- Posts: 1960
- Joined: 19. April 2009 21:34
- phpBB.de User: archivar
- phpBB.com User: archivar
- Location: Deutschland
Re: [News block] Other colors on topic title depending on fo
Excuse!!!!!!!!!!!!!!!!!!!!!!!
If was my guilt!!!!!!!!!!!!!
I change this.
If was my guilt!!!!!!!!!!!!!
I change this.
V.G. archivar
sorry for my bad english
sorry for my bad english
-
- Portal Professional
- Posts: 1960
- Joined: 19. April 2009 21:34
- phpBB.de User: archivar
- phpBB.com User: archivar
- Location: Deutschland
Re: [News block] Other colors on topic title depending on fo
I do not that it is possible to change this via the portal think.Farmand wrote:Sorry for bringing up this topic again.
Can anyone help, please? I would also very much like this feature for my forum.
In the news block on the portal to have another text color for topicnames from
specific forums (one or more).
Thanks in advance and sorry for my poor english.
Have a nice day everybody
Kind regards
Farmand
V.G. archivar
sorry for my bad english
sorry for my bad english