delower186 / wp-todo Goto Github PK
View Code? Open in Web Editor NEWComplete To Do Management solution for your wordpress website.
Home Page: https://wordpress.org/plugins/wp-todo/
Complete To Do Management solution for your wordpress website.
Home Page: https://wordpress.org/plugins/wp-todo/
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;
}
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
I see that you previously had this implemented
https://github.com/delower186/wp-todo/blob/master/inc/Base/Model.php#:~:text=redirect%20to%20tasks-,public%20static%20function%20wptodo_edit_task(int%20%24id)%7B,%7D,-public%20static%20function
But this is only hiding the "Edit" button, you are missing the endpoint protection.
I hope you will implement this feature in the next release.
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?
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.
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.
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
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?
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?
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.
Hello,
Installed the plugin, but the add task button is not showing up. Can you help?
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.