WordPress.org

Plugin Directory

Changeset 683544


Ignore:
Timestamp:
03/18/13 08:08:35 (13 months ago)
Author:
M66B
Message:

1.178 dev drop support for integration with NextGEN and Viper's Video Quicktags

Location:
add-link-to-facebook
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • add-link-to-facebook/tags/1.177/readme.txt

    r683535 r683544  
    370370The only thing that can be changed is the Facebook application name after 'via'. 
    371371 
    372 = U32 Is video or audio supported? = 
    373  
    374 From version 1.142 video is supported for [Viper's Video Quicktags](http://wordpress.org/extend/plugins/vipers-video-quicktags/). 
     372= U32 Is video supported? = 
    375373 
    376374From version 1.149.1 you can set a video URL in the post editor. 
     
    546544Assuming that you embed a NextGEN Gallery into a post, set the option *Link Picture* to *First image in the post*. 
    547545Disable the option *Do not execute filters for texts*, but take care to check if this doesn't result in compatibility problems with other plugins. 
    548 Enable the option *Do not execute shortcodes for texts*. 
    549 It is also possible to use featured images of NextGEN Gallery. 
     546Also enable the option *Do not execute shortcodes for texts*. 
     547Please note that changes in NextGEN may cause this not to work anymore, see also question C02. 
    550548 
    551549**--- Error messages ---** 
  • add-link-to-facebook/trunk/add-link-to-facebook-class.php

    r683535 r683544  
    16211621                        $picture_id = get_post_thumbnail_id($post->ID); 
    16221622                        if ($picture_id) { 
    1623                             if (stripos($picture_id, 'ngg-') !== false && class_exists('nggdb')) { 
     1623                            if (stripos($picture_id, 'ngg-') !== false && class_exists('nggdb') && class_exists('nggMeta')) { 
    16241624                                $nggMeta = new nggMeta(str_replace('ngg-', '', $picture_id)); 
    1625                                 $picture = $nggMeta->image->imageURL; 
     1625                                if (!empty($nggMeta->image) && !empty($nggMeta->image->imageURL)) 
     1626                                    $picture = $nggMeta->image->imageURL; 
    16261627                            } 
    16271628                            else { 
     
    16921693                if (isset($VipersVideoQuicktags)) { 
    16931694                    do_shortcode($post->post_content); 
    1694                     $video = reset($VipersVideoQuicktags->swfobjects); 
    1695                     if (!empty($video)) 
    1696                         $video = $video['url']; 
     1695                    if (!empty($VipersVideoQuicktags->swfobjects)) { 
     1696                        $video = reset($VipersVideoQuicktags->swfobjects); 
     1697                        if (!empty($video) && !empty($video['url'])) 
     1698                            $video = $video['url']; 
     1699                    } 
    16971700                } 
    16981701            } 
  • add-link-to-facebook/trunk/readme.txt

    r683535 r683544  
    370370The only thing that can be changed is the Facebook application name after 'via'. 
    371371 
    372 = U32 Is video or audio supported? = 
    373  
    374 From version 1.142 video is supported for [Viper's Video Quicktags](http://wordpress.org/extend/plugins/vipers-video-quicktags/). 
     372= U32 Is video supported? = 
    375373 
    376374From version 1.149.1 you can set a video URL in the post editor. 
     
    546544Assuming that you embed a NextGEN Gallery into a post, set the option *Link Picture* to *First image in the post*. 
    547545Disable the option *Do not execute filters for texts*, but take care to check if this doesn't result in compatibility problems with other plugins. 
    548 Enable the option *Do not execute shortcodes for texts*. 
    549 It is also possible to use featured images of NextGEN Gallery. 
     546Also enable the option *Do not execute shortcodes for texts*. 
     547Please note that changes in NextGEN may cause this not to work anymore, see also question C02. 
    550548 
    551549**--- Error messages ---** 
Note: See TracChangeset for help on using the changeset viewer.