Plugin Directory

Changeset 1585659


Ignore:
Timestamp:
01/31/2017 11:06:29 AM (9 years ago)
Author:
etemplates
Message:

Version 1.1

Location:
ect-social-share
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • ect-social-share/trunk/index.php

    r825375 r1585659  
    66    Author:Andy Chapman
    77    Author URI:http://www.ecommercetemplates.com
    8     Version:1.0
     8    Version:1.1
    99*/
    1010
     
    8484    {
    8585        $EctSocialShare='';
    86         foreach($_POST['social'] as $sh=>$sv)
     86        $social=esc_sql($_POST['social']);
     87        foreach($social as $sh=>$sv)
    8788        {
    8889            $EctSocialShare['share_on'][]=$sh;
    8990        }
    90         $EctSocialShare['share_txt']=$_POST['txt'];
    91         $EctSocialShare['share_sub']=$_POST['share_sub'];
    92         $EctSocialShare['share_sub_fb']=$_POST['share_sub_fb'];
    93         $EctSocialShare['share_url']=$_POST['share_url'];
     91        $txt=esc_sql($_POST['txt']);
     92        $share_sub=esc_sql($_POST['share_sub']);
     93        $share_sub_fb=esc_sql($_POST['share_sub_fb']);
     94        $share_url=esc_sql($_POST['share_url']);
     95       
     96        $EctSocialShare['share_txt']=$txt;
     97        $EctSocialShare['share_sub']=$share_sub;
     98        $EctSocialShare['share_sub_fb']=$share_sub_fb;
     99        $EctSocialShare['share_url']=$share_url;
    94100        update_option('ect_social_share1',$EctSocialShare);
    95101        echo '<script type="text/javascript">window.location="admin.php?page=ect_social&msg=1"</script>';
  • ect-social-share/trunk/readme.txt

    r1477625 r1585659  
    44Tags: Wordpress ecommerce, ecommerce, online store, sell products, shopping cart, wordpress store, wordpress shopping cart, ecommerce software, seo, meta description, title tag, search engine friendly, search engine optimization
    55Requires at least: 3
    6 Tested up to: 4.6
    7 Stable tag: 1.0
     6Tested up to: 4.7.2
     7Stable tag: 1.1
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
    1010
    11 Allow customers to share their purchases on Facebook, Twitter, Pinterest and Google +
     11Allow customers to share their purchases on Facebook, Twitter, Pinterest and Google +.
    1212
    1313== Description ==
     
    3737
    3838If you have any problems with the plugin please post your support questions here on the WordPress support forum. Any questions about the shopping cart or WordPress integration can be posted on the Ecommerce Templates support forum.
     39
    3940If you have a problem with the plug-in please don't just give it a bad rating or review without seeking our help first.
    4041
     
    50511. Go to the ECT Social Media Plugin Settings page in the WordPress admin and choose which social media outlets you want to support
    51521. Enter the default text in the field provided
    52 
    53  **Share URL:** The URL of your store including the "http://"
    54  
    55  **Share Subject:** The title which will appear on the thanks page
    56  
    57  **Title on Facebook:** The suggested title of the posting on Facebook
    58  
    59  **Share Text:** Suggested text to accompany the product image. There are two variables available %%PRODUCT_NAME%% which replaces the product name and %%STORE_URL%% which will show the Store URL. For example you might want to enter something like this
    60 Have a look at the %%PRODUCT_NAME%% I have just bought from %%STORE_URL%%
    61  
    62 1. Open the file thanks.php and change this line
    63  ‘<?php
     53 Share URL: The URL of your store including the "http://"
     54 Share Subject: The title which will appear on the thanks page
     55 Title on Facebook: The suggested title of the posting on Facebook
     56 Share Text: Suggested text to accompany the product image. There are two variables available %%PRODUCT_NAME%% which replaces the product name and %%STORE_URL%% which will show the Store URL. For example you might want to enter something like this
     57 Have a look at the %%PRODUCT_NAME%% I have just bought from %%STORE_URL%%
     58 1. Open the file thanks.php and change this line
     59 <?php
    6460 include "vsadmin/inc/incthanks.php";
    6561 ?>
     
    6864 include "vsadmin/inc/incthanks.php";
    6965 include "vsadmin/inc/incectsocialshare.php";
    70  ?>‘
    71 1.Now try a test order and check the results.
     66 ?>
     67
     68 Now try a test order and check the results.
    7269
    7370== Frequently asked questions ==
     
    8178No, it will just share the first item added to cart.
    8279
    83 
    8480== Screenshots ==
    8581
     
    8985== Changelog ==
    9086
     87= 1.1 =
     88* Code fixes and version update. January 31st 2017
    9189= 1.0 =
    9290* Initial Release. December 19th 2013
Note: See TracChangeset for help on using the changeset viewer.