Support Invitation list on Member profile

Damnatio

Licensed
Licensed
Upgrade Coupons
Invite System
User Upgrade Duration
User Upgrade Pro
Joined
Jan 16, 2025
Messages
2
Reaction score
1
Hey,

the addon is using the "ACP->User options->Members to list per-page" as how many invites should be shown on members profile per page and by default its set to 20. As soon as a user invited more than 20 people there are multiple pages to see the other invites.

The problem is, that you cant switch the pages, you can click on Page2 for example but you'll stay on page 1.

Page1 Link: "/members/USERNAME.ID/#xsInvitations"
Page2 Link: "members/USERNAME.ID/page-2/invitations" <- this isnt working.

A fix would be cool.

Best Regards
 
Hey,

the addon is using the "ACP->User options->Members to list per-page" as how many invites should be shown on members profile per page and by default its set to 20. As soon as a user invited more than 20 people there are multiple pages to see the other invites.

The problem is, that you cant switch the pages, you can click on Page2 for example but you'll stay on page 1.

Page1 Link: "/members/USERNAME.ID/#xsInvitations"
Page2 Link: "members/USERNAME.ID/page-2/invitations" <- this isnt working.

A fix would be cool.

Best Regards
I'll have a look ;)
 
I'll have a look ;)
That update was fast! But sadly still buggy, now it shows 1 member per page only.

InviteSystem\XF\Pub\Controller\Member.php

Change line 14
Code:
$perPage = 1;
to
Code:
$perPage = $this->options()->membersPerPage;

then its fixed. :)
 
That update was fast! But sadly still buggy, now it shows 1 member per page only.

InviteSystem\XF\Pub\Controller\Member.php

Change line 14
Code:
$perPage = 1;
to
Code:
$perPage = $this->options()->membersPerPage;

then its fixed. :)
Ah yes, you're right.
I did some tests and forgot to put it back.
 
Back
Top Bottom