New post count on index

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
GurlzLubme
Registered User
Posts: 880
Joined: Wed Sep 01, 2004 11:21 am
Location: New York

Re: New post count on index

Post by GurlzLubme »

i am also using the phpbb debug error mod, and its showing me these errors from the post count mod:

Code: Select all

[Apr-25-2008  07:09:06 -14400] [phpBB Debug] ... PHP Notice: in file /homepages/36/htdocs/includes/functions.php on line 3482 : Undefined variable:  post_count

[Apr-25-2008  07:09:09 -14400] [phpBB Debug] ... PHP Notice: in file /homepages/36/htdocs/includes/functions.php on line 3482 : Undefined variable:  post_count

[Apr-25-2008  07:09:17 -14400] [phpBB Debug] ... [File viewforum.php?f=41] PHP Notice: in file /homepages/36/htdocs/includes/functions.php on line 3482 : Undefined variable:  post_count
in my functions.php, my line 3482 is:

Code: Select all

'NEW_POST_COUNT' 				=> $post_count,
Could you please help me resolve this?

The mod appears to work fine, but I just want to get rid of these error logs. running 3.0.1 right now. thank you
1,000,000 Thank Yous to everyone who's been helping me on phpbb.com!
User avatar
sevenalive
Translator
Posts: 437
Joined: Thu Feb 07, 2008 4:45 am
Location: Tempe, AZ
Name: Robert

Re: New post count on index

Post by sevenalive »

Make sure your forum is not in debug mode.
User avatar
GurlzLubme
Registered User
Posts: 880
Joined: Wed Sep 01, 2004 11:21 am
Location: New York

Re: New post count on index

Post by GurlzLubme »

this is my config.php setting

@define('DEBUG_TEMPLATES', true);
//@define('DEBUG', true);
//@define('DEBUG_EXTRA', true);

so only the templates are being debugged right?
1,000,000 Thank Yous to everyone who's been helping me on phpbb.com!
Btsak
Registered User
Posts: 15
Joined: Fri Sep 09, 2005 5:37 pm

Re: New post count on index

Post by Btsak »

Αny help how post count on index working with phpbb2 ? :oops:
Tom@S
Registered User
Posts: 96
Joined: Thu Jul 12, 2007 7:33 pm
Location: SVK
Contact:

Re: New post count on index

Post by Tom@S »

yes sure, find this mod for bb2 , not this version :)
Luchtzak
Registered User
Posts: 265
Joined: Sat Jul 20, 2002 7:13 pm
Contact:

Re: New post count on index

Post by Luchtzak »

This mod is bad in performance, any chance to get this faster?
turkanime
Registered User
Posts: 20
Joined: Tue Sep 25, 2007 10:54 am

Re: New post count on index

Post by turkanime »

***Erased*** by myself.
Last edited by turkanime on Tue Jun 10, 2008 11:05 am, edited 3 times in total.
User avatar
GurlzLubme
Registered User
Posts: 880
Joined: Wed Sep 01, 2004 11:21 am
Location: New York

Re: New post count on index

Post by GurlzLubme »

a patch to resolve what, exactly?

and I think you mean overallheader.html right?
1,000,000 Thank Yous to everyone who's been helping me on phpbb.com!
User avatar
GurlzLubme
Registered User
Posts: 880
Joined: Wed Sep 01, 2004 11:21 am
Location: New York

Re: New post count on index

Post by GurlzLubme »

hmmm doesn't seem to work on 3.0.1 anymore. no support for subsilver2 either.
1,000,000 Thank Yous to everyone who's been helping me on phpbb.com!
turkanime
Registered User
Posts: 20
Joined: Tue Sep 25, 2007 10:54 am

Re: New post count on index

Post by turkanime »

Yes, html. sorry but not overallheader ;) actually, this is not patch its addon for your mod i want to show user post count number too and i add this code and its working on 3.0.1 for me.
User avatar
GurlzLubme
Registered User
Posts: 880
Joined: Wed Sep 01, 2004 11:21 am
Location: New York

Re: New post count on index

Post by GurlzLubme »

turkanime wrote:Yes, html. sorry but not overallheader ;) actually, this is not patch its addon for your mod i want to show user post count number too and i add this code and its working on 3.0.1 for me.

how do you keep the () from showing up if there are no new post counts?
1,000,000 Thank Yous to everyone who's been helping me on phpbb.com!
updown
Registered User
Posts: 542
Joined: Sat Jan 05, 2008 6:53 am

Re: New post count on index

Post by updown »

This Mod seems to be the greatest crap I've seen here since phpBB 3.0.0 has been released. Sorry, but at least from my point of view, this needs too much ressources, supplies no real value to the user, and itself is totally useless.

Besides the existing problems: Has anybody thought about not counting posts from forums where the user has no access to? :roll:

To do it right, you would need half the code from search.php to check if the user has the proper rights to read the posts. That's exactly what searching for New Posts does, when the total number of New Posts is shown at the end of the query. That means in the end, on every time you load the index-page (in prosilver, in subsilver every page!), you practically have to run the search for counting New Posts the same time instantly. That's insane, folks! :o
turkanime
Registered User
Posts: 20
Joined: Tue Sep 25, 2007 10:54 am

Re: New post count on index

Post by turkanime »

GurlzLubme wrote:
turkanime wrote:Yes, html. sorry but not overallheader ;) actually, this is not patch its addon for your mod i want to show user post count number too and i add this code and its working on 3.0.1 for me.

how do you keep the () from showing up if there are no new post counts?
Its my fault it doesnt problem if you dont () you can erase no problem. But i delete my post. I dont want put it on this page anymore.

Thanks.
Fisch.666
Registered User
Posts: 224
Joined: Sat Jul 30, 2005 10:58 am

Re: New post count on index

Post by Fisch.666 »

updown wrote:This Mod seems to be the greatest crap I've seen here since phpBB 3.0.0 has been released. Sorry, but at least from my point of view, this needs too much ressources, supplies no real value to the user, and itself is totally useless.

Besides the existing problems: Has anybody thought about not counting posts from forums where the user has no access to?
Mhhh, ok. Are there any other alternatives for this?
Luchtzak
Registered User
Posts: 265
Joined: Sat Jul 20, 2002 7:13 pm
Contact:

Re: New post count on index

Post by Luchtzak »

updown wrote:This Mod seems to be the greatest crap I've seen here since phpBB 3.0.0 has been released. Sorry, but at least from my point of view, this needs too much ressources, supplies no real value to the user, and itself is totally useless.

Besides the existing problems: Has anybody thought about not counting posts from forums where the user has no access to? :roll:

To do it right, you would need half the code from search.php to check if the user has the proper rights to read the posts. That's exactly what searching for New Posts does, when the total number of New Posts is shown at the end of the query. That means in the end, on every time you load the index-page (in prosilver, in subsilver every page!), you practically have to run the search for counting New Posts the same time instantly. That's insane, folks! :o
That's what I explained in this topic a few pages ago yet nobody answered it! This mod just eats way too much recourses!
Locked

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