[email protected]

Forum Replies Created

Viewing 15 posts - 31 through 45 (of 75 total)
  • Author
    Posts
  • in reply to: Course type taxonomy #31427
    I had the same problem a while back while working on a client's site, I feel like it should be easier than creting a new taxonomy but since I didn't get any replies from Vibe Team, I decided to go with a custom taxonomy. Just scroll down the page to see a working version, for free courses (gratuitos) and recommended (recomendados): http://beta.kursaronline.com.br/ And also the archive: http://beta.kursaronline.com.br/cursos/gratuitos/ I haven't tested Alex' code, but it's a fairly basic implementation and it should work. 1 - Make sure your text editor is not messing up the code (special attention to single quotes). 2 - Make sure you have,in fact, created the custom taxonomy. Also the wordpress codex is a great resource to get started: https://codex.wordpress.org/Function_Reference/register_taxonomy I hope it helps you
    in reply to: And yet another one #29264
    @Carse I see you found my email...already replied. Let me know if that works for you
    in reply to: And yet another one #29202
    @Carser Use the function "bp_course_get_course_units" to get the list of unit ids in the course, then get the post meta "vibe_duration" and add up (foreach) unit duration and then show it. Whenever I try to post code here it gets striped so if you need the code for that just email me with your username here and a link to this post. Best of luck
    in reply to: Hard coded strings #29197
    I don't think that was the reason, I've bumped this topic one week apart everytime...so it's not like I was posting everyday. Furthermore I have another topic here that wasn't bumped and still no answer. Anyway I'll wait for the access to your slack channel
    in reply to: what is col-md-6 in header navigation menu #28093
    Those classes belong to bootstrap grid system. For a quick overview please refer to this video: https://www.youtube.com/watch?v=XFrbkhWP0rM For more info about this just google 'bootstrap 3 grid system', it's really easy once you get the hang of it. Good luck
    in reply to: Field in Course Directory #27942
    Na verdade eu entendi sim o que você falou, mas acho que me expliquei mal. Eu vi pelo print que você estã conseguindo exibir a informação na home, mas não no diretório (e provavelmente também não na página do curso). Pelo que eu entendi você está usando um custom field, e embora essa não seria a minha abordagem, o que importa é que está funcionando para você. O que você tem que fazer agora é exibir isso no lugar do preço, e pra isso você pode usar o filtro 'wplms_course_credits'. Assim toda vez que a função for utilizada as suas mudanças serão implementadas automaticamente. Ex: add_filter( 'wplms_course_credits', 'cdctps_exibir_parcelas', 20 ); function cdctps_exibir_parcelas($credits) { $credits = get_post_meta(get_the_ID(),'NOME DO SEU CUSTOM FIELD',true); return $credits; } Ps: Eu não testei esse código, é mais para te dar uma ideia mesmo, então cuidado ao usar.
    in reply to: Field in Course Directory #27672
    Fabio, Tanto o pagamento em parcelas como o pagamento por boleto são praticas tipicamente brasileiras, então é bem difícil encontrar temas que as suportem nativamente. Eu acabei de fazer isso pra um cliente que está utilizando o pagseguro, e a maneira mais pratica é utilizar a sua própria função utilizando o filtro 'wplms_course_credits', assim suas mudanças serão aplicadas toda vez que essa função for chamada pelo tema. Sem contar que vai automatizar e centralizar a manutenção do código. Abraço
    in reply to: My first one using 2.0 #27513
    @hayzed Email me at andreurdek(at)gmail(dot)com
    in reply to: And yet another one #27214
    Thank you all! Don't miss my new project: https://wplms.io/support/forums/topic/my-first-one-using-2-0/
    in reply to: Teach Me Korean #27207
    Great implementation! On my top 3 WPLMS websites
    in reply to: Hard coded strings #25059
    Hey @externaluses You can email me at andreurdek(at)gmail(dot)com
    in reply to: Hard coded strings #24967
    Are you guys for real? How the hell are this support requests being handled? Both my requests are legit, that was clearly and overlook, which is absolutely understandable, it happens, and I'm not complaining about that, but waiting a month for an answer about something that would take 5 minutes to fix is unacceptable.
    in reply to: Customize profile page #24952
    That's a buddypress page so what you want to change is probably on 'bp-custom.php', look there for the function that outputs the certficates and badges...it should be hooked to 'bp_before_profile_content'. If you find it, just remove it using your child theme functions file, eg: remove_action('bp_before_profile_content','name_of_the_function'), and add your own the same way: add_action('bp_before_profile_content','my_custom_function') I dont have the files handy, but it should be a 5 minutes job Let me know I if I can help you any further
    in reply to: Tip – Open login popup when user try to see free units #24530
    @David Sorry for the delayed response, I wasn't tracking this topic...just came here to update the code in case anyone attempt to use this tip with the latest release. It's all css...use opacity to hide/show it on mouse hover, pretty straight forward. Take care
    in reply to: Tip – Open login popup when user try to see free units #24529
    This was working fine (thank you, thexlearner) before the latest updates, but for it to work with the newest modern theme (diplaying unit description) I had to change a bit. Here's the code I'm using should it help anyone:
    //Login popup on Free Lessons
    add_filter('wplms_curriculum_course_lesson','wplms_free_access_2',99,3);
    function wplms_free_access_2($html,$lesson,$course_id){
    $free=get_post_meta($lesson,'vibe_free',true);
    if(!is_user_logged_in() && vibe_validate($free)){
    
    return '<a class="login_trig" href="#login">'.get_the_title($lesson).'</a>';
    }else{
    return $html;
    }
    }
Viewing 15 posts - 31 through 45 (of 75 total)