User Activity by Xon

User Activity by Xon 2.14.0

No permission to download
I think its Xenforo bug, but this addon doesn't show correctly the list of connected users of a thread (only showing myself) in Xenforo 2.3RC4.

Fixed by changing "src/addons/SV/UserActivity/XF/Pub/Controller/Thread.php" line 75 from:

Code:
'controller' => \XF\Pub\Controller\Thread::Class,
to:
Code:
'controller' => \XF\Pub\Controller\ThreadController::Class,

But not ideal fix for backwards compatibility 😅
 
That isn't supported in this add-on, as it is hard coded to only show recent reads in the last X minutes (default is 15 minutes, changing this impacts what XF considers recent and is strongly not recommended to be a large value)
 
That isn't supported in this add-on, as it is hard coded to only show recent reads in the last X minutes (default is 15 minutes, changing this impacts what XF considers recent and is strongly not recommended to be a large value)
I would like to change it from 15 Minutes to a couple hours or more. My client just migrated from Vbulletin and they really want the old plug in "who viewed a thread". that was available.
 
I would like to change it from 15 Minutes to a couple hours or more. My client just migrated from Vbulletin and they really want the old plug in "who viewed a thread". that was available.
This should be fairly straight forward, if you are willing to pay for the modification for this can you open a ticket on my add-on site?
 
Installed both the addons (attached).
redi user activity.webp


Yet user activity under the thread is not visible (attached). The thread is visited by a lot of users.

user online.webp

The following information became visible after editing src/config.php file and adding provided cache coding.





info redis.webp

$config['cache']['provider']['userActivity'] =[
'server' => '127.0.0.1',
'port' => '6379';
];


The following coding was actuated before that.

1720573519562.webp
Should I reinstall both add-ons?
Please help.
 

Attachments

  • 1720573509281.webp
    1720573509281.webp
    21.4 KB · Views: 0
This addon only shows if a user has visited in the last 15 minutes (well whatever "Online status timeout" is set to. This is site wide!), and only shows a counter for guests.

You might need to enable the "user activity tracks robots" option to add those to guest totals
 
This addon only shows if a user has visited in the last 15 minutes (well whatever "Online status timeout" is set to. This is site wide!), and only shows a counter for guests.

You might need to enable the "user activity tracks robots" option to add those to guest totals
I have deleted the Redis add-on.
Now only have User Activity add-on.
Will reinstall. After the bug with v2.3.0 is fixed (as per conversation).
Thanks
 
@Xon in 'js/sv/useractivity/last_seen.min.js', within init function there's a remove statement. We are using an extension called [OzzModz] Verification Badge that adds an element after usernames. The element that added conflicts with the init function.
A potential solution might be using element.parentElement.querySelector(`[data-xf-init='user-activity-last-seen'] ~ ${ this.options.textTarget }`)

@Vavien find this bug and give this solution.

1721720901144.webp

1721720929198.webp

1721720935313.webp
 
hello,
ive just installed this and we have xfes also installed with similar threads widget.....i want this widget above the similar threads one, but cant figure out the easy way.....ive set the sort order of the similar threads widget increasingly up to 100000, it just doesnt seem to recognize your widget as existing....anyone have a trick?

regards
 
the problem is: This is not a widget. ;)

It's inserted with template modifications. You can just select various positions here: admin.php?options/groups/svUserActivity/.
yes i realize, but it still ammt to an issue.....those position options dont do what im trying to do either, there are only a few of them...it could be better off as a widget perhaps but im not sure what solution @Xon might suggest.....i might add that there are other addon widgets that go down there like who has read thread who is watching or such.....it could be really nice to be able to order that area so it makes the best sense...

regards
 
Hi;

I'm trying to add an image to a marked field in the image. The line of code I am using is the code below, but it is not working. What am I doing wrong?


Code:
#uaThreadViewContainer .block-minorHeader::before {
    background-image: url(/styles/default/xenforo/kategorikucuklogo.webp);
    background-repeat: no-repeat;
    background-position: 99.5%;
    background-size: 8%;
}

Screenshot_1.webp


example topic link ; topic
 
The users listed as "Users who are viewing this..." are those who have viewed the thread/conversation/forum in the last xx minutes (Online status timeout), including guests.

Users will remain on this list for xx minutes, even if you close your browser or navigate to other forum pages.
You will only be removed from the list after xx minutes of inactivity on that page.

Users are not removed from the list even if they navigate to other forum pages?
Is this by design? Or a misconfiguration on my side?

The only remedy is that I set my "Online status timeout" to something lower like 3 minutes?
 
Users are not removed from the list even if they navigate to other forum pages?
Is this by design? Or a misconfiguration on my side?

The only remedy is that I set my "Online status timeout" to something lower like 3 minutes?
Yes, only option is to lower timer.

A separate one would be a great if possible.
 
  • Like
Reactions: rdn
Back
Top Bottom