Hello,
I am using a wordpress plugin which collect the site member's profile picture link with api. Wpforo displays avatar links in the following form: "//: www.xxxxxx.com/upload / ....."
This link is not recognized and created a display error in my other plugin which prevents its functioning.
Can I modify a line of code to be able to display the urls in the following form ? https: //www.xxxx.com/upload / ....
Thank you in advance for your help.
best regards Mathieu
Hi @allezpaillade,
This is designed and works in this way for the following reason.
If the URL in the following format "//:sayt.com.img.jpg" the browser puts the http:// and https:// depend on your site protocol. This means that it will work for the http: // and https: // protocols as well.
I am using a wordpress plugin which collect the site member's profile picture link with api. Wpforo displays avatar links in the following form: "//: www.xxxxxx.com/upload / ....."
This link is not recognized and created a display error in my other plugin which prevents its functioning.
Regarding the plugin(plugin you use for profile pictures) that does not recognize the above-mentioned format, wpForo has a hook for this purpose. In case, if you have developers we can provide a hook that allows your developers to make it work.
Hello thanks for your help .
i have’nt any developers for that.
my site is only in https and it will remain so in the future. how can i modify this in hard or via function.php file ?
thanks for your help
best regards
mathieu
Hi
ok thanks you