Maurizio Spicuglia
Forum Replies Created
-
Forum: Plugins
In reply to: [Quick Chat] Sort orderForum: Plugins
In reply to: [Quick Chat] show-chat-messages-in-reverse-chronological-orderopen this file quick-chat-core.js and change ‘append’ with ‘prepend’ like in dev file and then find this line:
jQuery(g).animate({scrollTop:jQuery(g)[0].scrollHeight},500)});
and chebage it with:
jQuery(g).animate({scrollTop:0},500)});
and disable debuggin mode.
maybe help someone.REMENBER THAT YOU ARE CHANGING CORE FILE OF THE PLUGIN, SO BEFORE UPDATE IT SAVE YOUR FILES.
bye
MaurizioForum: Plugins
In reply to: [Cool Video Gallery] Youtube device support when adding new video'sduration is still 0:00:00…. ??
Forum: Plugins
In reply to: [Cool Video Gallery] Youtube device support when adding new video'sHi payplautje thanks for your response, but if i change “videoDuration” instead of “duration” , in Manage Gallery is still 0:00:00..
for “Task Queue failed at step 5” problems?
no one use youtube-nocookie solution?bye
MaurizioForum: Plugins
In reply to: [Cool Video Gallery] Youtube device support when adding new video'si have the proper API key, but the duration is still 0:00:00
in youtube.php we have
// get <yt:duration> node for video length $obj -> length = $media -> {'items'}[0] -> {'contentDetails'} -> {'duration'};
but in gallery-details.php we have:
_e('<b>Duration:</b> '); echo $video_meta_data['videoDuration'];
maybe we have to change
$video_meta_data['videoDuration'];
?Forum: Plugins
In reply to: [Cool Video Gallery] Youtube device support when adding new video's@cica.c : probably you have entered the full link to the video, you had to enter only the VIDEO ID….
Forum: Plugins
In reply to: [Cool Video Gallery] Youtube device support when adding new video'sanother problem
in Manage Gallery where i see the list of the videos, for new ones i see this: Duration: 00:00:00.0why now it can’t retrieve the duration of the video?
thanks for your response @payplautje
Forum: Plugins
In reply to: [Cool Video Gallery] Youtube device support when adding new video's[update]
i change this line
$obj -> watchURL = 'https://www.youtube.com/watch?v=' . $media -> {'items'}[0] -> {'id'};
with this one for cookie policy reason
$obj -> watchURL = 'https://www.youtube-nocookie.com/embed/' . $media -> {'items'}[0] -> {'id'};
onliy with this change i receive the error…
Forum: Plugins
In reply to: [Cool Video Gallery] Youtube device support when adding new video'shi i change youtube.php and the video is loaded, but when i click on it i receive this message “Task Queue failed at step 5: Playlist could not be loaded due to crossdomain policiy restrictions.”
i use jwplayer to view the youtube video..this for new video , for old ones i have no problem.
thanks
MaurizioForum: Plugins
In reply to: [Cool Video Gallery] option no-cookie for youtube url videosolution to use yuotube Api 3.0 and link no-cookie is here
https://www.ads-software.com/support/topic/youtube-device-support-when-adding-new-videos
Forum: Plugins
In reply to: [Cool Video Gallery] option no-cookie for youtube url videoin lib/youtube.php line 42 i found
// get video player URL
$attrs = $media -> group -> player -> attributes();
$obj -> watchURL = $attrs[‘url’];but how can i use the no-cookie option?
Forum: Plugins
In reply to: [Mass Email To users] more than 100 user is possible?i modified this line 386 in wordpressmassemail.php
from:
$selectBox = $pager->getPerPageSelectBox(10,100,10,false,$options);
to:
$selectBox = $pager->getPerPageSelectBox(10,1000,10,false,$options);
so now i can see all my 1000 users email. it’s right? the plugin works with this change?
bye
MaurizioForum: Plugins
In reply to: [Cool Video Gallery] backslash every time update videosopen lib\core.php
this is for video description,after row 1251:
$desc = $wpdb->escape($value);
add this line
$desc = stripcslashes($desc);
before
$wpdb->query( "UPDATE " . $wpdb->prefix . "cvg_videos SET description = '$desc' WHERE pid = $key");
just below there is the same for video title
$desc = $wpdb->escape($value);
add this line
$desc = stripcslashes($desc);
before
$wpdb->query( "UPDATE " . $wpdb->prefix . "cvg_videos SET video_title = '$desc' WHERE pid = $key");
no more backslash are added .
Bye
MaurizioForum: Plugins
In reply to: [Cool Video Gallery] Display Description for Gallery ThumbnailsHi at row 1630 of the file lib/core.php i add $video->description to show the video description
from this
$out .= '<br clear="all"/><div style="text-align:center;width:'.$thumb_width.'px;">'. stripcslashes($current_video_title).'</div><div class="clear"></div></div>';
to this
$out .= '<br clear="all"/><div style="font-size:12px;text-align:center;width:'.$thumb_width.'px;"><strong>'. stripcslashes($current_video_title).'</strong><br />' .$video->description.'</div><div class="clear"></div></div>';
it’s not good to change php file but if the new version can add this it’ll be wonderful.
bye
MaurizioForum: Plugins
In reply to: [Cool Video Gallery] Not accepting you tube urlsHi you have to put the video ID instead the full link
He said in the admin page:
Example: Video ID for URL https://www.youtube.com/watch?v=YE7VzlLtp-4 is YE7VzlLtp-4so you have to put only YE7VzlLtp-4
bye Maurizio