Forum Title Colour

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.
Locked
User avatar
oddfish
Registered User
Posts: 839
Joined: Mon Mar 19, 2007 8:45 pm
Location: Testing 3.1
Contact:

Re: Forum Title Colour

Post by oddfish »

Smog wrote:.... your MOD is working fine with exception of the index: normal colors.
Any idea when this will be added/fixed?
check your edits carefully and the correct edits a few posts above would be my only suggestion. It does work correctly.
Country Flag User Edition Clickable Post Count Link

... another record broken without breaking any records ...
Testing phpBB3.1 dark style based on prosilver ... http://www.oddmods.net
User avatar
Sunka
Registered User
Posts: 566
Joined: Wed Mar 26, 2008 2:48 pm
Location: Croatia, Zvoneca

Re: Forum Title Colour

Post by Sunka »

Working very good.
Thanks for creating MOD :mrgreen:
Smog
Registered User
Posts: 103
Joined: Sun May 13, 2007 8:06 am
Contact:

Re: Forum Title Colour

Post by Smog »

oddfish wrote:
Smog wrote:.... your MOD is working fine with exception of the index: normal colors.
Any idea when this will be added/fixed?
check your edits carefully and the correct edits a few posts above would be my only suggestion. It does work correctly.
Accomplished the modifications as suggested by you, still no colored forum titles on the index.
However, in the ACP the forum titles are colored......
danny1969
Registered User
Posts: 27
Joined: Sat Nov 01, 2008 1:44 pm

Re: Forum Title Colour

Post by danny1969 »

have you made the prosilver changes?

prosilver.xml

greetings, Danny ;)
Smog
Registered User
Posts: 103
Joined: Sun May 13, 2007 8:06 am
Contact:

Re: Forum Title Colour

Post by Smog »

danny1969 wrote:have you made the prosilver changes?

prosilver.xml
No, i didn't because i only use subsilver2 ;)
User avatar
oddfish
Registered User
Posts: 839
Joined: Mon Mar 19, 2007 8:45 pm
Location: Testing 3.1
Contact:

Re: Forum Title Colour

Post by oddfish »

Smog wrote:
danny1969 wrote:have you made the prosilver changes?

prosilver.xml
No, i didn't because i only use subsilver2 ;)
From memory, there are 2 more required edits in forumlist_body.html which I'll fix in an update soon for subsilver2.

find x2

Code: Select all

<a class="forumlink" href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a>
replace with

Code: Select all

<a class="forumlink" href="{forumrow.U_VIEWFORUM}"><!-- IF forumrow.S_FORUM_NAME_COLOUR --><span style="color:#{forumrow.FORUM_NAME_COLOUR};"><!-- ENDIF -->{forumrow.FORUM_NAME}<!-- IF forumrow.S_FORUM_NAME_COLOUR --></span><!-- ENDIF --></a>
cheers,
oddfish.
Country Flag User Edition Clickable Post Count Link

... another record broken without breaking any records ...
Testing phpBB3.1 dark style based on prosilver ... http://www.oddmods.net
User avatar
PunkoJotaViL
Registered User
Posts: 15
Joined: Thu Nov 06, 2008 2:57 pm

Re: Forum Title Colour

Post by PunkoJotaViL »

mmmm...
how i unistall this part:

Code: Select all

ALTER TABLE phpbb_forums ADD forum_name_colour varchar(6) DEFAULT '' NOT NULL;
User avatar
DragonMaster1
Registered User
Posts: 994
Joined: Tue Aug 17, 2004 11:04 am
Name: Terry
Contact:

Re: Forum Title Colour

Post by DragonMaster1 »

PunkoJotaViL wrote:mmmm...
how i unistall this part:

Code: Select all

ALTER TABLE phpbb_forums ADD forum_name_colour varchar(6) DEFAULT '' NOT NULL;

If you can access the server control panel just go to that server and find phpbb_forums in the list and browse it, then check the drop down list and go to the last one and you will see forum_name_colour listed. Just check the box and delete it

There is a way to use the SQL to do this but I hesitate to post SQL code for others to use
Smog
Registered User
Posts: 103
Joined: Sun May 13, 2007 8:06 am
Contact:

Re: Forum Title Colour

Post by Smog »

oddfish wrote:
Smog wrote:
danny1969 wrote:have you made the prosilver changes?

prosilver.xml
No, i didn't because i only use subsilver2 ;)
From memory, there are 2 more required edits in forumlist_body.html which I'll fix in an update soon for subsilver2.

find x2

Code: Select all

<a class="forumlink" href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a>
replace with

Code: Select all

<a class="forumlink" href="{forumrow.U_VIEWFORUM}"><!-- IF forumrow.S_FORUM_NAME_COLOUR --><span style="color:#{forumrow.FORUM_NAME_COLOUR};"><!-- ENDIF -->{forumrow.FORUM_NAME}<!-- IF forumrow.S_FORUM_NAME_COLOUR --></span><!-- ENDIF --></a>
cheers,
oddfish.
Txs oddfish, worked partial. Please see my PM.
User avatar
oddfish
Registered User
Posts: 839
Joined: Mon Mar 19, 2007 8:45 pm
Location: Testing 3.1
Contact:

Re: Forum Title Colour

Post by oddfish »

and replied thanks Smog. :)

A repack of this MOD for phpBB 3.0.3 with subsilver2 edits is available here : http://www.oddfishs.com/forum/viewtopic.php?f=6&t=6

Might include Category Title Colour one day too.

cheers,
oddfish.
Last edited by oddfish on Sat Dec 12, 2009 12:40 am, edited 1 time in total.
Country Flag User Edition Clickable Post Count Link

... another record broken without breaking any records ...
Testing phpBB3.1 dark style based on prosilver ... http://www.oddmods.net
platinum_2007
Registered User
Posts: 1101
Joined: Tue Jul 22, 2008 2:47 am
Location: Nova Scotia, Canada

Re: Forum Title Colour

Post by platinum_2007 »

I am getting this error :

Code: Select all

Parse error: syntax error, unexpected T_DOUBLE_ARROW in /homepages/7/d256403619/htdocs/forum/includes/functions_display.php on line 998
User avatar
oddfish
Registered User
Posts: 839
Joined: Mon Mar 19, 2007 8:45 pm
Location: Testing 3.1
Contact:

Re: Forum Title Colour

Post by oddfish »

platinum_2007 wrote:I am getting this error :

Code: Select all

Parse error: syntax error, unexpected T_DOUBLE_ARROW in /homepages/7/d256403619/htdocs/forum/includes/functions_display.php on line 998
check your edits in functions_display.php around that line #. It should look something like this ( :

Code: Select all

    if (!empty($active_f_row))
    {
        $sql = 'SELECT forum_name
            FROM ' . FORUMS_TABLE . '
            WHERE forum_id = ' . $active_f_row['forum_id'];
//-- mod : forum title colour --------------------------------------------------
//-- add
        $sql = str_replace('SELECT ', 'SELECT forum_name_colour, ', $sql);
//-- fin mod : forum title colour ----------------------------------------------
        $result = $db->sql_query($sql, 3600);
        $active_f_row['forum_name'] = (string) $db->sql_fetchfield('forum_name');
//-- mod : forum title colour --------------------------------------------------
//-- add
        $active_f_row['forum_name_colour'] = $db->sql_fetchfield('forum_name_colour');
//-- fin mod : forum title colour ----------------------------------------------
        $db->sql_freeresult($result);
    }

    // Obtain active topic  
hope that helps,
oddfish.
Country Flag User Edition Clickable Post Count Link

... another record broken without breaking any records ...
Testing phpBB3.1 dark style based on prosilver ... http://www.oddmods.net
User avatar
Ahri89
Registered User
Posts: 524
Joined: Sat Apr 07, 2007 2:53 pm
Location: Spain
Contact:

Re: Forum Title Colour

Post by Ahri89 »

Thanks a lot!!
MODs translated to Spanish: ACP Add User MOD, ACP Announcement Centre, Advertisement Management, Custom Profile Fields, Update Reminder, Flood time setting per forum, MOD Version Check, Posting template, Prune Log, Simple Trash Bin, TinyPic Plugin, User Reminder, View Profile, View your topics, and more...

Sorry for my bad english xD
User avatar
oddfish
Registered User
Posts: 839
Joined: Mon Mar 19, 2007 8:45 pm
Location: Testing 3.1
Contact:

Re: Forum Title Colour

Post by oddfish »

Smog wrote:
oddfish wrote:Might include Category Title Colour one day too.
Any progress to report?
not in the immediate future.
Country Flag User Edition Clickable Post Count Link

... another record broken without breaking any records ...
Testing phpBB3.1 dark style based on prosilver ... http://www.oddmods.net
Locked

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