nandastone
Forum Replies Created
-
Thank you for your help over the last few weeks!
Thank you. Getting close now.
We need to limit the redirection to specific pages instead of being site-wide.
I thought the “Custom Selectors” setting would limit the detection to HTML elements with a specific classname, which I would only add to a single template.
That isn’t the case though, and I assume the setting instead is additive.
What would be your advice?
@spacetime Did you receive my support request?
Ok thanks, I’ve sent a support request.
If I install the development version, can it be upgraded to the release version once it is released in a few weeks?
I’d prefer to wait for the offical release so we can update via the WordPress admin. When is the release date?
As far as I can tell Ad Inserter Pro is updated to the latest version (2.7.15): https://imgur.com/a/a7eByCz
However, this line (which is present in the zip you linked at the start of the thread) is not present:
if (ai_adb_debugging) console.log ("AI AD BLOCKING redirection using query parameters:", location.search);
Won’t these files be overwritten by any plugin updates? When are they going to be included in an official Ad Inserter Pro release?
I’ve downloaded the plugin from the link above (https://downloads.www.ads-software.com/plugin/ad-inserter.zip) and I can see the recent change making this feature work.
Should I replace the Ad Inserter Pro files with these newer ones?
No. Screenshots showing the issue: https://imgur.com/a/4BSFnWf
To be clear I don’t know the value of the query parameters ahead of time. Any query parameters (if there are any) must be forwarded with the redirect.
I don’t know the query parameters in advance. Whatever query parameters are on the home page URL must be appended to the redirected URL.
Another example: https://www.mysite.com/home?utm_campaign=click&utm_source=34j63834j -> https://www.mysite.com/ad-blocked?utm_campaign=click&utm_source=34j63834j
utm_source
is a dynamic and unknown value.Is there a WordPress filter for changing the redirect URL? If so I could use the filter to grab the query params from the source URL and append them to the redirect URL.
- This reply was modified 2 years, 8 months ago by nandastone.
- This reply was modified 2 years, 8 months ago by nandastone.
Also having this issue. Any answer please?
Thanks again ??
Thanks Peter, that’s some handy information, and has solved my problem. Coming from JS, that’s a pretty bizarre requirement.
Hi Peter,
I’m experiencing the same issue as MDS. Line 484 of aioseop_opengraph.php:
$filtered_value = apply_filters( $this->prefix . 'meta', $filtered_value, $t, $k );
$t
and$k
are not being passed to filter hooks.func_get_args()
reports:array(1) { [0]=> string(70) "Pet minding while you shop this Easter | Indooroopilly Shopping Centre" }
Just the value of the filter, no extra parameters.