Content dripping in DIVI
-
Hi,
I’m having an issue with content dripping with the DIVI theme from Elegant Theme. I’ve created a page which has modules and one of them is a text module that i’d like to show only after a couple of days.
If I use [s2Drip access=”level0″ from_day=”4″] some content [/s2Drip] all the page is hidden, not only the text module.
Any help is grandly welcome.
-
1. Check that it is indeed a conflict with Divi by changing theme to 2014 and seeing if the problem remains. If it does, the issue lies elsewhere.
2. If changing theme does resolve the problem, then I’d actually suggest you talk to the Divi developers. Why? Because it’s a paid theme, whereas s2Member is a free plugin. So the theme developers can easily install s2Member and check the issue, whereas the same cannot be said in reverse (otherwise s2Member developers would have to buy thousands of themes).
Thanks KTs915,
I did tried those two suggestions before. While waiting for an answer from here, I also installed a fresh WordPress installation locally and saw that DIVI was not the problem. The thing is that it doesn’t seem to be caused by my plugins neither. I’m wondering today if this could be related to a PHP version since the host I’m working with uses the 3.3 version. So that’s what I’ll test in the next hour with another fresh install on my host this time.
Meanwhile, if you have other suggestions that could help me, feel free to post them.
Kind regards
Well that’s a mystery.
My clean install didn’t worked on my host and I passed all the tests listed by the s2 php file : s2-server-scanner.php
I’m frankly out of ideas.
In theory, s2Member should work fine with PHP 5.3. (I assume that’s what you meant, not 3.3). However, I’m not sure how much testing with PHP 5.3 goes on now, because 5.4 and 5.5 (and even 5.6) are really what all the good hosts use nowadays.
Do you have a way of testing with a later version of PHP (perhaps via a setting in your host’s cPanel)?
Hi KTS915,
I meant indeed 5.3 and I just went through my settings again and It’s 5.2. I’m with you concerning the actual versions. The host I work with is not mine but a client of mine and there’s no way to change only one website in cPanel. If I upgrade the version, all of his websites will be upgraded too. Since he has a lot of websites, that scares me a bit.
On an another hand, s2-server-scanner.php tells me everything is fine. All the servers tests passed ok.
I’ve contacted the support in hope that they’ll find the problem. Do you have any other idea ?
I think the problem is almost certainly the PHP version then. I have certainly seen occasional reports of specific features of s2Member not working on PHP 5.2, though everything else works fine.
I wonder whether you could work around it by using the ezPHP plugin and then using the PHP versions of the Drip shortcodes, as explained in the s2Member Content Dripping section?
Thanks for your help KtS915.
I’ll try this later today and will come back with the results. That might be a workaround.
Hello KTS915,
I’ve looked into the Restrictions options and only found this section : Simple Shortcode Conditionals (optional; to protect only parts of your content) which is related to s2If function.
Is it possible to use this function to mimic the dripping one ?
Right now, I’m trying to show content after someone has completed a survey or after two days. I have open registration on, so the level is set to 0.
How could I achieve this ?
You need to look in the
API/Scriptingsection. That’s where thes2Member Content Drippingsection is.I see. That’s almost Chinese to me since i’m not a developer. Do you know the way I’d have to write it to achieve what I’m looking for ?
I’m not a developer either, but I guess (with ezPHP installed) it would work something like this:
[php] if(S2MEMBER_CURRENT_USER_ACCESS_LEVEL === 0 && S2MEMBER_CURRENT_USER_REGISTRATION_DAYS >= 4){ [/php] Drip content to Users who've been registered for at least 4 days. [php] } [/php]Your code worked, but sadly the problem is the same. I guess I’m only left with the option to wait for my ticket to be answered.
Thanks for trying with me KTs915, I appreciate it.
Just a word to tell the community that my problem has been solved. There’s was an error in a PHP file linked to the dripping function. The file will be available on the next update.
Magellan456,
Can you help me with this? I’m trying to drip content in Divi and have no idea where to use the short code so that entire modules are hidden?
The topic ‘Content dripping in DIVI’ is closed to new replies.