Alexander Guskov
Forum Replies Created
-
I cleaned cookies and browser site cache. So I had done a bit more than normal user can do. I haven’t helped.
But no one normal user will do that. They even won’t know that it’s should be differently.
So, plugin should restore the behavior by itself after changing the settingsThank you. The issue has resolved by author of CF7 Multi-Step Forms plugin.
Forum: Plugins
In reply to: [Contact Form 7 Multi-Step Forms] Mixing context between pagesI’m afraid it won’t help to workaround when the same form used in different pages. As well it’s affect all sites that use the plugin.
Behavior of users to just to another page without submitting the previous one or to open a few pages at the same time is very common.Forum: Plugins
In reply to: [Contact Form 7 Multi-Step Forms] Mixing context between pagesThe situation even worth that I described it above. For example:
one have 4 different forms of 4 different pages, arranged into 2 chains (multisteps):
1) Page1 (FormA) -> PageZ (FormZ)
2) Page2 (FormB) -> PageY (FormY)
If FormB have the same fields (with the same names (almost always)) like in Form A then user get the same mess.
By another words, if there are 2 o more multisteps forms on a website it will mix the context every time when user open another form without completing all steps from a previous one.In this case, as a temporary solution, I suppose it’s less harm to clean cookies straight after loading them on a next step. I understand that the most of user want to have data saved going up and down by the steps of the form but to have form filled by the wrong data without having ability to correct it is worth.
Forum: Plugins
In reply to: [Contact Form 7 Multi-Step Forms] Mixing context between pagesNo, it’s not exactly that I mind.
I think it would better to say that I would be happy it cookies used for the same page only and when user goes to another page would cleaned.I’ll try to explain by another way:
Let, you have two two-steps forms:
1) Page1 (FormA) -> PageZ (FormZ)
2) Page2 (FormA) -> PageZ (FormZ)The normal scenario is to go and submit Page1 (FormA) and then submit PageZ (FormZ) and just after that to go to Page2 (FormA).
But if user go and submit Page1 (FormA) and then instead of submiting PageZ (FormZ) he breaks the normal scenario and go to Page2 (FormA) he gets filled in form with the data from the previos page, including hidden fields. Moreover, all params that had been passed by Page2 to the FormA rewrote to the data from Page1.Now you save kit of data of the form in cookies like there is only one form on website or it’s imposible to open 2 windows with 2 different pages with the same (or similar) form or to reload another page with the same form.
Many thanks! It’s fixed!
Forum: Plugins
In reply to: [YouTube Embed] Metadata as parameterThank you, David.
I think you can add published, duration, channelid, channeltitle.I’m sorry that I advise you what to do with your code, but I thinks it’s better to explain what do I mean.
I’d add to api-access.php:
$return_data = array(
….
‘channelid’ => ”,
‘channeltitle’ => ”,
‘duration’ => ”,
)and
if ( isset( $api_data[‘snippet’][‘channelId’] ) ) {
$return_data[‘channelid’] = htmlspecialchars( $api_data[‘snippet’][‘channelId’] );
}
if ( isset( $api_data[‘snippet’][‘channelTitle’] ) ) {
$return_data[‘channeltitle’] = htmlspecialchars( $api_data[‘snippet’][‘channelTitle’] );
}
if ( isset( $api_data[‘contentDetails’][‘duration’] ) ) {
$return_data[‘duration’] = htmlspecialchars( $api_data[‘contentDetails’][‘duration’] );
}`and to generate-other-code.php :
$output = str_ireplace( ‘%published%’, $data[‘published’], $output );
$output = str_ireplace( ‘%channelid%’, $data[‘channelid’], $output );
$output = str_ireplace( ‘%channeltitle%’, $data[‘channeltitle’], $output );
$output = str_ireplace( ‘%duration%’, $data[‘duration’], $output );probably would change all str_replace to str_ireplace.
I’m sorry :)))
Forum: Plugins
In reply to: [YouTube Embed] Metadata as parameterOne wish more but regarding the same subject.
Would you be so kind to add all parameters of the video that you use for creating metedate (like published and others), to [ vinfo], please.Forum: Plugins
In reply to: [YouTube Embed] Metadata as parameterMany thanks, David!
You are really great!Forum: Plugins
In reply to: [YouTube Embed] Metadata as parameterThank you very much, David.
It’s easy to explane:
Generally, to have schema metadata is a great idea! But:
1) In some cases I need insert the same video into the same page twice. It won’t make google or other parsers happy.
2) In some cases I want to extend matadata of a video with additional block like
<div itemprop=”hasPart” itemscope itemtype=”https://schema.org/Clip”>
This case I’d prefer have video embeded “naked” and “dress” it in metedata by myself. But I’d be happy to do it just sometimes, so this functionality of the plugin is very useful ??Already valued it!
I suppose it’s the #1 shifting wp ability plugin!
It’s like macros in assembler.
It’s imposible to underestimate!Forum: Plugins
In reply to: [YouTube Embed] Metadata as parameterHello David.
yes, but it’s tunable only in the settings for the whole website. But it would be great to have an ability to manage it to every using of the shortcode.
So, could you add metadata parameter to the shortcode parameters (I mean something like this:
[youtube metadata=”yes” controls=2]SJrXgCLgcwY[/youtube]
[youtube metadata=”no” controls=2]fSQ6a77dAuM[/youtube]If you added to profile settings it would be very useful too.
Many many thanks, Aakash!
You are really great!Shortcode:
<meta itemprop=”embedUrl” content=”https://www.youtube.com/watch?v=%%V%%” />
[embed]https://www.youtube.com/watch?v=%%V%%[/embed]page:
[sc name=”yv” V=”SJrXgCLgcwY”][/sc]Forum: Plugins
In reply to: [Read More & Accordion] Gradient works croockedlyHello @edmonparker
I’m sorry but I can’t because it won’t exist until you will have made it.But I believe that I explained above what I mind with a lot of examples.