Title: SmugBuy
Author: chrismartino
Published: <strong>22. јануар 2011.</strong>
Last modified: 12. јануар 2012.

---

Претражи додатке

Овај додатак **није испробан са последња 3 главна издања Вордпреса**.Можда се више
не одржава или подржава и можда има грешке са усклађеношћу са новијим издањима Вордреса.

![](https://s.w.org/plugins/geopattern-icon/smugbuy.svg)

# SmugBuy

 [chrismartino](https://profiles.wordpress.org/chrismartino/)

[Преузимање](https://downloads.wordpress.org/plugin/smugbuy.1.1.5.zip)

 * [Детаљи](https://sr.wordpress.org/plugins/smugbuy/#description)
 * [Прегледи](https://sr.wordpress.org/plugins/smugbuy/#reviews)
 *  [Постављање](https://sr.wordpress.org/plugins/smugbuy/#installation)
 * [Изградња](https://sr.wordpress.org/plugins/smugbuy/#developers)

 [Подршка](https://wordpress.org/support/plugin/smugbuy/)

## Опис

In January 2011 SmugMug introduced a new feature that enabled users to add a photo
directly to the SmugMug shopping
 cart from external websites. This plugin parses
the standard SmugMug photo page and automatically creates a custom tailored „buy“
link to add to your WordPress posts and pages via a shortcode.

Visit the [SmugBuy homepage](http://chrismartino.com/smugbuy/) for more information
on how to incorporate the plugin into your blog.

For more information on SmugMug head to [www.smugmug.com](http://www.smugmug.com).

### Donations

To support this plugin and it’s development, please consider [purchasing a fine art print](http://prints.chrismartino.com/buy/12948111_n28si)
from me. Prints start at $10 USD and will look great
 displayed on your wall or 
desk.

## Снимци екрана

[⌊The administration panel.⌉⌊The administration panel.⌉[

The administration panel.

[⌊Example post.⌉⌊Example post.⌉[

Example post.

[⌊Post editor example.⌉⌊Post editor example.⌉[

Post editor example.

## Постављање

 1. Make sure you have printing enabled in your gallery settings on SmugMug.
 2. Upload `smugbuy.php` to the `/wp-content/plugins/` directory.
 3. Activate the plugin through the _Plugins_ menu in WordPress.
 4. Edit the SmugBuy options through the _Settings_ menu in WordPress.
 5. Place `[smugbuy photo="<smugmug photo url>"]` or `[smugbuy gallery="<smugmug gallery
    url>"]` in the post or page where you’d like your „buy“ link to show up.

Example (Photo w/o display):

    ```
    [smugbuy photo="http://prints.chrismartino.com/Galleries/ForYourWall/12948111_cLRpFG#!i=919177302&k=auTM7"]
    ```

Example (Photo w/ display):

    ```
    [smugbuy photo="http://prints.chrismartino.com/Galleries/ForYourWall/12948111_cLRpFG#!i=919177302&k=auTM7" display="yes"]
    ```

Example (Gallery):

    ```
    [smugbuy gallery="http://prints.chrismartino.com/Galleries/ForYourWall/12948111_cLRpFG"]
    ```

## ЧПП

  I recently upgraded my SmugBuy plugin, however some of the options are missing.
What do I do?

Try deactivating and reactivating SmugBuy from the _Plugins_ administration screen.

  How do I customize the SmugBuy links using CSS?

First, you must enable the use of `smugbuy.css` in the SmugBuy settings screen. 
Once enabled edit `smugbuy.css` in the _Plugins_ editor screen.

  Why aren’t my SmugBuy links generating properly?

Sometimes using the visual editor can create problems with SmugBuy. If you’re using
the visual editor make sure the SmugMug links don’t get linkified. If they do, click
on the `unlink` icon on the toolbar, or press `alt-shift-a`.

## Прегледи

Нема рецензија за овај додатак.

## Сарадници и градитељи

„SmugBuy“ је софтвер отвореног кода. Следећи људи су допринели овом додатку.

Сарадници

 *   [ chrismartino ](https://profiles.wordpress.org/chrismartino/)

[Преведите „SmugBuy“ на свој језик.](https://translate.wordpress.org/projects/wp-plugins/smugbuy)

### Заинтересовани сте за градњу?

[Прегледајте код](https://plugins.trac.wordpress.org/browser/smugbuy/), проверите
[SVN складиште](https://plugins.svn.wordpress.org/smugbuy/) или се пријавите на 
[белешку градње](https://plugins.trac.wordpress.org/log/smugbuy/) преко [RSS-а](https://plugins.trac.wordpress.org/log/smugbuy/?limit=100&mode=stop_on_copy&format=rss).

## Белешка о изменама

#### 1.1.5

 * 1.1.4 used a PHP function that was only available in PHP 5.3 and above. This 
   version is compatible with PHP 5.0 and greater. An upgrade isn’t necessary if
   you’re running PHP 5.3 or higher.
 * Code cleanup.

#### 1.1.4

 * SmugMug changed the URL structure to improve SEO. This version of SmugBuy is 
   compatible with the new URLs. It is also backward compatible with the old style
   URLs.

#### 1.1.3

 * Added some support options in the admin screen.
 * Verified compatibility with WordPress 3.3.1.

#### 1.1.2

 * Added option to open the „buy“ link in a new window.
 * Verified compatibility with WordPress 3.1.

#### 1.1.1

 * Added the ability to customize the links using a css file. The feature is disabled
   by default and can be enabled in the SmugBuy options panel.

#### 1.1

 * Added gallery support.
 * Added the ability to display the image along with the „buy“ link.
 * Added „Settings“ link on the plugin page.

#### 1.0.1

 * Changed method for obtaining the smugmug url, thus elimating the „smugbuy_url“
   option.

#### 1.0

 * Initial release.

## Мета

 *  Version **1.1.5**
 *  Last updated **15 година раније**
 *  Active installations **10+**
 *  WordPress version ** 2.8 или новије **
 *  Tested up to **3.3.2**
 *  Language
 * [English (US)](https://wordpress.org/plugins/smugbuy/)
 * Tags
 * [photographer](https://sr.wordpress.org/plugins/tags/photographer/)[photographs](https://sr.wordpress.org/plugins/tags/photographs/)
   [photography](https://sr.wordpress.org/plugins/tags/photography/)[SmugMug](https://sr.wordpress.org/plugins/tags/smugmug/)
 *  [Напредни преглед](https://sr.wordpress.org/plugins/smugbuy/advanced/)

## Оцене

 1 out of 5 stars.

 *  [  0 5-star reviews     ](https://wordpress.org/support/plugin/smugbuy/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/smugbuy/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/smugbuy/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/smugbuy/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/smugbuy/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/smugbuy/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/smugbuy/reviews/)

## Сарадници

 *   [ chrismartino ](https://profiles.wordpress.org/chrismartino/)

## Подршка

Имате нешто да кажете? Потребна вам је помоћ?

 [Види форум подршке](https://wordpress.org/support/plugin/smugbuy/)

## Донирај

Желите ли да подржите напредак овог додатка?

 [ Донирај овом додатку ](http://chrismartino.com/smugbuy)