CoverThis Photography Random Image

SmugWP - WordPress Plugin » SmugWP v1.1

SmugWP v1.1
smugwpv1p1.zip

This is an urgent update to SmugWP. Version 1.0 somehow contained a misspelt variable name that caused to it to fail no matter what Gallery ID had been entered. I don’t know how this happen, and I was using it at release, but it happen non-the-less. This variable has been fixed, as well as support added for calling the sWP_displayCode(); function in template files if needed.

Below is a direct excerpt from the Read Me file included with the download.

=== Plugin Name ===
Contributors: belinep
Donate link: http://www.coverthisphotography.com/services/web-designdevelopment/smugwp-wordpress-plugin
Tags: smugmug, digiproofs, pro, photography, redirect, confirm
Requires at least: ?
Tested up to: 2.3.2
Stable tag: 1.1

SmugWP is a WordPress plug-in allowing a SmugMug user to provide his/her customers with a simple interface to access their on-line galleries.

== Description ==

Thanks for checking SmugWP out there brotha!

It’s simple enough in theory; create a gallery for the client, give the client the Gallery ID, the client enters the ID into a simple interface and is redirected to the correct gallery. It is functionality similar to the [DigiProofs](http://www.digiproofs.com/ “DigiProofs”) interface.

However, as all SmugMug gallery IDs are global, simply redirecting to the entered ID could very well direct a customer to another SmugMug user’s gallery, which would be very unfortunate.

This plug-in displays a form for the customer to enter the Gallery ID, checks the ID to confirm that it is in-fact a gallery owned by the owner of the script, and redirects the customer accordingly.

Simply hide all proofing and delivery galleries, and only display your sample galleries. It keeps your SmugMug interface clean, and ensures that proofing galleries are private and secure. It especially helps if you have a fully customized SmugMug template to match your WordPress site.

Works great for me! Hope your mileage runs you about the same.

== Installation ==

1. Download and unzip the latest version of the plug-in.
1. If you have a previous version of SmugWP, deactivate SmugWP on your WordPress Plugins page, copy only the SmugWP.php over the previous version on your server, turn SmugWP back on, and you are done.
1. If this is your first time installing SmugWP, modify the required variables in the “sWP_config.php” in the “SmugWP” folder.
1. Place the “SmugWP” folder in your “wp-content/plugins/” directory.
1. Activate SmugWP on the WordPress Plugins page.
1. Insert “<!‒‒ sWP_form ‒‒>” in the source of any page or post you want to display the form on.

== Frequently Asked Questions ==

= You know what? I haven’t been asked anything yet. =

So that means there isn’t anything to display here.

== Version Notes ==

**v1.1 - 20080408**
* Added readme.txt file.
* Added support for successfully calling sWP_displayCode(); inside a template file.
* Externalized configuration variabled in the sWP_config.php file, to allow upgrading of the plugin in its current PHP-only state, without loseing modified variables.
* Mis-Typed variable some how slipped past me. Fixed.

**v1.0 - 20080407**
* Initial public release.
* Parse all WP content, on all pages, for “<!‒‒ sWP_form ‒‒>” and replace with $sWP_formCode.
* Check all page loads for presence of $_POST[$sWP_req], where $sWP_req is the request ID specified by the user.
* If $_POST[$sWP_req] is present, parses $_POST[$sWP_req] against user specified SmugMug account, and redirects to appropriate gallery if present (if not, amends the form code with error message for display.

Leave a Reply

 
CoverThis Photography is proudly powered by WordPress 27 queries. 0.239 seconds.
website design, and all content herin, unless otherwise noted or agreed in writing, is the sole property of CoverThis Photography