Hi,
I’m using your plugin on a site where I use Optimole for optimizing and CDN.
Now, the links in the Medialist goes to the optimized CDN webp images.
But I want Medialist to link to the original files uploaded in the WordPress media folder.
Is this possible?
Kind regards,
Sander Gheldof
If upgrade to anything later than php 7.4, MediaList throws the following error:
[03-Jul-2024 00:20:01 UTC] PHP Fatal error: Uncaught TypeError: array_change_key_case(): Argument #1 ($array) must be of type array, bool given in /home/cho/public_html/wp-content/plugins/media-list/medialist.php:68
Stack trace:
#0 /home/cho/public_html/wp-content/plugins/media-list/medialist.php(68): array_change_key_case(false)
#1 /home/cho/public_html/wp-content/plugins/media-list/medialist.php(421): medialistpluginclass->medialistgeturlfilesize(Object(WP_Query))
#2 /home/cho/public_html/wp-includes/shortcodes.php(393): medialistpluginclass->medialistmainplugin(Array, ”, ‘medialist’)
#3 [internal function]: do_shortcode_tag(Array)
#4 /home/cho/public_html/wp-includes/shortcodes.php(265): preg_replace_callback(‘/\\[(\\[?)(medial…’, ‘do_shortcode_ta…’, ‘\n<p>Chicago Reg…’)
#5 /home/cho/public_html/wp-includes/class-wp-hook.php(308): do_shortcode(‘\n<p>Chicago Reg…’)
#6 /home/cho/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(‘\n<p>Chicago Reg…’, Array)
#7 /home/cho/public_html/wp-includes/post-template.php(255): apply_filters(‘the_content’, ‘<!– wp:paragra…’)
#8 /home/cho/public_html/wp-content/themes/newsup-pro/single.php(80): the_content()
#9 /home/cho/public_html/wp-includes/template-loader.php(106): include(‘/home/cho/publi…’)
#10 /home/cho/public_html/wp-blog-header.php(19): require_once(‘/home/cho/publi…’)
#11 /home/cho/public_html/index.php(17): require(‘/home/cho/publi…’)
#12 {main}
thrown in /home/cho/public_html/wp-content/plugins/media-list/medialist.php on line 68
Any help would be appreciated.
]]>I think this is going to be the perfect plugin for my needs, however I don’t understand how to “attach” a PDF to a page. I guess it’s just something I’ve never had to do in WordPress. Any assistance would be appreciated.
]]>I would like to offer website visitors an application .exe download (for trial software I have built); is this possible with this plugin?
If so, I have added the extension .exe under the custom file type facility as follows:
Description: executable
File Extension: .exe
Mime Type: ?application/x-msdownload
After I click the ‘Save Changes’ button, my custom file type is not transferred to the extra file type list.
Do I need to check any of the options at the top of the list (e.g. ‘Check only file extensions…’)?to enable my custom type?
I seem to be able to upload my setup.exe file to the media list. However, after running through the upload process, it does not figure on my media file list.
Thanks in advance for any advice.
Lar
]]>Hi, since the last wordpress update the page where the MediaList shortcode is used is giving a critical error.
I already had contact with the support of the Real Media Library plugin. They have pointed out the following problem from my error log:
0 /wp-content/plugins/media-list/medialist.php(68): array_change_key_case(false) 1 /wp-content/plugins/media-list/medialist.php(421): medialistpluginclass->medialistgeturlfilesize(Object(WP_Query)) 2 /wp-includes/shortcodes.php(433): medialistpluginclass->medialistmainplugin(Array, '', 'medialist')
3 [internal function]: do_shortcode_tag(Array)
4 /wp-includes/shortcodes.php(273): preg_replace_callback('/[([?)(medial…', 'do_shortcode_ta…', 'apply_filters('render(Array, '[medialist glob…', 'fusion_text')
9 [internal function]: do_shortcode_tag(Array)
10 /wp-includes/shortcodes.php(273): preg_replace_callback('/[([?)(fusion…', 'do_shortcode_ta…', 'render(Array, '[fusion_text co…', 'fusion_builder_…')
13 [internal function]: do_shortcode_tag(Array)
14 /wp-includes/shortcodes.php(273): preg_replace_callback('/[([?)(fusion…', 'do_shortcode_ta…', '[fusion_builder…')
15 /wp-content/plugins/fusion-builder/inc/class-fusion-row-element.php(123): do_shortcode('[fusion_builder…')
16 /wp-includes/shortcodes.php(433): Fusion_Row_Element->render('', '[fusion_builder…', 'fusion_builder_…')
17 [internal function]: do_shortcode_tag(Array)
18 /wp-includes/shortcodes.php(273): preg_replace_callback('/[([?)(fusion…', 'do_shortcode_ta…', '[fusion_builder…')
19 /wp-content/plugins/fusion-builder/shortcodes/fusion-container.php(1078): do_shortcode('[fusion_builder…')
20 /wp-includes/shortcodes.php(433): FusionSC_Container->render(Array, '[fusion_builder…', 'fusion_builder_…')
21 [internal function]: do_shortcode_tag(Array)
22 /wp-includes/shortcodes.php(273): preg_replace_callback('/[([?)(fusion…', 'do_shortcode_ta…', '[fusion_builder…')
23 /wp-includes/class-wp-hook.php(310): do_shortcode('[fusion_builder…')
24 /wp-includes/plugin.php(205): WP_Hook->apply_filters('[fusion_builder…', Array)
25 /wp-includes/post-template.php(256): apply_filters('the_content', '[fusion_builder…')
26 /wp-content/themes/Avada/100-width.php(23): the_content()
27 /wp-includes/template-loader.php(106): include('/is/htdocs/wp11…')
28 /wp-blog-header.php(19): require_once('/is/htdocs/wp11…')
29 /index.php(17): require('/is/htdocs/wp11…')
30 {main}
? thrown in /wp-content/plugins/media-list/medialist.php on line 68
The error occurs through /wp-content/plugins/media-list/medialist.php.
Is anything known about this problem?
]]>Hi
Just for information, in case that your not aware.
I am getting this message for a couple of days: “WordPress Medialist plugin <= 1.3.9 – Cross Site Scripting (XSS) vulnerability”
By the way, the plugin works flawlessly. ??
]]>we integrated the following shortcode
[medialist rml_folder=25 type=attachment order=DESC mediatype=pdf orderby=modified style=ml_white category=siegerlisten globalitems=1]
Folder “25” ist working well. Folder “15” ist causing an critical error.
What can we do? What might be the problem?
]]>Is it possible to use Medialist in combination with Media Library Folders Pro? I maintain a large media collection of currently about 25,000 files, mostly audio. I would like to display these in wordpress in the future by automatically show a folder per page. Files are in protected folders to prevent hotlinking and right-clicking.
Thanks!
]]>Is there an option to hide the medialist when there’s no files to display? (instead of showing the medialist with “Info! There are no files to display”)
I’m using the EventPrime plugin, which displays events as posts on the /events page.
For example: events/?event=103 is the page of the post with id 103.
The /events page consists only of a shortcode: [em_events]
Because of this, when I put a medialist shortcode tag on the page of an event, and view it using the permalink of this event (post), then it displays the medialist as it should.
However, when I browse the events using the /events page, and open an event from there, it shows an empty medialist because it is opened from within the /events page. (using the [em_events] shortcode)
I can make the medialist display the files from the post by assigning a category to them and setting these parameters:
globalitems=1 category=”filesfrompost103″
But then the layout isn’t shown.
I can fix this by editing the events page and adding an extra [medialist] shortcode below [em_events]. Then the medialist plugin is loaded for this page, but it also shows an extra empty medialist below the event details.
So an option to hide the medialist when there’s no files to display would be a solution for this.
Or is there another (better) way to enable the medialist plugin for the [em_events] shortcode?
]]>Unfortunately, it automatically updated my wordpress system to 6.3.1. On the pages where I use the shortcode, the following message appears when I call it: There was a critical error on your site.
I use RML (Real Media Library) as a plugin with the Medialist plugin as an add-on. Is this the case for anyone else? If I deactivate the plugin, the page load works again.
Thank you
]]>Hi, the shortcode does not work for me when I want to use it through Elementor. Is there any way to do this?
otherwise it is awesome!
]]>I am not sure how long this issue has been affecting my site, but as of right now, this entire page’s code gets removed and doesn’t load due to the plugin being used on this page. I am experiencing this issue in both PHP 7 and 8, and once I deactivate the plugin in the backend, the page comes back up like normal. It is clearly the cause of the issue, but I would really like to not have to replace this plugin.
]]>Nice plugin, would be even more awesome if it was possible to use the tax operator for IN or AND for categories and tags in the shortcode.
]]>I found a similar topic but i don’t think it’s the same. I have many documents on one page, it should work like a library of old documents. For every year i have a medialist within a details html-tag. So nothing special arround it. Is there any known issues about that? Loading time is maybe 30 seconds…
]]>Please advise how to use the “shortcode” to display the folders. I need changes in the Real Media Library to be reflected on the website.
Thanks
Slavek
]]>Shows link only with no text style or icons. Functional, but would like have the styling.
]]>I can’t seem to get a list of PDF files using “type=attachment”, while I get posts as expected using “type=post”.
I’m running version 6.1.1 of WordPress, is there any known issue with this version ?
Thanks
]]>Great plugin! However, after using it for a while, suddently the icons in front of the files (Image/PDF-icon for example) is not showing. Also the CSS-styling seems to be missing and every file just shows up as plain text, as there is no CSS added to the <li>
or the <a>
elements.
It worked fine in the start, but not anymore. Tried to delete and install the plugin again. Any suggestions?
[medialist style=ml-white globalitems=1 rml_folder=1]
The plugin will look even better if the file icons are ready for retina displays. Now they are 16×16 on all displays, but should be 32×32 on HD. I know that the Silk icon collections is only in 16×16, but there should be some other available.
]]>It would be great if we can configure which metadata to show for the attachments. Now it is fixed to file type and file size, but I would like to show attachment upload date instead for example. I’ve also seen similar request in some other topic on the forums.
Thank you for the great plugin!
]]>Fatal error on all pages with shortcodes
$head = array_change_key_case(get_headers($file_url, 1));
Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error in /var/www/wp-content/plugins/media-list/medialist.php on line 68
Warning: get_headers(): Failed to enable crypto in /var/www/wp-content/plugins/media-list/medialist.php on line 68
Warning: get_headers(https://townofkillingworth.com/wp-content/uploads/2022/11/CRC_8_1_2022.pdf): Failed to open stream: operation failed in /var/www/wp-content/plugins/media-list/medialist.php on line 68
Fatal error: Uncaught TypeError: array_change_key_case(): Argument #1 ($array) must be of type array, bool given in /var/www/wp-content/plugins/media-list/medialist.php:68 Stack trace: #0 /var/www/wp-content/plugins/media-list/medialist.php(68): array_change_key_case(false) #1 /var/www/wp-content/plugins/media-list/medialist.php(421): medialistpluginclass->medialistgeturlfilesize(Object(WP_Query)) #2 /var/www/wp-includes/shortcodes.php(356): medialistpluginclass->medialistmainplugin(Array, '', 'medialist') #3 [internal function]: do_shortcode_tag(Array) #4 /var/www/wp-includes/shortcodes.php(228): preg_replace_callback('/\\[(\\[?)(medial...', 'do_shortcode_ta...', '\n[medialist med...') #5 /var/www/wp-content/plugins/fusion-builder/shortcodes/fusion-toggle.php(515): do_shortcode('\n[medialist med...') #6 /var/www/wp-includes/shortcodes.php(356): FusionSC_Toggle->render_child(Array, '\n[medialist med...', 'fusion_toggle') #7 [internal function]: do_shortcode_tag(Array) #8 /var/www/wp-includes/shortcodes.php(228): preg_replace_callback('/\\[(\\[?)(fusion...', 'do_shortcode_ta...', '[fusion_toggle ...') #9 /var/www/wp-content/plugins/fusion-builder/shortcodes/fusion-toggle.php(400): do_shortcode('[fusion_toggle ...') #10 /var/www/wp-includes/shortcodes.php(356): FusionSC_Toggle->render_parent(Array, '[fusion_toggle ...', 'fusion_accordio...') #11 [internal function]: do_shortcode_tag(Array) #12 /var/www/wp-includes/shortcodes.php(228): preg_replace_callback('/\\[(\\[?)(fusion...', 'do_shortcode_ta...', '<div class="fus...') #13 /var/www/wp-content/plugins/fusion-builder/inc/class-fusion-column-element.php(525): do_shortcode('<div class="fus...') #14 /var/www/wp-includes/shortcodes.php(356): Fusion_Column_Element->render(Array, '[fusion_accordi...', 'fusion_builder_...') #15 [internal function]: do_shortcode_tag(Array) #16 /var/www/wp-includes/shortcodes.php(228): preg_replace_callback('/\\[(\\[?)(fusion...', 'do_shortcode_ta...', '[fusion_builder...') #17 /var/www/wp-content/plugins/fusion-builder/inc/class-fusion-row-element.php(104): do_shortcode('[fusion_builder...') #18 /var/www/wp-includes/shortcodes.php(356): Fusion_Row_Element->render('', '[fusion_builder...', 'fusion_builder_...') #19 [internal function]: do_shortcode_tag(Array) #20 /var/www/wp-includes/shortcodes.php(228): preg_replace_callback('/\\[(\\[?)(fusion...', 'do_shortcode_ta...', '[fusion_builder...') #21 /var/www/wp-content/plugins/fusion-builder/shortcodes/fusion-container.php(1070): do_shortcode('[fusion_builder...') #22 /var/www/wp-includes/shortcodes.php(356): FusionSC_Container->render(Array, '[fusion_builder...', 'fusion_builder_...') #23 [internal function]: do_shortcode_tag(Array) #24 /var/www/wp-includes/shortcodes.php(228): preg_replace_callback('/\\[(\\[?)(fusion...', 'do_shortcode_ta...', '[fusion_builder...') #25 /var/www/wp-includes/class-wp-hook.php(307): do_shortcode('[fusion_builder...') #26 /var/www/wp-includes/plugin.php(191): WP_Hook->apply_filters('[fusion_builder...', Array) #27 /var/www/wp-includes/post-template.php(253): apply_filters('the_content', '[fusion_builder...') #28 /var/www/wp-content/themes/Avada/page.php(24): the_content() #29 /var/www/wp-includes/template-loader.php(106): include('/var/www/wp-con...') #30 /var/www/wp-blog-header.php(19): require_once('/var/www/wp-inc...') #31 /var/www/index.php(17): require('/var/www/wp-blo...') #32 {main} thrown in /var/www/wp-content/plugins/media-list/medialist.php on line 68
]]>
Hi, I am currently trying to upgrade my website to PHP 8.0 or 8.1. Unfortunately the medialist is causing an error.
As soon as I insert the shortcode [medialist], the message “Info! No posts or attachments to display.”.
When I add the attribute “rml_folder=2” or “globalitems=1” to the shortcode, to catch the folders from the “Real Media Library Plugin”, the page appears empty and there is a critical error in the backend.
Is anything already known about the problem?
]]>Hi, how should I go about creating a pdf list?
How do I put pdfs in a category?
I uploaded a pdf, I assigned a category to it but I don’t see it within that category …
Then what is the shortcode needed to view the pdf list?
I am using your plugin to show all uploaded media within my site. However, I am unable to see uploaded video formats and wondering if it would be possible to add support for video formats like mp4?
Best Regards
Olly
I have used your plugin with RML before and it worked fine, Using Avada theme and not seeing pagination no matter what combination I use of shortcode.
Seeing jquery error when console viewed of $medialaistjq(..).size is not a function
Shortcode used is [medialist rml_folder=2 order=DESC orderby=DATE globalitems=1 style=ml-white]
Any thoughts? thank you!
]]>I am using RML and Medialist to replace Document Gallery. When I insert a {DF into a page, the image does not show up…only a tag(ie2022-1) appears on the page. It is however a link to the pdf and will show the pdf when clicked on.
This is true even if I have RML (free) deactivated. Suggestions?
Thanks
Mark
Has anyone had an issue with site speed? I am having major issues when the plugin is enabled and the linked files are presented. Is there a way to present the documents so teh page renders more quickly. I have them coded in accordion dropdowns now
]]>Hi, our site only has the stock media library installed. Will Real Media library need to be installed for Medalist to function? Can this be a replacement for Document Gallery?
Thanks,
Mark
Love the plugin, it works great, but I’d like to hide the filesize from our document list. Is there any way it could be done without commenting that line in the plugin code? Any chance it could be added as an option for the shortcode in the future?
Thanks!
]]>Hey Mauvedev, I’d previously posted about some code mods I made to add custom taxonomy support. Well, I have a client that wanted additional changes and I ended up modifying your Media List plugin even more. So much I forked it into a different plugin in which I flipped the names of everything around to “listmedia” so as not to cause collisions with Media List if it’s also installed. I will not be submitting mine to the WP Plugin repo but I’ve posted the code on GitHub in case you want to backport any of my mods to your plugin (see the changelog).
]]>