Plugin Directory

Changeset 2261024


Ignore:
Timestamp:
03/14/2020 11:54:37 AM (6 years ago)
Author:
hiren1612
Message:

Tested with WordPress 5.4

Location:
hb-freshdesk/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • hb-freshdesk/trunk/freshdesk.php

    r2083074 r2261024  
    11<?php
    2 /*
     2/**
    33 Plugin Name:HB Freshdesk
    44 Description: This plugin is used for connect your FreshDesk account in your wordpress site. You can easily to get your FreshDesk FAQs and Ticket, And also create a new ticket in your FreshDesk account directly using this plugin, And also check your ticket conversation.
    5  Version: 3.0
    6  Author: Hiren Patel ,Hike Branding
     5 Plugin URI:
     6 Version: 3.1
     7 Author: Hiren Patel ,Hike Branding
    78 Author URI: https://www.hikebranding.com/
    89 License: GPLv2 or later
     10
    911*/
    10 
    1112defined( 'ABSPATH' ) or die();
    1213
     
    3233            wp_register_script( 'fd-script-frontend', plugins_url('js/fd-script-frontend.js', __FILE__), array('jquery'));
    3334            wp_enqueue_script( 'fd-script-frontend' );
    34            
     35//           
    3536            wp_localize_script('fd-script-frontend', 'hb_ajax_object', array('ajax_url' => admin_url('admin-ajax.php')));
     37           
     38
    3639        }
     40
    3741    }
    38        
     42   
     43   
    3944    function hbfreshdesk_plugin_options_install() {
    4045    global $wpdb;
    4146    $table = $wpdb->prefix . 'freshdesk';
     47    //echo $your_db_name;exit;
     48 
     49    // create the ECPT metabox database table
    4250    if($wpdb->get_var("show tables like '$table'") != $table)
    4351    {       
     
    6169            dbDelta($sql);
    6270    }
    63     }   
    64     register_activation_hook(__FILE__,'hbfreshdesk_plugin_options_install');   
     71    }
     72   
     73    register_activation_hook(__FILE__,'hbfreshdesk_plugin_options_install');
     74   
    6575}
     76
    6677new HBFreshDeskAPI();
    6778?>
  • hb-freshdesk/trunk/readme.txt

    r2261005 r2261024  
    11=== HB FreshDesk  ===
     2
    23Contributors: hiren1612 ,hikebranding
    34Donate link: https://www.hikebranding.com/
    45Tags: Freshdesk, Freshdesk Ticket, Freshdesk faq
    5 Requires at least: 4.1
     6Requires at least: 3.0.1
    67Tested up to: 5.4
    7 Stable tag: 3.0
     8Stable tag: 3.1
    89License: GPLv2 or later
    910License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1112A plugin Get your Fresh desk account FAQ's and Crete a new Ticket and view your All ticket with full conversation. 
    1213
     14
    1315== Description ==
     16
    1417This plugin is used for connect your FreshDesk account in your wordpress site. You can easily to get your FreshDesk FAQs and Ticket, And also create a new ticket in your FreshDesk account directly using this plugin, And also check your ticket conversation.
    1518
    1619FreshDesk Terms of Service
    17 
    1820https://www.freshworks.com/terms/
    1921
     22
    2023= Usage =
     24
    2125Place this shortcode in page, post or text widget where you'd like to display Data.
    2226
    2327`
    2428[freshdesk-create-ticket]
    25 
    2629[get_all_ticket]
    27 
    2830[freshdesk-faq]
    29 
    3031`
    3132
     33
    3234= Templates =
     35
    3336Place this shortcode in any template parts of your theme.
    3437
     
    3942`
    4043
     44
     45== Installation ==
    4146= Installation =
    42471. Upload "hb_freshdesk" to the "/wp-content/plugins/" directory.
    43482. Activate the plugin through the "Plugins" menu in WordPress.
     49
    4450
    4551= How to Use =
     
    49554. Place Use Above Shortcode.
    5056
     57
    5158== Frequently Asked Questions ==
    5259
    5360= Having problems, questions, bugs & suggestions =
    5461Contact us at https://www.hikebranding.com/
     62
    5563
    5664== Screenshots ==
     
    63717. Display FAQ's for check in your admin side in FAQ's menu list.
    6472
     73
    6574== Changelog ==
     75
    6676= v1.0 =
    6777* Initial release version.
    6878
    6979= v2.0 =
    70 Tested up to latest version.
     80* Tested up to latest version.
    7181
    72 = v3.0 =
    73 Tested up to latest version and bug fixed.
     82= v2.1 =
     83* Fixed some bugs.
Note: See TracChangeset for help on using the changeset viewer.