#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,323
January 2004
todge
|
Post by Todge on Mar 8, 2016 15:05:09 GMT -8
|
|
Former Member
inherit
guest@proboards.com
134807
0
Nov 22, 2024 15:12:19 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Mar 9, 2016 0:53:11 GMT -8
Ah... so all posts containing images can't be quoted. Is that the price that has to be paid?
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,323
January 2004
todge
|
Post by Todge on Mar 10, 2016 14:11:28 GMT -8
Ah... so all posts containing images can't be quoted. Is that the price that has to be paid? I'm afraid so. The reason the plugin failed to find some images previously was because it had to wait for the images to load fully to get their dimensions, so each time you changed pages, the code would have to look for images again, then wait for them to load before it could secure them. Because this new version acts on the images before the dimensions are known, it will see ALL posted images and take initial actions there and then.. The main one being disabling the Quote button. I do have a different idea that would get ove this, but that would be a totally different technique, and while it should in theory be more secure, it would not be compatible with already posted images, which would then become insecure.
|
|
inherit
201984
0
Sept 11, 2023 1:23:07 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
Using My Talents Elsewhere
3,314
November 2013
pastuleo23
|
Post by P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ on Mar 10, 2016 14:33:56 GMT -8
Ah... so all posts containing images can't be quoted. Is that the price that has to be paid? I'm afraid so. The reason the plugin failed to find some images previously was because it had to wait for the images to load fully to get their dimensions, so each time you changed pages, the code would have to look for images again, then wait for them to load before it could secure them. Because this new version acts on the images before the dimensions are known, it will see ALL posted images and take initial actions there and then.. The main one being disabling the Quote button. I do have a different idea that would get ove this, but that would be a totally different technique, and while it should in theory be more secure, it would not be compatible with already posted images, which would then become insecure. Couldnt you just get the wysiwig and strip out image tags? That being instead of removing the quote button
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,323
January 2004
todge
|
Post by Todge on Mar 10, 2016 14:42:41 GMT -8
I'm afraid so. The reason the plugin failed to find some images previously was because it had to wait for the images to load fully to get their dimensions, so each time you changed pages, the code would have to look for images again, then wait for them to load before it could secure them. Because this new version acts on the images before the dimensions are known, it will see ALL posted images and take initial actions there and then.. The main one being disabling the Quote button. I do have a different idea that would get ove this, but that would be a totally different technique, and while it should in theory be more secure, it would not be compatible with already posted images, which would then become insecure. Couldnt you just get the wysiwig and strip out image tags? That being instead of removing the quote button I could, and did originally, but with what seemed like an endless variation on how the images were being displayed in the wysiwyg editor I gave up, and went for the easier option of removing the quote ability instead. I had to do something similar with the smiley plugin, which was bad enough, and that only had to deal with the BBCode side of things, but in theory at least, that would be the harder side to manage... Maybe I should look into it some more
|
|
inherit
201984
0
Sept 11, 2023 1:23:07 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
Using My Talents Elsewhere
3,314
November 2013
pastuleo23
|
Post by P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ on Mar 10, 2016 14:48:53 GMT -8
Couldnt you just get the wysiwig and strip out image tags? That being instead of removing the quote button I could, and did originally, but with what seemed like an endless variation on how the images were being displayed in the wysiwyg editor I gave up, and went for the easier option of removing the quote ability instead. I had to do something similar with the smiley plugin, which was bad enough, and that only had to deal with the BBCode side of things, but in theory at least, that would be the harder side to manage... Maybe I should look into it some more U just need chris to give you a regex Chris would have the best idea.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,323
January 2004
todge
|
Post by Todge on Mar 10, 2016 14:50:35 GMT -8
Poor Chris, the things he has to put up with for being the best coder here.
|
|
Former Member
inherit
guest@proboards.com
134807
0
Nov 22, 2024 15:12:19 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Mar 10, 2016 23:39:52 GMT -8
Ah... so all posts containing images can't be quoted. Is that the price that has to be paid? I'm afraid so. The reason the plugin failed to find some images previously was because it had to wait for the images to load fully to get their dimensions, so each time you changed pages, the code would have to look for images again, then wait for them to load before it could secure them. Because this new version acts on the images before the dimensions are known, it will see ALL posted images and take initial actions there and then.. The main one being disabling the Quote button. I do have a different idea that would get ove this, but that would be a totally different technique, and while it should in theory be more secure, it would not be compatible with already posted images, which would then become insecure. Shucks. Blimey being a coder sure is hard work. Thanks for all your efforts trying to resolve this issue, but I won't run the latest version, instead I'll wait for your totally different technique.
|
|