pull down to refresh
21 sats \ 0 replies \ @Kontext 20h \ parent \ on: Daily Discussion Thread ~Music Saloon! Music
Hahaha, what a movie!
Thank you for the detailed & step-by-step response! Phase 1 I have tried, although I will make a note to the plugin devs that it would be good to have an option to have specific referral links i.e. site.com/ref/code. Currently the Referral Codes plugin creates them simply as site.com/code which is the same format as any other page. However, I did have Rocket.net support turn off Cloudflare for the specific URL's and it didn't work, so that's probably not the issue anyway. Phase 2 & 3 I have also tried in different formats (and solutions via different LLM's - I'm not a dev myself, unfortunately), but I'll definitely give your specific instructions a go.
One thing that I didn't mention - ChatGPT said it shouldn't make a difference in how the links act - was that there was also a PHP error that came up in debugging:
PHP Deprecated: Creation of dynamic property WC_Coupon::$lws_referralcode
Chat: Not critical for functionality yet, but in PHP 8.2+ dynamically adding properties to objects is deprecated. The plugin is trying to attach $lws_referralcode directly to the WC_Coupon object. This should ideally be stored in meta instead:
php Copy code $coupon->update_meta_data('lws_referralcode', $code);
Chat: This doesn’t directly break the cookie behavior, but it’s good to fix for future PHP compatibility.
In any case, I'll follow your instructions and see where it takes me. Can't guarantee I'll get to it tonight (has been a long day), but tomorrow at the latest!
"The Job of the Artist" #1205254
No. I've even reverted it back to only Woocommerce + loyalty plugins and default template, and the issue was still there. I do have Cloudflare CDN (Rocket.net hosting), but I also asked them to disable caching for referral URL's and asked Rocket support if they have any other caching / redirects / something happening that could be interfering with the links, but they said no. It's a bit shit that I don't have direct access to the Cloudflare admin panel, but then again, Rocket seems to be quite a professional company so if there was something fundamentally flawed in their setup, I'm quite sure they would know it by now.
Hey, just letting you know I tried to install the plugin you linked to on the Staging site, but it failed:
The package could not be installed. No valid plugins were found.
Plugin installation failed.
I did try another free plugin, and the issue is exactly the same as with WooRewards & Referral Codes plugins. And in general, I'd prefer to stick with those 2 plugins anyway for reasons talked about before. In any case, the root of the problem seems to be this: #1205203
If you have any further suggestions, I'm all ears!
25k sats + a lifetime membership upgrade at SATOSH.EE still up for grabs to whoever can find me a working solution re/ a problem with referral links in Wordpress/Woocommerce: #1195603
The issue seems to be that referral cookie attempts to set too late, after WooCommerce sessions have started or headers have been sent. On first visit, no session exists → cookie cannot be set → referral only works on second visit.
What I've tried to do is - launch referral logic at the earliest hooks - many times (even before posting this problem here) with different code snippets from ChatGPT, Claude, now also Lumo and Duck.ai (which, admittedly, also uses ChatGPT) but none of the solutions work. The end result is still the same.
The issue seems to be that referral cookie attempts to set too late, after WooCommerce sessions have started or headers have been sent. On first visit, no session exists → cookie cannot be set → referral only works on second visit.
What I've tried to do is - launch referral logic at the earliest hooks - many times (even before posting this problem here) with different code snippets from ChatGPT, Claude, now also Lumo and Duck.ai (which, admittedly, also uses ChatGPT) but none of the solutions work. The end result is still the same.
The key aspect of faith, of course, is devotion; work and sacrifice. You don’t wish to be able to do this. You work towards being able to do this. You give up certain things, you put up with certain things, you don’t go looking for comfort or validation or glory. You do it because it calls you.
Full text: #1201227
Mostly still dealing with stuff I mentioned in the previous edition: #1088119
And battling fatigue / lack of motivation in the face of uncertainty in terms of how much any of this work actually means to the world. In any case, slow progress is better than no progress and I have done some incremental headway on most of those tasks.
Some additional, potentially noteworthy things, especially from a creative perspective:
A short meditation on giving up hope (and what to replace that with): #1088119
2 additional nostr vlog episodes: episode 2, episode 3
Participated in a local sports event (and it went well): #1202370
Won 5000 CC's for a meme: #1193544
I also still keep myself busy (or perhaps distract myself?) with a bunch of podcasts, lectures, books & audiobooks. Finished "The 33 Strategies of War" by Robert Greene recently (was good, but I liked "Mastery" better), almost done reading "The Saviors of God" by Nikos Kazantzakis for the third time (all during this year!), a little bit of The Clear Word Bible every now and then, started Jordan Peterson's '96 Maps of Meaning lectures in Harvard, started The Red Book by C. G. Jung audio version on Spotify...
42 sats \ 0 replies \ @Kontext 1 Sep \ parent \ on: (mostly) Daily Accountability Thread HealthAndFitness
Haha, maybe. But maybe there just weren't that many great sprinters participating... I mean, when I finished the run they did tell me some veterans did it under 8 sec... so perhaps the better sprinters were already in the veterans' class and men's class was left more or less uncontended :) In any case, was a cool surprise :)
Hey, all good, I took some time off work over the weekend as well! I did get the access to the plugin you shared via Drive, haven't tested it out yet though. Will let you know how it goes :)
Haven't done much today yet aside from a morning set of pushups (it's already Monday afternoon here in Estonia)... otherwise keeping up the 120+ pushups/day routine, some yoga every day, some walking every day. Will try to get back into doing short daily runs as well. Participated in a local sports event this weekend, got 2nd place in men's hanging (2 min 15 sec) and, as I had time to kill, I also went and did a 60m run in which I surprisingly got 1st place (with a 8.96 sec time)🤠
“Burnout is not what it presents: it’s not about working too hard for too long, burnout is about working in the face of a goal that seems too far out, too unattainable, too abstract.”
I haven't worn underwear at all in years, including to yoga classes. Well, only when I've gone out shopping with the intention of buying new pants or shorts and want to try something on.
But yes, should you proceed to go commando, your choice of shorts is even more important than otherwise! Good luck & enjoy :)