Page 1 of 163

ACP Announcement Centre

Posted: Wed May 28, 2008 5:23 pm
by Extensions Robot
Modification name: ACP Announcement Centre
Author: Blue Blood
Modification description: NOTE: Version 1.2.2 doesn't install properly with 3.0.9. Until validated, please use version 1.2.5 available on Blue Blood's mod site

Adds an Announcement Box to the Index Page.
Features:
- Enable/Disable Announcement
- (Guest) Announcement Preview
- BBCode/Smilie enabled Announcements
- Possibility to show different Announcements to Guest users
- Possibility to show birthdays as announcements (display of avatars possible)
- Option to show Announcements to Guests only, Group(s) only or everyone
- (Guest) Announcement Title configurable
- Option to show pages on all pages or on index page only
Modification version: 1.2.2
Tested on phpBB version: 3.0.6

Download file: acp_announcement_centre_122.zip
File size: 129.38 KiB

Modification overview page: View

The phpBB Team is not responsible nor required to provide support for this modification. By installing this MOD, you acknowledge that the phpBB Support Team or phpBB Extensions Team may not be able to provide support.

-->Modification support<--

ACP Announcement Centre

Posted: Wed May 28, 2008 5:23 pm
by Paul
Modification validated/released

Notes:

ACP Announcement Centre

Posted: Wed May 28, 2008 5:23 pm
by lefty74
FAQ:
How can we show polls on index as announcement when showing a topic/post?
You can't, sorry. it can only show the post.
How can i post an annoucement in a specific section only? :?
it is only possible to either show everywhere or on index only. To show it only in a specific section, you would need to take the code from index.php and move it to the section you would want it displayed instead. that should work but i have not tested it.
Has anyone got this to work with the prosilver_se template?
Thanks in advance.
yes, that should be fairly straight forward, first install this mod on prosilver, then make the prosilver edit in the overall_header.html file of prosilver SE. afterwards, upload the prosilver announcement_centre.html to the prosilver SE folder. again, not really tested but i think thats what i did at the time.


-------------------
Demo Board: Demoboard
Demo Username: test
Demo Password: testtest

do you have styles other then prosilver/subsilver2?

attached zip file includes the following styles:

* SFCentar
* proDark
* AcidTech
* AeroBlue
* Black Pearl
* Getaway
* LiquidBlack
* proBl@ck
* X-Treme
download the style files here

translations:
Spanish, thanks to Ahri89
Portuguese-Brazilian(PT-BR), thanks to GunsBR
German, thanks to Thilak
Italian, thanks to Galandas

NOTE: If you have a SEO Mod installed, you will need to turn it off during the installation as otherwise the install file is unlikely to work

ACP SCREENSHOT:

Note: Screenshot may be from an older version
Image

Re: ACP Announcement Centre

Posted: Wed May 28, 2008 5:38 pm
by Forke
Congratulations for a truly great mod. I've been using it for months and it works perfect.

Just one thing: I have 3.0.0 and 1.0.0b installed. Should I update with this version?

Re: ACP Announcement Centre

Posted: Wed May 28, 2008 5:45 pm
by Kojek
congratulation.. this is a verry good mod..

i test it on my forum (phpBB3 3.0.1) and it's WORK!

THANK YOU LEFTY74

Re: ACP Announcement Centre

Posted: Wed May 28, 2008 7:04 pm
by Desdenova
Congrats, lefty74, on getting your MOD in the MODDB!

Re: ACP Announcement Centre

Posted: Wed May 28, 2008 7:55 pm
by lefty74
yay, thanks very much to the MOD Team for their patience with me, especially A_Jelly_Doughnut :D

and thanks for the kind comments all.
Forke wrote:Just one thing: I have 3.0.0 and 1.0.0b installed. Should I update with this version?
Yes, you would need to update. The upgrade instructions are in the contrib folder ;)

Re: ACP Announcement Centre

Posted: Wed May 28, 2008 8:58 pm
by alexandrezart
Great MOD. Thanks.

Re: ACP Announcement Centre

Posted: Wed May 28, 2008 9:55 pm
by bigaldizzler
Congrats! I Just took a look at the demo site this seems like a very useful mod! Can't wait to use it thanks! 8-)

Re: ACP Announcement Centre

Posted: Wed May 28, 2008 10:23 pm
by mcdanielnc89
I love lefty's MOD's.. I am getting ready to install this:D

Re: ACP Announcement Centre

Posted: Wed May 28, 2008 10:31 pm
by Badal

Code: Select all

form.phpbb_announcement_centre' doesn't exist [1146]

SQL

SELECT * FROM phpbb_announcement_centre

BACKTRACE

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

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

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

FILE: adm/index.php
LINE: 74
CALL: p_master->load_active()
i got this error after add module and create new category. and add annulment... any solution plz?

Re: ACP Announcement Centre

Posted: Wed May 28, 2008 10:42 pm
by mcdanielnc89
Perhaps make sure you did all of the edits? i didn't have any problems..

Re: ACP Announcement Centre

Posted: Wed May 28, 2008 10:48 pm
by lefty74
Badal wrote:

Code: Select all

form.phpbb_announcement_centre' doesn't exist [1146]

SQL

SELECT * FROM phpbb_announcement_centre

BACKTRACE

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

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

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

FILE: adm/index.php
LINE: 74
CALL: p_master->load_active()
i got this error after add module and create new category. and add annulment... any solution plz?
did you run the SQL statement?

Re: ACP Announcement Centre

Posted: Thu May 29, 2008 1:18 am
by Booch_21
I loved this mod in v.2, will love it in v.3 too! Thanks for the great mod!

Ran into a few minor issues on the install, but nothing that I could not work through. I added it to six other styles including the default Prosilver and Subsilver. All of them were based off either of the defaults so it was easy enough to make work.

The additional features of this over v.2 are great!

Re: ACP Announcement Centre

Posted: Thu May 29, 2008 1:56 am
by Badal
lefty74 wrote:
Badal wrote:

Code: Select all

form.phpbb_announcement_centre' doesn't exist [1146]

SQL

SELECT * FROM phpbb_announcement_centre

BACKTRACE

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

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

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

FILE: adm/index.php
LINE: 74
CALL: p_master->load_active()
i got this error after add module and create new category. and add annulment... any solution plz?
did you run the SQL statement?

well i run it. and when i submit announcement. i got another error :(

Code: Select all

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