url segments not propagating

User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: url segments not propagating

Post by axew3 »

ah! Nice! had you try to add the s to the call to jquery lib as above said?
Because the library was loaded not as https that was also leading to a problem on https when the lib used to redirect (as you are on https server).

So this lead to the solution as the one you have apply?

p.s i have remove my last post addition (that is present instead at wp.org plugin forum) about function change function wp_w3all_hook_jresizer() , to not not confuse about this topic eventually readers.
mikotoiii
Moderator
Moderator
Posts: 41
Joined: Wed May 18, 2016 12:09 pm

Re: url segments not propagating

Post by mikotoiii »

axew3 wrote:ah! nice, had you try to add the s to the call to jquery lib as above said?
Because the library was loaded not as https that was also leading to a problem on https when the lib used to redirect (as you are on https server).
I can't speak for floxshifu, but I didn't have to, probably because there's multiple versions of jQuery being loaded (i'm just about to remove the one in this plugin, since the one for my template is using 1 version higher, and is already https). That might be part of what's contributing to the issue happening for some people, and not others, though basic testing in my dev environment didn't show that to be true, it still can cause strange behavior.
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: url segments not propagating

Post by axew3 »

To avoid possible conflicts in effect i had patch the page forum with the code on post that here i have remove, and that is present at wp-org forum instead:
https://wordpress.org/support/topic/htt ... ion-patch/
i will try to test out all as soon i can, fixing all the things suitable for any install. That will be more easy now.
mikotoiii
Moderator
Moderator
Posts: 41
Joined: Wed May 18, 2016 12:09 pm

Re: url segments not propagating

Post by mikotoiii »

Sounds good, I'm just reading the patch notes on 1.5.5 now.
It will be nice if/when this plugin gets into a github, as implementing fixes can be as easy as merging a pull request.
User avatar
floxshifu
User www
User www
Posts: 57
Joined: Sun Sep 18, 2016 6:14 pm

Re: url segments not propagating

Post by floxshifu »

axew3 wrote:well do not know what was happening before, now work ok.
OK, i see,
You have a forum on list that act as link, like the one (as test) exist in this main forum page (and that link to wp home)...

after we will follow maybe, but at moment please, there is a function inside your WP template folder page-forum.php (or what you have named it):

Code: Select all

function wp_w3all_hook_jresizer() {
 	
 $s = "<script type=\"text/javascript\" src=\"".plugins_url()."/wp-w3all-phpbb-integration/addons/resizer/iframeResizer.min.js\"></script>
        <script type=\"text/javascript\" src=\"http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js\"></script>
";
please just change on function, only this:
http:
into:
https
so the line on the function become:

Code: Select all

<script type=\"text/javascript\" src=\"https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js\"></script>
save.
Overwrite the file page-forum.php and test now.
It still not working even after your change :/ Sorry...
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: url segments not propagating

Post by axew3 »

nor with the one of mikotoiii?
Locked