ACP Announcement Centre

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.
Amymations
Registered User
Posts: 80
Joined: Wed Apr 28, 2010 5:28 pm
Location: Cardiff - UK
Name: Amy Baldwin
Contact:

Re: ACP Announcement Centre

Post by Amymations » Wed Apr 28, 2010 7:37 pm

Hey, great mod! Works great, I have an issue though.

For the overall_header.html edit I can't find ANY partial code for

Code: Select all

				<strong>{L_INFORMATION}:</strong> {L_BOARD_DISABLED}
			<span class="corners-bottom"><span></span></span></div>
		</div>
		<!-- ENDIF --
>

So therefore I can't include

Code: Select all

<!-- INCLUDE announcement_centre.html -->
I think the reason why is because I got a custom theme (Game1) Which is subSilver2 based.

Please help! I supplied the code for overall_header.html here.

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
<head>

<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<meta name="copyright" content="2000, 2002, 2005, 2007 phpBB Group" />
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
{META}
<title>{SITENAME} <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>
<!-- IF S_ENABLE_FEEDS -->
	<link rel="alternate" type="application/atom+xml" title="{L_FEED} - {SITENAME}" href="{U_FEED}" />
	<!-- IF S_ENABLE_FEEDS_NEWS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_NEWS}" href="{U_FEED}?mode=news" /><!-- ENDIF -->
	<!-- IF S_ENABLE_FEEDS_FORUMS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_ALL_FORUMS}" href="{U_FEED}?mode=forums" /><!-- ENDIF -->
	<!-- IF S_ENABLE_FEEDS_TOPICS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_ALL_TOPICS}" href="{U_FEED}?mode=topics" /><!-- ENDIF -->
	<!-- IF S_ENABLE_FEEDS_FORUM and S_FORUM_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FORUM} - {FORUM_NAME}" href="{U_FEED}?f={S_FORUM_ID}" /><!-- ENDIF -->
	<!-- IF S_ENABLE_FEEDS_TOPIC and S_TOPIC_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_TOPIC} - {TOPIC_TITLE}" href="{U_FEED}?f={S_FORUM_ID}&t={S_TOPIC_ID}" /><!-- ENDIF -->
<!-- ENDIF -->
<link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" />

<script type="text/javascript">
// <![CDATA[
<!-- IF S_USER_PM_POPUP -->
	if ({S_NEW_PM})
	{
		popup('{UA_POPUP_PM}', 400, 225, '_phpbbprivmsg');
	}
<!-- ENDIF -->

function popup(url, width, height, name)
{
	if (!name)
	{
		name = '_popup';
	}

	window.open(url.replace(/&/g, '&'), name, 'height=' + height + ',resizable=yes,scrollbars=yes,width=' + width);
	return false;
}

function jumpto()
{
	var page = prompt('{LA_JUMP_PAGE}:', '{ON_PAGE}');
	var per_page = '{PER_PAGE}';
	var base_url = '{A_BASE_URL}';

	if (page !== null && !isNaN(page) && page == Math.floor(page) && page > 0)
	{
		if (base_url.indexOf('?') == -1)
		{
			document.location.href = base_url + '?start=' + ((page - 1) * per_page);
		}
		else
		{
			document.location.href = base_url.replace(/&/g, '&') + '&start=' + ((page - 1) * per_page);
		}
	}
}

/**
* Find a member
*/
function find_username(url)
{
	popup(url, 760, 570, '_usersearch');
	return false;
}

/**
* Mark/unmark checklist
* id = ID of parent container, name = name prefix, state = state [true/false]
*/
function marklist(id, name, state)
{
	var parent = document.getElementById(id);
	if (!parent)
	{
		eval('parent = document.' + id);
	}

	if (!parent)
	{
		return;
	}

	var rb = parent.getElementsByTagName('input');
	
	for (var r = 0; r < rb.length; r++)
	{
		if (rb[r].name.substr(0, name.length) == name)
		{
			rb[r].checked = state;
		}
	}
}

<!-- IF ._file -->

	/**
	* Play quicktime file by determining it's width/height
	* from the displayed rectangle area
	*
	* Only defined if there is a file block present.
	*/
	function play_qt_file(obj)
	{
		var rectangle = obj.GetRectangle();

		if (rectangle)
		{
			rectangle = rectangle.split(',')
			var x1 = parseInt(rectangle[0]);
			var x2 = parseInt(rectangle[2]);
			var y1 = parseInt(rectangle[1]);
			var y2 = parseInt(rectangle[3]);

			var width = (x1 < 0) ? (x1 * -1) + x2 : x2 - x1;
			var height = (y1 < 0) ? (y1 * -1) + y2 : y2 - y1;
		}
		else
		{
			var width = 200;
			var height = 0;
		}
		obj.width = width;
		obj.height = height + 16;

		obj.SetControllerVisible(true);

		obj.Play();
	}
<!-- ENDIF -->

// ]]>
</script>
<!-- IF S_MCHAT_ENABLE -->
<script type="text/javascript" src="{ROOT_PATH}mchat/jquery_core_mini.js"></script>
<script type="text/javascript" src="{ROOT_PATH}mchat/jquery_cookie_mini.js"></script>
<link rel="stylesheet" href="{ROOT_PATH}mchat/mchat_subsilver2.css" type="text/css" />
<!-- ENDIF -->
</head>
<body class="{S_CONTENT_DIRECTION}">

<a name="top"></a>
<div id="top"><div id="render" align="right"></div></div>
<div id="wrap">
<div class="borderwrap">

	<div id="submenu">		
	<div class="left"><a href="{U_INDEX}">{L_INDEX}</a></div>
		<div class="left"><a href="{U_PROFILE}">{L_PROFILE}</a></div>
		<div class="left"><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a></div>
		<div class="right"><a href="{U_FAQ}">{L_FAQ}</a></div>
<!-- IF S_MCHAT_ENABLE and U_MCHAT -->&nbsp; &nbsp;<div class="right"><a href="{U_MCHAT}">{L_MCHAT}</a></div><!-- ENDIF -->
		<div class="right"><a href="{U_SEARCH}"> <font color="red">{L_SEARCH}</font></a></div>
		<div class="right"><a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a></div>	
<div class="right">	<!-- IF S_DISPLAY_PM --><a href="{U_PRIVATEMSGS}"><!-- IF S_DISPLAY_PM -->{PRIVATE_MESSAGE_INFO}<!-- ENDIF --></a></div>
	<!-- ELSEIF S_REGISTER_ENABLED --><div class="right"><a href="{U_REGISTER}">{L_REGISTER}</a></div><!-- ENDIF -->
	</div>
</div>
<!-- IF not S_USER_LOGGED_IN and not S_IS_BOT -->
<div id="uplink">
	<p class="register">( <a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a><!-- IF S_REGISTER_ENABLED --> | <a href="{U_REGISTER}">{L_REGISTER}</a><!-- ENDIF --> )</p>
</div>
<!-- ENDIF -->
</td>
<div id="wrapcentre">

<!-- INCLUDE breadcrumbs.html -->
<br />
Forum Information:
PHPBB - 3.0.9
URL - http://www.mouldingminefield.com/forum
Theme - Glacier
Template - Prosilver

Sisssy
Registered User
Posts: 8
Joined: Wed Apr 21, 2010 5:18 pm

Re: ACP Announcement Centre

Post by Sisssy » Wed Apr 28, 2010 7:40 pm

Hi, thanks to all, but I can't get this to work. I edited the style with subsilver2 edits but nothing, I don't know If I did it right though, I did what was on the subsilver2.xml. That made my forum disappear.

I'm new at this. Sorry... And thanks, I know you really wanted to help, but I don't know what else I can do. I have installed other mods with Automod and everything was ok...

User avatar
lefty74
Registered User
Posts: 3649
Joined: Wed Sep 14, 2005 8:26 pm
Location: NL
Contact:

Re: ACP Announcement Centre

Post by lefty74 » Wed Apr 28, 2010 8:33 pm

Amymations wrote:Hey, great mod! Works great, I have an issue though.

For the overall_header.html edit I can't find ANY partial code for

Code: Select all

				<strong>{L_INFORMATION}:</strong> {L_BOARD_DISABLED}
			<span class="corners-bottom"><span></span></span></div>
		</div>
		<!-- ENDIF --
>

So therefore I can't include

Code: Select all

<!-- INCLUDE announcement_centre.html -->
I think the reason why is because I got a custom theme (Game1) Which is subSilver2 based.

Please help! I supplied the code for overall_header.html here.

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
<head>

<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<meta name="copyright" content="2000, 2002, 2005, 2007 phpBB Group" />
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
{META}
<title>{SITENAME} <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>
<!-- IF S_ENABLE_FEEDS -->
	<link rel="alternate" type="application/atom+xml" title="{L_FEED} - {SITENAME}" href="{U_FEED}" />
	<!-- IF S_ENABLE_FEEDS_NEWS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_NEWS}" href="{U_FEED}?mode=news" /><!-- ENDIF -->
	<!-- IF S_ENABLE_FEEDS_FORUMS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_ALL_FORUMS}" href="{U_FEED}?mode=forums" /><!-- ENDIF -->
	<!-- IF S_ENABLE_FEEDS_TOPICS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_ALL_TOPICS}" href="{U_FEED}?mode=topics" /><!-- ENDIF -->
	<!-- IF S_ENABLE_FEEDS_FORUM and S_FORUM_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FORUM} - {FORUM_NAME}" href="{U_FEED}?f={S_FORUM_ID}" /><!-- ENDIF -->
	<!-- IF S_ENABLE_FEEDS_TOPIC and S_TOPIC_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_TOPIC} - {TOPIC_TITLE}" href="{U_FEED}?f={S_FORUM_ID}&t={S_TOPIC_ID}" /><!-- ENDIF -->
<!-- ENDIF -->
<link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" />

<script type="text/javascript">
// <![CDATA[
<!-- IF S_USER_PM_POPUP -->
	if ({S_NEW_PM})
	{
		popup('{UA_POPUP_PM}', 400, 225, '_phpbbprivmsg');
	}
<!-- ENDIF -->

function popup(url, width, height, name)
{
	if (!name)
	{
		name = '_popup';
	}

	window.open(url.replace(/&/g, '&'), name, 'height=' + height + ',resizable=yes,scrollbars=yes,width=' + width);
	return false;
}

function jumpto()
{
	var page = prompt('{LA_JUMP_PAGE}:', '{ON_PAGE}');
	var per_page = '{PER_PAGE}';
	var base_url = '{A_BASE_URL}';

	if (page !== null && !isNaN(page) && page == Math.floor(page) && page > 0)
	{
		if (base_url.indexOf('?') == -1)
		{
			document.location.href = base_url + '?start=' + ((page - 1) * per_page);
		}
		else
		{
			document.location.href = base_url.replace(/&/g, '&') + '&start=' + ((page - 1) * per_page);
		}
	}
}

/**
* Find a member
*/
function find_username(url)
{
	popup(url, 760, 570, '_usersearch');
	return false;
}

/**
* Mark/unmark checklist
* id = ID of parent container, name = name prefix, state = state [true/false]
*/
function marklist(id, name, state)
{
	var parent = document.getElementById(id);
	if (!parent)
	{
		eval('parent = document.' + id);
	}

	if (!parent)
	{
		return;
	}

	var rb = parent.getElementsByTagName('input');
	
	for (var r = 0; r < rb.length; r++)
	{
		if (rb[r].name.substr(0, name.length) == name)
		{
			rb[r].checked = state;
		}
	}
}

<!-- IF ._file -->

	/**
	* Play quicktime file by determining it's width/height
	* from the displayed rectangle area
	*
	* Only defined if there is a file block present.
	*/
	function play_qt_file(obj)
	{
		var rectangle = obj.GetRectangle();

		if (rectangle)
		{
			rectangle = rectangle.split(',')
			var x1 = parseInt(rectangle[0]);
			var x2 = parseInt(rectangle[2]);
			var y1 = parseInt(rectangle[1]);
			var y2 = parseInt(rectangle[3]);

			var width = (x1 < 0) ? (x1 * -1) + x2 : x2 - x1;
			var height = (y1 < 0) ? (y1 * -1) + y2 : y2 - y1;
		}
		else
		{
			var width = 200;
			var height = 0;
		}
		obj.width = width;
		obj.height = height + 16;

		obj.SetControllerVisible(true);

		obj.Play();
	}
<!-- ENDIF -->

// ]]>
</script>
<!-- IF S_MCHAT_ENABLE -->
<script type="text/javascript" src="{ROOT_PATH}mchat/jquery_core_mini.js"></script>
<script type="text/javascript" src="{ROOT_PATH}mchat/jquery_cookie_mini.js"></script>
<link rel="stylesheet" href="{ROOT_PATH}mchat/mchat_subsilver2.css" type="text/css" />
<!-- ENDIF -->
</head>
<body class="{S_CONTENT_DIRECTION}">

<a name="top"></a>
<div id="top"><div id="render" align="right"></div></div>
<div id="wrap">
<div class="borderwrap">

	<div id="submenu">		
	<div class="left"><a href="{U_INDEX}">{L_INDEX}</a></div>
		<div class="left"><a href="{U_PROFILE}">{L_PROFILE}</a></div>
		<div class="left"><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a></div>
		<div class="right"><a href="{U_FAQ}">{L_FAQ}</a></div>
<!-- IF S_MCHAT_ENABLE and U_MCHAT -->&nbsp; &nbsp;<div class="right"><a href="{U_MCHAT}">{L_MCHAT}</a></div><!-- ENDIF -->
		<div class="right"><a href="{U_SEARCH}"> <font color="red">{L_SEARCH}</font></a></div>
		<div class="right"><a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a></div>	
<div class="right">	<!-- IF S_DISPLAY_PM --><a href="{U_PRIVATEMSGS}"><!-- IF S_DISPLAY_PM -->{PRIVATE_MESSAGE_INFO}<!-- ENDIF --></a></div>
	<!-- ELSEIF S_REGISTER_ENABLED --><div class="right"><a href="{U_REGISTER}">{L_REGISTER}</a></div><!-- ENDIF -->
	</div>
</div>
<!-- IF not S_USER_LOGGED_IN and not S_IS_BOT -->
<div id="uplink">
	<p class="register">( <a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a><!-- IF S_REGISTER_ENABLED --> | <a href="{U_REGISTER}">{L_REGISTER}</a><!-- ENDIF --> )</p>
</div>
<!-- ENDIF -->
</td>
<div id="wrapcentre">

<!-- INCLUDE breadcrumbs.html -->
<br />
try and put it below the breadcrumbs.html line
Sisssy wrote:Hi, thanks to all, but I can't get this to work. I edited the style with subsilver2 edits but nothing, I don't know If I did it right though, I did what was on the subsilver2.xml. That made my forum disappear.

I'm new at this. Sorry... And thanks, I know you really wanted to help, but I don't know what else I can do. I have installed other mods with Automod and everything was ok...
did you try to install this with automod as well or manually?
what do you see if you remove the // in the last lines of the config.php? any error messages?
lefty74
zoocrew.eu - help us save our wildlife
My MODS | Due to lack of time I unfortunately am unable to work on my mods anymore, anyone who has ideas to improve them and would like to take any of them over, please PM me.

Sisssy
Registered User
Posts: 8
Joined: Wed Apr 21, 2010 5:18 pm

Re: ACP Announcement Centre

Post by Sisssy » Wed Apr 28, 2010 9:20 pm

lefty74 wrote:did you try to install this with automod as well or manually?
what do you see if you remove the // in the last lines of the config.php? any error messages?
I used Automod. Is safe to change the config.php? I'm asking this because the file says not to change anything there... My last line doesn't have //, I think it have ?>, the 2 previous lines have the // though.

User avatar
lefty74
Registered User
Posts: 3649
Joined: Wed Sep 14, 2005 8:26 pm
Location: NL
Contact:

Re: ACP Announcement Centre

Post by lefty74 » Wed Apr 28, 2010 9:56 pm

hmm should install fine with automod, dont worry about the config.php anymore.

did you refresh your templates and purged your cache in the acp?
lefty74
zoocrew.eu - help us save our wildlife
My MODS | Due to lack of time I unfortunately am unable to work on my mods anymore, anyone who has ideas to improve them and would like to take any of them over, please PM me.

Sisssy
Registered User
Posts: 8
Joined: Wed Apr 21, 2010 5:18 pm

Re: ACP Announcement Centre

Post by Sisssy » Wed Apr 28, 2010 10:32 pm

lefty74 wrote:hmm should install fine with automod, dont worry about the config.php anymore.

did you refresh your templates and purged your cache in the acp?
Yes I did... :cry: Everything is ok, I just can't see the announcement on the forum... I don't know if it matters, but I'm using Portuguese as my main language. iftitaj said something about it, how do I fix it to work in Portuguese? If that is the problem... I really can't tell.

Amymations
Registered User
Posts: 80
Joined: Wed Apr 28, 2010 5:28 pm
Location: Cardiff - UK
Name: Amy Baldwin
Contact:

Re: ACP Announcement Centre

Post by Amymations » Thu Apr 29, 2010 12:38 am

lefty74 wrote:
Amymations wrote:Hey, great mod! Works great, I have an issue though.

For the overall_header.html edit I can't find ANY partial code for

Code: Select all

				<strong>{L_INFORMATION}:</strong> {L_BOARD_DISABLED}
			<span class="corners-bottom"><span></span></span></div>
		</div>
		<!-- ENDIF --
>

So therefore I can't include

Code: Select all

<!-- INCLUDE announcement_centre.html -->
I think the reason why is because I got a custom theme (Game1) Which is subSilver2 based.

Please help! I supplied the code for overall_header.html here.

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
<head>

<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<meta name="copyright" content="2000, 2002, 2005, 2007 phpBB Group" />
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
{META}
<title>{SITENAME} <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>
<!-- IF S_ENABLE_FEEDS -->
	<link rel="alternate" type="application/atom+xml" title="{L_FEED} - {SITENAME}" href="{U_FEED}" />
	<!-- IF S_ENABLE_FEEDS_NEWS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_NEWS}" href="{U_FEED}?mode=news" /><!-- ENDIF -->
	<!-- IF S_ENABLE_FEEDS_FORUMS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_ALL_FORUMS}" href="{U_FEED}?mode=forums" /><!-- ENDIF -->
	<!-- IF S_ENABLE_FEEDS_TOPICS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_ALL_TOPICS}" href="{U_FEED}?mode=topics" /><!-- ENDIF -->
	<!-- IF S_ENABLE_FEEDS_FORUM and S_FORUM_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FORUM} - {FORUM_NAME}" href="{U_FEED}?f={S_FORUM_ID}" /><!-- ENDIF -->
	<!-- IF S_ENABLE_FEEDS_TOPIC and S_TOPIC_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_TOPIC} - {TOPIC_TITLE}" href="{U_FEED}?f={S_FORUM_ID}&t={S_TOPIC_ID}" /><!-- ENDIF -->
<!-- ENDIF -->
<link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" />

<script type="text/javascript">
// <![CDATA[
<!-- IF S_USER_PM_POPUP -->
	if ({S_NEW_PM})
	{
		popup('{UA_POPUP_PM}', 400, 225, '_phpbbprivmsg');
	}
<!-- ENDIF -->

function popup(url, width, height, name)
{
	if (!name)
	{
		name = '_popup';
	}

	window.open(url.replace(/&/g, '&'), name, 'height=' + height + ',resizable=yes,scrollbars=yes,width=' + width);
	return false;
}

function jumpto()
{
	var page = prompt('{LA_JUMP_PAGE}:', '{ON_PAGE}');
	var per_page = '{PER_PAGE}';
	var base_url = '{A_BASE_URL}';

	if (page !== null && !isNaN(page) && page == Math.floor(page) && page > 0)
	{
		if (base_url.indexOf('?') == -1)
		{
			document.location.href = base_url + '?start=' + ((page - 1) * per_page);
		}
		else
		{
			document.location.href = base_url.replace(/&/g, '&') + '&start=' + ((page - 1) * per_page);
		}
	}
}

/**
* Find a member
*/
function find_username(url)
{
	popup(url, 760, 570, '_usersearch');
	return false;
}

/**
* Mark/unmark checklist
* id = ID of parent container, name = name prefix, state = state [true/false]
*/
function marklist(id, name, state)
{
	var parent = document.getElementById(id);
	if (!parent)
	{
		eval('parent = document.' + id);
	}

	if (!parent)
	{
		return;
	}

	var rb = parent.getElementsByTagName('input');
	
	for (var r = 0; r < rb.length; r++)
	{
		if (rb[r].name.substr(0, name.length) == name)
		{
			rb[r].checked = state;
		}
	}
}

<!-- IF ._file -->

	/**
	* Play quicktime file by determining it's width/height
	* from the displayed rectangle area
	*
	* Only defined if there is a file block present.
	*/
	function play_qt_file(obj)
	{
		var rectangle = obj.GetRectangle();

		if (rectangle)
		{
			rectangle = rectangle.split(',')
			var x1 = parseInt(rectangle[0]);
			var x2 = parseInt(rectangle[2]);
			var y1 = parseInt(rectangle[1]);
			var y2 = parseInt(rectangle[3]);

			var width = (x1 < 0) ? (x1 * -1) + x2 : x2 - x1;
			var height = (y1 < 0) ? (y1 * -1) + y2 : y2 - y1;
		}
		else
		{
			var width = 200;
			var height = 0;
		}
		obj.width = width;
		obj.height = height + 16;

		obj.SetControllerVisible(true);

		obj.Play();
	}
<!-- ENDIF -->

// ]]>
</script>
<!-- IF S_MCHAT_ENABLE -->
<script type="text/javascript" src="{ROOT_PATH}mchat/jquery_core_mini.js"></script>
<script type="text/javascript" src="{ROOT_PATH}mchat/jquery_cookie_mini.js"></script>
<link rel="stylesheet" href="{ROOT_PATH}mchat/mchat_subsilver2.css" type="text/css" />
<!-- ENDIF -->
</head>
<body class="{S_CONTENT_DIRECTION}">

<a name="top"></a>
<div id="top"><div id="render" align="right"></div></div>
<div id="wrap">
<div class="borderwrap">

	<div id="submenu">		
	<div class="left"><a href="{U_INDEX}">{L_INDEX}</a></div>
		<div class="left"><a href="{U_PROFILE}">{L_PROFILE}</a></div>
		<div class="left"><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a></div>
		<div class="right"><a href="{U_FAQ}">{L_FAQ}</a></div>
<!-- IF S_MCHAT_ENABLE and U_MCHAT -->&nbsp; &nbsp;<div class="right"><a href="{U_MCHAT}">{L_MCHAT}</a></div><!-- ENDIF -->
		<div class="right"><a href="{U_SEARCH}"> <font color="red">{L_SEARCH}</font></a></div>
		<div class="right"><a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a></div>	
<div class="right">	<!-- IF S_DISPLAY_PM --><a href="{U_PRIVATEMSGS}"><!-- IF S_DISPLAY_PM -->{PRIVATE_MESSAGE_INFO}<!-- ENDIF --></a></div>
	<!-- ELSEIF S_REGISTER_ENABLED --><div class="right"><a href="{U_REGISTER}">{L_REGISTER}</a></div><!-- ENDIF -->
	</div>
</div>
<!-- IF not S_USER_LOGGED_IN and not S_IS_BOT -->
<div id="uplink">
	<p class="register">( <a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a><!-- IF S_REGISTER_ENABLED --> | <a href="{U_REGISTER}">{L_REGISTER}</a><!-- ENDIF --> )</p>
</div>
<!-- ENDIF -->
</td>
<div id="wrapcentre">

<!-- INCLUDE breadcrumbs.html -->
<br />
try and put it below the breadcrumbs.html line
Sisssy wrote:Hi, thanks to all, but I can't get this to work. I edited the style with subsilver2 edits but nothing, I don't know If I did it right though, I did what was on the subsilver2.xml. That made my forum disappear.

I'm new at this. Sorry... And thanks, I know you really wanted to help, but I don't know what else I can do. I have installed other mods with Automod and everything was ok...
did you try to install this with automod as well or manually?
what do you see if you remove the // in the last lines of the config.php? any error messages?
Thanks It worked great :)
Forum Information:
PHPBB - 3.0.9
URL - http://www.mouldingminefield.com/forum
Theme - Glacier
Template - Prosilver

User avatar
lefty74
Registered User
Posts: 3649
Joined: Wed Sep 14, 2005 8:26 pm
Location: NL
Contact:

Re: ACP Announcement Centre

Post by lefty74 » Sat May 01, 2010 3:40 pm

Sisssy wrote:
lefty74 wrote:hmm should install fine with automod, dont worry about the config.php anymore.

did you refresh your templates and purged your cache in the acp?
Yes I did... :cry: Everything is ok, I just can't see the announcement on the forum... I don't know if it matters, but I'm using Portuguese as my main language. iftitaj said something about it, how do I fix it to work in Portuguese? If that is the problem... I really can't tell.
have you tried it in english already? if you give me a temp ftp and admin account(one i can see the announcement centre in the acp), i can have a look.
lefty74
zoocrew.eu - help us save our wildlife
My MODS | Due to lack of time I unfortunately am unable to work on my mods anymore, anyone who has ideas to improve them and would like to take any of them over, please PM me.

electrongift
Registered User
Posts: 6
Joined: Tue Mar 16, 2010 6:54 am
Name: renold arockiam antony

Re: ACP Announcement Centre

Post by electrongift » Wed May 05, 2010 12:43 am

is this work in 3.0.7-PL1

iftitaj
Registered User
Posts: 638
Joined: Tue Jan 15, 2008 6:21 am
Location: Karachi, Pakistan

Re: ACP Announcement Centre

Post by iftitaj » Wed May 05, 2010 5:36 am

electrongift wrote:is this work in 3.0.7-PL1
I'm successfully running it in 3.0.7-PL1 though I've installed it on older version and then updated phpBB. I'm only mentioning this because you may not find exact FINDs, which is also mentioned in install file. :roll:

ConcordRidge
Registered User
Posts: 10
Joined: Wed May 05, 2010 1:03 pm

Re: ACP Announcement Centre

Post by ConcordRidge » Wed May 05, 2010 5:47 pm

Whaaaa.... I can't get this to work. :cry:

I'm running 3.0.7 on a windows GoDaddy account.

I uploaded everything in the root folder to the root dir. I ran the install...no errors.

I get the .MOD tab.

Now what? I'm just trying to post the default message " Draft Announcements can be seen here!! :mrgreen: "

I am running a theme called Milky Way.

Thanks for any help.
Chris

ConcordRidge
Registered User
Posts: 10
Joined: Wed May 05, 2010 1:03 pm

Re: ACP Announcement Centre

Post by ConcordRidge » Wed May 05, 2010 6:14 pm

Is this correct? Should is show, ACP_ANNOUNCEMENTS_CENTER on the left?

Also

In the Moderator Control Panel, I dont get the option....
Attachments
Help2.jpg
Help2.jpg (88.71 KiB) Viewed 1063 times
Help3.jpg
Help3.jpg (83.54 KiB) Viewed 1063 times

iftitaj
Registered User
Posts: 638
Joined: Tue Jan 15, 2008 6:21 am
Location: Karachi, Pakistan

Re: ACP Announcement Centre

Post by iftitaj » Wed May 05, 2010 7:10 pm

There is language file problem with your installation of this MOD. There shouldn't be ACP_ANNOUNCEMENTS_CENTER, instead a proper written text. Recheck your edits and purge your cache and refresh template.
Secondly, since you are not using prosilver or subsilver ...... have you applied the edits to your style's files?

User avatar
lefty74
Registered User
Posts: 3649
Joined: Wed Sep 14, 2005 8:26 pm
Location: NL
Contact:

Re: ACP Announcement Centre

Post by lefty74 » Wed May 05, 2010 10:36 pm

concordridge, looks like you are almost there already.

with regard to the language file problem iftitaj was referring to, pse make sure that if you use us-en that you update those language files as well.

with the style, you could try the subsilver2 files and in the overall_header.html place

<!-- INCLUDE announcement_centre.html --> below
<!-- INCLUDE breadcrumbs.html --> (or similar, should be pretty much at the end of the file anyway)
lefty74
zoocrew.eu - help us save our wildlife
My MODS | Due to lack of time I unfortunately am unable to work on my mods anymore, anyone who has ideas to improve them and would like to take any of them over, please PM me.

Bash
Registered User
Posts: 337
Joined: Wed Mar 11, 2009 3:36 pm
Location: London, England
Name: Glenn

Re: ACP Announcement Centre

Post by Bash » Thu May 06, 2010 3:49 pm

Hello,

I have a mod installed which created a '.MOD' tab within ACP (however I renamed it through common.php because '.MOD' imo looks ugly). Would installing this mod integrate with the same tab (I presume I'd have to rename it back to .MOD temporarily?) or would it create another tab within ACP (which I wouldn't want).

I'm actually looking for a mod which will also allow me to add an announcement to a particular forum only (without appearing on index/other forums) but I saw the FAQ's on the 1st page and will try the authors suggestion if theres no other alternative, I guess...

Thanks

Locked

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