The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
![]() |
||||||||||||||||||||||||||||||||||||||||||
Photo Popup - Insert pictures easily from vB Albums, Photopost, vBGallery, Photoplog
![]() Developer Last Online: Apr 2022 ![]() ![]()
Quote:
What does it do? When creating or editing a post, your users can open a popup window that will show them pictures in the chosen gallery or albums. Now also supports attachments: Reuse what you uploaded! A click on the picture inserts it into the editor. Works with
Detailed features list
Basic Configuration
Upgrade
Support and debugging Ill help whenever I find the time. Before asking, please activate debug mode and post the information given there (especially under "Code". Please try the two links given - do they look "normal" and do they work? Debug information is only shown to Administrators (usergroup 6). Always state the products you use, including the software versions. Also read the infromation in the second post of this thread. Hopes for the future World peace, happiness, health and lot's of money ![]() Version history
Development and bugfix releases for config files If the need arises, there will be development or bugfix releases of config files between official releases of this mod. The zip file attached to this post will always be up to date. At the moment, there are no development/bugfix-releases. Translations Deutsche ?bersetzung bei vbulletin-germany.org. Arabian translation, thanks to Subah. Russian translation, thanks to nohuhu. Screenshots AdminCP, Photopost settings, Photo Popup in action, quickreply ### Don't forget to click install! ### (No support if you don't) Download Now
Screenshots
Show Your Support
|
Благодарность от: | ||
vn88.com |
Comments |
#302
|
||||
|
||||
![]()
It is - for the newest release that I am running for testing purposes. Your directory structure reflects an older version. A fix for this has been posted somewhere in this thread. Just search for it.
|
#303
|
||||
|
||||
![]()
So maybe it does not change a directory structure that is already in place. Anyway, my installation uses the 1/2/3/4 format. If anyone can clarify when vBG uses which format and whether there is an easy way to detect it, I'll happily adapt the mod. As long as this is not the case, vBG-users who have 1234-structure will have to apply that patch.
|
#304
|
|||
|
|||
![]()
the 1234-structure is used when php is in safe mode.
|
#305
|
|||
|
|||
![]() Quote:
To determine whether a gallery is using safemode, in ACP, go to VbGallery -> Maintenance and scroll to the bottom. BTW, this is a great hack ! ![]() |
#306
|
|||
|
|||
![]()
I have the same problem, i do the same on 2 of my site, one is working, the other does not, in the second i have the popup window but can't insert picture from album, and in the bottom of both popup windows i have error in page.
|
#307
|
||||
|
||||
![]() Quote:
New config file for vbGallery! v 3.1b So - there's just another new config file for vBGallery with the following fixes and new features:
![]() File removed for a later version, check next posts! |
#308
|
|||
|
|||
![]()
But wait there's more! Sorry but you have another error in the code as well with vbgallery.
If a user uploads a photo titled MyPhoto.JPG into vbgallery, vbg will create a thumbnail called MyPhoto_thumb.jpg by default. However, your code in the pop up window is looking for MyPhoto_thumb.JPG (extension in caps like the original file) and so the user will see red x's instead of thumbnails when they look through their images because Linux treats the file extensions in a case sensitive manner. Now if you click on that red x inserted thumbnail it WILL take you to the correct full size photo because the full size photo does end in .JPG or whatever the all caps extension happened to be. This should be as easy as making the _thumb file always end in a lowercase version of whatever the original extension is or else storing the actual thumbnail file name or checking it in some way. For now I have told my members NOT to choose the thumbnail insertion when looking through their vbgallery files to insert but to choose full size insertion until the code can be fixed to handle the file extension case problem. Thanks in advance for the fix, sorry to keep piling these on you, but my members are a picky bunch and usually find any issues with any code with any browser, etc... ![]() |
#309
|
|||||
|
|||||
![]() Quote:
Quote:
Quote:
By the way: If I'm uploading an image that has a uppercase extension, vBG changes the original uppercase extension to lowercase. Quote:
Quote:
![]() So, after some more thinking, I decided to take more information directly from the database. All filenames - thumbs, originals, everything including extensions - are now taken directly from the database and thus should mirror exactly what vBG uses. If it works there, it should also work with this mod. Please test the attached config file and see whether it solves the problem. If not, please check whether vBG indeed saves original files with uppercase extensions (which it does not for me - and I was unable to find an option in the vBG settings, tho I did not look too hard) and provide the content of the debug table field for "Code". |
#310
|
||||
|
||||
![]()
Since the error descriptions on this have been more than vague up to now, there really is no way to address this issue. I do not experience any errors. At least state which browser you are using and what the error is (exact error message!). Are you sure you have uploaded the latest version of photo_popup.php?
|
#311
|
|||
|
|||
![]()
Thanks for looking into this. Since I've had vbgallery for a couple of years there is some chance that vbgallery has changed over time. I have confirmed that a member who uploaded a photo ending in .JPG has a thumb ending in .jpg and hence has a red x problem. I am out of town currently but will return tomorrow and will try your new config file to see if it takes care of the problem by pulling the names directly from the database. I would hope that it would since the database could contain photos that vbgallery has stored differently at different times.
I was going to ask about your config setting for storing the original file. While there IS a setting for that in vbgallery to apply universally I don't use it. By default if someone uploads it creates a thumbnail and resizes to say 800x600 or whatever my default settings are. However, you can override that with settings for each category and in fact I do that. So I have some categories where say an image that is 3000x2000 will be uploaded and a thumbnail is created, an 800x600 version is created and the original 3000x2000 image is also saved. I don't know if running vbgallery in this way poses a problem for your mod if users try to insert say a medium sized photo or the original, etc. I just wanted to point out that some of us don't use the save original setting universally, but rather use it for only certain categories. Hope that helps! |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|