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
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 »

have you tried it with one of the default styles if it works or not?

i asked that to determine if it something to do with the template edit or with the other file edits.

could you pse check if it works with one of the default styles.
thanks
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.
padre
Registered User
Posts: 1
Joined: Sun Jan 11, 2009 3:41 pm

Re: ACP Announcement Centre

Post by padre »

Hi,
I am using the latest phpbb 3.0.4.
While setting up the announcement centre, everything was OK till the step for upgrading the posting.php.

I couldn't find the

Code: Select all

	generate_smilies('window', $forum_id); 
Therefore I was unable to add the lines

Code: Select all

		if ( (int) request_var('announce', 0) == 1 )
		{
		 generate_smilies('window', 0, 1);
		}
		else
		{
		 generate_smilies('window', $forum_id);
		}

How can I continue to installation of the MOD?
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 »

in phpbb3.0.4 it is on line 104

this is what is around it

Code: Select all

    break;

    case 'smilies':
        $sql = '';
        generate_smilies('window', $forum_id);
    break;

    case 'popup':
 
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.
wyca
Registered User
Posts: 1
Joined: Mon Aug 18, 2008 11:17 am

Re: ACP Announcement Centre

Post by wyca »

Hi,

My board is using differrent templates then the standard delivered ones.
What needs to be changed exactly in the layout templates to show the announcement in a different template?

Thanks for the great mod. Just what I was looking for.

Alex_W
moorken
Registered User
Posts: 1
Joined: Mon Jan 12, 2009 6:08 pm

Re: ACP Announcement Centre

Post by moorken »

is there maybe a possibility that someone creates a new instructions list for PHP 3.0.4 on how to install the announcement centre? since i cant seem to find most of the code where i need to look for in most files :cry:
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 »

wyca wrote:Hi,

My board is using differrent templates then the standard delivered ones.
What needs to be changed exactly in the layout templates to show the announcement in a different template?

Thanks for the great mod. Just what I was looking for.

Alex_W
try to find out what your templates are based on, if they are based on prosilver take the files from the prosilver style, if subsilver2 the one from that style.

also, you may not be able to find the exact finds from the instructions so you will need to do a bit of trial and error there. basically look for the VARS in the {}brackets, like {VARIABLE}
moorken wrote:is there maybe a possibility that someone creates a new instructions list for PHP 3.0.4 on how to install the announcement centre? since i cant seem to find most of the code where i need to look for in most files :cry:
i just found all the finds all on 3.0.4 without a problem so there is nothing wrong with the instructions ;)
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
kaanuslu
Registered User
Posts: 131
Joined: Sun Jul 03, 2005 4:24 pm
Contact:

Re: ACP Announcement Centre

Post by kaanuslu »

UPDATE : sorry my mistake :oops:
Last edited by kaanuslu on Tue Jan 13, 2009 9:29 pm, edited 1 time in total.
User avatar
kaanuslu
Registered User
Posts: 131
Joined: Sun Jul 03, 2005 4:24 pm
Contact:

Re: ACP Announcement Centre

Post by kaanuslu »

This MOD crashes my forum completely. The instructions must be re-written at once. :o
I am using 3.0.4 prosilver.

UPDATE : if you upload wrong files ofcourse it wont work :?
Last edited by kaanuslu on Tue Jan 13, 2009 9:30 pm, edited 1 time in total.
User avatar
KeithR
Former Team Member
Posts: 750
Joined: Mon Jun 16, 2008 6:59 pm
Location: Manchester, UK
Name: Keith R

Re: ACP Announcement Centre

Post by KeithR »

kaanuslu wrote:This MOD crashes my forum completely. The instructions must be re-written at once. :o
I am using 3.0.4 prosilver.
There is nothing wrong with the instructions, you have simply followed them incorrectly.Restore your backup and then read these links before trying again :)

Knowledge Base - How to Install MODs

[Tutorial] How to install a MODX modification
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 »

kaanuslu wrote:I think there is a problem with the file to be copied for this MOD.
In the instructions it is written as

Code: Select all

Copy: root/adm/style/acp_announcement_centre.html 
To: adm/style/acp_announcement_centre.html 
Copy: root/includes/functions_announcements.php 
To: includes/functions_announcements.php 
Copy: root/includes/acp/acp_announcements_centre.php 
To: includes/acp/acp_announcements_centre.php 
Copy: root/includes/acp/info/acp_announcements_centre.php 
To: includes/acp/info/acp_announcements_centre.php 
Copy: root/language/en/mods/announcement_centre.php 
To: language/en/mods/announcement_centre.php 
Copy: root/language/en/mods/info_acp_announcement_centre.php 
To: language/en/mods/info_acp_announcement_centre.php 
Copy: root/styles/prosilver/template/announcement_centre.html 
To: styles/prosilver/template/announcement_centre.html 
Copy: root/styles/prosilver/template/announcement_smilies.html 
To: styles/prosilver/template/announcement_smilies.html 
Copy: root/styles/prosilver/imageset/birthday.png 
To: styles/prosilver/imageset/birthday.png 
Files names are not machting.
There are no "styles/prosilver/template/announcement_smilies.html ". Instead all I see under "styles/prosilver/template/" is an folder named ADS !

"root/includes/acp/acp_announcements_centre.php " >>> root/includes/acp/acp_ads.php
Plus, there is a folder named INFO under includes/acp/???
And so on .....
Any comment :?: :?:
You are either looking at the wrong files or the wrong installation instructions.

you seem to be looking at the announcement instructions but are trying to use the files of this mod.
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
kaanuslu
Registered User
Posts: 131
Joined: Sun Jul 03, 2005 4:24 pm
Contact:

Re: ACP Announcement Centre

Post by kaanuslu »

Exactly !
I've downloaded two MODs in the same time and look for the wrong one.

MOD installed, the sample announcement is working. But when I intseted something in turkish I received the following error:

Code: Select all

SQL ERROR [ mysql4 ]

Incorrect string value: '\xC4\xB1s\xC4\xB1 ...' for column 'announcement_text' at row 1 [1366]

SQL

UPDATE phpbb_announcement_centre SET announcement_enable_guests = 1, announcement_show = 1, announcement_show_birthdays = 0, announcement_birthday_avatar = 0, announcement_title = 'Site Announcements', announcement_text = '[color=red:3ffxmuji][b:3ffxmuji]Anadolu Nümismatik Bülteninin 8. sayısı 14 Şubat Çarşamba günü postaya verilecektir.[/b:3ffxmuji][/color:3ffxmuji] <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) -->', announcement_text_bbcode_uid = '3ffxmuji', announcement_text_bbcode_bitfield = 'Qg==', announcement_text_bbcode_options = 7, announcement_draft = '[color=red:3ly4ye6s][b:3ly4ye6s]Anadolu Nümismatik Bülteninin 8. sayısı 14 Şubat Çarşamba günü postaya verilecektir.[/b:3ly4ye6s][/color:3ly4ye6s] <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) -->', announcement_draft_bbcode_uid = '3ly4ye6s', announcement_draft_bbcode_bitfield = 'Qg==', announcement_draft_bbcode_options = 7, announcement_title_guests = 'Guest Announcements', announcement_text_guests = '[color=red:18w3bfbu][b:18w3bfbu]Anadolu Nümismatik Bülteninin 8. sayısı 14 Şubat Çarşamba günü postaya verilecektir.[/b:18w3bfbu][/color:18w3bfbu] <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) -->', announcement_text_guests_bbcode_uid = '18w3bfbu', announcement_text_guests_bbcode_bitfield = 'Qg==', announcement_text_guests_bbcode_options = 7, announcement_show_group = ''

BACKTRACE

FILE: includes/db/mysql.php
LINE: 174
CALL: dbal->sql_error()

FILE: includes/acp/acp_announcements_centre.php
LINE: 99
CALL: dbal_mysql->sql_query()

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

FILE: adm/index.php
LINE: 74
CALL: p_master->load_active()
User avatar
kaanuslu
Registered User
Posts: 131
Joined: Sun Jul 03, 2005 4:24 pm
Contact:

Re: ACP Announcement Centre

Post by kaanuslu »

There is a problem with turkish font.
User avatar
master2004134
Registered User
Posts: 44
Joined: Sat Jan 28, 2006 9:41 pm
Location: Behind You!
Contact:

Re: ACP Announcement Centre

Post by master2004134 »

Perhaps make sure UTF-8 support is enabled on your database?
User avatar
kaanuslu
Registered User
Posts: 131
Joined: Sun Jul 03, 2005 4:24 pm
Contact:

Re: ACP Announcement Centre

Post by kaanuslu »

I am using Notepad++ as editor. There is an option for UTF-8. But which files do I have to save in UTF-8 ?
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 »

check the collation of the tables in your database and change the one from the announcement centre to match the ones of your other tables.
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.
Locked

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