[CDB] Who Visited This Topic

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
martin123456
I've Been Banned!
Posts: 726
Joined: Sat Mar 05, 2011 7:44 pm

Re: [DEV] Who Visited This Topic

Post by martin123456 » Fri Sep 30, 2016 9:04 am

OmkePom wrote:Sorry,

I see only visitors at topic when they are alowed to see WVTT.

I only want moderators and up to see al visitors?

:ugeek:
There is a setting for all groups to be set to how you want it set no need to edit files if you set it up.

Image

Code: Select all

<!-- IF S_CODE_UNTIDY and S_MESS_ON_INDEX Good If_Not_TIDY_Then_SUBMIT -->

User avatar
OmkePom
Registered User
Posts: 205
Joined: Tue Jul 15, 2014 8:38 am
Name: IJsbrand Nijboer

Re: [DEV] Who Visited This Topic

Post by OmkePom » Sat Oct 01, 2016 4:33 pm

martin123456 wrote:
There is a setting for all groups to be set to how you want it set no need to edit files if you set it up.

Image
No, if users cant use it (read it) they dont show in the vieuw eigther!

:mrgreen:
You got Brains like a Peanut, OMG i insulted a Peanut!

bitsss
Registered User
Posts: 120
Joined: Fri Nov 09, 2012 11:04 am

Re: [DEV] Who Visited This Topic

Post by bitsss » Sun Oct 09, 2016 10:57 am

OmkePom wrote:Sorry,

I see only visitors at topic when they are alowed to see WVTT.

I only want moderators and up to see al visitors?

:ugeek:
I think this behavior is a heavy bug.

The group permissions sounds "Can view ....". If i set it to "NO" or "NEVER", on the one hand all affected users cannot view the extension-functionality anymore, one the other hand this users will not be logged anymore for visiting a topic.

@dmzx: what`s your opinion?

bitsss
Registered User
Posts: 120
Joined: Fri Nov 09, 2012 11:04 am

Re: [DEV] Who Visited This Topic

Post by bitsss » Sun Oct 09, 2016 11:19 am

furthermore i have an improvement proposal for the next release:

Disable "Show Avatar"

User avatar
OmkePom
Registered User
Posts: 205
Joined: Tue Jul 15, 2014 8:38 am
Name: IJsbrand Nijboer

Re: [DEV] Who Visited This Topic

Post by OmkePom » Sun Oct 09, 2016 6:52 pm

I solved it this way for Mods and higher in "viewtopic_body_footer_before.html"
OmkePom wrote:

Code: Select all

<!-- IF PERMISSION_VIEW -->
in

Code: Select all

<!-- IF PERMISSION_VIEW and U_MCP -->
or only for Admin in,

Code: Select all

<!-- IF PERMISSION_VIEW and U_ACP -->
Workes fine by me ;)
You got Brains like a Peanut, OMG i insulted a Peanut!

bitsss
Registered User
Posts: 120
Joined: Fri Nov 09, 2012 11:04 am

Re: [DEV] Who Visited This Topic

Post by bitsss » Tue Oct 11, 2016 7:08 am

OmkePom wrote:I solved it this way for Mods and higher in "viewtopic_body_footer_before.html"
@OmkePom: thank you very much for this workaround. nevertheless i hope the developer fix the problem in the next release.

Your workaround does have an affect to the group permissions.

"Can view ...." does mean now: "User will be counted"

bitsss
Registered User
Posts: 120
Joined: Fri Nov 09, 2012 11:04 am

Re: [DEV] Who Visited This Topic

Post by bitsss » Tue Oct 11, 2016 7:55 am

I have another improvement proposal:

the own username should be disabled!

User avatar
dmzx
Registered User
Posts: 767
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands
Contact:

Re: [DEV] Who Visited This Topic

Post by dmzx » Tue Oct 11, 2016 9:21 am

Change in listener

Code: Select all

if (($this->user->data['user_id'] != ANONYMOUS) && (!$this->user->data['is_bot']) && $this->auth->acl_get('u_whovisitedthistopic') && $this->config['whovisitedthistopic_allow_topics'])
to

Code: Select all

if (($this->user->data['user_id'] != ANONYMOUS) && (!$this->user->data['is_bot']) && $this->config['whovisitedthistopic_allow_topics'])
so member will be counted always, now you can set permissions to the group who can view it.
bitsss wrote:Disable "Show Avatar"
Will think about this.
bitsss wrote:the own username should be disabled!
You mean admin username?
Contact me on dmzx-web.net
 Need a Host or buy me a beer Donate and try binance.com

bitsss
Registered User
Posts: 120
Joined: Fri Nov 09, 2012 11:04 am

Re: [DEV] Who Visited This Topic

Post by bitsss » Tue Oct 11, 2016 5:23 pm

dmzx wrote:You mean admin username?
I mean the username on the first position, because this username is ALWAYS the account of the observer (i hope this is The correct english word).
It make no sense to view this username.

User avatar
dmzx
Registered User
Posts: 767
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands
Contact:

Re: [DEV] Who Visited This Topic

Post by dmzx » Thu Oct 13, 2016 6:17 pm

First post updated
Contact me on dmzx-web.net
 Need a Host or buy me a beer Donate and try binance.com

bitsss
Registered User
Posts: 120
Joined: Fri Nov 09, 2012 11:04 am

Re: [DEV] Who Visited This Topic

Post by bitsss » Fri Oct 14, 2016 7:05 am

dmzx wrote:First post updated
Great job, thanx!

In the changelog i am missing something:

Changelog v1.0.5
Added ACP option to switch off avatar
Added permission
Fixed fatal error --> viewtopic.php?p=14535956#p14535956

sunpig
Registered User
Posts: 26
Joined: Sun Sep 06, 2015 2:09 pm

Re: [DEV] Who Visited This Topic

Post by sunpig » Tue Nov 22, 2016 11:12 am

This works perfect on our phpBB 3.1.10.

Great work!

bitsss
Registered User
Posts: 120
Joined: Fri Nov 09, 2012 11:04 am

Re: [DEV] Who Visited This Topic

Post by bitsss » Sun Nov 27, 2016 7:21 pm

"Who Visited This Topic" looks like this:

MY_USERNAME, User X, User B, User K, User F, ...

"MY_USERNAME" will be shown always on the first position, so it is no usefull.

I have an idea:

normally the list will be sort by last visit. in the future, MY_USERNAME should get a special behavior:

MY_USERNAME (sort by second-to-last visit)
User X (sort by last visit)
User B (sort by last visit)
User K (sort by last visit)
User F (sort by last visit)


result (for example)
Who Visited This Topic: User X, User B, User K, MY_USERNAME, User F, ...

This list means: User X, B and K visited the topic (again) since my last visit.

It would be SOOOOO GREAT, so usefull!

Is it possible to implement?

User avatar
BBBenj
Registered User
Posts: 30
Joined: Mon Jun 02, 2014 8:05 pm

Re: [DEV] Who Visited This Topic

Post by BBBenj » Thu Feb 02, 2017 12:12 am

Hello,

I'm very interested by your wonderful extension, but I need to know ALL the visitors' name on a specific topic, not only the XXXX ones (I know how to change that number).

By the way, by editing your code, I can show the 2.500 viewers of a topic among the 310 members of my forum. In fact, I'd like your extension to show how many unique people came on a topic, how many times they came and when they came last time. Exactly what does the previous mod, in fact.

Can you do this for me, please?

TheNiceBigFella
Registered User
Posts: 38
Joined: Fri May 18, 2007 6:40 pm

Re: [DEV] Who Visited This Topic

Post by TheNiceBigFella » Fri Feb 10, 2017 4:53 pm

This has worked great so far on my live board. It would be nice to add the collapsing field.

Also it would be great, like the old one, to be able to show the ability of when the person last visited a topic. I believe the old one would show the date/time of the last visit.

So far, so good. If the above could somehow happen. I'll make a tuition donation to the cause.

Locked

Return to “Extensions in Development”