Is myBB parsing &hash=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx - Printable Version +- MyBB Community Forums (https://community.mybb.com) +-- Forum: Extensions (https://community.mybb.com/forum-201.html) +--- Forum: Plugins (https://community.mybb.com/forum-73.html) +---- Forum: Plugin Development (https://community.mybb.com/forum-68.html) +---- Thread: Is myBB parsing &hash=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx (/thread-185099.html) |
Is myBB parsing &hash=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx - expat - 2015-10-15 Is myBB parsingĀ
in img src tags? I am not get a script to load in either the templates nor the myCode RE: Is myBB parsing &hash=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx - Nathan Malcolm - 2015-10-15 Working fine here. Are you sure it's an image you're loading and not a webpage displaying an image? RE: Is myBB parsing &hash=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx - Euan T - 2015-10-15 Yeah, can you post the link to the image you're trying to us here? RE: Is myBB parsing &hash=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx - SentoWeb - 2015-10-15 MyBB doesn't alter the image source in any way nor does it download it. Make sure that the server you are loading the image from isn't hotlink protected, a .htaccess issue on their end could very well lead to this. The easiest way is to open Dev Tools in either google Chrome or Firefox, go to the network tab and press F5. Use the search bar to search for the name of the image and inspect the response headers on the right side. Check the response code (should be "200" if you press F5) and content length (something in the thousands). RE: Is myBB parsing &hash=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx - expat - 2015-10-16 but how do you know its NOT just ignores the hash and displays the img anyways? RE: Is myBB parsing &hash=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx - Nathan Malcolm - 2015-10-16 (2015-10-16, 06:29 AM)expat Wrote: but how do you know its NOT just ignores the hash and displays the img anyways? The hash is definitely included. Try it yourself on your own forum:
RE: Is myBB parsing &hash=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx - expat - 2015-10-16 No it doesnt work RE: Is myBB parsing &hash=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx - Nathan Malcolm - 2015-10-16 Because that's not a valid URL. The first URL parameter must be prepended with a question mark, and any additional parameters must be pretended with an ampersand (&). E.g.
or
Your issue could be solved in a single post if you just tell us what image you're trying to link to. RE: Is myBB parsing &hash=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx - expat - 2015-10-16 ok i have a php script to resize the image
apparently it needs the hash so not to be hacked to pieces if i turn off the hash function in config and still leave the hash in html it works....if i turn on the hash function, then it returns a error image, as if the hash is NON-existant RE: Is myBB parsing &hash=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx - Jabberwock - 2015-10-16 you need to url encode it. http://www.url-encode-decode.com/
https://en.wikipedia.org/wiki/Percent-encoding |