Plugin Directory

Changeset 346674


Ignore:
Timestamp:
02/17/2011 02:52:19 AM (15 years ago)
Author:
MartyThornley
Message:
 
Location:
connect-pictage-to-wordpress/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • connect-pictage-to-wordpress/trunk/readme.txt

    r316000 r346674  
    11=== Connect Pictage to WordPress ===
    22Contributors: Marty Thornley
    3 Tags: pictage, ezlink, events, photography, photographers, photographyblogsites
     3Tags: pictage, events, photography, photographers, photographyblogsites
    44Tested up to: 3.0.1
    5 Version: 1.0 Beta
     5Version: 1.1
    66Stable tag: trunk
    77
     
    1010== Description ==
    1111
    12 Note: This plugin is for Pictage members.
     12This plugin is no longer supported. It has been incorporate into the new Photographer Connections plugin.
    1313
    14 This plugin generates a list of your active events matching the style of your current theme.
     14Please discontinue use and switch to [Photographer Connections](http://wordpress.org/extend/plugins/photographer-connections)
    1515
    16 To use, add the [pictage] shortlink to any post or page.
     16More Info available at [PhotographyBlogSites.com](http://photographyblogsites.com/wordpress-plugins/photographer-connections)
    1717
    18 To style events...
    19 * Use your theme's css.
    20 * The links are wrapped in a div with class of "pictage-events".
    21 * .pictage-events   {}
    22 * .pictage-events a {}
    23 
    24 == Installation ==
    25 
    26 Installing the plugin is easy and follows the standard steps:
    27 
    28 1. Upload '/connect-pictage-to-wordpress/' to the `/wp-content/plugins/` directory.
    29 2. Activate the plugin through the 'Plugins' menu in WordPress.
    30 3. Configure the the plugin by going to 'Pictage Settings' under 'Settings'.
    31 4. Place the shortlink, [pictage] in any page or post.
    32 
    33 == Frequently Asked Questions ==
    34 
    35 = What is my Studio ID? =
    36 
    37 Log in at Pictage and go to My Account > Manage Studio. It's usually your first and
    38 last initials, followed by 3 numbers. I.E. AA123
    39 
    40 = Some of my events are not listed, why? =
    41 
    42 Be sure the event is set to be "searchable" from "Edit Info & Settings".
    43 
    44 = What if I don't want an event listed? =
    45 
    46 Be sure the event is not set to be "searchable" from "Edit Info & Settings".
    47 
  • connect-pictage-to-wordpress/trunk/wp-pictage.php

    r316000 r346674  
    44Plugin URI: http://photographyblogsites.com/resources/wordpress-plugins/wp-pictage
    55Description: Allows Pictage members to list their events within a WordPress page or post.
    6 Version: 0.1
     6Version: 1.1
    77Author: based on "Pictage Link" by  Alfred Gutierrez - http://code.google.com/p/pictage-link/
    88Author URI: http://photographyblogsites.com
     
    3838wp_enqueue_script ('jquery');
    3939
    40 add_shortcode   ('pictage',     'pictage_events');
     40add_shortcode   ('pictage',     'pictage_events2');
    4141
    42 add_action      ('admin_menu',      'pictage_admin');
    43 add_action      ('wp_head',         'pictage_css');
     42add_action      ('admin_menu',      'pictage_admin2');
     43add_action      ('wp_head',         'pictage_css2');
    4444
    45 function pictage_admin() {
     45function pictage_admin2() {
    4646    add_menu_page('Pictage Settings', 'Pictage Settings', 'administrator', __FILE__, 'pictage_options',plugins_url('/pictage.png', __FILE__));
    4747}
    4848
    49 function pictage_events($studio_id="") {
     49function pictage_events2($studio_id="") {
    5050
    5151    if ($studio_id == '') {
     
    7070}
    7171
    72 function pictage_css() {
     72function pictage_css2() {
    7373
    7474    $pictage_options = maybe_unserialize(get_option('pictage_options'));
     
    118118    if ($_POST['pictage-submit']) {
    119119   
    120     if ( !wp_verify_nonce( $_POST[ 'pictage_admin' ], 'pictage_admin' ) ) :
     120    if ( !wp_verify_nonce( $_POST[ 'pictage_admin2' ], 'pictage_admin2' ) ) :
    121121?>
    122122<div class="updated">
     
    151151    <h2>WP Pictage Options</h2></br>
    152152    <form name="theform" method="post" enctype="multipart/form-data" action="<?php echo str_replace( '%7E', '~', $_SERVER['REQUEST_URI']);?>">
    153         <?php wp_nonce_field( 'pictage_admin', 'pictage_admin', false, true ); ?>
     153        <?php wp_nonce_field( 'pictage_admin2', 'pictage_admin2', false, true ); ?>
    154154        <p>Studio ID:</p>
    155155        <input type="text" name="studio_id" size ="5" value="<?php echo $pictage_options['studio_id']; ?>" /> <i>i.e. AB123 (Upper Case Only)</i>
Note: See TracChangeset for help on using the changeset viewer.