hamid009
Forum Replies Created
-
Thanks for your reply, so now when you said you made changes then I did look at versions of mailpoet on both sites and both were different version and when I compared code it looks like in new version it is looking for “last_subscribed_at” to show date and time.
I was able to solve it by change code in mailpoet\assets\dist\js\admin.js from
(0,p.jsx)(“td”,{className:”column-date mailpoet-hide-on-mobile”,”data-colname”:c.MailPoet.I18n.t(“subscribedOn”),children:e.last_subscribed_at?(0,p.jsxs)(p.Fragment,{children:[c.MailPoet.Date.short(e.last_subscribed_at),(0,p.jsx)(“br”,{}),c.MailPoet.Date.time(e.last_subscribed_at)]}):null})
to(0, p.jsx)(“td”, {
className: “column-date mailpoet-hide-on-mobile”,
“data-colname”: c.MailPoet.I18n.t(“subscribedOn”),
children: [
c.MailPoet.Date.short(e.created_at),
(0, p.jsx)(“br”, {}),
c.MailPoet.Date.time(e.created_at)
]
})
This did solve my problem.
Thankssame here broke the site.
PHP Fatal error: Uncaught TypeError: WPForms\Admin\Forms\UserTemplates::add_template_states(): Return value must be of type array, null returned in /wp-content/plugins/wpforms-lite/src/Admin/Forms/UserTemplates.php:116UPDATE: I just checked in Database it has date on created_at and updated_at but not showing in mailpoet interface for unconfirmed users, what could be the reason for this?
I have another site which uses normal elementor form to add to the list, it does show “subscribed on” column with date and time as to when was it added for subscribed as well as unconfirmed subscribes, but site in which I am using mailpoet API to add subscriber is not showing date and time for unconfirmed subscribers, it does show date and time after someone confirm email.Forum: Plugins
In reply to: [Debloat - Remove Unused CSS, Optimize JS] removing class from html itselfnever mind, I was able to solve this by excluding this stylesheet
/elementor/css/custom-frontend-lite.min.css
But what I am not able to understand is how come CSS file is somehow playing part in changing classes in html dom ? can some shed light here ?
from what I know only JS can manipulate dom, so If I am removing CSS file why HTML is changing?Thanks, it is more related to mailpoet API than actual PHP development, I did try created_at but it is not working.
Thanks I got that anyway, But I was hoping that instead of asking me to use other plugins you could have directed me to your API page which in the end helped me achieve what I wanted to do.
Thanks anyway.
For other people who might try to do this type of thing in future, here is refrence
https://github.com/mailpoet/mailpoet/blob/trunk/doc/Readme.mdInstall Elementkit, Install GeoDirectory Plugin as well as its addon for Google Analytics which is free, then in GeoDirectory settings go to analytics tab and connect google account, it will ask for google details in popup, and after allowing google to use Analytics, that page will start to show error,
I fixed it temporarily by changing class name in
plugins/elementskit/libs/composer/vendor/build/vendor/src/google/apiclient/src/Service.phpForum: Plugins
In reply to: [Wp Social Login and Register Social Counter] LinkedIn not workingThanks for no help, I was able to solve this by myself, there was a case sensitive problem in file name in
wp-social/lib/composer/vendor/hybridauth/hybridauth/src/Provider
LinkedinOpenID.php to LinkedInOpenID.php solved the problem- This reply was modified 1 year, 3 months ago by hamid009.
Forum: Plugins
In reply to: [Wp Social Login and Register Social Counter] LinkedIn not workingany update?
Plugin is working but yes support is is dead.
nevermind, I created new form from account page, and that added back Password in the list, so I added back password into default form and then deleted the newly created form.
I got it fixed, some problem with Upload field it seems.
I have another question, is it possible to use different email templates for different post types?