Giter Club home page Giter Club logo

wp-todo's People

Contributors

delower186 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

wp-todo's Issues

User Roles

I have a site which employs bbpress. As such I am both bbp_keymaster and administrator. The way the code is written the $role of administrator is overwritten by bbp_administrator.

See /home/wp-content/plugins/wp-todo/inc/Pages lines 119-140:
public static function get_role(){

	$current_user = wp_get_current_user();

	foreach($current_user->roles as $role){

		$role;
	}

	return $role;

}

I hacked the code to make it work for me:

public static function get_role(){

	$current_user = wp_get_current_user();

	foreach($current_user->roles as $role){

		$role;
		break;
	}

	return $role;

}

There may be other plugins which will have a similar complication, so I would suggest that the line should likely be:

	foreach($current_user->roles as $role){

		if ($role = "administrator" || $role = "editor') { return $role; }
            }

            return $role;
  }

view and shortcut

not showing timer, allways shows Danger! This Task is OverDue

works fine in edit admin

view and edit on frontend not working
view in admin not working

version version 5.3.2, wordpress

New Task on front end

Hi all, hi Till

Thank you for your wonderful plug-in.

We have the problem, that we can't add a task on frontend. there isn't a submit or add button. can you help us to fix it?

Deadline Shorting Issue

Hey, Thanks for the plugin,
My problem is when I can try sorting the list by deadline it just sorting to day of deadline time not remaining days. For example 21 May 2021 behind of 19 May 2022 cause 21 greater than 19. So I have 2 questions for you. 1-) Am I using the plugin wrong, then can you tell me the right way 2-) If this is an issue can you fix it or just tell me how can I fix in the plugins files.
Thank you, best regards.
Ekran Görüntüsü (1)

"not a valid json response" error when saving page with shortcode.

In WP 5.8 with plug-in v 1.2.2 I get an error "Updating failed. The response is not a valid JSON response." when trying to save a page with the shortcode in. I tried saving other shortcodes, including ones that don't exist, as well as non-shortcode content. Only the [wp-todo] shortcode produced the error.
todo

jquery-ui version mismatch

In inc/Base/Enqueue.php, there is:

24:		wp_enqueue_style('jquery-ui', parent::$plugin_url . 'scripts/jquery-ui-1.13.1/jquery-ui.min.css');
30:		wp_enqueue_script('jquery-ui', parent::$plugin_url . 'scripts/jquery-ui-1.13.1/jquery-ui.min.js', array(), false, true);

However, in the "scripts" directory, the version is "jquery-ui-1.12.1":

wp-todo/scripts$ ls
DataTables		css			jquery-ui-1.12.1	js

This causes "404 not found" results for the script:

[02/Aug/2022:08:54:30 -0700] "GET /wp-content/plugins/wp-todo/scripts/jquery-ui-1.13.1/jquery-ui.min.css HTTP/1.1" 404

Error when activating plugin

I downloaded the wp-todo plugin version 1.1.2 and dropped it in the plugins folder, but when activating it throws an error:


Warning: dirname() expects exactly 1 parameter, 2 given in /public/sites/..../wp-content/plugins/wp-todo/inc/Base/BaseController.php on line 15

Warning: dirname() expects exactly 1 parameter, 2 given in /public/sites/..../wp-content/plugins/wp-todo/inc/Base/BaseController.php on line 16

Warning: dirname() expects exactly 1 parameter, 2 given in /public/sites/..../wp-content/plugins/wp-todo/inc/Base/BaseController.php on line 17

Warning: dirname() expects exactly 1 parameter, 2 given in /public/sites/..../wp-content/plugins/wp-todo/inc/Base/BaseController.php on line 15

Warning: dirname() expects exactly 1 parameter, 2 given in /public/sites/..../wp-content/plugins/wp-todo/inc/Base/BaseController.php on line 16

Warning: dirname() expects exactly 1 parameter, 2 given in /public/sites/..../wp-content/plugins/wp-todo/inc/Base/BaseController.php on line 17

..
The plugin generated 1116 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.


(I removed my site name from the errors..)

My wordpress version is 4.9.5.

Any ideas what the issue can be?

Getting blank pages

Love the To-Do plugin. Unfortunately, a new unnamed page also gets added each time we add a task. Is there any way to prevent this?

No instructions

It would be very helpful to have more of a guide especially as regards the shortcode. Does it take any arguments? In particular, is there any way to specify which tasks are displayed? We want users to see only their own tasks on the "to do" page of the website.

The plugin website in the WordPress.org catalog is a broken link, so if there was ever any documentation, it's missing now.

error while activating the plugin

Parse error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in /home/wedmantra/public_html/Portal/wp-content/plugins/wp-todo/inc/Init.php on line 13

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.