pixar1942
Forum Replies Created
-
Forum: Hacks
In reply to: Automatically minify the size or dimension of image attach during the uploadHi
thanks for the reply 🙂
I’m creating the code in function.php but im not too good in wp hooks so i stuck in my code
——–
add_action( ‘wpcf7_before_send_mail’, ‘myFunction’ );
function myFunction() {
image_make_intermediate_size( $file, $width, $height, $crop );
}——–
I’m confuse what variable im going to use to access the file information of the image i attach because when i check the file.php found in
” wp-content/plugins/contact-form-7/modules “
I see $file[‘name’]; is that the one im gonna use to fill the parameter for image_make_intermediate_size?
and what else i should add inside my function?.Thanks 🙂
Forum: Plugins
In reply to: [Appointment Calendar] how to Add more appointment in one time slotfirst open your appointment-calendar-shortcode.php somewhere in line 2221 look for this code
$DisableSlotsTimes = array_merge(/*$AppBetweenTimes, $AppPreviousTimes, $AppNextTimes, $EventPreviousTimes,*/ $EventBetweenTimes);
use the code i post and replace your previous. If you notice I remove or comment the four variables I only left the $EventBetweenTimes because I only allow the dayoff to prevent making appointment. This unlimited appointment will work in your front end. But your admin area still has a limit of 1 appointment to make your admin appointment unlimited you need to do the same thing just browse all the php file inside the menu-pages folder once you found the file holding same code i post just replace it. But if you’re not gonna use the admin appointment its still ok it will appear more appointment in the list but you cannot make another appointment since it was used.
Forum: Plugins
In reply to: [Appointment Calendar] how to Add more appointment in one time slotmy teacher ask me to put all time slot inside the <option> and i did it correctly submitting the time request is successfully working but when i make another appointment a fatal error appear inside the <div> of time slot it says “FATAL ERROR not enough memory space in appointment-calendar-shortcode.php line 837” and when i undo everything back to original the error is going back again.
~ the 60 minute time slot in calendar settings is not working only 30 minutes.
-Not bug im just concern-
~ Im worry about the appointment approval process because after making an appointment the schedule will automatically appear in the calendar. Im expecting that should not automatically appear since there is an approval from admin. What im worry is what if someone make fun of other website they flood the calendar by making more appointment.thats all nothing more 🙂
Thanks 😀
Forum: Plugins
In reply to: [Appointment Calendar] how to Add more appointment in one time sloti try to configure the plugin and now it can accept more appointment per slot but still i cant control the population im trying if there’s something i can do…. im using the plugin for my thesis in school in my testing i found 1 bug and possibilities issue.
thanks 😀