Notifications
Clear all

Limited Support

Our support team is currently on holiday from December 25, 2025 to January 7, 2026, and replies may be delayed during this period.

We appreciate your patience and understanding while our team is away. Thank you for being part of the gVectors community!

Merry Christmas and Happy Holidays! 🎄

Pagination?

12 Posts
2 Users
1 Reactions
9,287 Views
Astghik
Posts: 6580
Admin
(@astgh)
Illustrious Member
Joined: 8 years ago

Hi @radiostv,

As a temporary solution, I can suggest you the following changes. 

Put the following code in class.wpForoAttachUploadHandler.php file as shown in the screenshot. The file is located in the  wp-content/plugins/wpforo-advanced-attachments/includes/ folder.

$files = array_diff($files, array('.', '..', 'thumbnail'));
$files = array_slice($files, 0, 20);
last20

Reply
radiostv
Posts: 115
Customer
Topic starter
(@radiostv)
Member
Joined: 8 years ago

Hi @astghik

I cannot thank you enough, that works a treat.

A fantastic temporary solution now my members with many attachments, can now continue to use the attach interface once again. 

I guess I will need to keep re-editing and adding this code if the plugin gets further updates.

Once again many thanks.


Reply
Page 3 / 3
Share:
Scroll to top