If it's just a matter of renaming, I recommend this must-have plugin.
Use the release for Elgg version you're running.
Just look for the Elgg tab in the "Recommended Releases" section when downloading the plugin.
1 - Download My plugin (Currently only available for Elgg 5, but I will release a version for Elgg 6 in a few hours.)
2 - Open \my_plugin\elgg-plugin.php and after
'bootstrap' => \MyPlugin\Bootstrap::class, // for more options
add this section:
'actions' => [
'discussion/save' => [
'access' => 'admin',
],
'file/upload' => [
'access' => 'admin',
],
],
I already have an embed plugin activated. But it is the one delivered with the Core whereas your link points to oscarotero / Embed . Please note that I all Elgg 3 tests below are with oembed (Coldtrick)/ embed(Core) plugins. Maybe I should also try with oembed (Coldtrick)/ embed(oscarotero) combination.
Please check the links I mentioned.
Embed bundled plugin has nothing to do with it (this plugin is not even about web scraping).
I was talking about oEmbed plugin by ColdTrick, which ALREADY uses 3rd-party Embed library.
You just need to look at the capabilities of this library to understand how oEmbed plugin works.
Also my link to the hypeScraper plugin allows you to install this plugin for Elgg 3.
Of course, for the next versions of Elgg this plugin needs to be updated.
But we have successfully used this plugin in our projects on Elgg 3. There were no problems with its activation.
As for the link tests, as I mentioned in the previous reply, site parsing depends on many factors (read timeout, user agents, proxies, captchas, IP blocking etc) and it's very difficult to find a perfect solution.
Thanks for the Flickr test, we will fix it.
Embed bundled plugin has nothing to do with it (this plugin is not even about web scraping).
I was talking about oEmbed plugin by ColdTrick, which ALREADY uses 3rd-party Embed library.
Indeed. I had a quick look and I missed the whole point that embed(oscarotero) is a library.
Also my link to the hypeScraper plugin allows you to install this plugin for Elgg 3.
Of course, for the next versions of Elgg this plugin needs to be updated.
But we have successfully used this plugin in our projects on Elgg 3. There were no problems with its activation.
I had already fetched that hypeScraper version but could not get it scraping. To be honest, I have not tried hard, mainly because it has support up to Elgg 3.x (hopefully also for 3.3) and I would like to try upgrading as quickly as possible, as high Elgg version as possible to see all the new functionality & then decide for an "optimum version" to settle later. For now, doing everything in a virtual machine offline version.
it's very difficult to find a perfect solution.
Indeed it seems to be the case...
THANK YOU VERY MUCH for your feedback. I really appreciate it!
cheers!
Forgot to mention that hypeScraper plugin has 'Linkify longtext output' option.
It allows you to display oEmbed links in the body of the output/longtext view, i.e. TheWire isn't available in this case.
In the admin section of the completed upgrades you can reset an upgrade (under the 3 dots). That way you can re-run it and it'll complete the remaining 77 items (if al goes well).
A tip if you have access to a command prompt on the server. Run the upgrades through the CLI command `elgg-cli upgrade` and `elgg-cli upgrade async`. Running the upgrades through the webserver works but for larger databases it's more stable to use the CLI command.
https://learn.elgg.org/en/stable/intro/elgg-cli.html#available-commands
Thank you very much Jerome Bakker !
I had seen the Reset option but I thought it would start from scratch. It was a pleasant surprise that it continues from the remaining work. After a few iterations, it seems to have converted all remaining stuff.
Before the Reset, I tried to do it with elgg-cli but got the error "Stash\Driver\Apc is not available" at $app->start . I see some composer references in the comments of the script. It might be some composer dependency which I do not use (tried using Composer for installation of Elgg 2.x it long time ago but could not get it work but I have plans to use it from Elgg 5 further).
Anyways my problem is resolved. THANK YOU!
cheers.
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.