I'm modding a phpBB v2.0.10 with Categories Hierarchy 2.0.5-RC2 and other mods (such as Split Topic Type) and with last version of Global announcement.
I've do it but I've some problems... During Global announcement Mod integrations I had some problems to found some voice such as:
- Code: Select all
#
#-----[ OPEN ]------------------------------------------------
#
index.php
#
#-----[ FIND ]------------------------------------------------
#
FROM " . CATEGORIES_TABLE . " c
#
#-----[ AFTER, ADD ]------------------------------------------
#
".(($userdata['user_level']!=ADMIN)? "WHERE c.cat_id<>'".HIDDEN_CAT."'" :"" )."
I can't do that because that line was commented by Categories Hierarchy's integrations...
- Code: Select all
#
#-----[ OPEN ]------------------------------------------------
#
admin/admin_forumauth.php
#
#-----[ FIND ]------------------------------------------------
#
// View Read Post Reply Edit Delete Sticky Announce Vote Poll
#
#-----[ AFTER, ADD ]------------------------------------------
#
// Globalannounce added
I've found that on includes/def_auth.php
- Code: Select all
#
#-----[ FIND ]------------------------------------------------
#
$forum_auth_fields = array(
#
#-----[ IN-LINE FIND ]----------------------------------------
#
);
#
#-----[ IN-LINE BEFORE, ADD ]---------------------------------
#
, 'auth_globalannounce'
I can't do it because the code is:
- Code: Select all
$forum_auth_fields = array();
while ( list($auth_key, $auth_name) = @each($field_names) )
{
$forum_auth_fields[] = $auth_key;
}
To solve that I've modified includes/def_auth.php adding a line here:
- Code: Select all
// data description
$field_names = array(
'auth_view' => $lang['View'],
'auth_read' => $lang['Read'],
'auth_post' => $lang['Post'],
'auth_reply' => $lang['Reply'],
'auth_edit' => $lang['Edit'],
'auth_delete' => $lang['Delete'],
'auth_sticky' => $lang['Sticky'],
'auth_announce' => $lang['Announce'],
'auth_vote' => $lang['Vote'],
'auth_pollcreate' => $lang['Pollcreate'],
'auth_globalannounce' => $lang['Globalannounce']
);
I hope it's ok...
After that i don't remember other probs to integrate it... BUT IT DON'T GO!!!
When i create a Global announce it go and i found it in all forum but i don't see it such as global announce! I see it such as normal announce!
On Admin control pannel, under Configuration+ of Split Topic Type 2.0.1 i don't see the supported voice of Global announce...
Any one have idea?

