Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter tw

    (@guts)

    I don’t know what the hell I was doing. I swear I tried this UMPTEEN times.
    I ended up re-installing the customization plugin and that code worked.
    Thanks for the push Thomas. I got it solved!
    Much appreciated.
    Tim

    Thread Starter tw

    (@guts)

    Any ideas Thomas?

    Thread Starter tw

    (@guts)

    I think the problem thomas is that this function command controls the THEME which is launchpad btw. but the file that I’m working with is within the lifter plugin itself….NOT the theme.
    I don’t know where to put this change of code?

    Not sure if that’s the prob but might be something to consider. please advise

    lifterlms/includes/class.llms.student.dashboard.php

    Thread Starter tw

    (@guts)

    Hi thomas

    thanks for the reply,
    I entered the code just you suggested
    It did not work.

    I put back the original ‘class.llms.student.dashboard.php’ file in the ‘lifterlms/includes’ directory (that code displays 3 courses only) so it went back to normal.
    then entered your code as is in the customization plugin.

    here’s the fatal error it shows.
    Parse error: syntax error, unexpected ‘function’ (T_FUNCTION) in /homepages/40/d406260191/htdocs/wp-ytp-courses/wp-content/plugins/lifterlms-customizations-master/lifterlms-customizations.php on line 53

    on one of my logged in accounts, I’m a member and have access to all courses, so when I had the “return 30” .php file uploaded… I had all 9 of my courses visible on my dashboard. With this new code. only 3 show up. not 9.

    got another suggestion?
    besides starting from scratch and creating a child theme, or having to manually replace the ‘class.llms.student.dashboard.php’ every time there is a lifter update?
    thanks
    Tim

    Thread Starter tw

    (@guts)

    Hi Loralee,

    Just a note to reactivate this thread.
    Thanks
    Tim

    Thread Starter tw

    (@guts)

    Hi Loralee,

    I tried the adding the code from above using the liftermls-customization.php method: (that broke my site)

    I also tried adding the entire code from that page (lifterlms/includes/class.llms.student.dashboard.php) using the liftermls-customization.php method.
    Broke the site again.

    **** NOTE **** I don’t think this is “functions.php” content. I’m I correct on this? That is what I’m asking…I don’t know where to place this change in code.
    For now I’ve just updated the ORIGINAL (lifterlms/includes/class.llms.student.dashboard.php) file but I know I’ll get burned on the next lifter update.

    I also just tried the override template method… suggested here…
    https://lifterlms.com/docs/how-do-i-add-custom-code-to-lifterlms-or-lifterlms-launchpad/

    I created the new directory but that didn’t work either. my changes didn’t take.

    I need some help please.

    I believe this is because the change I want to make is in the ASSETS folder an not the templates folder. I don’t think this is a “functions” modification.

    Thread Starter tw

    (@guts)

    Okay Moshu. i can do that. (just not at my current location) this computer sucks. Thank you for the info!

    but then what?….i’m sorry for being so ignorant about this.
    if people want this feed they just click on “fss” in the footer?
    i’m sure i can add it to the sidebar if i want. after they click will they just get an email when i post again?

    and with the “subscribe me” plugin…the dashboard says just click the services you want on your page…but they don’t show up.

    I guess i’m just wondering how to get those nice simple looking buttons on the sidebar i see on so many sites.

    thanks

Viewing 7 replies - 1 through 7 (of 7 total)