WPElliott
Forum Replies Created
-
Thank you! That worked!
Much appreciated,
BillI appreciate the quick response. However, after look at the top three mail form plugins, not of the seem to allow me to create a form with a mailto field. What is see is that they provide an email field which captures the email field but does not allow the use of the email by the user. Make sense?
I want a form that allows the user to provide an email address and then click send which then sends an email to that email address along with a other information provided from the form or page.
So, can you point me to a plugin that will do that?
Regards,
BillI wrote a nice shortcode function that addresses my needs … it was actually easier than I thought.
I’ve been doing some research so I thought I would pose my question more carefully.
I have an online magazine which is WordPress based. I want to provide a teaser in my articles and then require the reader to be a paid subscriber to read the rest of the article. Of course, S2 makes that ease and I would simple need some code like:
Here is the teaser text …
[s2If !current_user_can(access_s2member_level1)]
Here is the text to tell them to login and/or subscribe …
[/s2If]
[s2If current_user_can(access_s2member_level1)]Here is the premium text …
[/s2If]
Tried this and it works great!
What I want to do now is add an OR to each of these that is date based that will cause the premium portion to become visible after 90 days. This will allow Google to crawl the entire article after 90 days and make it searchable. Yes, I understand that it also means that anyone can see the full content after 90 days, but that’s okay too. So, I think it will look something like:
[s2If !current_user_can(access_s2member_level1) OR
(today’s_date > post_date + 90 days) ] <– My pseudo code.
What should this be?Clearly, the expression (today’s_date > post_date + 90 days) is not the correct code. Can someone tell me what this should be?
Finally, I will also need a date based AND expression for the first S2 code block:
[s2If !current_user_can(access_s2member_level1) AND
(today’s_date <= post_date + 90 days) ]Thoughts?
Thank you in advance,
Bill
soaringcafe.comForum: Plugins
In reply to: [Image Wall] Lazy Load conflicts with Image WallYes, I solved the problem by switching to: https://www.ads-software.com/plugins/jquery-image-lazy-loading/
Forum: Plugins
In reply to: [Easy Sign Up] How do I export all dataThat almost worked. I have 4600 records but the input field under the screen option limits me to 999 records. Is this intentional?
Oops! Clearly, I posted this on the wrong plugin forum. Thank you for your kind reply.
Regards,
BillWorks great! Thanks for getting the patch done.
Replace all of the code with the code at the link above.
BTW, the original code is causing significant throttling by my host. The new code doubled the amount of throttling. So, if there is an issue with the way popular posts is being implemented, then the problem has been repeated. I have a programmer friend looking at the code for me to see if he can tell what is causing the problem. Will let you know if we find a solution.
Please check throttling on you site. Try deactivating the WP-popular-posts plugin for a day and compare your throttling values. Then, see if the new code makes the throttling problem double. If so, we definitely need to get this fixed.
You are ‘da man! I replaced your code with the code in the WPP .php file and voila, I now have a capability to show popular posts based on included categories.
Thank you very much!
BillI need to add this functionality as I use the other wpp tags for other pages like:
[wpp range=all limit=20 stats_views=1 order_by=views pages=0 wpp_start=<ul> wpp_end=</ul>]
So, in addition to using the shortcode above, I would like to use one like:
[wpp range=all limit=20 stats_views=1 order_by=views pages=0 include-cats=65 wpp_start=<ul> wpp_end=</ul>]
which means I need a new attribute called include-cats.
Sorry, I could not get that to work. Seems like there is a lot more to be done than just your code snippet.
Forum: Plugins
In reply to: [Wordbooker] [Plugin: Wordbooker] Spurious "–>" on top left of my page, why?Thanks, that fixed it. But now it wants to upgrade the latest version. Should I ignore the upgrade? If so, when will I upgrade?
I agree, this would be most helpful.