Browse Source

update

master
Felty 2 years ago
parent
commit
a59f3c42ff
5 changed files with 25 additions and 34 deletions
  1. +5
    -0
      vidyen-csv-export/index.php
  2. +5
    -9
      vidyen-csv-export/vidyen-csv-export.php
  3. +0
    -0
      vidyen-db-uninstall/README.md
  4. +0
    -0
      vidyen-db-uninstall/uninstall.php
  5. +15
    -25
      vidyen-db-uninstall/vidyen-db-uninstall.php

+ 5
- 0
vidyen-csv-export/index.php View File

@ -0,0 +1,5 @@
<?php
// Silence is golden, but gold has no intrinsic value.
// At least it's easy to trade digital currencies.
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

VYPS_CSV/vyps_csv.php → vidyen-csv-export/vidyen-csv-export.php View File

@ -11,21 +11,17 @@
* @package vyps csv export
*
* @wordpress-plugin
* Plugin Name: vyps csv
* Plugin URI: http://example.com/plugin-name-uri/
* Description: exports csvs derrr
* Plugin Name: VidYen CSV Export
* Plugin URI: https://github.com/VidYen/VidYen-WordPress-Plugins
* Description: Exports the VidYen Point Log to CSV
* Version: 1.0.0
* Author: Your Name or Your Company
* Author URI: http://example.com/
* Author: VidYen, LLC
* Author URI: http://vidyen.com
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
* Text Domain: csv-export
* Domain Path: /languages
*/
//Improved shortcode of public log.
//Improved shortcode of public log.
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

VYPS_un/README.md → vidyen-db-uninstall/README.md View File


VYPS_un/uninstall.php → vidyen-db-uninstall/uninstall.php View File


VYPS_un/vypsun.php → vidyen-db-uninstall/vidyen-db-uninstall.php View File

@ -1,51 +1,51 @@
<?php
/*
Plugin Name: VYPS SQL DB Uninstall Cleaner
Plugin Name: VidYen DB Uninstall Cleaner
Description: Activate, deactivate, and delete to delete the tables that the base plugin created. ***THIS WILL WIPE THE LOGS!***
Version: 0.0.03
Version: 0.0.3
Author: VidYen, LLC
Author URI: https://vidyen.com/
License: GPLv2 or later
*/
/*
/*
* Note: Have renamed all tables to the right tables... ie. tables_ch, table_points
* Need to make every variable have specific context so can simply glance at something to know what it does
* I realized that should have a submenu in case users doesn't have VYPS installed, but
* I realized that should have a submenu in case users doesn't have VYPS installed, but
*
*/
register_activation_hook(__FILE__, 'vyps_un_install');
function vyps_un_install() {
/*
* Have removed all install as this should not install a table but just clean the tables.
*/
}
add_action('admin_menu', 'vyps_un_submenu', 21 );
/* Creates the Coinhive submenu on the main VYPS plugin */
function vyps_un_submenu()
function vyps_un_submenu()
{
$parent_menu_slug = 'vyps_points';
$page_title = "VYPS DB Uninstall Tool";
$menu_title = 'VYPS DB Uninstall Tool';
$menu_title = 'VYPS DB Uninstall Tool';
$capability = 'manage_options';
$menu_slug = 'vyps_un_page';
$function = 'vyps_un_sub_menu_page';
$menu_slug = 'vyps_un_page';
$function = 'vyps_un_sub_menu_page';
add_submenu_page($parent_menu_slug, $page_title, $menu_title, $capability, $menu_slug, $function);
add_submenu_page($parent_menu_slug, $page_title, $menu_title, $capability, $menu_slug, $function);
}
/* this next function creates the page on the Coinhive submenu */
function vyps_un_sub_menu_page()
{
function vyps_un_sub_menu_page()
{
echo
"<br><br><img src=\"../wp-content/plugins/VYPS_base/logo.png\">
<h1>VYPS Base Uninstall Plugin</h1>
@ -53,15 +53,5 @@ function vyps_un_sub_menu_page()
<p>This is a multipart system similar to WooCommerce as it intends to allow WordPress administrators to create points for monetization and rewards into other system.</p>
<p>Deactivating and deleting this plugin will delete the user data stored on the WP site.</p>
<br><br>
<br><br>
<h2>Here is a list of our other addons that go along with this system:</h2>
<ul>
<li>Coinhive addon plugin</li>
<li><th>AdScend Plugin</li>
<li>WooWallet Bridge Plugin</li>
<li>CoinFlip Game Plugin</li>
<li>Balance Shortcode Plugin</li>
<li>Plublic Log Plugin</li>
</ul>
";
}
}

Loading…
Cancel
Save