emails come and emails go.. it is the heart that is re-membered all-ways ;)
i prefer to just update the main elgg videolist repo once i get that process working as it is one less job for me to do and i already have too many.
U also get these elgg 1.10?
"Deprecated in 1.9: register_notification_object is deprecated by elgg_register_notification_event()"
Deprecated in 1.9: elgg_register_entity_url_handler is deprecated. Use the plugin hook in \ElggEntity::getURL()
When adding a youtube video i get this error , i´m using elgg 1.8.16
Exception Object
(
[message:protected] => String could not be parsed as XML
[string:private] => exception 'Exception' with message 'String could not be parsed as XML' in /home/a9841557/public_html/mod/videolist/lib/Videolist/Platform/Youtube.php:41
Stack trace:
#0 /home/a9841557/public_html/mod/videolist/lib/Videolist/Platform/Youtube.php(41): SimpleXMLElement->__construct('')
#1 /home/a9841557/public_html/mod/videolist/actions/videolist/edit.php(50): Videolist_Platform_Youtube->getData(Array)
#2 /home/a9841557/public_html/engine/lib/actions.php(97): include('/home/a9841557/...')
#3 /home/a9841557/public_html/engine/handlers/action_handler.php(20): action('videolist/edit')
#4 {main}
[code:protected] => 0
[file:protected] => /home/a9841557/public_html/mod/videolist/lib/Videolist/Platform/Youtube.php
[line:protected] => 41
[trace:private] => Array
(
[0] => Array
(
[file] => /home/a9841557/public_html/mod/videolist/lib/Videolist/Platform/Youtube.php
[line] => 41
[function] => __construct
[class] => SimpleXMLElement
[type] => ->
[args] => Array
(
[0] =>
)
)
[1] => Array
(
[file] => /home/a9841557/public_html/mod/videolist/actions/videolist/edit.php
[line] => 50
[function] => getData
[class] => Videolist_Platform_Youtube
[type] => ->
[args] => Array
(
[0] => Array
(
[video_id] => 885XEkYb_CM
)
)
)
[2] => Array
(
[file] => /home/a9841557/public_html/engine/lib/actions.php
[line] => 97
[args] => Array
(
[0] => /home/a9841557/public_html/mod/videolist/actions/videolist/edit.php
)
[function] => include
)
[3] => Array
(
[file] => /home/a9841557/public_html/engine/handlers/action_handler.php
[line] => 20
[function] => action
[args] => Array
(
[0] => videolist/edit
)
)
)
)
here's another fix to remove the currently viewed video from the sidebar videolist block on the video watch pages:
in videolist_block.php, replace the $options array definition with:
$entity_guid = get_input('guid');
$options = array(
'container_guid' => $container_guid,
'limit' => elgg_extract('limit', $vars, 6),
'type' => 'object',
'subtypes' => 'videolist_item',
'full_view' => false,
'pagination' => false,
'wheres' => array('guid <> ' . $entity_guid), // exclude this item from list.
);
another fix. this is to correctly forward the page after a video has been deleted from the video's own page.. presently the page is forwarded back to the deleted video's old address which no longer exists.. (not sure why since the php logic looks ok).
anyway..
replace all code in the delete.php action file inclusive of and and below line 24: (if (!videolist_item->delete))) {
replace with:
if (!$videolist_item->delete()) {
register_error(elgg_echo("videolist:deletefailed"));
} else {
system_message(elgg_echo("videolist:deleted"));
if (elgg_instanceof($container, 'group')) {
forward("videolist/group/$container->guid/all");
} else {
forward("videolist/owner/$container->username");
}
}
forward(REFERER);
I have a problem in my community with this videolist and his notifications. I'm not an code expert but it's easy to see than every lenguage file (en, es, pt, etc) has diferent variables for notifications. In my case, the plugin sends only a notification title, without body text, and always like a "new video" if the notice is only a video commented. Anyone have a similar problem?
Definitely I prefer VideoList against iZap Videos. The community iZap has long stop without answers.
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.