tnomi
Forum Replies Created
-
Forum: Plugins
In reply to: [Attendance Manager] Layout of dateFor example, I inserted that in a ‘Weekly schedule’ page.
<script> jQuery(document).ready(function($){ $( 'table.attmgr_weekly_all th .date' ).each(function(){ d = $( this ).text().split( '/' ); $( this ).text( d[1]+'-'+d[0] ); }); }); </script> [attmgr_weekly_all]
Or into “header.php” of your theme.
Forum: Plugins
In reply to: [Attendance Manager] Layout of dateHello,
How about the following way?<script> jQuery(document).ready(function($){ $( 'table.attmgr_weekly_all th .date' ).each(function(){ d = $( this ).text().split( '/' ); $( this ).text( d[1]+'-'+d[0] ); }); }); </script>
This is one of example.
In ver 0.4.4, parameter “hide” was added to short code [attmgr_weekly].
Because that is smallest changes than make a new short code.usage: [attmgr_weekly id=”xx” hide=”1″]
In this case, it doesn’t show anything.
Parameter “hide” may omit.
And default value of “hide” is “false”.Forum: Plugins
In reply to: [Attendance Manager] Request: Please update JS codeI am depending on Google translation too much, because I am not good at English.
So I want to apologize for lack of my understanding.
Sorry.Forum: Plugins
In reply to: [Attendance Manager] BUG: Opened DIVThank you for your feedback.
I will correct that.Forum: Plugins
In reply to: [Attendance Manager] Request: Please update JS codeThank you for your feedback.
I wanted to use jQuery.
But a parameter to “wp_enqueue_script()” seems to have been insufficient.
https://codex.www.ads-software.com/Function_Reference/wp_enqueue_script3rd parameter: $deps
The handle of all the registered scripts that this script depends on, that is the scripts that must be loaded before this script.5th parameter: $in_footer
When the theme has the wp_footer() template tag, the script is placed before the </body> end tag.I will correct these parameters.
Thank you.Forum: Plugins
In reply to: [Online Lesson Booking] Date/TimeMy extension module “12 hour clock (AM/PM) ” is here.
https://olbsys.com/extensions/codes/olb-addon-ampm/ampm-readme/Forum: Plugins
In reply to: [Online Lesson Booking] Teachers cannot choose availability datesHello,
Thank you for your feedback.But, I couldn’t reproduce a reported problem from you.
I made a new site, and only OLB was activated, but no problems occurred.[Environment]
WordPress: Ver 4.3.1 / 4.3 / 4.2.4
OLB: Ver 0.7.2
Theme: Twenty FifteenI couldn’t find the cause of your problem.
Try changing the theme to “Twenty Fifteen”.
Or make and try new test site.I wish that your problem is settled early.
Forum: Plugins
In reply to: [Attendance Manager] REQUEST: Intervals to setup scheduleI imagined that, too.
Thank you.Forum: Plugins
In reply to: [Attendance Manager] REQUEST: Intervals to setup scheduleThank you for your suggestion.
That structure might be difficult for me. I feel so.
Because I’m still unskilled.
I can’t promise, but I’ll think about that.Thank you.
I will think about whether to add a parameter to short code [attmgr_daily].
But it is still undecided.Forum: Plugins
In reply to: [Attendance Manager] Users sorting optionThank you very much.
I would like to think about adding a parameter to shortcode [attmgr_admin_scheduler].Forum: Plugins
In reply to: [Attendance Manager] THANK YOU!Thank you.
I wish to keep this simple without adding options as much as possible.
But I would like to prepare hooks so that each user can customize this easily.Forum: Plugins
In reply to: [Attendance Manager] UL staff_block doesn have closing tagThank you for your feedback.
That was corrected in ver 0.3.1.Forum: Plugins
In reply to: [Attendance Manager] User roles to access admin schedulerThank you for your feedback.
The following cord is the hint,
the user who isn’t “Administrator” will be able to edit “scheduler for administrator”.Insert this cord into “functions.php” of the theme you use.
add_filter( 'attmgr_can_edit_admin_scheduler', 'my_filter', 99, 2 ); function my_filter( $result, $user ) { global $current_user; if ( ! $result ) { if ( current_user_can( 'editor' ) ) { $result = true; } } return $result; }