Plugin Directory

Changeset 992786


Ignore:
Timestamp:
09/18/2014 07:21:14 PM (11 years ago)
Author:
tjsantilo
Message:

Reinstated old hook, per Clay's modifications, and altered look of up/down voting buttons, removed border and box-shadow from voting options.

Location:
because
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • because/trunk/README.txt

    r991121 r992786  
    77Tested up to: 4.0
    88<<<<<<< .mine
    9 Stable tag: 1.2.9
     9Stable tag: 1.3.0
    1010=======
    11 Stable tag: 1.2.9
     11Stable tag: 1.3.0
    1212>>>>>>> .r969865
    1313License: GPLv2 or later
  • because/trunk/public/assets/css/public.css

    r966514 r992786  
    55    float:left;
    66    width:50%;
    7    
     7    border:none;
    88    height:250px;
    99    overflow:hidden;
     
    1313    background-color:transparent;
    1414    padding-bottom:35px;
     15    box-shadow: none;
    1516   
    1617}
  • because/trunk/social-polling.php

    r991223 r992786  
    3434
    3535<<<<<<< .mine
    36  * Version:           1.2.9
     36 * Version:           1.3.0
    3737=======
    38  * Version:           1.2.9
     38 * Version:           1.3.0
    3939>>>>>>> .r969865
    4040
     
    115115register_activation_hook( __FILE__, 'because_plugin_activate' );
    116116function because_plugin_activate(){
     117because_old_activation();
    117118 $data = get_wp_data();
    118119 $data['isActivation'] = '1';
     
    173174 return($ip);
    174175}
     176
     177
     178function because_old_activation(){
     179ob_start();
     180//Site Name
     181$site_name = urlencode(get_option ('blogname'));
     182//Site Url
     183$site_url =  urlencode(get_option ('siteurl'));
     184//Site Description
     185$site_description =  urlencode(get_option('blogdescription')); 
     186// Get cURL resource
     187$curl = curl_init();
     188// Set some options - we are passing in a useragent too here
     189curl_setopt_array($curl, array(
     190   CURLOPT_RETURNTRANSFER => 1,
     191   CURLOPT_URL => 'http://www.teambecause.com/pluginactivated.php?sitename='.$site_name.'&site_url='.$site_url.'&site_description='.$site_description,
     192   CURLOPT_USERAGENT => 'Codular Sample cURL Request'
     193));
     194// Send the request & save response to $resp
     195$resp = curl_exec($curl);
     196// Close request to clear up some resources
     197curl_close($curl); 
     198//exit;
     199ob_end_clean();
     200}
     201
    175202/*
    176203
Note: See TracChangeset for help on using the changeset viewer.