Useless  

  RSS

Pikitsu
(@rotta)
Active Member Customer
Joined:1 year  ago
Posts: 6
16/06/2018 3:33 pm  

All attachments are in Media > Forum Attachments, but you cant use those images or files anywhere else in Wordpress.  Therefore useless.


ReplyQuote
Astghik
(@astghik)
Prominent Member Moderator
Joined:8 months  ago
Posts: 752
16/06/2018 4:58 pm  

Hi Pikitsu,

wpForo Advanced Attachments is designed especially for wpForo and provide all the most important wpForo features.

WordPress "Media library" uses wp_posts, wp_postmeta database tables.  Each file adds 1 row in wp_posts DB table and 2 rows in DB wp_postmeta table. E.g. if the forum has about 5.000 attached files in wp_posts the rows increase by 5.000 and in the wp_postmeta table the row's count will increase by 10.000. Thus, wp_posts, wp_postmeta will includes all WordPress previously inserted rows  + 15.000 row.  So you can notice, that it will have an effect on WordPress site performance (all plugins, themes, and Wordpress, that use wp_posts, wp_postmeta tables, will work slowly).

To avoid this, wpForo advanced attachment system uses separate wp_wpforo_attachments table, e.g. if the forum has about 5.000 attached files, in wp_wpforo_attachments will have only 5000 rows.

To sum up, The DB search will work faster in 5.000 indexed rows, then about 100.000 rows (all WordPress previously inserted rows  + 15.000 rows).

-----------------------------------------------------------------------------------------------------------------

If you need it, we can take your suggestion into consideration, to make it optional for future releases. 

If we decide to add such an option, it will be disabled by default, as only 1% of customers would like to have this. Also if this option will be enabled it duplicates files both in WordPress media library and wpForo Advanced Attachment library. 


ReplyQuote
Pikitsu
(@rotta)
Active Member Customer
Joined:1 year  ago
Posts: 6
23/06/2018 7:33 pm  

"only 1% of customers would like to have this." In my opinion, (99%) or most admins (which i know) want to add photos to the front page. Like the "Best photos", "10 best photos" or "The latest photos" and so on.


ReplyQuote
Share: