Plugin Directory

Changeset 1560641


Ignore:
Timestamp:
12/23/2016 12:05:26 PM (9 years ago)
Author:
gorbachiov
Message:

version 1.5 to to get the best of EventUpon version 3.0.3 or later

Location:
eventupon-calendar/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • eventupon-calendar/trunk/eventupon-calendar.php

    r1474629 r1560641  
    44Plugin URI: https://wordpress.org/plugins/eventupon-calendar/
    55Description: Displays events from EventUpon.com, activate and place [eu-calendar] tag to a page you want to have the calendar.
    6 Version: 1.4.6
     6Version: 1.5
    77Author: Max Kovrigovich
    88Author URI: https://www.linkedin.com/in/max-kovrigovich-007bb888
    9 Contributors: T. Gorbachiov
     9Contributors: gorbachiov
    1010License: GPL2
    1111*/
     
    405405            delete_option(EventUpon_Calendar::PREFIX . '_header_background_color');
    406406            delete_option(EventUpon_Calendar::PREFIX . '_header_text_color');
     407            delete_option(EventUpon_Calendar::PREFIX . '_agenda_register_btn_bg');
     408            delete_option(EventUpon_Calendar::PREFIX . '_agenda_register_btn_txt');
     409            delete_option(EventUpon_Calendar::PREFIX . '_agenda_date_bg');
     410            delete_option(EventUpon_Calendar::PREFIX . '_agenda_date_txt');
    407411            delete_option(EventUpon_Calendar::PREFIX . '_view_mode');
    408412            delete_option(EventUpon_Calendar::PREFIX . '_http_s');
     
    433437            $colorHeaderBackground = get_option(EventUpon_Calendar::PREFIX . '_header_background_color', '#CCCCCC');
    434438            $colorHeaderText = get_option(EventUpon_Calendar::PREFIX . '_header_text_color', '#000000');
     439            $agendaRegisterBtnBg = get_option(EventUpon_Calendar::PREFIX . '_agenda_register_btn_bg', '#303435');
     440            $agendaRegisterBtnTxt = get_option(EventUpon_Calendar::PREFIX . '_agenda_register_btn_txt', '#ecebeb');
     441            $agendaDateBg = get_option(EventUpon_Calendar::PREFIX . '_agenda_date_bg', '#303435');
     442            $agendaDateTxt = get_option(EventUpon_Calendar::PREFIX . '_agenda_date_txt', '#ecebeb');
    435443            $cssFile = get_option(EventUpon_Calendar::PREFIX . '_css_file', '');
    436444            $url = preg_replace('/^http(s)?/i' , self::$https_prefix, get_option(EventUpon_Calendar::PREFIX . '_url', '//' . self::EU_CALENDAR_BASE . '/embed/calendar') );
     
    441449                'color-header-text=' . urlencode($colorHeaderText),
    442450                'color-header-bkg=' . urlencode($colorHeaderBackground),
     451                'register-btn-bg=' . urlencode($agendaRegisterBtnBg),
     452                'register-btn-txt=' . urlencode($agendaRegisterBtnTxt),
     453                'agenda-date-bg=' . urlencode($agendaDateBg),
     454                'agenda-date-txt=' . urlencode($agendaDateTxt),
    443455                'color-grid=' . urlencode($colorGrid),
    444456                'color-bkg=' . urlencode($backgroundColor),
  • eventupon-calendar/trunk/readme.txt

    r1474629 r1560641  
    11=== Event Calendar AutoPOP ===
    2 Contributors: maksim270
     2Contributors: maksim270, gorbachiov
    33Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=LRRT5EFXD2LR6
    44Tags: calendar, events, community, eventupon, events widget, planner, organizer, event feed, event curator, Meetup, EventBrite, TicketLeap, Google calendar, Gcal, iCal, Facebook Filter, networking events, EveryBlock, AutoPop, embed, shortcode, plugin, ajax,
     
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
    1010
    11 The only calendar that can pull events from any of thousands of organizations and autoPOPulate your calendar!
     11A calendar that calls the EventUpon API to pull events from any of thousands of organizations and autoPOPulate your calendar!
    1212
    1313== Description ==
    1414
    15 We have events from thousands of organizations. Select one and you’ll get their events plus your own events on your calendar for free. EventUpon has events from Meetup, EventBrite, TicketLeap and thousands of other organizations which post their events in Google calendars, iCal, Facebook and other event sources. Want more organization’s events? The first organization is free. After that it costs just $3 per organization plus $10 for the calendar per month. Small businesses and small non-profits get it 50% off. Don’t see the organization you want, let us know and we’ll see if we can get it for you.
     15We have events from thousands of organizations. Select any two and you’ll get their events on your calendar for free. EventUpon has events from Meetup, EventBrite, TicketLeap and thousands of other organizations which post their events in Google calendars, iCal, Facebook and other event sources. Want more organization’s events? The first two organizations are free. After that it costs just $3 per organization plus $10 for the calendar per month. Small businesses and small non-profits get 50% off. Don’t see the organization you want, let us know and we can probably get it for you.
    1616
    1717If you have your own events, you can AutoPOPulate your events to hundreds of thousands of targeted event goers for FREE!
     
    4545Event Calendar AutoPOP is designed for mobile, tablet and desktop.
    4646
    47 PS: You'll need a free EventUpon.com token to use it.
     47PS: You'll need a free EventUpon API token to use it.
    4848
    4949== Installation ==
     
    6060Create a free account on EventUpon.com to get your Search Token. That’s how the plugin communicates with the EventUpon community.
    6161
    62 * First – Go to [link](https://www.EventUpon.com/AutoPOP) and sign up for a free EventUpon Account and specify your organization. EventUpon has thousands of organizations so you can search and see if it all already exists in EventUpon. If not, simply add your organization.
    63 * Second – Go to Install AutoPOP Calendar.
    64 * Third – If you will only want your organization’s events in the calendar, then you can skip this step. If you want events from other organizations you can add Organizations which will automatically be displayed in your instance of the Event Calendar AutoPOP.  Choose by organizations or location.
    65 * Fourth – Click WordPress to generate the Search Token that gets inserted into your WordPress plugin settings.
     62* First – Go to [link](https://www.EventUpon.com/) and sign up for a free API token.
     63* Second – At the Menu click on My Dashboard. Then click on Set Up API Setting.
     64* Third – Choose organizations which will automatically be displayed in your instance of the Event Calendar AutoPOP.  Choose by organizations or location.
     65* Fourth – Click API token to generate the Token that gets inserted into your WordPress plugin settings.
    6666
    6767= Creating Events for your Event Calendar AutoPOP =
     
    8282Yes, follow these steps to add or remove orgs that will be displayed on your Calendar:
    8383
    84 * On EventUpon.com click on Menu -> My Dashboard -> Modify Community Calendar
     84* On EventUpon.com click on Menu -> My Dashboard -> Modify API Settings
    8585* Click on Upgrade/Downgrade
    8686* Make the changes to your subscription:
     
    112112== Changelog ==
    113113
     114= 1.5 =
     115
     116
     117Added new setting to change Register Button Background Color (in Agenda view)   
     118Added new setting to change Register Button Text Color (in Agenda view)
     119Added new setting to change Date Background Color (in Agenda view) 
     120Added new setting to change Date Text Color (in Agenda view)
     121Changed event background in Agenda view to Light Gray (#ecebeb)
     122Increased font size for event title in Agenda view
     123Removed EventUpon logo from top of calendar
     124Increased the width of search field
     125Updated readme.txt for EventUpon 3.0.
     126
     127= 1.4.7 =
     128
     129
     130Updated readme.txt for EventUpon 3.0.
     131
    114132= 1.4.6 =
    115133
  • eventupon-calendar/trunk/settings.php

    r1393770 r1560641  
    2323                EventUpon_Calendar::PREFIX . '_header_background_color' => '#CCCCCC',
    2424                EventUpon_Calendar::PREFIX . '_header_text_color' => '#000000',
     25                EventUpon_Calendar::PREFIX . '_agenda_register_btn_bg' => '#303435',
     26                EventUpon_Calendar::PREFIX . '_agenda_register_btn_txt' => '#ecebeb',
     27                EventUpon_Calendar::PREFIX . '_agenda_date_bg' => '#303435',
     28                EventUpon_Calendar::PREFIX . '_agenda_date_txt' => '#ecebeb',
    2529            );
    2630
     
    4852            register_setting(EventUpon_Calendar::PREFIX . '-group', EventUpon_Calendar::PREFIX . '_header_background_color');
    4953            register_setting(EventUpon_Calendar::PREFIX . '-group', EventUpon_Calendar::PREFIX . '_header_text_color');
     54            register_setting(EventUpon_Calendar::PREFIX . '-group', EventUpon_Calendar::PREFIX . '_agenda_register_btn_bg');
     55            register_setting(EventUpon_Calendar::PREFIX . '-group', EventUpon_Calendar::PREFIX . '_agenda_register_btn_txt');
     56            register_setting(EventUpon_Calendar::PREFIX . '-group', EventUpon_Calendar::PREFIX . '_agenda_date_bg');
     57            register_setting(EventUpon_Calendar::PREFIX . '-group', EventUpon_Calendar::PREFIX . '_agenda_date_txt');
    5058            register_setting(EventUpon_Calendar::PREFIX . '-group', EventUpon_Calendar::PREFIX . '_view_mode');
    5159            register_setting(EventUpon_Calendar::PREFIX . '-group', EventUpon_Calendar::PREFIX . '_http_s');
     
    245253                )
    246254            );
     255
     256            add_settings_field(
     257                EventUpon_Calendar::PREFIX . '-calendar_agenda_register_btn_bg',
     258                'Register Button Background (in Agenda)',
     259                array(&$this, 'settings_field_input_text'),
     260                EventUpon_Calendar::PREFIX . '_colors',
     261                EventUpon_Calendar::PREFIX . '-section',
     262                array(
     263                    'field' => EventUpon_Calendar::PREFIX . '_agenda_register_btn_bg',
     264                    'class' => 'color-field',
     265                )
     266            );
     267
     268            add_settings_field(
     269                EventUpon_Calendar::PREFIX . '-calendar_agenda_register_btn_txt',
     270                'Register Button Text Color (in Agenda)',
     271                array(&$this, 'settings_field_input_text'),
     272                EventUpon_Calendar::PREFIX . '_colors',
     273                EventUpon_Calendar::PREFIX . '-section',
     274                array(
     275                    'field' => EventUpon_Calendar::PREFIX . '_agenda_register_btn_txt',
     276                    'class' => 'color-field',
     277                )
     278            );
     279
     280            add_settings_field(
     281                EventUpon_Calendar::PREFIX . '-calendar_agenda_date_bg',
     282                'Date Background (in Agenda)',
     283                array(&$this, 'settings_field_input_text'),
     284                EventUpon_Calendar::PREFIX . '_colors',
     285                EventUpon_Calendar::PREFIX . '-section',
     286                array(
     287                    'field' => EventUpon_Calendar::PREFIX . '_agenda_date_bg',
     288                    'class' => 'color-field',
     289                )
     290            );
     291
     292            add_settings_field(
     293                EventUpon_Calendar::PREFIX . '-calendar_agenda_date_txt',
     294                'Date Text Color (in Agenda)',
     295                array(&$this, 'settings_field_input_text'),
     296                EventUpon_Calendar::PREFIX . '_colors',
     297                EventUpon_Calendar::PREFIX . '-section',
     298                array(
     299                    'field' => EventUpon_Calendar::PREFIX . '_agenda_date_txt',
     300                    'class' => 'color-field',
     301                )
     302            );
     303
    247304            // Possibly do additional admin_init tasks
    248305        } // END public static function activate
Note: See TracChangeset for help on using the changeset viewer.