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.
Locked
fr8dude
Registered User
Posts: 15
Joined: Fri Aug 15, 2008 4:44 am

Re: ACP Announcement Centre

Post by fr8dude » Sun Aug 24, 2008 12:24 pm

Thank you
I knew I should have been patient. :shock: Here Stateside and up all night with time on my hands I stepped out on my own. I have gone and bit the bullet. Starting over from scratch. Created new databases and deleted root files. After all it is a test platform and it is all about learning. Besides if having phpBB3 on it's own database makes it easier for future Mod installs I want to know before I change our live site.

Again Thanks and I will use the installer you created once I am back and running again. :mrgreen:

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 » Sun Aug 24, 2008 12:54 pm

i would suggest to do a backup before you install mods ;) much easier and quicker to revert back to if it doesnt work out as planned.

let me know if you still have problems after the installer.
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.

Amymation
Registered User
Posts: 42
Joined: Sat Jul 07, 2007 10:44 pm

Re: ACP Announcement Centre

Post by Amymation » Tue Aug 26, 2008 5:09 am

[SOLVED]

Left, I have a question.

How would I go about changing the announcement to have a border like my forums & chat?

Click for screenshot

Here is a screenshot of my forum with the centre & chat, see the difference?

Fridge
Registered User
Posts: 307
Joined: Sat Nov 11, 2006 1:41 am
Location: Rotterdam, The Netherlands
Name: Martin
Contact:

Re: ACP Announcement Centre

Post by Fridge » Tue Aug 26, 2008 7:37 am

Amymation wrote:How would I go about changing the announcement to have a border like my forums & chat?
Try this....

Backup your existing announcement_centre.html and replace it with this one

Code: Select all

<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="18" height="18"><img src="{T_THEME_PATH}/images/tl.png" width="18" height="18" alt="" /></td>
    <td height="18" style="background:url('{T_THEME_PATH}/images/tm.png');"></td>
    <td width="18" height="18"><img src="{T_THEME_PATH}/images/tr.png" width="18" height="18" alt="" /></td>
  </tr>
  <tr>
    <td width="18" style="background:url('{T_THEME_PATH}/images/ml.png');"></td>
    <td>
	<table class="tablebg" width="100%" cellspacing="0">
			<tr>
				<th>
				<!-- 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 -->
				</th>
			</tr>
			<tr>
				<td class="row1" align="center">

					<!-- IF ANNOUNCEMENT_ENABLE_GUESTS and not S_USER_LOGGED_IN and not ANNOUNCEMENT_SHOW_EVERYONE and not ANNOUNCEMENT_SHOW-->
					<br />{ANNOUNCEMENT_TEXT_GUESTS}<br /><br />
					<!-- ELSEIF ANNOUNCEMENT_SHOW-->
						<!-- IF ANNOUNCEMENT_SHOW_BIRTHDAY-->
						<img src="{T_IMAGESET_PATH}/birthday.png" title="{L_CONGRATULATIONS}" alt="{L_CONGRATULATIONS}" border="0" /><br />
							<center>
								<table>
									<tr align="center">

										<!-- IF ANNOUNCEMENT_BIRTHDAY_AVATAR -->
											<!-- BEGIN bdannounce -->
											<td>
												<table>
													<tr align="center" style="height:42px;">
														<td>{bdannounce.AVATAR}</td>
													</tr>
													<tr align="center" valign="bottom">

														<td><b>{bdannounce.USERNAME}</b></td>
													</tr>
												</table>
											</td>
											<!-- END bdannounce -->
										<!-- ELSE -->
											<!-- BEGIN bdannounce -->
											<td><b>{bdannounce.USERNAME}</b></td>

											<!-- END bdannounce -->
										<!-- ENDIF -->
									</tr>
								</table>
							</center>
						<!-- ELSE -->
						<br />{ANNOUNCEMENT_TEXT}<br /><br />
						<!-- ENDIF -->

					<!-- ENDIF -->
				</td>
			</tr>
	</table>
    	</td>
    <td width="18" style="background:url('{T_THEME_PATH}/images/mr.png');"></td>
  </tr>
  <tr>
    <td width="18" height="18" align="right"><img src="{T_THEME_PATH}/images/bl.png" width="18" height="18" alt="" /></td>
    <td height="18" style="background:url('{T_THEME_PATH}/images/bm.png');"></td>
    <td width="18" height="18"><img src="{T_THEME_PATH}/images/br.png" width="18" height="18" alt="" /></td>
  </tr>
</table>
<!-- ENDIF -->
Not tested it but should (could :D) work

Amymation
Registered User
Posts: 42
Joined: Sat Jul 07, 2007 10:44 pm

Re: ACP Announcement Centre

Post by Amymation » Tue Aug 26, 2008 7:51 am

Fridge wrote:
Amymation wrote:How would I go about changing the announcement to have a border like my forums & chat?
Try this....

Backup your existing announcement_centre.html and replace it with this one

Code: Select all

<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="18" height="18"><img src="{T_THEME_PATH}/images/tl.png" width="18" height="18" alt="" /></td>
    <td height="18" style="background:url('{T_THEME_PATH}/images/tm.png');"></td>
    <td width="18" height="18"><img src="{T_THEME_PATH}/images/tr.png" width="18" height="18" alt="" /></td>
  </tr>
  <tr>
    <td width="18" style="background:url('{T_THEME_PATH}/images/ml.png');"></td>
    <td>
	<table class="tablebg" width="100%" cellspacing="0">
			<tr>
				<th>
				<!-- 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 -->
				</th>
			</tr>
			<tr>
				<td class="row1" align="center">

					<!-- IF ANNOUNCEMENT_ENABLE_GUESTS and not S_USER_LOGGED_IN and not ANNOUNCEMENT_SHOW_EVERYONE and not ANNOUNCEMENT_SHOW-->
					<br />{ANNOUNCEMENT_TEXT_GUESTS}<br /><br />
					<!-- ELSEIF ANNOUNCEMENT_SHOW-->
						<!-- IF ANNOUNCEMENT_SHOW_BIRTHDAY-->
						<img src="{T_IMAGESET_PATH}/birthday.png" title="{L_CONGRATULATIONS}" alt="{L_CONGRATULATIONS}" border="0" /><br />
							<center>
								<table>
									<tr align="center">

										<!-- IF ANNOUNCEMENT_BIRTHDAY_AVATAR -->
											<!-- BEGIN bdannounce -->
											<td>
												<table>
													<tr align="center" style="height:42px;">
														<td>{bdannounce.AVATAR}</td>
													</tr>
													<tr align="center" valign="bottom">

														<td><b>{bdannounce.USERNAME}</b></td>
													</tr>
												</table>
											</td>
											<!-- END bdannounce -->
										<!-- ELSE -->
											<!-- BEGIN bdannounce -->
											<td><b>{bdannounce.USERNAME}</b></td>

											<!-- END bdannounce -->
										<!-- ENDIF -->
									</tr>
								</table>
							</center>
						<!-- ELSE -->
						<br />{ANNOUNCEMENT_TEXT}<br /><br />
						<!-- ENDIF -->

					<!-- ENDIF -->
				</td>
			</tr>
	</table>
    	</td>
    <td width="18" style="background:url('{T_THEME_PATH}/images/mr.png');"></td>
  </tr>
  <tr>
    <td width="18" height="18" align="right"><img src="{T_THEME_PATH}/images/bl.png" width="18" height="18" alt="" /></td>
    <td height="18" style="background:url('{T_THEME_PATH}/images/bm.png');"></td>
    <td width="18" height="18"><img src="{T_THEME_PATH}/images/br.png" width="18" height="18" alt="" /></td>
  </tr>
</table>
<!-- ENDIF -->
Not tested it but should (could :D) work
Nope it didnt work :( it also remove the forums.

error:
Parse error: syntax error, unexpected $end in /home/amymation/domains/amymations.com/public_html/forums/cache/tpl_AeroBlue_announcement_centre.html.php on line 62

Amymation
Registered User
Posts: 42
Joined: Sat Jul 07, 2007 10:44 pm

Re: ACP Announcement Centre

Post by Amymation » Tue Aug 26, 2008 7:52 am

Fridge wrote:
Amymation wrote:How would I go about changing the announcement to have a border like my forums & chat?
Try this....

Backup your existing announcement_centre.html and replace it with this one

Code: Select all

<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="18" height="18"><img src="{T_THEME_PATH}/images/tl.png" width="18" height="18" alt="" /></td>
    <td height="18" style="background:url('{T_THEME_PATH}/images/tm.png');"></td>
    <td width="18" height="18"><img src="{T_THEME_PATH}/images/tr.png" width="18" height="18" alt="" /></td>
  </tr>
  <tr>
    <td width="18" style="background:url('{T_THEME_PATH}/images/ml.png');"></td>
    <td>
	<table class="tablebg" width="100%" cellspacing="0">
			<tr>
				<th>
				<!-- 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 -->
				</th>
			</tr>
			<tr>
				<td class="row1" align="center">

					<!-- IF ANNOUNCEMENT_ENABLE_GUESTS and not S_USER_LOGGED_IN and not ANNOUNCEMENT_SHOW_EVERYONE and not ANNOUNCEMENT_SHOW-->
					<br />{ANNOUNCEMENT_TEXT_GUESTS}<br /><br />
					<!-- ELSEIF ANNOUNCEMENT_SHOW-->
						<!-- IF ANNOUNCEMENT_SHOW_BIRTHDAY-->
						<img src="{T_IMAGESET_PATH}/birthday.png" title="{L_CONGRATULATIONS}" alt="{L_CONGRATULATIONS}" border="0" /><br />
							<center>
								<table>
									<tr align="center">

										<!-- IF ANNOUNCEMENT_BIRTHDAY_AVATAR -->
											<!-- BEGIN bdannounce -->
											<td>
												<table>
													<tr align="center" style="height:42px;">
														<td>{bdannounce.AVATAR}</td>
													</tr>
													<tr align="center" valign="bottom">

														<td><b>{bdannounce.USERNAME}</b></td>
													</tr>
												</table>
											</td>
											<!-- END bdannounce -->
										<!-- ELSE -->
											<!-- BEGIN bdannounce -->
											<td><b>{bdannounce.USERNAME}</b></td>

											<!-- END bdannounce -->
										<!-- ENDIF -->
									</tr>
								</table>
							</center>
						<!-- ELSE -->
						<br />{ANNOUNCEMENT_TEXT}<br /><br />
						<!-- ENDIF -->

					<!-- ENDIF -->
				</td>
			</tr>
	</table>
    	</td>
    <td width="18" style="background:url('{T_THEME_PATH}/images/mr.png');"></td>
  </tr>
  <tr>
    <td width="18" height="18" align="right"><img src="{T_THEME_PATH}/images/bl.png" width="18" height="18" alt="" /></td>
    <td height="18" style="background:url('{T_THEME_PATH}/images/bm.png');"></td>
    <td width="18" height="18"><img src="{T_THEME_PATH}/images/br.png" width="18" height="18" alt="" /></td>
  </tr>
</table>
<!-- ENDIF -->
Not tested it but should (could :D) work
Nope it didnt work :( it also remove the forums.

error:
Parse error: syntax error, unexpected $end in /home/amymation/domains/amymations.com/public_html/forums/cache/tpl_AeroBlue_announcement_centre.html.php on line 62

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 » Tue Aug 26, 2008 10:47 am

i am sure i have done that style before but cannot remember where i posted it...

i will have a look when i get back home, aeroblue is it?
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.

Amymation
Registered User
Posts: 42
Joined: Sat Jul 07, 2007 10:44 pm

Re: ACP Announcement Centre

Post by Amymation » Tue Aug 26, 2008 1:45 pm

lefty74 wrote:i am sure i have done that style before but cannot remember where i posted it...

i will have a look when i get back home, aeroblue is it?
Yep AeroBlue, with varias MOD's installed lol

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 » Tue Aug 26, 2008 5:06 pm

Amymation wrote:
lefty74 wrote:i am sure i have done that style before but cannot remember where i posted it...

i will have a look when i get back home, aeroblue is it?
Yep AeroBlue, with varias MOD's installed lol
looks like you got it figured out ;)
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.

loony
Registered User
Posts: 13
Joined: Thu Jul 14, 2005 11:23 am

Re: ACP Announcement Centre

Post by loony » Tue Aug 26, 2008 6:00 pm

From what I can tell, only administrators can post announcements. Is this true?

If so, can this mod be altered so that all registered users, or specific user groups can post announcements?
Last edited by loony on Tue Aug 26, 2008 7:04 pm, edited 1 time in total.

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 » Tue Aug 26, 2008 6:49 pm

lefty74 wrote:one thing i may do is what i had in the phpbb2 mod where you can define a forum/topic and it takes the first last post of that as announcement.
this should suit your request, might take a little tho
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.

baggiesmad
Registered User
Posts: 167
Joined: Wed Jun 22, 2005 10:32 am

Re: ACP Announcement Centre

Post by baggiesmad » Wed Aug 27, 2008 7:01 am

Do i have to make any changes to my prosilver template 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 Aug 27, 2008 10:45 am

yes, but you should have seen that already by lookign at the first post, :P
Selected tags:

1. Category
1. Add-Ons
2. Admin Tools
2. Complexity
1. SQL Data Changes
2. Template Changes
3. Language Changes
4. File Edits
3. Time
1. ~ 15 Minutes
4. phpBB
1. 3.0.2
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.

wolx
Registered User
Posts: 135
Joined: Thu Aug 02, 2007 12:16 pm

Re: ACP Announcement Centre

Post by wolx » Thu Aug 28, 2008 4:04 pm

SQL ERROR [ mysql4 ]

Duplicate entry 'announcement_enable' for key 1 [1062]

SQL

INSERT INTO phpbb_config (config_name, config_value, is_dynamic) VALUES ('announcement_enable', 1, 0)

BACKTRACE

FILE: includes/db/mysql.php
LINE: 158
CALL: dbal_mysql->sql_error()

FILE: includes/functions.php
LINE: 156
CALL: dbal_mysql->sql_query()

FILE: includes/acp/acp_announcements_centre.php
LINE: 101
CALL: set_config()

FILE: includes/functions_module.php
LINE: 471
CALL: acp_announcements_centre->main()

FILE: adm/index.php
LINE: 74
CALL: p_master->load_active()
What does this mean? :O

User avatar
Gremlinn
Registered User
Posts: 2133
Joined: Mon Aug 04, 2003 12:13 am
Location: Rochester, NY
Name: Nathan

Re: ACP Announcement Centre

Post by Gremlinn » Thu Aug 28, 2008 4:30 pm

It means you all ready have that entry in the config table. You should be good.

Locked

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