Page 1 of 1

National Flags on Portal

Posted: 21 Aug 2011, 09:40
by Stoker
National Flags on Portal
Written by Stoker

Putting the National Flag mod on the portal page is quite easy. You need to have the National Flag installed.

Open portal.php
Find:

Code: Select all

// Assign index specific vars
Before add:

Code: Select all

//Begin: National_Flag
if (!empty($config['allow_flags']))
{
	if (!function_exists('top_flags'))
	{
		include($phpbb_root_path . 'includes/functions_flag.' . $phpEx);
	}
	top_flags();
}
//End: National_Flag
Open styles/prosilver/template/simpleportal_body.html
Find:

Code: Select all

<!-- End Online List -->
After add:

Code: Select all

<!-- INCLUDE top_flags.html -->