Skip to content

Commit 646c919

Browse files
authored
Merge pull request #2 from codeboxrcodehub/dev
Dev
2 parents 35ee513 + 46aac65 commit 646c919

File tree

2 files changed

+4
-57
lines changed

2 files changed

+4
-57
lines changed

README.txt

Lines changed: 3 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,72 +1,19 @@
1-
=== CBX Career Toolkit Library ===
2-
Contributors: codeboxr, manchumahara
3-
Requires at least: 3.5
4-
Tested up to: 6.4.3
5-
Stable tag: 1.0.0
6-
License: MIT
7-
License URI: https://github.com/codeboxrcodehub/cbxcareertoolkit/blob/master/LICENSE.txt
8-
9-
Open source PhpSpreadSheet php library released as wordpress plugin to use easily
1+
CBX Career Dev Toolkit
102

113
== Description ==
124

13-
A pure [PHP library for reading and writing spreadsheet files](https://phpspreadsheet.readthedocs.io)
14-
15-
From Codeboxr we wrapped the library as wordpress plugin to easy distribute as wordpress plugin. WordPress now doesn't allow this type library as
16-
plugin but providing a large php package with plugin makes the plugin heavy and troublesome for updates. We hosted this in github so that user can download and later
17-
update easily.
18-
19-
Software requirements
20-
21-
The following software is required to develop using PhpSpreadsheet:
22-
23-
* PHP version 7.4 or newer
24-
* PHP extension php_zip enabled
25-
* PHP extension php_xml enabled
26-
* PHP extension php_gd2 enabled (if not compiled in)
27-
28-
29-
The plugin check php version, php_zip, php_xml and php_gd2 library compatible or installed or not, based on success it activated.
30-
31-
How to use:
32-
33-
`
34-
if ( defined('CBXPHPSPREADSHEET_PLUGIN_NAME') && file_exists( CBXPHPSPREADSHEET_ROOT_PATH . 'lib/vendor/autoload.php' ) ) {
35-
//Include PHPExcel
36-
require_once( CBXPHPSPREADSHEET_ROOT_PATH . 'lib/vendor/autoload.php' );
37-
38-
//now take instance
39-
$objPHPExcel = new \PhpOffice\PhpSpreadsheet\Spreadsheet();
40-
41-
//do whatever you need to do
42-
}
43-
`
5+
This plugin provides command line interface for creating dummy job and resume.
446

457
== Installation ==
468

479
1. Download the latest zip from here (https://github.com/codeboxrcodehub/cbxcareertoolkit/releases)
4810
2. [WordPress has clear documentation about how to install a plugin].(https://codex.wordpress.org/Managing_Plugins)
49-
3. After install activate the plugin "CBX PhpSpreadSheet Library" through the 'Plugins' menu in WordPress
11+
3. After install activate the plugin "CBX Career Dev Toolkit Library" through the 'Plugins' menu in WordPress
5012
4. This plugin doesn't load any library by default, it doesn't create extra folder or menu.
5113

5214

5315
== Changelog ==
5416

55-
= 1.0.5 =
56-
* Dependency vendor packages updated to latest
57-
* Github.com based updater
58-
59-
= 1.0.4 =
60-
* Updated the phpspreadsheet package to latest V1.29.0
61-
62-
= 1.0.3 =
63-
* Updated the phpspreadsheet package to latest V1.21.0
64-
65-
= 1.0.2 =
66-
* Updated the phpspreadsheet package to latest V1.21.0
67-
68-
= 1.0.1 =
69-
* Updated the phpspreadsheet package to latest
7017

7118
= 1.0.0 =
7219
* First public release

includes/Factories/Resume/DummyResumeGenerate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function run( $args, $assoc_args ) {
3333

3434
$total = isset( $assoc_args['total'] ) && intval( $assoc_args['total'] ) ? intval( $assoc_args['total'] ) : 100;
3535
$user_id = isset( $assoc_args['user-id'] ) && intval( $assoc_args['user-id'] ) ? intval( $assoc_args['user-id'] ) : 1;
36-
$status = isset( $assoc_args['status'] ) && intval( $assoc_args['status'] ) ? intval( $assoc_args['status'] ) : 1;
36+
$status = isset( $assoc_args['status'] ) && intval( $assoc_args['status'] ) ? intval( $assoc_args['status'] ) : 'published';
3737
$privacy = isset( $assoc_args['privacy'] ) && strval( $assoc_args['privacy'] ) ? strval( $assoc_args['privacy'] ) : "public";
3838
$isPrimary = isset( $assoc_args['is-primary'] ) && intval( $assoc_args['is-primary'] ) ? intval( $assoc_args['is-primary'] ) : 1;
3939

0 commit comments

Comments
 (0)