mybbgroup / fancybox Goto Github PK
View Code? Open in Web Editor NEWMyBB FancyBox plugin
Home Page: https://mybb.group/Thread-FancyBox
License: GNU General Public License v3.0
MyBB FancyBox plugin
Home Page: https://mybb.group/Thread-FancyBox
License: GNU General Public License v3.0
I know you already have stated that you won't support fancybox on portal.php, but still I don't know why. It would be awesome to have it working there. Is it hard to do, or you just don't want to do it, because you don't use that feature of MyBB?
Also if you open announcement it also has no FancyBox support. It would be nice to have it also there ;)
I like this plugin, it makes going through images much easier and better. Since I want to use portal on my forum based on MyBB I just want to be sure if it isn't going to be supported.
Please if you can consider supporting portal.
If you really don''t want to or simply can't then I will most likely try to add support myself. 🍰
MyBB requires an is_installed
function in order to correctly display links in the plugins page.
when I deactivate the plugin, it will be shown in the plugin list to "install and activate". Also the entry for settings is shown ...
After reinstall I have the settings two times in my forum (1.8.24, php 7.3.x), one time the setting for per-post-gallery is not shown (is in the remained settings entry after deactivate)
As title says - add a button to rotate opened image by +-90°
Add simple readme file with URL to FancyBox author page and licence agreement
When used on a forum that is in a subfolder of the root (subdomains, and subdirectories) the JavaScript is not loaded.
My suggestion: yes, there should be only one image gallery per page.
Currently there are separate galleries, generally (always?) one for each post on the page.
It seems that converting all of these separate galleries into a single gallery would be as simple as setting the data-fancybox
attribute to a single, constant value everywhere it is used (untested, but based on the FancyBox documentation).
hello; when i decativate/uninstall the plugin i have success message on acp; but the plugin still working.
FancyBox v3.4.1 was released as a bug fix and a new features release. I will update it in this plugin before releasing v0.6. I think there will be more changes in this library due to many new additions which could bring new bugs.
As title says - add a new feature - minimize opened modal box
This setting is not working correctly,
the output should be:
When disabled:
thumbs: {
autoStart: false,
hideOnClose: true,
},
When enabled:
thumbs: {
autoStart: true,
hideOnClose: true,
},
Because of the way postbit_attachments_thumbnails_thumbnail
is overwritten and replaced, if admin tries the plugin and decides not to use it, they will have lost all customization to that template.
Getting the error as specified on the post
https://community.mybb.com/thread-219143-post-1337359.html#pid1337359
When in the ACP, Home » Board Settings » Attachments » Show Attached Thumbnails in Posts is set to "Full Size Image", attached files which have not been inserted into the post (and which therefore show up full-size under "Attached Files" at the bottom of the post) disappear from that location as soon as they are clicked on so as to activate the FancyBox pop-up (they show fine in the pop-up though).
It seems that this happens because, for some strange reason, FancyBox behaves in this way when the a
tag enclosing the image does not have its href
attribute set (which I twigged on to when I read this comment in the fancyBox GitHub repository), and line 395 of inc/plugins/mybbfancybox.php
fails to set the href
attribute of the a
tag which it creates.
Add a watermark support
Add a new setting to ignore images with a small resolution
On iPad, zoomed image remains static even clicking outside the image. I have to click 'x' to close zoom. - This is an issue.
On PC and Mobile, clicking outside of the zoomed image is closing zoom. - This is perfectly working.
hello;
i m asking if there is a possibility to add or activate slideshow option and navigation option (previous/next) because its very useful when wa have many pictures in a post..
thanks.
I have a working code for watermark support, I would like to add when others things will be added.
Now there is no way how to navigate between multiple images in posts. You have to open and close for viewing every image.
There is an issue with loading custom settings - not possible right now to use slideclass: 'watermark' in mybbfancybox.js - it is not loaded, overloaded by default settings.
This need to be loaded at the end of headerinclude, not in mybbfancybox.js. Maybe the best place would be there: https://github.com/mybbgroup/MyBB_Fancybox/blob/0e165d12e5d8299acba9fd5e6c635af1a352b131/inc/plugins/mybbfancybox.php#L400
Basically what the title suggests.
Looks like this great plugin has been abandoned which is a shame. Does anyone know how I can change the error message when a user can't access an attachment?
thank you very much for this awesome plugin.
after test i see that download button not start downloading the image , only the image link is shown in address panel of browser.
thank you.
New setting is needed - do not include images from post urls into gallery (ignore them when viewing attachments).
"Warning [2] Use of undefined constant THIS_SCRIPT - assumed 'THIS_SCRIPT' (this will throw an Error in a future version of PHP) - Line: 383 - File: inc/plugins/mybbfancybox.php PHP 7.4.16 (Linux)"
https://community.mybb.com/thread-219143-post-1331991.html#pid1331991
I think we should disable this by default and add a note to ACP that this is highly experimental feature... I dont know how to fix that (it is not trivial and I am not a JS guy).
This is a next step for supporting custom languages
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.