rgkmedia
Forum Replies Created
-
Forum: Plugins
In reply to: [Namaste! LMS] namaste paypal buttons no longer workingSorry I thought I closed this. Completely agree with you. The client told me that paypal payments were broken. Looked into it and found some info on how paypal HAD changed their button acceptance criteria disrupting many SMEs.
Turned out in this instance the client had frozen their own paypal account by trying to access is remotely and they didn’t want to tell me that’s what they’d done. There’s nothing wrong with your button handling in Namaste.
Thanks for taking the time to respond.Forum: Plugins
In reply to: namaste paypal no longer workingHave looked into this further and it looks like the $fee variable is fine, but there might be another variable being passed to paypal from course-pay.php that paypal doesn’t like. Other Namaste users may have also had similar problems. Any ideas anyone?
Forum: Plugins
In reply to: [Namaste! LMS] with tutoring option for paid courseHaving just changed packages with my web hosting co. I had exceeded my allocated space. Forget the above comment.
Forum: Plugins
In reply to: [Namaste! LMS] with tutoring option for paid courseTrying to get this to work appear to have partially crashed Namaste.
inserted this code into the last line of Models/course-model.php
if($course_id = “991” && !NamasteLMSStudentModel :: is_enrolled($user_ID, ‘624’)) {
$course_id = “624”;
$_course = new NamasteLMSCourse();
$_course->enroll($student_id, $course_id, ‘enrolled’);
$course_id = “991”;
}which caused namaste to disable and course-model.php to be deleted.
Worse still when I tried to upload a backup of the original php file via ftp I get the following error message : 553-can’t open that file: invalid argument.
Backup software nto working either.
I don’t want to have to uninstall and reinstall namaste as I woudl lose all the courses and lessons (quite a few of them) currently set up.
Have you ever encountered this problem working on namaste? Failing that, which folders / files will I need to backup and replace in order for the course content not to be lost?Forum: Plugins
In reply to: [Namaste! LMS] enrolling for one course enrolls for anotherThanks for that. Have been trying to get something working the last few days but so far no luck.
By ‘NamasteLMSCourse()’ I presume you mean NamasteLMSCourseModel()?
Also the function enroll seems to call the action “namaste_entrolled_course”.
The biggest problem is knowing where exactly to add any code. It’s never a good idea to call a function from within the function (enroll) or create a new instance within NamasteLMSCourseModel().
The only other locations I cna think of are either where the enrolling text is changed to “You are enrolled in this course” or possibly the Post associated with the course, except the syntax ‘->’ causes the enroll function to just appear on the page as text.The code I’ve been trying is :-
$course_id= “624”;
$_course = new NamasteLMSCourseModel();
$_course->enroll($student_id, $course_id, ‘enrolled’);Any suggestions?
Forum: Plugins
In reply to: [Namaste! LMS] with tutoring option for paid courseThe client is not willing to pay for the upgrade to Pro to incorporate a shopping cart.
I’ve created a new course ‘… With Tuition’ and have tried to add some code to course-model.php so that if the user enrolls for the ‘with tuition’ course they also enroll for the ‘without tuition’ course but when I Update Namaste LMS deactivates.
Is there a block of some kind on modifying the code? If so how can I get it so if a user enrolls to the course ‘with tuition’ they get access to the lessons wihtout me having to duplicate all the lessons.Forum: Plugins
In reply to: [Namaste! LMS] with tutoring option for paid courseCorrect. As one price is without one to one tuition and the other is without tuition.
Which do you recommend, Woocommerce or Simple? Not heard back from client yet as going with Pro.