in which file $theme['td_color1'] is?

This is an archive of the phpBB 2.0.x support forum. Support for phpBB2 has now ended.
Forum rules
Following phpBB2's EoL, this forum is now archived for reference purposes only.
Please see the following announcement for more information: viewtopic.php?f=14&t=1385785
Locked
remid1985
Registered User
Posts: 47
Joined: Wed Jun 04, 2003 9:17 pm

in which file $theme['td_color1'] is?

Post by remid1985 » Sun Jun 22, 2003 6:50 pm

extract from viewonline.php

Code: Select all

$row_color = ( $$which_counter % 2 ) ? $theme['td_color1'] : $theme['td_color2'];
		$row_class = ( $$which_counter % 2 ) ? $theme['td_class1'] : $theme['td_class2'];

		$template->assign_block_vars("$which_row", array(
			'ROW_COLOR' => '#' . $row_color,
			'ROW_CLASS' => $row_class,
			'USERNAME' => $username,
			'LASTUPDATE' => create_date($board_config['default_dateformat'], $row['session_time'], $board_config['board_timezone']),
			'FORUM_LOCATION' => $location,

			'U_USER_PROFILE' => append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $user_id),
			'U_FORUM_LOCATION' => append_sid($location_url))
		);

		$$which_counter++;
	}
}
in which file $theme['td_color1'] is defined?

bitserve
Registered User
Posts: 115
Joined: Sat May 24, 2003 10:37 pm
Contact:

Post by bitserve » Sun Jun 22, 2003 10:19 pm

./templates/*/theme_info.cfg
-Mark Adams
www.bitserve.com
The fastest, friendliest
hosting on the net.

remid1985
Registered User
Posts: 47
Joined: Wed Jun 04, 2003 9:17 pm

Post by remid1985 » Sun Jun 22, 2003 11:11 pm

in fact , i realise a portail .
I want to impose a template to every member for my site but let the choice for the forum.

how do i do for impose a template in the files?

bitserve
Registered User
Posts: 115
Joined: Sat May 24, 2003 10:37 pm
Contact:

Post by bitserve » Mon Jun 23, 2003 12:57 am

I don't understand the question, maybe someone else does. But it sounds like you want to modify phpbb now, that goes in one of the MOD forums.
-Mark Adams
www.bitserve.com
The fastest, friendliest
hosting on the net.

remid1985
Registered User
Posts: 47
Joined: Wed Jun 04, 2003 9:17 pm

Post by remid1985 » Mon Jun 23, 2003 11:09 pm

lock it please

Locked

Return to “2.0.x Support Forum”

cron