hayaalahmad
Forum Replies Created
-
Forum: Plugins
In reply to: [WP phpMyAdmin] phpMyAdmin – ErrorHi,
Please help
Forum: Plugins
In reply to: [WPS Hide Login] 404 on Password Protected PagesHello, Yes even after clearing the cache I still get the same thing
Forum: Plugins
In reply to: [WPS Hide Login] 404 on Password Protected PagesYes I use “Ultimate Member”, but even when I deactivated it, ?it’s still redirecting to /wp-login.php?action=postpass and gives 404
Forum: Plugins
In reply to: [The Events Calendar] Issue when subscribing to Google Calendar and icalendarHi @abzlevelup,
Thank you very much!, and yes Google calendar is updated now, but Outlook Calendar is still not updated. It’s ok I’ll give it time as I understand this is a new feature added to the plugin.
Forum: Plugins
In reply to: [The Events Calendar] Issue when subscribing to Google Calendar and icalendarThank you @robelemental!
I just updated, yes one issue is sorted. Now when I subscribe to any calendar, I get all events in that calendar (not just one month’s events) which is awesome!.
However, when making any update in an event, this update is not showing in my Google calendar nor Outlook Calendar, only icalendar is synchronized and updates immediately.- This reply was modified 2 years, 5 months ago by hayaalahmad.
Forum: Plugins
In reply to: [The Events Calendar] Issue when subscribing to Google Calendar and icalendarHi @abzlevelup
Thank you and waiting for your reply.
Have a great day.Forum: Developing with WordPress
In reply to: form validation with ajaxOk thank you. Here is where I am at now:
In my functions.php I wrote:
add_action('wp_enqueue_scripts','enqueue_jquery_form'); function enqueue_jquery_form() { wp_enqueue_script('jquery-form'); wp_enqueue_script('jquery');} add_action('wp_ajax_editStudent', 'editStudent'); add_action('wp_ajax_nopriv_editStudent', 'editStudent'); function editStudent(){ wp_send_json_success("test");}
and in myTemplate.php:
echo ' <form id="editStudentForm" method="post" action="'.admin_url("admin-ajax.php").'"> <input type="hidden" name="action" value="editStudent"> <label for="name">Name: </label> <input id="name1" name="name1" value = "'.$name.' " required><br> <input type="hidden" id="gradeHidden" name="gradeHidden" value = "'.$grade.'"> </form>'; ?> <script type="text/javascript"> jQuery(document).ready(function($){ $("#editStudentForm").ajaxForm({ success: function(response){ console.log(response); } }): }); </script>
And now the problem is, I am getting the response :
{“success”:true,”data”:”test”} in a new page which is /wp-admin/admin-ajax.php
I don’t understand why is this happening since ajax is suppose to run without reloading the page!.- This reply was modified 3 years, 11 months ago by bcworkz. Reason: code fixed
Forum: Developing with WordPress
In reply to: Editing functions.php fileI am using WP Student theme. Is there some kind of hook or anything to use to display that code where I want?
Forum: Developing with WordPress
In reply to: Editing functions.php fileThank you, but that did not work.
the whole design of the page crashed.I just need to know to display THAT code in THAT specific div. Could you please help?
Forum: Fixing WordPress
In reply to: Multiple front-end users“Your jQuery could possibly get their login form, “fill it out” (so to speak) and submit it.
How could I get their login form? could you please provide me with a code example?
and also could you please tell me where to put this code in WordPress?.Forum: Fixing WordPress
In reply to: Multiple front-end users@bcworkz Thank you it worked now. I have another question. Please bare with me as I am still a beginner.
In the portal I am developing (on WordPress), I have links to external web systems (ixl/managebac/turnitin), and I want to accomplish the following scenario:
1- The student logs in to my portal (Done).
2- After logging in, when the student clicks on ixl.com link (for example), I want him to be automatically logged in to ixl. Please note that I have ixl login credentials stored in my database. I think this is possible using Jquery ? I am thinking of getting the login credentials from the database and send it to ixl.com somehow. Please note that security is not an issue. SO how can I do this in the simplest way possible? Thanks alotOk, here’s an update of what came up. I was using a plugin for mega menu “WP Mega Menu” and the If-Menu was not working in the sub-menu items. However, when I disabled the Mega Menu. It Worked!. so is it incompatible with WP Mega Menu? Cause I really need the Mega Menu.
- This reply was modified 4 years ago by hayaalahmad.
https://ibb.co/DYXtJQC This is the link for the first image.
I set the Visibility rules for the sub-menu item (Induction Week) to be only for administrator.
https://ibb.co/FYHyTkrHowever, when I log in from my subscriber account, I can still see it.
https://ibb.co/GRD3xnkThere is no option to insert images here LOL. Could you let me know how I can send it to you? Thanks!