WordPress.org

Ready to get started?Download WordPress

Forums

Automatic Youtube Video Posts Plugin
Total Videos Imported: 0 (5 posts)

  1. meathor
    Member
    Posted 2 years ago #

    Hello,

    first, sry but my english is not the best.

    When i install the Plugin and press the import button, after configure them, the message "Total Videos Imported: 0" appear and does not change. After some Time i check in an new tab the post list and all videos are importet but the plugin still displays "Total Videos Imported: 0" and no other massages appear. The FF Pluigin FireBug shows that the plugin still fire AJAX requests after all videos are importet so the Import never ends.

    Any solutions? I need a message is the import is finished.

    grz

    Meathor

    http://wordpress.org/extend/plugins/automatic-youtube-video-posts/

  2. iseroma
    Member
    Posted 2 years ago #

    I also get the same message: "Total Videos Imported: 0." This plugin used to work for me, and now it is not. Sorry that I don't have a solution. Does anybody else have ideas?

  3. meathor
    Member
    Posted 2 years ago #

    Tomorrow i will Post the sulotion thats work For me. When i back at home

  4. meathor
    Member
    Posted 2 years ago #

    in plugindir/js/admin.js

    search:

    status : function() {

    other js code

    },
    .......

    replace with

    status : function () {
    			var t = this;
    			$.ajax({
    				async : true,
    				type : 'GET',
    				url : ayvpp_root+'/wp-admin/admin-ajax.php',
    				dataType : 'text',
    				data : 'page=ayvpp-import-videos&action=ayvpp_status&_wpnonce='+$('#_wpnonce').val(),
    				success : function (m) {
    					var a=[],m = m.split('<->');
    					$.each(m,function () {
    						if(this.length > 0) {
    							a[a.length] = this;
    						}
    					});
    					if (m == 0) {
    						c = 0;
    					}
    					else {
    						c = a.length;
    					}
    						$('#ayvpp_total').html('Import gestartet! '+ a.length + ' Videos importiert.');
    						$('#ayvpp_list').attr('style', 'border:0;height:100px; width:300px; overflow:scroll; display:block');
    						$('#ayvpp_list').html(a.join('<br />'));
    				},
    				error : function () {
    				}
    			});
    		},
  5. mpraetzel
    Member
    Plugin Author

    Posted 2 years ago #

    Most likely the plugin wasn't able to create a necessary file for the AJAX import called:
    ayvpp.txt

    It attempts to create it in your /wp-content/cache/ folder. Is the file present for thoe of you with issues?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic