Forum Replies Created

Viewing 15 replies - 31 through 45 (of 48 total)
  • I tried, too, but have an issue, decribed in
    this post

    Any idea really apreciated

    Thanks!

    Hi,
    I think I’m in the same issue. My problem is: I’m looking at an attachment (image.php), and commenting it and logout. At this point I’m redirected to the parent post of the attachment.

    The problem should be in FB.Connect.logoutAndRedirect(\”<?php the_permalink() ?>\”), in these lines (taken from /plugins/simple-facebook-connect/sfc-comments.php):

    if (!jQuery('#fb-user').length) {
    		jQuery('#comment-user-details').hide().after("<span id='fb-user'>" +
    		"<fb:profile-pic uid='loggedinuser' facebook-logo='true' size='normal' height='96'></fb:profile-pic>" +
    		"<span id='fb-msg'><strong><fb:intl>Ciao</fb:intl> <fb:name uid='loggedinuser' useyou='false'></fb:name> !</strong><br /><fb:intl>Sei connesso con il tuo account Facebook.</fb:intl>" +
    		" <a href='#' onclick='FB.Connect.logoutAndRedirect(\"<?php the_permalink() ?>\"); return false;'>Logout</a>" +
    		"</span></span>");
    		jQuery('#sfc_comm_send').html('<input style="width: auto;" type="checkbox" id="sfc_comm_share" /><label for="sfc_comm_send"><fb:intl>Condividi anche su Facebook</fb:intl></label>');
    	}

    The Loop I’m using comments_template() in is a personalized one, so I’ve tried to add wp_reset_query() before comments_template(), but doesn’t work, and after the logout I’m redirected to the parent post.

    Anybody can help?
    Thanks

    Has a new release been released since 4 months? ??
    I need a sort of “I’ll attend” “Maybe…” RSVP Facebook style, too. I think would be usefull for a lot of people.

    Thank you!
    Bye

    RSVP would be a very useful feature! Any news?
    Thanks

    I think some js is broken. Have a look at the html of the select element and copy the corresponding option value on the input text below the select element

    Forum: Plugins
    In reply to: Double image with thickbox

    If you have a look at the source code, you should see two inclusion of the thickbox.js script.
    This causes the problem. Delete one and it should be ok, that worked for me.
    Bye
    Matteo

    I’ve got the same problem, in particular the unordered and ordered list are not rendered, while “strong” tags are.

    Hope the Plugin author has some time to fix it…
    Thanks

    teonsight

    (@teonsight)

    WP 2.7, wp-includes/query.php at line 2041 seems like not having code for case “menu_order”

    Change

    case 'menu_order':
      break;

    to

    case 'menu_order':
      $orderby = "$wpdb->posts.menu_order";
      break;

    and it will work. Write this change down somwhere ??
    Strange it’s not implemented.

    teonsight

    (@teonsight)

    In WP therei is exclude_tree but doesn’t seem to work properly. Does it for you? Can you try it?

    Thread Starter teonsight

    (@teonsight)

    I created this workaround to solve the problem. Basically I use the WP function “image_resize_dimensions” which calculates the dimensions of a resized image, according to Settings->Media numbers.

    My workaround is supposed to be used with images that contain no other dots except the one for the extension: i.e. my.picture.jpg doesn’t work, while my-picture.jpg works.

    Finally…here is the code:

    //Gets the custom field of the post
    $strSrcImgName = get_post_meta($post->ID, ‘img_main’,1);
    
    //Gets dims of the original image
    list($orig_w, $orig_h) = getimagesize( $_SERVER["DOCUMENT_ROOT"].get_option(’upload_path’).’/’.$strSrcImgName );
    
    //Calculates dims of the “medium size” resized image
    list($dst_x, $dst_y, $src_x, $src_y, $dst_w, $dst_h, $src_w, $src_h) = image_resize_dimensions($orig_w, $orig_h, get_option(’medium_size_w’), get_option(’medium_size_h’), false);
    
    //..here it is why it doesn’t work with images with more than one dot
    $aImgName = explode(’.',$strSrcImgName);
    $strMediumImgName = $aImgName[0].’-’.$dst_w.’x’.$dst_h.’.’.$aImgName[1];

    Found! The problem with custom fields came from values with slashes.

    I solved the problem with passing $meta_info->meta_key through the php function addslashes.

    File /plugins/duplicate-post/duplicate-post.php lines 402 -> 406:

    replace

    if ($i<count($post_meta_infos)-1) {
        $sql_query .= "SELECT $new_id, '$meta_info->meta_key', '$meta_info->meta_value' UNION ALL ";
    } else {
        $sql_query .= "SELECT $new_id, '$meta_info->meta_key', '$meta_info->meta_value'";
    }

    with

    $meta_value = addslashes($meta_info->meta_value);
    
    if ($i<count($post_meta_infos)-1) {
        $sql_query .= "SELECT $new_id, '$meta_info->meta_key', '$meta_value' UNION ALL ";
    } else {
        $sql_query .= "SELECT $new_id, '$meta_info->meta_key', '$meta_value'";
    }

    First of all thank you for this very useful plugin! ??

    Does the plugin duplicate custom fields as well?
    Seems like having trouble in doing this. Anybody else having the same problem?

    Side Content plugin is now ready to support NextGen Gallery plugin and qTranslate plugin shortcodes!

    This makes possible to have a specific NG gallery for each post, just write the shortcode in the Side Content Widget.

    Same if you want a translated content: write in the Side Content Widget as follows:

    [lang_it]Contenuti in italiano[/lang_it][lang_en]English contents[/lang_en][lang_fr]Sorry, I don’t know french :)[/lang_fr] and so on…

    Thank you Alfred and Comunicrea (this is my company :P)!

    Hi,

    I think the fastest way to have a NextGen gallery in a sidebar for each post/page would be to let “Sidebar Content plugin” understand and parse the NG gallery tags ( [gallery=N] and the others ).

    I asked the SB plugin autor and he told me that the NG gallery filter that do this is also used for other purposes, so it’s not easy (for him at the moment) to add this functionality.

    Does anyone – Alex in particular as the father of NG ?? – have a suggestion to this problem? An “easy” way to modify an NG filter to be added to SB plugin?

    Thank you very much.

    I wrote a comment on His article about the release of NextGen 1.0, hope He will read it ??

    Are You reading us, poor humans, Alex? ??

Viewing 15 replies - 31 through 45 (of 48 total)