[3.2][BETA] User Topic Count

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Suggested Hosts
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
Jessica
Former Team Member
Posts: 4341
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: [ALPHA] User Topic Count

Post by Jessica » Mon Jan 12, 2015 12:43 am

I think it's better to move the total topics directly below (or above) total posts in the user profile and UCP main front page.
Please do not PM me for support unless it is absolutely necessary
Pro-choice, Atheist, Pro-LGBT rights

Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein

User avatar
mr.ruf
Registered User
Posts: 136
Joined: Thu Apr 04, 2013 11:12 pm
Location: PuErTo RiCo
Name: Harold
Contact:

Re: [ALPHA] User Topic Count

Post by mr.ruf » Mon Jan 12, 2015 1:40 am

y like this extension im waithing ... :)

User avatar
martti
Registered User
Posts: 599
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

Re: [ALPHA] User Topic Count

Post by martti » Mon Jan 12, 2015 7:35 am

Jessica wrote:I think it's better to move the total topics directly below (or above) total posts in the user profile and UCP main front page.
That was my first thought too but then I saw that 'Most active forum' and 'Most active topic' is related to post counting. If I would put directly underneath 'Total posts' then it would split the block of post counting items. So maybe it's better to put the topic count everywhere above the post count related items.

Did you test if the extension could be enabled?

User avatar
Niknovel
Registered User
Posts: 23
Joined: Mon Dec 08, 2014 8:16 am
Location: Moscow
Name: Николай
Contact:

Re: [ALPHA] User Topic Count

Post by Niknovel » Mon Jan 12, 2015 7:41 am

ERROR

Code: Select all

[ROOT]/includes/functions.php on line 2360: Cannot modify header information - headers already sent by (output started at [ROOT]/ext/marttiphpbb/usertopiccount/event/listener.php:166)
???

Code: Select all

var_dump($mode, $post_visibility, ITEM_APPROVED, $data);
Installed Expansion PhpBB3 version: 3.1.3
Installed Mods PhpBB3 version: 3.0.13-PL1

User avatar
martti
Registered User
Posts: 599
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

Re: [ALPHA] User Topic Count

Post by martti » Mon Jan 12, 2015 7:47 am

Niknovel wrote:ERROR

Code: Select all

[ROOT]/includes/functions.php on line 2360: Cannot modify header information - headers already sent by (output started at [ROOT]/ext/marttiphpbb/usertopiccount/event/listener.php:166)
???

Code: Select all

var_dump($mode, $post_visibility, ITEM_APPROVED, $data);
Oops. It's fixed now.
Thank you for testing and reporting!

User avatar
Niknovel
Registered User
Posts: 23
Joined: Mon Dec 08, 2014 8:16 am
Location: Moscow
Name: Николай
Contact:

Re: [ALPHA] User Topic Count

Post by Niknovel » Mon Jan 12, 2015 8:13 am

Topics: 0
Search found 15 matches ???
Installed Expansion PhpBB3 version: 3.1.3
Installed Mods PhpBB3 version: 3.0.13-PL1

User avatar
martti
Registered User
Posts: 599
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

Re: [ALPHA] User Topic Count

Post by martti » Mon Jan 12, 2015 8:22 am

Niknovel wrote:Topics: 0
Search found 15 matches ???
I'm not experiencing this.
What's your database?
Is this for other users as well?
What's the id of the user?

User avatar
Niknovel
Registered User
Posts: 23
Joined: Mon Dec 08, 2014 8:16 am
Location: Moscow
Name: Николай
Contact:

Re: [ALPHA] User Topic Count

Post by Niknovel » Mon Jan 12, 2015 8:33 am

Installed Expansion PhpBB3 version: 3.1.3
Installed Mods PhpBB3 version: 3.0.13-PL1

User avatar
martti
Registered User
Posts: 599
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

Re: [ALPHA] User Topic Count

Post by martti » Mon Jan 12, 2015 8:33 am

Niknovel wrote:Topics: 0
Search found 15 matches ???
Maybe the topics showed in search were soft-deleted? It seems search counts also the soft-deleted items when you are an admin.

User avatar
Niknovel
Registered User
Posts: 23
Joined: Mon Dec 08, 2014 8:16 am
Location: Moscow
Name: Николай
Contact:

Re: [ALPHA] User Topic Count

Post by Niknovel » Mon Jan 12, 2015 10:47 am

Search does not work correctly. Global expansion requires revision.
Installed Expansion PhpBB3 version: 3.1.3
Installed Mods PhpBB3 version: 3.0.13-PL1

User avatar
martti
Registered User
Posts: 599
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

Re: [ALPHA] User Topic Count

Post by martti » Mon Jan 12, 2015 10:53 am

Niknovel wrote:Search does not work correctly. Global expansion requires revision.
It's not really clear to me what you mean. Global expansion?

User avatar
Niknovel
Registered User
Posts: 23
Joined: Mon Dec 08, 2014 8:16 am
Location: Moscow
Name: Николай
Contact:

Re: [ALPHA] User Topic Count

Post by Niknovel » Mon Jan 12, 2015 10:59 am

martti wrote:Global expansion?
Revision, improvement, modification, refinement, elaboration, rework, reworking...

Sorry for bad English.
Installed Expansion PhpBB3 version: 3.1.3
Installed Mods PhpBB3 version: 3.0.13-PL1

User avatar
martti
Registered User
Posts: 599
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

Re: [ALPHA] User Topic Count

Post by martti » Tue Jan 13, 2015 8:44 pm

You are right. The link to search was counting all topics where someone posted, not only the first post. I had to add the query parameter/value sf=firstpost to the link.

djnerve
Registered User
Posts: 34
Joined: Thu Jul 07, 2005 11:52 pm

Re: [ALPHA] User Topic Count

Post by djnerve » Fri Jan 16, 2015 7:26 pm

Thank you martti 8-) exactly what I needed!

djnerve
Registered User
Posts: 34
Joined: Thu Jul 07, 2005 11:52 pm

Re: [ALPHA] User Topic Count

Post by djnerve » Fri Jan 16, 2015 8:26 pm

Not a problem for me but noticed it doesn't show in private messages, might be something you can addd in the future. Well done very good extension.

Post Reply

Return to “Extensions in Development”

Who is online

Users browsing this forum: </Solidjeuh>, Graschi, KevC, Mannix_, Puchahawa, Restless Rancor and 32 guests