Forum Replies Created

Viewing 15 replies - 16 through 30 (of 207 total)
  • Thread Starter futureyoon

    (@futureyoon)

    That article was created 6years ago.. all the screenshots and menu are alot different now. It’s pretty hard to follow through thou.

    Thread Starter futureyoon

    (@futureyoon)

    Thank you for the info

    When the condition is saved as posts, may I know what post_type it’s being saved as?

    Especially condition for the points.

    Thank you

    Thread Starter futureyoon

    (@futureyoon)

    yes of course. Multiple times.

    Thread Starter futureyoon

    (@futureyoon)

    sorry i came back late. Thank you for the update.

    Just a suggestion

    You can put a note at “Garbage collection interval” area that this will work only when ‘Disk’ is selected.

    Other than that, I am clear with all other answer except one below.

    I am using Redis for object cache.

    so do I need to turn on the cronjob in order for this “Default lifetime of cache objects” job to work? or without turning on the cron job (define( ‘DISABLE_WP_CRON’, true );), this will automatically flush the object cache?

    Please kindly confirm. Thank you

    • This reply was modified 2 years, 1 month ago by futureyoon.
    • This reply was modified 2 years, 1 month ago by futureyoon.
    Thread Starter futureyoon

    (@futureyoon)

    yes, I got that.

    I have set it volatile-lru, so i wud expect it clear the old dataset when the memory gets full, right?

    but it’s again making the site freezed from time to time with 2gb max memory.

    now I increased it to 4gb and monitor it.

    Either it works well or not, it proves that old data doesn’t get cleared off.

    any input wud be appreciated.

    Thread Starter futureyoon

    (@futureyoon)

    Thank you for the info @tillkruess

    That leads me to next questions as below.

    What will happen if the memory gets full? it will wipe off the oldest data to clear up the space for the new incoming data?

    What I have experienced so far is that the system (site) gets freezed whenever it hits the max memory. that’s the reason of I am checking to clear the object cache in regular basis to avoid the site breakdown.

    Please advise me on this.

    Thank you

    Thread Starter futureyoon

    (@futureyoon)

    just curious if this was inlcuded into the new release?

    Thread Starter futureyoon

    (@futureyoon)

    OK. Thank you for the comment. @vmarko

    That means..

    Q1: If I used Object Caching to Redis, garbage collection interval will not happen at all? or it will happen, but just that it’s not done by cronjob?

    Q2: And you mentioned ‘lifetime of cache objects’ is not using a cron job, I guess then it has own clock to kick off the job somehow. right?

    Q3: A question is…
    is there a way to check if above 2 mentioned jobs have run anywhere from the system?

    Please kindly advise.

    Thank you

    • This reply was modified 2 years, 2 months ago by futureyoon.
    • This reply was modified 2 years, 2 months ago by futureyoon.
    • This reply was modified 2 years, 2 months ago by futureyoon.
    Thread Starter futureyoon

    (@futureyoon)

    OK. I have updated it to 2gb and will monitor.

    Is there a way for me to observe (any data, maybe from ‘redis-cli info memory’ or ‘top’) how it performs?

    I mean instead of wating for the system to hang and then see that debug.log, is there any way to check like ‘oh..it’s hitting very near the breakpoint…so i have to increase bit more’ something like that?

    Thank you

    • This reply was modified 2 years, 2 months ago by futureyoon.
    • This reply was modified 2 years, 2 months ago by futureyoon.
    • This reply was modified 2 years, 2 months ago by futureyoon.
    Thread Starter futureyoon

    (@futureyoon)

    @tillkruess thx for the input. i have further questions as below.

    1. how to set maxmemory unlimited?
    2. plus, i have 2gb database, what is rough recommendation of the maxmemory for my case?
    3. i have set the maxmemory-policy as allkeys-lru and changed from allkeys-lfu (becaose site was still freezed)

    please share some insights here.

    Thank you

    Thread Starter futureyoon

    (@futureyoon)

    Hmm.. OK.

    What if I make this change, can you let me know if it will work?

    As of now

    level 1 (menu_order 1) requirement: earn achievement 1

    level 2 (menu_order 2) requirement : reach point >= 10

    level 3 (menu_order 3) requirement: reach point >= 20

    To be

    level 1 (menu_order 1) requirement: earn achievement 1

    Add: When a user earns level1, award 1 point to the user.

    level 2 (menu_order 2) requirement : reach point >= 10

    level 3 (menu_order 3) requirement: reach point >= 20

    With this change, the point will get updated for level 2 requirement. so the user will get level 2.

    Please kindly let me know.

    Thank you

    Thread Starter futureyoon

    (@futureyoon)

    Yes I can see that. Thank you for the confirmation.

    Is it possible to generate the shortcode without adding the tab in the buddypress group? I wish to display the buddypress group leaderboard somewhere else but inside the group itself.

    Please advise.

    Thread Starter futureyoon

    (@futureyoon)

    OK. Noted.

    Then, does “buddypress group leaderboard” come with any shortcode to use?

    Thread Starter futureyoon

    (@futureyoon)

    OK. Thank you for the details.

    With that, I have further questions with the siutation like below.

    I was testing the ranks, so I set 3 ranks (level 1, level 2, level 3)

    level 1 (menu_order 1) requirement: earn achievement 1

    level 2 (menu_order 2) requirement : reach point >= 10

    level 3 (menu_order 3) requirement: reach point >= 20

    A user (Mike) didnt complete level 1 requirement in the beginning, but happened to earn point 13 already which is level 2 requirement.

    but he didnt get level 2 although the requirement was met, I guess it was because he didnt’ earn level 1 yet.

    later, he managed to earn level 1. his point was still 13, which is requirement for level 2.

    the question is Mike would get level 1 and at the same time level 2 upon completion of the requirement for level 1?

    I thought there would be some kind of trigger to check whether or not Mike is qualified to get level 2 after he earned level 1 but I waited for days, nothing was triggered for Mike to earn level 2 even though he has already met the requirement.

    I am not sure if this is expected behavior.

    is there a way to re-sync user’s points programatically or re-triggger the event for the next level (in this case level 2)? I checked ‘tools’ > recount activty but his earning activity was not part of of those actions. so.. no use..

    Please advise.

    Thank you

    • This reply was modified 2 years, 2 months ago by futureyoon.
    • This reply was modified 2 years, 2 months ago by futureyoon.
    • This reply was modified 2 years, 2 months ago by futureyoon.
    • This reply was modified 2 years, 2 months ago by futureyoon.
    Thread Starter futureyoon

    (@futureyoon)

    I figured out that I should add “%CURRENT_USER_ID%” in the filter from the column.

    but it still leaves one question. I see that the filter has to be showing up in order for this %CURRENT_USER_ID% filter to work, that means, a user can change the user id to view other user’s data…

    Hmm… Please kindly advise what is the best to way to show the data only belongs to the current logged in user.

    Thank you

Viewing 15 replies - 16 through 30 (of 207 total)