eliant
Forum Replies Created
-
My License Key email had this line: “Watermark WordPress Site 3-Site Lifetime License x 1”. I don’t think that qualifies me for Premium Support; that’s why I posted here instead of opening a ticket.
BACKGROUND:
My client is a community service organization. They maintain a directory of all the other service agencies in the county. Each agency has its own Post on the website. Annually, they produce a hard-copy version. That is produced by updating a MS Word version of all those same agencies and publishing it in PDF format for the local printer. So the information is maintained/updated twice. Your product was purchased so they could produce the annual PDF directory straight from WordPress.The site has over 300 Posts. The Agency Name serves as the Post Title of each. So they need to be sorted by Title prior to generation of the Table of Contents (which is always in plural form, but your plugin uses the singular form: Table of “Content”), and prior to actual publication of the PDF.
write that API yourself to read in jp_cc_settings option value from the wp_options DB table and parse that array into a data structure that fits your needs.
That’s pretty much exactly what I was asking for, except I thought you might already have a function that reads in that jp_cc_settings option. That data value in the wp_options table is pretty complex. If you already have the code to read it in and parse it into its various pieces, can you just tell me the name of that function so I can re-purpose it?I would certainly share my results.
I still don’t think i’m explaining properly.
– I have the Post.
– I know which CC restrictions apply to this Post (in this example, the restricted group is called “Resident”).Question:
Is there a function in your plugin that returns an array of WP capabilities (like, “Subscriber” or “Editor”) based on the name of the restricted group (in this case, “Resident”)?Any thoughts on this?
Did I explain clearly?Nevermind. I discovered the answer…
Yes, for each email sent, a record is placed in the wp_posts table. They are the basis of the plugin’s log file. If you visit Post SMTP in the Dashboard you will see a tab for LOG. there you will see all those entries from wp_post showing details about the emails sent out. Also, you have the option of deleting all or selected log entries. So you can do your own “clean up”.
I’m trying to see the CC information at Post Update time (see WP hook transition_post_status). When I add
$restriction = Restrictions::get_rules( $post->ID ); I get Uncaught Error: Class 'Restrictions' not foundWhen I add
$restriction = get_rules( $post->ID ); I get Uncaught Error: Call to undefined function get_rules()I successfully used $membership = get_the_terms($post->ID,”membership”); to identify the CC restriction for the Post. If necessary, I can loop through the WP User Roles allowed under that particular CC restriction. Since I set up the restrictions, I know what they are. I just wanted the flexibility of adding or modifying CC rules without having to go back and edit my filter function.
I stand by my review. All my statements are factual.
The “alternative” you shared was a link to a document describing how to import existing WordPress *subscribers* using your PRO version. Not really an alternative.
The option I choose is to go with a different plugin. Even if there is a fee, I won’t be tricked into it.
- This reply was modified 4 years, 1 month ago by eliant.
Thanks. You answered my question, but your response left me with more questions.
You said, “Since WordPress cron itself relies on website traffic to run cron jobs, there can be some delay in case there isn’t sufficient traffic on the site.” Does this mean the cron to send an email to a new subscriber won’t be sent until there is sufficient traffic on the website? So a new subscriber may not get their email for many days on a low-traffic website.
You also said, “When this cron URL is hit, the plugin starts queueing/sending emails. This ensures emails are sent on time even if there isn’t regular traffic on the site.”
What is meant by “URL is hit”? I have to go to that URL each time I want to initiate the cron job?Oh gee… I found the problem, and it is me!
Stumbled around until I found yehudah’s article:
https://postmansmtp.com/incorrect-authentication-data/Thought it might not apply to my situation because of the title (I’m not having “incorrect authentication” errors.) But I read it anyway and found the little sentence about cPanel>Tweak Settings and the need to change the SMTP setting.
Did it, and it worked!
I’m very happy, but still a little disappointed in the lack of support in the forum.
- This reply was modified 4 years, 3 months ago by eliant.
I don’t think I’m explaining clearly.
On my dedicated server I have a WordPress site. My website client is using off-server, third-party email from privateemail.com, which is offered by Namecheap. I manage all DNS on my server, including MX, SPF, DMARC, and DKIM records. My client can send and receive just fine.
When I discovered that messages from the Contact Form 7 plugin were failing, I installed “Post SMTP” by Yehuda Hassine, and contacted privateemail. They gave me the connection details listed in the OP.
The Post SMTP setup wizard can’t connect, so it suggests the 3 default services: Mandrill API, SendGrid API, and Mailgun API.
Is Post SMTP capable of communicating with a remote email server?
The manual set-up asks for
– Outgoing Mail Server Hostname: mail.privateemail.com
– Outgoing Mail Server Port: ??What port do I specify here? The port on MY SERVER that will be used for communication, or the port on the remote email server?
What other ports do I need open on MY server for Post SMTP to be able to connect to mail.privateemail.com hostname? Or can you suggest something else I should try?
- This reply was modified 4 years, 3 months ago by eliant.
The log shows
“smtp:tls:login://mail.privateemail.com:587”
and claims this is the transcript of the exchange with the mail server. But this is not a server-to-server exchange.Is it possible to capture the actual transcript of the conversation?
- This reply was modified 4 years, 3 months ago by eliant.
Perhaps I didn’t specify my needs clearly with the privateemail tech.
I asked for the name of their SMTP server, port(s), and security type.Should I have asked for something different? How might I have made it more clear?
Did that. Because CC inserts a <DIV> in-line with the preceding text, WP engine inserts a </P> just in front of the CC <DIV>. So even though I force the DIV to display in-line the browser puts a new-line where the </P> is. The result is almost the same as without the CSS.
However, when the DIV is replaced with a SPAN, the editor does not inject a </P>
Thanks for all the info. But I’m not using another plug-in. I’m expanding and enhancing ContentControl (CC). So remember, CC uses “Membership Level” for controlling the Restrictions defined in Settings>Content Control. That’s what I was referring to. It would be much simpler to just pass role=”member” in the shortcode (or some other membership name) rather than “administrator,contributor,editor,author”
[I can never remember all the various WP roles, but I can remember my CC membership titles since I’m the one who created them.]
It’s been too long to remember the specific problem I was having when I posted this. But I definitely would include in any Start-up Instructions the fact that #1) the administrator must start using this plug-in by visiting Posts>Membership Level, and create the desired membership levels. Then step #2) go to Settings>Content Control to create the various rules to apply to the Membership Levels from step #1.