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.
porkloin
Registered User
Posts: 7
Joined: Thu Jul 23, 2009 2:02 am

Re: ACP Announcement Centre

Post by porkloin »

Hi. I installed your announcments mod and I'm getting the following error:

Module file ./../includes/acp/acp_announcements_centre.php does not contain correct class [acp_announcements_centre]

Any ideas?

Thanks,

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

Re: ACP Announcement Centre

Post by lefty74 »

hmm did you run the install file?
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.
porkloin
Registered User
Posts: 7
Joined: Thu Jul 23, 2009 2:02 am

Re: ACP Announcement Centre

Post by porkloin »

lefty74 wrote:hmm did you run the install file?
Yes.
User avatar
GunsBR
Registered User
Posts: 1
Joined: Thu Jul 23, 2009 7:12 pm

Re: ACP Announcement Centre

Post by GunsBR »

Hello,

My contribution to this wonderful mod.
I translated to Portuguese-Brazilian(PT-BR)

If someone find an error, please contact me!
You do not have the required permissions to view the files attached to this post.
User avatar
lefty74
Registered User
Posts: 3649
Joined: Wed Sep 14, 2005 8:26 pm
Location: NL

Re: ACP Announcement Centre

Post by lefty74 »

porkloin wrote:
lefty74 wrote:hmm did you run the install file?
Yes.
you are getting this error only in the acp i am assuming? when does it happen, when you click on the .MODs tab?
GunsBR wrote:Hello,

My contribution to this wonderful mod.
I translated to Portuguese-Brazilian(PT-BR)

If someone find an error, please contact me!
thanks very much GunsBR :)
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.
porkloin
Registered User
Posts: 7
Joined: Thu Jul 23, 2009 2:02 am

Re: ACP Announcement Centre

Post by porkloin »

lefty74 wrote:
porkloin wrote:
lefty74 wrote:hmm did you run the install file?
Yes.
you are getting this error only in the acp i am assuming? when does it happen, when you click on the .MODs tab?
That's correct lefty.
User avatar
lefty74
Registered User
Posts: 3649
Joined: Wed Sep 14, 2005 8:26 pm
Location: NL

Re: ACP Announcement Centre

Post by lefty74 »

odd, could you please run the install file again but uninstall the mod, then run it again installing it again.
if you get any errors along the way please let me know.
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.
User avatar
triforceguy1
Registered User
Posts: 33
Joined: Thu Jul 09, 2009 5:36 pm

Re: ACP Announcement Centre

Post by triforceguy1 »

spaceace wrote:
triforceguy1 wrote:Thanks but it isn't based on either prosilve or subsilver2 unfortunately

Thanks again
Leon
it is based from subsilver2 and the finds and edits are the same. it just needs a little template adjustment to make it the same width as the rest of the style ;)
Sorry for the late reply.

Anyway, could you help me out with the editing because it seems that it can't find what I'm supposed to edit (I'm now using submerged theme) overall header file.

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

Re: ACP Announcement Centre

Post by lefty74 »

could you post the last ~20 lines of the overall_header.html pse.
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.
g4y3
Registered User
Posts: 7
Joined: Mon Jun 01, 2009 1:20 pm

Re: ACP Announcement Centre

Post by g4y3 »

i try to install on localhost and i find this problem, when i try to execute http://yourlinktoyourboard.com/install/index.php i execute and the cms give me this error : "Information

You are not authorised to administrate this board."
User avatar
lefty74
Registered User
Posts: 3649
Joined: Wed Sep 14, 2005 8:26 pm
Location: NL

Re: ACP Announcement Centre

Post by lefty74 »

i have heard this a few times now, in all the times i have installed this mod i have never come across that myself...

anyway, to overcome this, remove this from the install file. note that everyone can run that file without it though.

Code: Select all

// Before we do anything, lets see if an Admin is calling this file
if (!$auth->acl_get('a_'))
{
	trigger_error('NO_ADMIN');
}
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.
g4y3
Registered User
Posts: 7
Joined: Mon Jun 01, 2009 1:20 pm

Re: ACP Announcement Centre

Post by g4y3 »

thanks man, working ;) !
User avatar
triforceguy1
Registered User
Posts: 33
Joined: Thu Jul 09, 2009 5:36 pm

Re: ACP Announcement Centre

Post by triforceguy1 »

lefty74 wrote:could you post the last ~20 lines of the overall_header.html pse.
Sure

Code: Select all

				<td align="left" valign="bottom" width="98%">
					<!-- IF not $S_IN_INDEX -->
					<!-- INCLUDE breadcrumbs.html -->
					<!-- ENDIF -->
					<!-- Start Site Title -->
					<div style="position:absolute;right:90px;top:28px;z-index:1;">
						<table width="300" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td align="right" class="sitetitle" nowrap="nowrap">{SITENAME}</td>
							</tr>
							<tr>
								<td align="right" class="sitedescription">{SITE_DESCRIPTION}</td>
							</tr>
						</table>
					</div>
					<!-- End Site Title --></td>
				<td valign="top" width="1%"><img src="{T_THEME_PATH}/images/top_sub.gif" alt="" height="80" width="96" /></td>
			</tr>
		</table>
		<table class="center" width="99%" border="0" cellspacing="0" cellpadding="0">
			<tr>
User avatar
lefty74
Registered User
Posts: 3649
Joined: Wed Sep 14, 2005 8:26 pm
Location: NL

Re: ACP Announcement Centre

Post by lefty74 »

put

Code: Select all

						<!-- INCLUDE announcement_centre.html -->
at the very last line


and for the announcement_centre.html this might look a bit better than the subsilver2 code.

Code: Select all

<!-- IF ANNOUNCEMENT_SHOW_BIRTHDAYS_ALWAYS and not ANNOUNCEMENT_ENABLE and ANNOUNCEMENT_BIRTHDAYS-->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td width="1%"><img src="{T_THEME_PATH}/images/table_icon_message.gif" alt="" height="35" width="35" border="0" /></td>
		<td class="table_title" align="left">				<!-- IF ANNOUNCEMENT_ENABLE_GUESTS and not S_USER_LOGGED_IN and not ANNOUNCEMENT_SHOW_EVERYONE and not ANNOUNCEMENT_SHOW-->
					<!-- IF ANNOUNCEMENT_TITLE_GUESTS -->{ANNOUNCEMENT_TITLE_GUESTS} <!-- ELSE --> {L_ANNOUNCEMENT_TITLE_GUESTS}<!-- ENDIF -->
					<!-- ELSEIF ANNOUNCEMENT_SHOW-->
					<!-- IF ANNOUNCEMENT_TITLE --> {ANNOUNCEMENT_TITLE} <!-- ELSE --> {L_ANNOUNCEMENT_TITLE}<!-- ENDIF -->
				<!-- ENDIF -->
</td>
		<td width="1%"><img src="{T_THEME_PATH}/images/table_r.gif" alt="" height="17" width="17" /></td>
	</tr>
	<tr>
		<td width="1%"></td>
		<td align="left" width="98%">
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td class="row1" align="center">
				{ANNOUNCEMENT_BIRTHDAY_IMG}<br />
					<center>
						<table>
							<tr align="center">
								<!-- IF ANNOUNCEMENT_BIRTHDAY_AVATAR -->
									<!-- BEGIN bdannounce -->
									<td>
										<table>
											<tr align="center">
												<td>{bdannounce.ANNOUNCEMENT_AVATAR}</td>
											</tr>
											<tr align="center" valign="bottom">
												<td><b>{bdannounce.ANNOUNCEMENT_USERNAME}</b></td>
											</tr>
										</table>
									</td>
									<!-- END bdannounce -->
								<!-- ELSE -->
									<!-- BEGIN bdannounce -->
									<td><b>{bdannounce.ANNOUNCEMENT_USERNAME}</b></td>
									<!-- END bdannounce -->
								<!-- ENDIF -->
							</tr>
						</table>
					</center>
				</td>
			</tr>
		</table>
				</td>
			</tr>
		</table>

	<!-- ENDIF -->

<!-- IF ANNOUNCEMENT_ENABLE-->
	<!-- IF ANNOUNCEMENT_ENABLE_GUESTS and not S_USER_LOGGED_IN and not ANNOUNCEMENT_SHOW_EVERYONE and not ANNOUNCEMENT_SHOW or ANNOUNCEMENT_SHOW-->

<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td width="1%"><img src="{T_THEME_PATH}/images/table_icon_message.gif" alt="" height="35" width="35" border="0" /></td>
		<td class="table_title" align="left">				<!-- IF ANNOUNCEMENT_ENABLE_GUESTS and not S_USER_LOGGED_IN and not ANNOUNCEMENT_SHOW_EVERYONE and not ANNOUNCEMENT_SHOW-->
					<!-- IF ANNOUNCEMENT_TITLE_GUESTS -->{ANNOUNCEMENT_TITLE_GUESTS} <!-- ELSE --> {L_ANNOUNCEMENT_TITLE_GUESTS}<!-- ENDIF -->
					<!-- ELSEIF ANNOUNCEMENT_SHOW-->
					<!-- IF ANNOUNCEMENT_TITLE --> {ANNOUNCEMENT_TITLE} <!-- ELSE --> {L_ANNOUNCEMENT_TITLE}<!-- ENDIF -->
				<!-- ENDIF -->
</td>
		<td width="1%"><img src="{T_THEME_PATH}/images/table_r.gif" alt="" height="17" width="17" /></td>
	</tr>
	<tr>
		<td width="1%"></td>
		<td align="left" width="98%">
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td class="row1">
					<!-- IF ANNOUNCEMENT_ENABLE_GUESTS and not S_USER_LOGGED_IN and not ANNOUNCEMENT_SHOW_EVERYONE and not ANNOUNCEMENT_SHOW-->
					<div style="text-align:{ANNOUNCEMENT_GUESTS_ALIGN};"><br />{ANNOUNCEMENT_TEXT_GUESTS}<br /><br /></div>
					<!-- ELSEIF ANNOUNCEMENT_SHOW-->
						<!-- IF ANNOUNCEMENT_SHOW_BIRTHDAY-->
						<center>
							{ANNOUNCEMENT_BIRTHDAY_IMG}<br />
								<table>
									<tr align="center">
										<!-- IF ANNOUNCEMENT_BIRTHDAY_AVATAR -->
											<!-- BEGIN bdannounce -->
											<td>
												<table>
													<tr align="center">
														<td>{bdannounce.ANNOUNCEMENT_AVATAR}</td>
													</tr>
													<tr align="center" valign="bottom">
														<td><b>{bdannounce.ANNOUNCEMENT_USERNAME}</b></td>
													</tr>
												</table>
											</td>
											<!-- END bdannounce -->
										<!-- ELSE -->
											<!-- BEGIN bdannounce -->
											<td><b>{bdannounce.ANNOUNCEMENT_USERNAME}</b></td>
											<!-- END bdannounce -->
										<!-- ENDIF -->
									</tr>
								</table>
							</center>
							<!-- IF ANNOUNCEMENT_SHOW_BIRTHDAYS_AND_ANNOUNCE -->
							<div style="text-align:{ANNOUNCEMENT_ALIGN};">
							<hr/><br />{ANNOUNCEMENT_TEXT}
						<!-- IF S_HASATTACHMENTS -->
						<br clear="all" /><br />

						<table class="tablebg" width="100%" cellspacing="1">
						<tr>
							<td class="row3"><b class="genmed">{L_ATTACHMENTS}: </b></td>
						</tr>
						<!-- BEGIN announcement_attachments -->
							<tr>
								<!-- IF announcement_attachments.S_ROW_COUNT is even --><td class="row2"><!-- ELSE --><td class="row1"><!-- ENDIF -->{announcement_attachments.DISPLAY_ATTACHMENTS}</td>
							</tr>
						<!-- END announcement_attachments -->
						</table>
					<!-- ENDIF -->
										<!-- IF U_ANNOUNCEMENT_GOTOPOST -->
						<br /><br />
						<a href="{U_ANNOUNCEMENT_GOTOPOST}">{L_ANNOUNCEMENT_GOTOPOST}</a>
															
					<!-- ENDIF -->

<br /><br />
							</div>
							<!-- ENDIF -->
							<!-- ELSE -->
							<div style="text-align:{ANNOUNCEMENT_ALIGN};"><br />{ANNOUNCEMENT_TEXT}
						<!-- IF S_HASATTACHMENTS -->
						<br clear="all" /><br />

						<table class="tablebg" width="100%" cellspacing="1">
						<tr>
							<td class="row3"><b class="genmed">{L_ATTACHMENTS}: </b></td>
						</tr>
						<!-- BEGIN announcement_attachments -->
							<tr>
								<!-- IF announcement_attachments.S_ROW_COUNT is even --><td class="row2"><!-- ELSE --><td class="row1"><!-- ENDIF -->{announcement_attachments.DISPLAY_ATTACHMENTS}</td>
							</tr>
						<!-- END announcement_attachments -->
						</table>
					<!-- ENDIF -->
															<!-- IF U_ANNOUNCEMENT_GOTOPOST -->
						<br /><br />
						<a href="{U_ANNOUNCEMENT_GOTOPOST}">{L_ANNOUNCEMENT_GOTOPOST}</a>
															
					<!-- ENDIF -->

					<br /><br /></div>
							<!-- ENDIF -->
					<!-- ENDIF -->
				</td>
			</tr>
		</table>				</td>
			</tr>
		</table>
	<!-- ENDIF -->
<!-- ENDIF -->
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.
User avatar
triforceguy1
Registered User
Posts: 33
Joined: Thu Jul 09, 2009 5:36 pm

Re: ACP Announcement Centre

Post by triforceguy1 »

lefty74 wrote:put

Code: Select all

						<!-- INCLUDE announcement_centre.html -->
at the very last line


and for the announcement_centre.html this might look a bit better than the subsilver2 code.

Code: Select all

<!-- IF ANNOUNCEMENT_SHOW_BIRTHDAYS_ALWAYS and not ANNOUNCEMENT_ENABLE and ANNOUNCEMENT_BIRTHDAYS-->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td width="1%"><img src="{T_THEME_PATH}/images/table_icon_message.gif" alt="" height="35" width="35" border="0" /></td>
		<td class="table_title" align="left">				<!-- IF ANNOUNCEMENT_ENABLE_GUESTS and not S_USER_LOGGED_IN and not ANNOUNCEMENT_SHOW_EVERYONE and not ANNOUNCEMENT_SHOW-->
					<!-- IF ANNOUNCEMENT_TITLE_GUESTS -->{ANNOUNCEMENT_TITLE_GUESTS} <!-- ELSE --> {L_ANNOUNCEMENT_TITLE_GUESTS}<!-- ENDIF -->
					<!-- ELSEIF ANNOUNCEMENT_SHOW-->
					<!-- IF ANNOUNCEMENT_TITLE --> {ANNOUNCEMENT_TITLE} <!-- ELSE --> {L_ANNOUNCEMENT_TITLE}<!-- ENDIF -->
				<!-- ENDIF -->
</td>
		<td width="1%"><img src="{T_THEME_PATH}/images/table_r.gif" alt="" height="17" width="17" /></td>
	</tr>
	<tr>
		<td width="1%"></td>
		<td align="left" width="98%">
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td class="row1" align="center">
				{ANNOUNCEMENT_BIRTHDAY_IMG}<br />
					<center>
						<table>
							<tr align="center">
								<!-- IF ANNOUNCEMENT_BIRTHDAY_AVATAR -->
									<!-- BEGIN bdannounce -->
									<td>
										<table>
											<tr align="center">
												<td>{bdannounce.ANNOUNCEMENT_AVATAR}</td>
											</tr>
											<tr align="center" valign="bottom">
												<td><b>{bdannounce.ANNOUNCEMENT_USERNAME}</b></td>
											</tr>
										</table>
									</td>
									<!-- END bdannounce -->
								<!-- ELSE -->
									<!-- BEGIN bdannounce -->
									<td><b>{bdannounce.ANNOUNCEMENT_USERNAME}</b></td>
									<!-- END bdannounce -->
								<!-- ENDIF -->
							</tr>
						</table>
					</center>
				</td>
			</tr>
		</table>
				</td>
			</tr>
		</table>

	<!-- ENDIF -->

<!-- IF ANNOUNCEMENT_ENABLE-->
	<!-- IF ANNOUNCEMENT_ENABLE_GUESTS and not S_USER_LOGGED_IN and not ANNOUNCEMENT_SHOW_EVERYONE and not ANNOUNCEMENT_SHOW or ANNOUNCEMENT_SHOW-->

<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td width="1%"><img src="{T_THEME_PATH}/images/table_icon_message.gif" alt="" height="35" width="35" border="0" /></td>
		<td class="table_title" align="left">				<!-- IF ANNOUNCEMENT_ENABLE_GUESTS and not S_USER_LOGGED_IN and not ANNOUNCEMENT_SHOW_EVERYONE and not ANNOUNCEMENT_SHOW-->
					<!-- IF ANNOUNCEMENT_TITLE_GUESTS -->{ANNOUNCEMENT_TITLE_GUESTS} <!-- ELSE --> {L_ANNOUNCEMENT_TITLE_GUESTS}<!-- ENDIF -->
					<!-- ELSEIF ANNOUNCEMENT_SHOW-->
					<!-- IF ANNOUNCEMENT_TITLE --> {ANNOUNCEMENT_TITLE} <!-- ELSE --> {L_ANNOUNCEMENT_TITLE}<!-- ENDIF -->
				<!-- ENDIF -->
</td>
		<td width="1%"><img src="{T_THEME_PATH}/images/table_r.gif" alt="" height="17" width="17" /></td>
	</tr>
	<tr>
		<td width="1%"></td>
		<td align="left" width="98%">
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td class="row1">
					<!-- IF ANNOUNCEMENT_ENABLE_GUESTS and not S_USER_LOGGED_IN and not ANNOUNCEMENT_SHOW_EVERYONE and not ANNOUNCEMENT_SHOW-->
					<div style="text-align:{ANNOUNCEMENT_GUESTS_ALIGN};"><br />{ANNOUNCEMENT_TEXT_GUESTS}<br /><br /></div>
					<!-- ELSEIF ANNOUNCEMENT_SHOW-->
						<!-- IF ANNOUNCEMENT_SHOW_BIRTHDAY-->
						<center>
							{ANNOUNCEMENT_BIRTHDAY_IMG}<br />
								<table>
									<tr align="center">
										<!-- IF ANNOUNCEMENT_BIRTHDAY_AVATAR -->
											<!-- BEGIN bdannounce -->
											<td>
												<table>
													<tr align="center">
														<td>{bdannounce.ANNOUNCEMENT_AVATAR}</td>
													</tr>
													<tr align="center" valign="bottom">
														<td><b>{bdannounce.ANNOUNCEMENT_USERNAME}</b></td>
													</tr>
												</table>
											</td>
											<!-- END bdannounce -->
										<!-- ELSE -->
											<!-- BEGIN bdannounce -->
											<td><b>{bdannounce.ANNOUNCEMENT_USERNAME}</b></td>
											<!-- END bdannounce -->
										<!-- ENDIF -->
									</tr>
								</table>
							</center>
							<!-- IF ANNOUNCEMENT_SHOW_BIRTHDAYS_AND_ANNOUNCE -->
							<div style="text-align:{ANNOUNCEMENT_ALIGN};">
							<hr/><br />{ANNOUNCEMENT_TEXT}
						<!-- IF S_HASATTACHMENTS -->
						<br clear="all" /><br />

						<table class="tablebg" width="100%" cellspacing="1">
						<tr>
							<td class="row3"><b class="genmed">{L_ATTACHMENTS}: </b></td>
						</tr>
						<!-- BEGIN announcement_attachments -->
							<tr>
								<!-- IF announcement_attachments.S_ROW_COUNT is even --><td class="row2"><!-- ELSE --><td class="row1"><!-- ENDIF -->{announcement_attachments.DISPLAY_ATTACHMENTS}</td>
							</tr>
						<!-- END announcement_attachments -->
						</table>
					<!-- ENDIF -->
										<!-- IF U_ANNOUNCEMENT_GOTOPOST -->
						<br /><br />
						<a href="{U_ANNOUNCEMENT_GOTOPOST}">{L_ANNOUNCEMENT_GOTOPOST}</a>
															
					<!-- ENDIF -->

<br /><br />
							</div>
							<!-- ENDIF -->
							<!-- ELSE -->
							<div style="text-align:{ANNOUNCEMENT_ALIGN};"><br />{ANNOUNCEMENT_TEXT}
						<!-- IF S_HASATTACHMENTS -->
						<br clear="all" /><br />

						<table class="tablebg" width="100%" cellspacing="1">
						<tr>
							<td class="row3"><b class="genmed">{L_ATTACHMENTS}: </b></td>
						</tr>
						<!-- BEGIN announcement_attachments -->
							<tr>
								<!-- IF announcement_attachments.S_ROW_COUNT is even --><td class="row2"><!-- ELSE --><td class="row1"><!-- ENDIF -->{announcement_attachments.DISPLAY_ATTACHMENTS}</td>
							</tr>
						<!-- END announcement_attachments -->
						</table>
					<!-- ENDIF -->
															<!-- IF U_ANNOUNCEMENT_GOTOPOST -->
						<br /><br />
						<a href="{U_ANNOUNCEMENT_GOTOPOST}">{L_ANNOUNCEMENT_GOTOPOST}</a>
															
					<!-- ENDIF -->

					<br /><br /></div>
							<!-- ENDIF -->
					<!-- ENDIF -->
				</td>
			</tr>
		</table>				</td>
			</tr>
		</table>
	<!-- ENDIF -->
<!-- ENDIF -->
where about whould I put that

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