![]() |
Photo Popup - Insert pictures easily from vB Albums, Photopost, vBGallery, Photoplog
1 Attachment(s)
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 :p 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) |
Detailed features list
Product Configuration It's quite straightforward, really. For most products you won't have to open the config files at all.
A note on vBGallery and Photoplog support I have installed vBGallery and Photoplog only in a local testing environment. Please note that I can only give limited support for those add-ins. A note on "conflicts" with other editor/quickreply/quickedit mods Normally, there should be no fundamental conflict. The template edits for this mod do nothing but to add an additional button to the toolbar in quickreply and quickedit and a link to the main editor. However, if other mods you have installed already induced template changes there, you might have to adapt the template changes accordingly. A good solution might be to melt the template changes for this mod into the template changes for the other. I'm afraid I'll not be able to help you there, since I do not have those mods installed. But ask away here or, perhaps even more promising, in the thread for the other mod, perhaps anyone else has.Please take note of this post here, too. On principle, you should be able to add the link that opens the popup anywhere within the various editor-tamplates in any form you like - whether you put up text or the button in front of the link, doesn't really matter. What you essentially need is a link like this one somewhere within the editor: HTML Code:
<a href="#" onclick="window.open('photo_popup.php?$session[sessionurl]e=$editorid','fotos','scrollbars=yes,resizable=yes,width={$vbulletin->options['photo_popup_width']},height={$vbulletin->options['photo_popup_heigth']}'); return false" title="$vbphrase[photo_popup_insertlink]">$vbphrase[photo_popup_insert]</a>] Credits Credits go to the Geek for the idea for this hack and hints I took from the code of his old Gallery popup. Especially the trouble-rousing injection-process of the images into the editor follows different lines altogether, using vB-built-in functions. The camera-icon in quickreply and quickedit is taken from the fabulous silk iconset: http://www.famfamfam.com/lab/icons/silk/ |
I like your idea, thank ;)
|
beautiful. works like a charm.
|
Quote:
|
getting an error on popup
Code:
Invalid SQL: |
Ah, you might just have discovered the first bug :)
I think I can reproduce this. Do you have "use vB" to yes. "use PP" to no, but then "use vB as standard" to no - effectively making PP the standard? Of course, there should be a check against that, I'll fix that ASAP. for now, try setting "use vB as standard" to yes. You might have to restart your browser or delete the cookie [COOKIE_PREFIX]photo_popup (normally bbphoto_popup). Edit: Uploaded new zip-file. Just upload photo-popup.php again, that should fix it. Please tell me if it works out for you. |
caught another bug, I went to overwrite the product file just in case you had modified that, and I got this error:
Code:
Database error in vBulletin 3.8.0: Feature Requests: have the install edit the templates, and I would add an option to the admin panel which has a field which you can choose which styles NOT to insert it into. This mod pulls off this trick well. |
Great mod, but I use VBGallery version of Photopost, and it does not work with it.
|
Quote:
Quote:
Quote:
|
i receive a error
Database error in vBulletin 3.8.0: Invalid SQL: SELECT id, catname FROM pp_categories WHERE cattype = 'a' AND parent = 1 ORDER BY catname; MySQL Error : Table 'Sql73584_3.pp_categories' doesn't exist Error Number : 1146 Request Date : Tuesday, January 20th 2009 @ 02:36:51 PM Error Date : Tuesday, January 20th 2009 @ 02:36:52 PM Script : http://www.bobmarleymagazine.com/for...hoto_popup.php Referrer : http://www.bobmarleymagazine.com/for...newthread&f=71 MySQL Version : 4.0.27-standard-log |
very interesting, ill have to check this one out on my testboard this weekend :)
|
Quote:
If you have configured for Photopost, is Photopost using the same database as vB or different? Are you sure your database settings are correct if the latter? Do you use the latest version of this (Photo Popup, not the old one: PP-Popup) mod? Please redownload to make sure. At second glance: This looks very much like a long fixed error I encountered in an early version of the predecessor of this mod: Am I right in gathering that you have set up for PP in different database than vB? That Sql73584_3 is the name of your PP-database? If so, you're definitely using an old version. Does your setting page in AdminCP look like the screenshot attached to mod description? |
Quote:
Vb 3.8.0 and photopost 6.2 vbgallery 2.4.3 installed last version of PP Sql73584_3 - this is the vb database the PP database is Sql73584_2 as the photopost config.php |
Quote:
And: Please click install, or else there ill be no more support. |
I'm using it on vb 3.8.0 and photopost 6.2 using separate databases. Works great and photos are now showing up.
One thing I'd like to request (if it's even possible) is to auto-close the popup when the post is initiated. |
Wow, this is extremly sexy! Gonna install now. :)
|
Thanks! Great Mod.
Using it with both Albums and PhotoPost 6.x. |
Well it seems not to work with the addon UserCP icons.
I also have TMS 1.5 installed but the addon doesn't change anything. :( |
Love it, works great with one exception.
When the window is first called up, clicking one of the images does not do anything. If I select one of the other options in the Insert As menu, then it works fine. And thereafter when the window is called up, it works. Perhaps an issue with the cookie not being being set initially or something? I am using it with Albums only. |
Quote:
The other mod is only active in UserCP, and this one does nothing to your standard vB but adding a link to a template that's only called in the editor. All the rest is done in the popup window. Quote:
|
Quote:
Quote:
Quote:
|
very nice :D
|
Version 1.2 uploaded
Quote:
Quote:
Layout change: From now on, the album dropdown will by default be shown in a seperate line. Album titles may be very long, and thus cause some layout breaking. Sadly, there still is no way in IE to assign fixed widths to select-fields without cutting off the options... |
Sorry, there was a typo in the new form code so the Phrase for your vB-Album could not be pulled in the dropdown. If you already downloaded 1.2, please download again and just reupload the photo_popup.php.
|
ok now it is ok i forgot to change true for different db
|
Just a short note: now it works like a charme. (upgraded to 1.2)
The mentioned addon uses its own template, so changes via TMS won't affect the standard style. I had to add the code manually (no problem at all). One thing: Popups open in my tab bar in Firefox. Would you mind putting an option to switch "change window size when popping up?" on/off? This would be really appreciated. Your addon rocks! Great Idea. My folks loved the idea and are desperately waiting to get their hands on it in the forum. Great job! |
That took care of it. Thanks a lot!
|
I wish more mods supported TMS :up:
|
I want to thank you so much for this mod. It's installed on my site and working wonderfully. I really can't say thank you enough!
|
MOD CONFLICT?
Seems to work great with vb3.7x.... HOWEVER! We have a major conflict with another photo mod I have installed. The Image Resizer. Powered with Lytebox / Highslide / Lightview https://vborg.vbsupport.ru/showthread.php?t=184571 This mod makes attached images or inline images resized. So the conflict is when I use your mod to insert a photo from my album or photopost that is a linked thumbnail there is only the thumbnail and the link to the album doest work. The other mod seems to steal the action to make a lightbox. POSSIBLE BUG: Med images for photopost don't seem to work. I wonder can this be fixed to remove conflicts between the two mods??? |
How to Edit Drop Menu?
Question: How can I change the drop down menu to say just: Albums (instead of: Pictures & Albums) Gallery (instead of: Photopost Gallery) This mod looks awesome!!! Many Thanks! SOLVED: I edited the two phrases: pictures_and_albums and photo_popup_photopost I renamed the drop menu listings there to fit my needs. |
Quote:
I have the same issue, although for the moment I dont allow linked images to circumvent the issue. But I love the mod !! Thanks |
Quote:
As the Image Resizer is designed to resize the original image (as far as I understand it), nothing will happen if you insert the thumbnail that is already very small. Nothing to resize there. If you use it, you should turn off all thumbnail and all linked options in the popup, so that images are inserted that are big enough to be resized and opened in the overlay. Bottom line: The two mods should work together as designed (the popup does nothing else then inject img-code, as if you were typing it by hand or using the icon in the editor). But if you use the mod, there are options in the popup that make no sense, since you can't have both: a resized image with a zoom overlay and a link to the gallery. I have solved this with highslide as follows: Since both albums and galleries have different looking links for the original image and the gallery, I have hacked the URL-BB-Code to look for the link-structure of the original. If it finds that, the Link is replaced and highslide overlay is triggered. If the link goes to the gallery, the link remains unchanged. Quote:
Otherwise, please set the popup to insert medium images (the setting that doesn't work) and post the content of the debug section under code. Before, please try the links in the debug section. |
Quote:
|
Quote:
Even so, I don't think there is anything I could do. You would have to take this issue to the author of the other mod. My mod inserts just plain bb-Code for images and links. If you insert the same by hand or with the editor, you would have exactly the same issues. There is nothing wrong with this mod. |
Please note: If you did your template-change manually, you have to redo it to upgrade to 1.3! Redone and (hopefully ;)) improved:
If you should have further propositions and bug reports, please feel free to post here. |
I wonder, maybe if the thumbnails and designated images that 'normally' click to the galary or albums etc, but dont as a result of the Image Resizer mod, ...
Maybe if thismod allowed or allowed the option of a small 'click to see image' link, or 'click to view album' link, would be placed immediatly below the image. This way the resizer will still be functional, as well as the clickability would also be available, for those that wish it to appear. Just thinking outloud for solutions. |
Nice mod. Added the code,
Code:
<td class="smallfont" colspan="$vboptions[smcolumns]"> |
quick bug question,...
I noticed on my install, when the popup shows, the paginator shows the number of pages required to list all the images within all of my vb album images, but each page number, when clicked on, shows ALL of the images, with the proper number of columns defined in acp, but with enough rows to show ALL the images in ALL gallaries. When selecting an individual album, it does sort through and show the proper images, but still with no regard to the number of rows as defined in the acp settings. |
All times are GMT. The time now is 06:47 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|