rahy
Forum Replies Created
-
Hi @thomasplevy,
Thank you for your advice.
Its done and case closed.
Thank youHi @thomasplevy,
Yes it has. Sorry for not closing it.
Thanks.thanks for letting me know.
I want to customize the page displaying the hooks (the course preview/link).
But putting the customized llms.template.hooks.php in a folder named includes in the theme child doesn’t work.
How do I do that?
ThanksThanks. That works.
I also change the my_courses.php to include ‘100 > $course…’ .
And I remove the javascript as suggested (it hide all completed courses).
So now I have separated course-in-progress and course completed sections.
Great!I think this should be standar in the next version ??
I tried this to do what I want:
Copy the my-course.php and name it my-completed-course.php.
Add the template to my-account.php
Change the code in my-completed-course.php line 15:
if ( 'Enrolled' == $course_item->meta_value && get_percent_complete() == '100%' )
or something like that, because this one doesn’t work ??
Thanks for your explanation. But forgive my lack of understanding this ??
What do you mean by “inside the loop”? When putting it in the description of a course, it should be in the loop, right?
When I type the shortcode only [lifterlms_course_title] it seems work as it doesn’t print the shortcode itself (like plain words typed in there), but it’s blank. So it doesn’t return anything.
But when I type with <?php echo… it prints the whole code.And the widget is displayed in the Course sidebar. So it should be in the loop also, right?
I output the course metainfo in the same widget and it works.Maybe I should use the post_id, I just think the shortcode will be simpler.
Thank you.
Forum: Themes and Templates
In reply to: [Vantage] Template customizationHi,
Can you please guide me on this matter?
Thank youHi @thomasplevy,
Yes the problem has been resolved.
For the next time, I will have separate posts for each issue.
Thank you.My site has been restored. Everything is good now. I deactivate some plugins.
I don’t yet know what happened. I will explore more later.1. When opening the account details using Account Setting link in the my-account page and then save, the welcome message name (was 2 words) is change to first name (1 word).
Looking at the my-account.php code, it should be displaying display name.
Looking at the database table, the display name is changed to first name only.So the displaying is correct. But the saving button has truncate the display name.
After saving, I got logged out from the admin page (openned at the same time). And I can’t go back to domain.com/wp-admin/. I always get error message that I’m not allowed to open the page.2. I just realize, does lifterlms uses different template of content-course for login user and non-login user? or at least calls something different between the login status?
Because the custom content-course.php is not called when not logged in.You can see the diffrence here:
The red box is the custom metadata.
https://www.dropbox.com/s/um178w1l3l9iujs/non-login.JPG?dl=0
https://www.dropbox.com/s/j7v2ib7a48wh7wl/login.JPG?dl=0I don’t know if the 2 questions are related or not, but starts from the user details saving, I got difficulties to login to my admin site.
My site is https://ukmbelajar.net/You can look at them from menu:
– HOME (using shortcode) –> correct display
– KATALOG (using page set at lifterlms Setting > Courses) –> layout not grid.
– KATALOG > KEWIRAUSAHAAN (using course-category) –> llms.template.hooks.php not called (I do custom directly in the original file in plugins folder)
– KATALOG > KEWIRAUSAHAAN > KEPEMIMPINAN (using course-category) –> correct display
Thank youIf accessing from menu using Course Category is also ok.
When looking at the template, it pick up content.php which is theme’s blog content.
I have remove all customization files and still the same.
What do you think is wrong? Can you tell where I should start looking from?Thank you.
https://www.dropbox.com/s/l9us2zpo5ikhaaq/Screenshot%202016-07-03%2000.33.26.JPG?dl=0
Hi @thomasplevy,
I just updated lifterlms to 2.7.7 and now my course list (setting>course page) messed up. It looks like the blog page.
But the shortcode is still good.
What happened?https://www.dropbox.com/s/e4zo1a4wucmac1h/course%20page.JPG?dl=0
2. How do I customize the llms.template.hooks ?
I put it in child-theme > lifterlms > include and child-theme > lifterlms, but not read by the plugin.Thank you
Hi @thomasplevy,
In the llms.template.hooks.php, there is the same code on 2 lines. Is it intended or just a mistake? I delete one of them and see no difference.
//After Course Archive Loop Item Title
add_action( ‘lifterlms_after_shop_loop_item_title’, ‘lifterlms_template_loop_length’, 10 );
add_action( ‘lifterlms_after_shop_loop_item_title’, ‘lifterlms_template_loop_length’, 10 );Forum: Plugins
In reply to: [All-In-One Security (AIOS) – Security and Firewall] hoenypotI tried to disable all firewall using the button. And then reactivate one by one.
It turns out that the setting for “Advanced Character String Filter” causes this. So I just disable it.
Thank you for your support.Forum: Plugins
In reply to: [All-In-One Security (AIOS) – Security and Firewall] hoenypotHere is the link of the screenshots:
https://www.dropbox.com/s/7wfh3nebgtclcgs/before.jpg?dl=0
https://www.dropbox.com/s/27pc7hajpoq9xdi/after.jpg?dl=0