Carla Birch
Well-known member
@cclaerhout the new Compare bbcode is good but I'm having a problem on my main style where it will not work: http://www.yourpshome.net/threads/compair-test.9505/ other style's its working fine.
Your website has some JS problems (tapaltak), fix them first.@cclaerhout the new Compare bbcode is good but I'm having a problem on my main style where it will not work: http://www.yourpshome.net/threads/compair-test.9505/ other style's its working fine.
I have closed the problem down to something to do with the sites AD Styler script on that style, whats a common used style, still looking into just what part is the problem, going to guess a javascript conflict somewhere.Your website has some JS problems (tapaltak), fix them first.
The problem is not fixed yet:I have closed the problem down to something to do with the sites AD Styler script on that style, whats a common used style, still looking into just what part is the problem, going to guess a javascript conflict somewhere.
Line of code:ReferenceError: tapatalkDetect is not defined
</script><script type="js/modernizr.js" type="js/cute/cute.slider.js" type="js/cute/cute.transitions.all.js" type="js/respond.min.js" type="text/javascript" charset="utf-8"></script><script>
The Compare BB Code works fine, if the following script is stopped from loading that the AD Style script used by themes made by @AudentioThe problem is not fixed yet:
Line of code:
Code:</script><script type="js/modernizr.js" type="js/cute/cute.slider.js" type="js/cute/cute.transitions.all.js" type="js/respond.min.js" type="text/javascript" charset="utf-8"></script><script>
Fix this problem first. Search tapaltak reference in your templates, especially in your header.
I've found a problem on the twenty twenty script on mobile devices with the move event script once minified (use a utf8 character and the minifier didn't like it). It will reupload the file, but it's not your problem at the moment.
/*!
* jQuery Cookie Plugin v1.3.1
* https://github.com/carhartl/jquery-cookie
*
* Copyright 2013 Klaus Hartl
* Released under the MIT license
*/
(function (factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as anonymous module.
define(['jquery'], factory);
} else {
// Browser globals.
factory(jQuery);
}
}(function ($) {
var pluses = /\+/g;
function raw(s) {
return s;
}
function decoded(s) {
return decodeURIComponent(s.replace(pluses, ' '));
}
function converted(s) {
if (s.indexOf('"') === 0) {
// This is a quoted cookie as according to RFC2068, unescape
s = s.slice(1, -1).replace(/\\"/g, '"').replace(/\\\\/g, '\\');
}
try {
return config.json ? JSON.parse(s) : s;
} catch(er) {}
}
var config = $.cookie = function (key, value, options) {
// write
if (value !== undefined) {
options = $.extend({}, config.defaults, options);
if (typeof options.expires === 'number') {
var days = options.expires, t = options.expires = new Date();
t.setDate(t.getDate() + days);
}
value = config.json ? JSON.stringify(value) : String(value);
return (document.cookie = [
config.raw ? key : encodeURIComponent(key),
'=',
config.raw ? value : encodeURIComponent(value),
options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE
options.path ? '; path=' + options.path : '',
options.domain ? '; domain=' + options.domain : '',
options.secure ? '; secure' : ''
].join(''));
}
// read
var decode = config.raw ? raw : decoded;
var cookies = document.cookie.split('; ');
var result = key ? undefined : {};
for (var i = 0, l = cookies.length; i < l; i++) {
var parts = cookies[i].split('=');
var name = decode(parts.shift());
var cookie = decode(parts.join('='));
if (key && key === name) {
result = converted(cookie);
break;
}
if (!key) {
result[name] = converted(cookie);
}
}
return result;
};
config.defaults = {};
$.removeCookie = function (key, options) {
if ($.cookie(key) !== undefined) {
// Must not alter options, thus extending a fresh object...
$.cookie(key, '', $.extend({}, options, { expires: -1 }));
return true;
}
return false;
};
}));
You need to have this add-on installed: http://xenforo.com/community/resources/bbcodes-buttons-manager.1731/@cclaerhout
I am getting this error when trying to import anything from the extra folder.
View attachment 69735 View attachment 69736 View attachment 69737
Thanks,
Itworx4me
Ok thank you.@Carla Birch
I'm not sure why both script are not working together, there's no js error. What I can try to do is to create two versions of the script, the current one, and another one that will load the move events script (src, required by twenty twenty) in the header and not only when the bb code is used inside the page. This might fix your problem, if it doesn't I'm sorry, but no time to go in further investigation.
[bimg=fright][ATTACH]2[/ATTACH] [/bimg]
Try adding a size to it like: [bimg=720|diff-v]620|621[/bimg]I cant get the 20/20 code to work. I've tried this:andCode:[bimg=diff-v]620|621[/bimg]
and also tried it with urls. I've had [bimg] and [bimg=fleft] working for a while now. I bulk imported the new bbcodes bt it's not workingCode:[bimg]620|621[/bimg]
Remove the Attach Tags.@cclaerhout When using this bb code:Code:[bimg=fright][ATTACH]2[/ATTACH] [/bimg]
I get this blank image:
View attachment 69746
How do I fix the broken image?
Thanks,
Itworx4me
Try adding a size to it like: [bimg=720|diff-v]620|621[/bimg]
Since many people ask for it, I will add an option to remove it (in this addon options, not in the bbcodes options)Is it possible to remove this tag line: Click for original size ?
Thanks,
Itworx4me
I have looked everywhere but can't seem to find where I can change the image width when using bimg tag.
I have my attachments set to 400px but the image shows up 180px. Can someone point me in the right direction?
Thanks,
Itworx4me
Check the max size limit for the bimg. If you cross it, it will use the default size. The max width should be 750px by default. I will check with an oversized image, may be I've missed something (I've mixed css and javascript)Yeah that didn't work either. It still works when I use [bimg=fleft]621[/bimg]
Wait for the fix, I'm testing on a live board first.So I have to change the size of the resized thumb with the [bimg] bbcode? I really like the way bimg works as it is. I dont want the resized images to be any larger. Honestly [bimg=fleft] is far more useful than the 20/20 thing. in my opinion anyway. bimg is the whole reason I installed this in the first place lol.
Version 3.6.1 released
- Fix the move event script on mobile devices
- Fix the images width of images comparison mode (using now the block width instead of the real images width)
- add an option to select how to load the move event script
- add an option to disable the fallback caption
- add a function to resize the compared images according to the main parent elements (useful for small screens)
- modified the images comparison script integration to allow to use their...
We use essential cookies to make this site work, and optional cookies to enhance your experience.