[2.0.7] Announces Suite

The cleanup is complete. This forum is now read only.

Rating:

Excellent!
37
44%
Very Good
22
26%
Good
9
11%
Fair
4
5%
Poor
12
14%
 
Total votes: 84

-=the0ne=-
Registered User
Posts: 207
Joined: Sat Jun 17, 2006 6:31 am
Contact:

Post by -=the0ne=- »

will there b a new version 4 this that will b working with phpBB 2.0.21
kc5hwb
Registered User
Posts: 258
Joined: Tue Apr 12, 2005 2:46 pm

Post by kc5hwb »

I installed this mod last night and all is working fine except that I now cannot delete or edit any posts at all. When I try, I get an error saying that the post doesn't exist. Anyone have an idea on that?

[SPAM]
Paid Posting Services - Boost Your Forum
http://www.forumelves.com
Come and tell us what you think
http://www.FAITHCHATTER.com
lappert
Registered User
Posts: 108
Joined: Sat Jun 17, 2006 3:45 pm

Post by lappert »

I tried to install via EasyMod. It appeared to alter my SQL tables and now everytime anyone posts, they get the following flashing for a second or two before finishing up with the post. Apparently the post completes, but this isn't right. The functions_post.php is vanilla except for one mod that I had installed before, which was working fine.
Warning: Missing argument 8 for user_notification() in /home/mydomain/public_html/phpBB2/includes/functions_post.php on line 546

Warning: Missing argument 9 for user_notification() in /home/mydomain/public_html/phpBB2/includes/functions_post.php on line 546

Warning: Missing argument 10 for user_notification() in /home/mydomain/public_html/phpBB2/includes/functions_post.php on line 546

Warning: Missing argument 11 for user_notification() in /home/mydomain/public_html/phpBB2/includes/functions_post.php on line 546

Warning: Missing argument 12 for user_notification() in /home/mydomain/public_html/phpBB2/includes/functions_post.php on line 546

Warning: Missing argument 13 for user_notification() in /home/mydomain/public_html/phpBB2/includes/functions_post.php on line 546

Warning: Cannot modify header information - headers already sent by (output started at /home/mydomain/public_html/phpBB2/includes/functions_post.php:546) in /home/mydomain/public_html/phpBB2/posting.php on line 600

Warning: Cannot modify header information - headers already sent by (output started at /home/mydomain/public_html/phpBB2/includes/functions_post.php:546) in /home/mydomain/public_html/phpBB2/includes/page_header.php on line 506

Warning: Cannot modify header information - headers already sent by (output started at /home/mydomain/public_html/phpBB2/includes/functions_post.php:546) in /home/mydomain/public_html/phpBB2/includes/page_header.php on line 508

Warning: Cannot modify header information - headers already sent by (output started at /home/mydomain/public_html/phpBB2/includes/functions_post.php:546) in /home/mydomain/public_html/phpBB2/includes/page_header.php on line 509
kc5hwb
Registered User
Posts: 258
Joined: Tue Apr 12, 2005 2:46 pm

Post by kc5hwb »

I am guessing that this mod has been abandoned. I can't get any answers to questions in this thread or in the phpbb support thread. The [Spam] removal two posts above this one was simply a screen shot showing the problem I was having, but apparently listing problem forums is no longer allowed.

I would recommend that no one uses this MOD until someone comes back and wants to support it.

I have removed this MOD from my forum because after the install it would no longer let me Edit or Delete any posts. When I tried, I got an error saying that the post didn't exist. I removed all the MOD changes and magically it works again.
Paid Posting Services - Boost Your Forum
http://www.forumelves.com
Come and tell us what you think
http://www.FAITHCHATTER.com
03swalker
Registered User
Posts: 15
Joined: Mon Nov 14, 2005 7:38 pm

Post by 03swalker »

kc5hwb wrote: Does anyone have a DEMO of the mod?


You can find a DEMO here: http://www.samwal.x10hosting.com/site/forum/index.php

Sorry it's not exactly brilliant. There are several other mods install ed aswell. phpbb 2.0.21 it is running. I used this fix mentioned in the topic and it worked fine:

Code: Select all

#
#---[ OPEN ]--------------
#
posting.php
#
#---[ FIND ]------------------
#
$topic_type = ( in_array($topic_type, array(POST_NORMAL, POST_STICKY, POST_ANNOUNCE)) ) ? $topic_type : POST_NORMAL;
#
#---[ REPLACE WITH ]-----------------
#
//--- mod : Announces suite ----------------------------
//-- delete
/*
$topic_type = ( in_array($topic_type, array(POST_NORMAL, POST_STICKY, POST_ANNOUNCE)) ) ? $topic_type : POST_NORMAL;
*/
//-- add
$topic_type = ( in_array($topic_type, array(POST_NORMAL, POST_STICKY, POST_ANNOUNCE, POST_GLOBAL_ANNOUNCE)) ) ? $topic_type : POST_NORMAL;
//--- fin mod : Announces suite ------------------------

#
#---[ OPEN ]--------------
#
includes/functions_announces.php
#
#---[ FIND ]------------------
#
find:
if (!empty($tree_forum_ids))
{
$sql_where .=
#
#---[ REPLACE WITH ]-----------------
#
if (!empty($tree_forum_ids))
{
// $sql_where .=
//--- fin mod : Announces suite ------------------------
Dx_at_dxzone.com.ar
Registered User
Posts: 4
Joined: Mon Jul 03, 2006 2:05 pm
Location: tehre
Contact:

Post by Dx_at_dxzone.com.ar »

I finally installed it on my phpbb 2.0.21, with easymod 0.30

Here teh changes:

Near line 235:

Code: Select all


#-----[ AFTER, ADD ]------------------------------------------
#
//-- mod : announces -------------------------------------------------------------------------------
//-- add
		else if ( $topic_type == POST_GLOBAL_ANNOUNCE )
		{
			$is_auth_type = 'auth_global_announce';
		}
//-- fin mod : announces ---------------------------------------------------------------------------
#
#-----[ FIND ]------------------------------------------------
# this is a partial search, the full line is longer
#CHANGE TEH FOLLOWING LINE ON UR MOD
		$select_sql = (!$submit) ?
#
#-----[ BEFORE, ADD ]-----------------------------------------
#
//-- mod : announces -------------------------------------------------------------------------------
// here we added
//	, t.topic_announce_duration
//-- modify
#
#-----[ IN-LINE FIND ]---------------------------------------- 
#
, t.topic_title
#
#-----[ IN-LINE AFTER, ADD ]---------------------------------- 


Near line 485: (only if you have Simple Subforums Mod)

Code: Select all

#-----[ IN-LINE AFTER, ADD ]---------------------------------- 
#
 AND t.topic_type <> " . POST_GLOBAL_ANNOUNCE . "
#
#-----[ AFTER, ADD ]------------------------------------------
#
//-- fin mod : announces ---------------------------------------------------------------------------
#
#-----[ FIND ]------------------------------------------------
# IT SAID
#make_jumpbox('viewforum.'.$phpEx);
# CHANGE WITH:
// Begin Simple Subforums MOD
$all_forums = array();
make_jumpbox_ref('viewforum.'.$phpEx, $forum_id, $all_forums);
// End Simple Subforums MOD
#
#-----[ AFTER, ADD ]------------------------------------------
#
//-- mod : announces -------------------------------------------------------------------------------
//-- add

Near line 635:

Code: Select all

#
#-----[ BEFORE, ADD ]-----------------------------------------
#
//-- mod : language settings -----------------------------------------------------------------------
//-- add
	include($phpbb_root_path . './includes/lang_extend_mac.' . $phpEx);
//-- fin mod : language settings -------------------------------------------------------------------


#
#-----[ FIND ]------------------------------------------------
# IT SAID simply  if ( empty($template) )  or something
# CHANGE THIS:
		if ( empty($template) || empty($theme) )
#
#-----[ BEFORE, ADD ]-----------------------------------------
#
//-- mod : language settings -----------------------------------------------------------------------
//-- add
			include($phpbb_root_path . './includes/lang_extend_mac.' . $phpEx);
//-- fin mod : language settings -------------------------------------------------------------------

I seem it's working.. hehe.. But GLOBAL ANNOUNCEMENTS show as simple announcements.. what's up? I need to set up that update?

Ah, I see, yes. Maybe someone should post a full-updated version of this mod
I am not going to make a signature here.
A.Jayx
Registered User
Posts: 17
Joined: Wed Mar 15, 2006 9:48 am
Contact:

Post by A.Jayx »

Finally, it works for me after under code :wink:
We should ask author to update
03swalker wrote:
kc5hwb wrote:Does anyone have a DEMO of the mod?


You can find a DEMO here: http://www.samwal.x10hosting.com/site/forum/index.php

Sorry it's not exactly brilliant. There are several other mods install ed aswell. phpbb 2.0.21 it is running. I used this fix mentioned in the topic and it worked fine:

Code: Select all

#
#---[ OPEN ]--------------
#
posting.php
#
#---[ FIND ]------------------
#
$topic_type = ( in_array($topic_type, array(POST_NORMAL, POST_STICKY, POST_ANNOUNCE)) ) ? $topic_type : POST_NORMAL;
#
#---[ REPLACE WITH ]-----------------
#
//--- mod : Announces suite ----------------------------
//-- delete
/*
$topic_type = ( in_array($topic_type, array(POST_NORMAL, POST_STICKY, POST_ANNOUNCE)) ) ? $topic_type : POST_NORMAL;
*/
//-- add
$topic_type = ( in_array($topic_type, array(POST_NORMAL, POST_STICKY, POST_ANNOUNCE, POST_GLOBAL_ANNOUNCE)) ) ? $topic_type : POST_NORMAL;
//--- fin mod : Announces suite ------------------------

#
#---[ OPEN ]--------------
#
includes/functions_announces.php
#
#---[ FIND ]------------------
#
find:
if (!empty($tree_forum_ids))
{
$sql_where .=
#
#---[ REPLACE WITH ]-----------------
#
if (!empty($tree_forum_ids))
{
// $sql_where .=
//--- fin mod : Announces suite ------------------------
User avatar
LukeSkiewalker
Registered User
Posts: 10
Joined: Wed Aug 03, 2005 11:00 pm

Post by LukeSkiewalker »

Any one have any suggestions on how to get my Announcements to show up on the homepage of my website?

I run a fansite that has regualr meetings and it is a pain to update the homepage with the new meetings info and it would be a lot easier in the annoucements (which I use for meetings only) would show up on the home page of my site.

Thanks,
pkoury
Registered User
Posts: 109
Joined: Sat Sep 06, 2003 10:12 pm

Post by pkoury »

I'm running 2.0.21. When I post as a Global Annoucement the post becomes a Normal post instead. How do I fix that?
pkoury
Registered User
Posts: 109
Joined: Sat Sep 06, 2003 10:12 pm

Post by pkoury »

anyone?
phprocket
Registered User
Posts: 5
Joined: Mon Aug 07, 2006 8:37 pm

Does this work for phpBB 2.0.21 or Not ?

Post by phprocket »

Ok I am new to the PHPBB and I am looking for this modification, I see some code that's been here since 2003 and it's now 2006. Does this code still work or does it need a major over haul ? 8O

I don't want to break my version phpBB 2.0.21.. like others have posted.

Can the code be updated for phpBB 2.0.21 ? :lol:

Or do I need to install a lesser version to get this working ?

From what I can see, as a newbie here, this modification is no longer supported.. Is this mod crusty old bread ? I am just looking for some life here.. or do I need to go to another message board system ?

Thanks.
User avatar
Ptirhiik
Registered User
Posts: 7411
Joined: Mon Jan 06, 2003 10:36 pm
Contact:

Post by Ptirhiik »

The functionalities of this mod are now embed in Categories Hierarchy, and have been moved to a better effeciency level.
phprocket
Registered User
Posts: 5
Joined: Mon Aug 07, 2006 8:37 pm

features are embedded ?

Post by phprocket »

Forgive me if I sound like a newbie but I am, Is there a way I can show the last post from admin puts out as news ? I would like to announce new features and solutions and have that last post included on my index.php page of my main site.

See how cubecart.com does their forum.. I like to do the same with my own site.. Can PHPBB do this ? :wink:
User avatar
johnesku
Registered User
Posts: 86
Joined: Wed Jul 16, 2003 9:22 am
Location: Bucharest, RO
Contact:

Post by johnesku »

pkoury wrote: I'm running 2.0.21. When I post as a Global Annoucement the post becomes a Normal post instead. How do I fix that?

Few posts above there is a fix:
http://www.phpbb.com/phpBB/viewtopic.ph ... 35#2225335

@anyone - admin_board_extend.php is messed up a little. See the screenshot. Is there a fix in the topic and I missed it?
Image
michaellunsford
Registered User
Posts: 12
Joined: Thu Jul 13, 2006 5:13 pm

SQL PROCESSING ERROR, in step 2

Post by michaellunsford »

EDIT: Nevermind, I ran the SQL queries manually, and they worked fine. Odd that MOD Installer couldn't do it?

running 2.0.21, made the modifications recommended by Dx_at_dxzone.com.ar and am trying to run it through MOD installer. I'm getting the following error on step 2 (but I was getting a similar error on 2.0.18 as well)

Running mysql 4.1.20 -- which YUM reports as the latest update.
SQL PROCESSING ERROR:
No SQL alterations will be performed. However, you may skip SQL processing, continue installing the MOD, and deal with the SQL manually

The following error occured:

Error:
Unexpected or unknown attribute "AFTER AUTH_ANNOUNCE", in "auth_global_announce TINYINT(1) NOT NULL AFTER auth_announce", statement: 2, table: "phpbb_auth_access"

SQL:
ALTER TABLE phpbb_auth_access ADD auth_global_announce TINYINT(1) NOT NULL AFTER auth_announce
Post Reply

Return to “[2.0.x] MOD Database Cleanup”