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.
User avatar
ChriZathens
Registered User
Posts: 1477
Joined: Tue Apr 18, 2006 9:11 pm
Location: Athens, Greece
Name: Chris

Re: ACP Announcement Centre

Post by ChriZathens »

Hi, lefty..
I tried to upgrade in my test forum and got this error:

Fatal error: Call to undefined method phpbb_db_tools::sql_table_drop() in C:\xampp\htdocs\snl\install\index.php on line 206


Seems like my db_tools.php is not up to date, but it does not make sense... :?

EDIT: Looks like my mistake - I guess at the process of cloning my live forum I failed to also get the db folder... :?
My mods in MODDB:
Add Homepage link in header - Change user activity post limit - Post number in viewtopic
If you need support click on the support tab there and post your question.
Do not PM me - chances of viewing my PMs are way thinner than viewing the support question in the customization DB...
pittda01
Registered User
Posts: 10
Joined: Thu Sep 10, 2009 12:40 pm

Re: ACP Announcement Centre

Post by pittda01 »

thanks for your response. ive found this comment:
iftitaj wrote:^ Login to your forum first before running install file.
i've tried this - unfortunately it hasn't worked.
iftitaj wrote:If that doesn't help, then go through this topic, Lefty has mentioned a way to bypass the Admin authorization check.
apologies but i didn't see this comment - so ill now go through topic and see if i can find the bit he refers to.
pittda01
Registered User
Posts: 10
Joined: Thu Sep 10, 2009 12:40 pm

Re: ACP Announcement Centre

Post by pittda01 »

on the subject of reading through the post ... i full understand why you say this but in my defence ..

i've searched for 'Admin authorization check' .. and get nothing ... and sitting and reading through 123 pages is a little unrealistic i think.

i'll keep trying to find the existing answer to my question - but any additional help you can give would be gratefully appreciated.
User avatar
ChriZathens
Registered User
Posts: 1477
Joined: Tue Apr 18, 2006 9:11 pm
Location: Athens, Greece
Name: Chris

Re: ACP Announcement Centre

Post by ChriZathens »

In install/index.php find

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');
}
Replace with

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');
// }
My mods in MODDB:
Add Homepage link in header - Change user activity post limit - Post number in viewtopic
If you need support click on the support tab there and post your question.
Do not PM me - chances of viewing my PMs are way thinner than viewing the support question in the customization DB...
User avatar
zkaraca
Registered User
Posts: 139
Joined: Wed Jan 30, 2008 7:52 pm

Re: ACP Announcement Centre

Post by zkaraca »

How can we show polls on index as announcement when showing a topic/post?
Asira.nl * Zeki.nl Just having some fun!
Cebar
Registered User
Posts: 39
Joined: Sat Oct 04, 2008 3:20 pm

Re: ACP Announcement Centre

Post by Cebar »

How can i post an annoucement in a specific section only? :?
orionstarman
Registered User
Posts: 43
Joined: Mon Sep 07, 2009 9:26 pm

Re: ACP Announcement Centre

Post by orionstarman »

Has anyone got this to work with the prosilver_se template?
Thanks in advance.
User avatar
lefty74
Registered User
Posts: 3649
Joined: Wed Sep 14, 2005 8:26 pm
Location: NL

Re: ACP Announcement Centre

Post by lefty74 »

zkaraca wrote:How can we show polls on index as announcement when showing a topic/post?
You can't, sorry. it can only show the post.
Cebar wrote: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.
orionstarman wrote: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.
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.
dickporter
Registered User
Posts: 1
Joined: Sun Sep 13, 2009 10:43 am

Re: ACP Announcement Centre

Post by dickporter »

I think I discovered a bug in v1.2.1

Installing the mod went smoothly, until I set an announcement. I then got the following error:

Code: Select all

General Error
SQL ERROR [ postgres ]

ERROR: invalid input syntax for integer: "" []

SQL

SELECT * FROM phpbb_user_group WHERE group_id = '' AND user_id = 2

BACKTRACE

FILE: includes/db/postgres.php
LINE: 177
CALL: dbal->sql_error()

FILE: includes/functions_announcements.php
LINE: 131
CALL: dbal_postgres->sql_query()

FILE: index.php
LINE: 168
CALL: get_announcement_data()
Looking at get_announcement_data() it does this (the sql_query() is the line mentioned in the backtrace):

Code: Select all

        $selected_groups = array();
        $selected_groups = explode(",", $config['announcement_show_group']);

        $sql = 'SELECT *
                FROM ' . USER_GROUP_TABLE . '
                WHERE ' . $db->sql_in_set('group_id', $selected_groups) . '
                        AND user_id = ' . $user->data['user_id'];
        $db->sql_query($sql);
However, in my configuration I set "Show Site Announcement to:" Everyone and the groups list had nothing selected by default.

The workaround was to select a group even though it was not applicable.

- Dick
Voyeurette
Registered User
Posts: 3
Joined: Sun Sep 02, 2007 12:43 am

Re: ACP Announcement Centre

Post by Voyeurette »

I've installed the mod successfully with automod. I cannot find it. ( the tab )

I searched other posts that had similar problem but did not find a direct answer.

Is there something else I need to do?

I am using current versions.
iftitaj
Registered User
Posts: 638
Joined: Tue Jan 15, 2008 6:21 am
Location: Karachi, Pakistan

Re: ACP Announcement Centre

Post by iftitaj »

Voyeurette wrote:I've installed the mod successfully with automod. I cannot find it. ( the tab )

I searched other posts that had similar problem but did not find a direct answer.

Is there something else I need to do?

I am using current versions.
You have to run included install.php from your browser and then select INSTALL.
User avatar
ChriZathens
Registered User
Posts: 1477
Joined: Tue Apr 18, 2006 9:11 pm
Location: Athens, Greece
Name: Chris

Re: ACP Announcement Centre

Post by ChriZathens »

Hello, Lefty...
Until last week I had the old version (1.0.3a) installed on my forum, so decided to upgrade. I gave a notice to my admins that they do not need to enter the ACP anymore to update the announcements on our board - they can now do it via their MCP.
But after using it for a while they told me that they still prefer to do it via ACP because it has the preview and they can easily see what they have written before they post it. I thought that it makes perfect sense, since the preview mode is indeed very useful.
So I have a feature request for a future release:
Could you please add a preview option of the announcement in the MCP, too?
My mods in MODDB:
Add Homepage link in header - Change user activity post limit - Post number in viewtopic
If you need support click on the support tab there and post your question.
Do not PM me - chances of viewing my PMs are way thinner than viewing the support question in the customization DB...
mrmax79
Registered User
Posts: 63
Joined: Wed Feb 11, 2009 11:49 pm

Re: ACP Announcement Centre

Post by mrmax79 »

Just installed ACP Announcement Centre 1.2.0,
All went smooth, no errors, the ACP Announcement Centre 1.2.0 GPI is under .MODS Tab in ACP.

PROBLEM IT DOESN'T SHOW ANYTHING ON MAIN PAGE.

i HAVE REVIEWED EVERYTHING BUT AM SERIOUSLY TIRED. So errors are possible.

Here is a list of the files edits (click on them to verify they are correct..

common.php
constants.php
functions.php
functions_posting.php
index_php.txt

Announcement Centre
Configuration

/phpbb/language/en/posting.php didn't have the "find" parts so did not edit

Update: I just installed this in a clean new install of 3.0.5, no other mods no hacks.
I can't even get the .Mod to show like i did with my install above. These installs are on two different hosts.
The 2nd that doesn't even show .MOD, is with a subsilver2 style. I am using that one since it is the base for Getaway-Green my preferred style. I don't get why there are several edits necessary for prosilver but no edits required for subsilver2, asside from copying the subsilver2 files provided in the mod pack.

** Sorry for the bad links, I was half asleep with I created this post**
Last edited by mrmax79 on Mon Sep 14, 2009 11:19 am, edited 5 times in total.
Voyeurette
Registered User
Posts: 3
Joined: Sun Sep 02, 2007 12:43 am

Re: ACP Announcement Centre

Post by Voyeurette »

Thank you iftitaj. I FINALLY got it working ( not exactly sure how - trial and error and your help ).

I was under the impression that if you used the "automod" feature, then you did not have to go into the browser and complete any installation.

What exactly does the automod do then? Does it only do partial installs for some things?

I'm just curious to know. Am new to all this.
iftitaj
Registered User
Posts: 638
Joined: Tue Jan 15, 2008 6:21 am
Location: Karachi, Pakistan

Re: ACP Announcement Centre

Post by iftitaj »

Voyeurette wrote:What exactly does the automod do then? Does it only do partial installs for some things?.
Automod will only edit files .......... it can't run SQL & DIY part of the installation instruction as far as I know ..... though haven't tried it yet. I guess it can purge cache, etc though.
Its Lefty's niceness that he made install.php script which do the ACP integration part and run SQL also. Other option is to do it manually from the DIY part of the installation instructions. I did that manually since when I installed this MOD, no such script exists. :P

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