Learning Management Tools

Pages:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

Which certificate module works with 22

  • 2015-02-10 17:00:12

    Which certificate module works with 22

    Hello Greg

    I am just wondering which certificate module will work with 2.2

    Thank You

    Jim Barnes

  • 2015-02-10 17:52:38

    Re: Which certificate module works with 2.2

    The certificate module is not yet updated for ATutor 2.2.

    It may be while, so if you're able, I'd suggest updating it yourself and contributing the update back for others to use.

    The update would involve replacing the old mysql db calls with the new queryDB() function.

    See the details in the developer documentation

  • 2015-02-10 23:19:24

    Re: Which certificate module works with 2.2

    Hi Greg

    I can do that but i need to know which one.

    I can find two VLC and HPA ? i think

    which one has the best features or is there another i am not aware of

    thank you

    jim barnes

  • 2015-02-11 09:06:34

    Re: Which certificate module works with 2.2

    Your best bet is to work on the lastest code from GitHub. Create a clone, make the update, then create a Pull request to commit your changes back to the code repository.

  • 2015-02-11 23:48:24

    Re: Which certificate module works with 2.2

    Hi Greg

    I love the way you say that as though I am supposed to know what it means LOL

    So with regard to replacing the mysql_query with queryDB().

    If the statement is mysql_query(whatever) can I just replace it with queryDB(whatever).

    Can I just bulk replace in all certify files using my IDE.
    (Checking each replace as its done of course.)

    Then zip all the files into an archive called certify and install using module installer.

    Do I need to modify the XML, change names or versions etc.?

    I really appreciate your assistance.

    Jim Barnes

    And okay so it wasn't HPA but FHA :)

  • 2015-02-12 09:25:04

    Re: Which certificate module works with 2.2

    Sorry. I forget sometimes who the developers are.

    This is more complicated than a search and replace. It needs someone who understands what the code is doing.

    You might try something like Freelancer to see if you can find someone to help.

  • 2015-02-13 06:00:41

    Re: Which certificate module works with 2.2

    Hi Greg

    Nothing to apologise for I probably should have added several smiley faces to let you know I was joking.

    I work with so many different people that sometimes I need to carefully explain what is needed in a given situation.

    I can understand the code but I was just looking for more insight.

    Especially given that its not as simple as a bulk replace.

    Obviously there is more to it, but knowing where to start would be helpful.

    I presume that some one at HPA helped to develop this, so should I take this issue to the dev forums in the hope they are still around?

    I guess its just the technology thing has too much influence in my life.
    As I was hoping to find a quick and simple answer, but I can trawl the code and work it out.

    Thanks for your advice

    Jim Barnes

  • 2015-02-13 09:32:50

    Re: Which certificate module works with 2.2

    I'd say have a look at some of the other modules available for ATutor 2.2, or ATutor 2.2 itself, to see how queryDB() replaces the old mysql functions.

    Here's an example of a diff between the old and new db access functions from the Payments module,

    Note that queryDB() outputs a value, or an array of values, so typically in addition to replacing the mysql functions, often while() loops that cycle through a mysql result, need to be replace with a foreach() loop that cycles through an array of values. Hope that make sense.