Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Photo Popup - Insert pictures easily from vB Albums, Photopost, vBGallery, Photoplog Details »
Photo Popup - Insert pictures easily from vB Albums, Photopost, vBGallery, Photoplog
Mod Version: 3.5, by cellarius (Coder) cellarius is offline
Developer Last Online: Oct 2019 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (48 votes - 4.88 average) Installs: 402
Released: 19 Jan 2009 Last Update: 18 Nov 2009 Downloads: 3139
Not Supported Uses Plugins Template Edits Auto-Template Additional Files Translations  

Whats new in Version 3.5
  • now supports attachments
    • config file will be installed automatically (from folder UPLOAD/includes)
    • remember to add the product option "attachments" in your AdminCP when upgrading
    • make sure you reupload photo_popup.php
  • new config file for CND Garage 2.x
    • new config file photo_popup_config_cndgarage.php
    • if you're using CND Garage in a lower version that 2.x,
      • and you're upgrading: just continue to use the old file
      • and you're doing a fresh install: delete the new config file, and rename photo_popup_config_cndgarage.php.old (remove the .old)



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
  • vBulletin 3.7.x and 3.8.x, vB Blog (probably anything that uses the vB editor)
  • Photopost Pro
  • Photopost vBGallery
  • Photoplog
  • CNG Garage

Detailed features list
Installation
  1. Extract the archive.
  2. Upload the contents of folder "UPLOAD" to your forum root. Note how the folder structure in this folder mirrors the folder structure in your forum root, so every file will be in the right place.
  3. a) If you intend to use only the vBulletin forums albums, proceed to step 4.
    b) If you intend to use any other gallery product, see "Product configuration" in second post.
  4. Install the product.
  5. a) If you are using Template Modification System (TMS), you're done.
    b) If not, do the template modifications explained in template_edits.txt manually.

Basic Configuration
  • if you're using only vB albums, everything is done via AdminCP->Options->Photo-Popup
  • Decide there how many rows and columns the popup table will have, what gallery products to use, which insert options you want to allow, activate code mode on a usergroup permission basis, or activate debug mode
  • See "Product Configuration" in second post.

Upgrade

  • Just reimport the product-xml-file, overwriting the old version, and reupload the photo-popup.php.
  • Please check in config_file_versions.txt whether the config file for one of the products you use has been changed since last update.
  • If the config file for one of your products has been updated, upload it from config files folder to your includes directory. Don't forget to take note of any any changes and settings in the old file and adapt the new one accordingly, if necessary.

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

  • Version 3.5
    • new: supports attachments
    • new config file for CND Garage > 2.x
  • Version 3.4 / 3.4.1: Album dropdown not populated if using mysqli,Photopost not saving medium sized images, Fix for PHP 5.3.0 related bug (bugfixes)
  • Version 3.3 new/updated config file vBGallery (bugfixes); session-handling fixed; workaround for vbseo problem with Firefox in WYSIWYG editor
    • Important: template edits have to be redone!In every manually done template edit find: photo_popup.php?e=$editorid and replace with photo_popup.php?$session[sessionurl]e=$editorid
  • Version 3.2 new/updated product config file vBGallery (bugfixes), some additional error checking and error messages, debug information enhanced
  • Version 3.1 new/updated product config files: cnd garage (thanks to wottech for cooperation), photoplog categories, photoplog albums, photoplog, vBGallery; some additional cookie error checking; error checking in AdminCP removed; bugfixes from this thread.
  • Version 3.0 code reorganisation: implemeting of new galleries made easier by outsourcing of the relevant settings and database queries into seperate config files; new feature: support for vBGallery and Photoplog (lite?) added; minor bugfixes
  • 3.0.1 Important bugfix if you are using vB albums: wrong database query in config file. To fix this, it's enough to reupload photo_popup_config_albums.
  • 2.2 New feature: 2 plugins to show correct location and activity in "who's online". Bugfix: Bit of unphrased German removed from template (in pagenav dropdown). For upgrade from 2.1 just import product file, no uploads necessary.
  • 2.1 New feature: Code mode. Lets you see the corresponding bb- or html-code instead of sending the image to the editor. If your browser allows that, the code is also copied to clipboard. Bugfix: Fixed a problem where pagination misbehaved when working with vB albums
  • 2.0 New feature: Support for quickreply and quickedit!
  • 1.4 New feature: Three new insert-options: thumbnail, medium and original image not linked themselves, but with a link to the gallery/album in the line below. This should be especially interesting for the users of the image resizer mod.
  • 1.3 feature improvement/bugfix: default popup size is now determined before opening, not after (window.resize method causing issues in Firefox). Auto-close of the popup now using the YUI Event Listener; the needed library is already part of vB's standard distribution. New feature: title bar with "close this window"-link.
  • 1.2 new feature: popup closes after editing is completed; smaller changes in Layout
  • 1.1 new feature:set popup window size, to go with your table settings; minor bugfixes
  • 1.0 Initial release

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

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	screen_popup_1-3.jpg
Views:	6707
Size:	154.1 KB
ID:	93283   Click image for larger version

Name:	screen_admincp_1-3.jpg
Views:	2167
Size:	115.5 KB
ID:	93284   Click image for larger version

Name:	screen_quickreply_2-0.jpg
Views:	4201
Size:	58.5 KB
ID:	93356  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Miscellaneous Hacks PP-Popup - Photo-Popup for Photopost cellarius vBulletin 3.7 Add-ons 20 19 Jan 2009 22:01

  #466  
Old 18 Nov 2009, 15:37
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Real name: Sven
Originally Posted by JohnBee View Post
This MOD went from cool to awesome!
NOMINATED
Thanks
__________________
Please note that there will be no further updates to my addons, especially they will not be upgraded for vB5. I'm leaving vB, since IB choose to go the banana-way yet again.

http://www.roma-antiqua.de
Reply With Quote
  #467  
Old 18 Nov 2009, 16:46
Wild Bronco Wild Bronco is offline
 
Join Date: Jan 2005
Originally Posted by JohnBee View Post
Wow!

This MOD went from cool to awesome!
NOMINATED
I second that
Reply With Quote
  #468  
Old 18 Nov 2009, 17:45
AfterWorldForum AfterWorldForum is offline
 
Join Date: Dec 2008
Didn't update yet, but I found something that has been annoying my users (and thus me) for ages.

I use vbGallery, and whenever my users clicked to include a thumb linked to original, the link would bring them to an empty screen, due to a missing filename.

I finally figured out what happened. I have the ability to get rezised pictures enabled, which caused the mod to always look for an originalname. However, if pictures were NOT resized (and I increased the filesize for quite a few options), it therefore would grab a blank filename.

I think I fixed it now, by editing photo_popup_config_vbgallery.php.

Look for:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace with:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #469  
Old 19 Nov 2009, 22:06
Taragon's Avatar
Taragon Taragon is offline
 
Join Date: Sep 2007
Real name: Cor
thanks!
with some adjustments made, support for non image files, and being able to use the attachment uploading feature this mod could very well compete, or replace the stock attachment manager

(also nominated )
__________________
Turning Strigoi? Vampire Academy - Bèta.
Reply With Quote
  #470  
Old 21 Nov 2009, 19:51
sailnet sailnet is offline
 
Join Date: Oct 2009
awesome - worked like a champ the first time - I love it.

now - if I can just get someone to allow mobile uploads to your albums.

Reply With Quote
  #471  
Old 22 Nov 2009, 06:15
RWerksman RWerksman is offline
 
Join Date: Dec 2007
Nominated for MOTM from me too. This really is a spectacular mod - very, very useful. The newly added ability to 'reuse' previously attached pictures is just epic.

I'm thrilled!
Reply With Quote
  #472  
Old 22 Nov 2009, 22:22
Kaelon's Avatar
Kaelon Kaelon is offline
 
Join Date: Jan 2002
Hey there,

I love this mod, but I think I found a bug with the attachments for Photo Popup 3.5. If you are using vbSEO, the pop-up display for the attachments shows broken images because the images being shown have a vBSEO URL that includes the forum directory path. For example, instead of showing an image located at attachments/image.jpg, it shows attachment/forumname/image.jpg. I am storing my attachments in the file system, if that helps.
Reply With Quote
  #473  
Old 22 Nov 2009, 22:41
sailnet sailnet is offline
 
Join Date: Oct 2009
Originally Posted by Kaelon View Post
Hey there,

I love this mod, but I think I found a bug with the attachments for Photo Popup 3.5. If you are using vbSEO, the pop-up display for the attachments shows broken images because the images being shown have a vBSEO URL that includes the forum directory path. For example, instead of showing an image located at attachments/image.jpg, it shows attachment/forumname/image.jpg. I am storing my attachments in the file system, if that helps.
I think for all the money you paid vbseo for their product they should fix the problem..

after all - it was their code that breaks the mod
Reply With Quote
  #474  
Old 23 Nov 2009, 06:52
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Real name: Sven
I use vBSEO myself, with the attachments in the file system, and it works perfectly well for me. Where the att are stored does not matter, as the mod is calling them via attachment.php which does all the routing. The popup does use the SEO'ed URLS for the images in my case, too, but it uses them just fine. There's also really nothing I can do, since I just drop in the standard URLs (attachment.php?attachmentid=XXXXX), and vBSEO exchanges them automatically. No way for me to interfere there if it does not do that correctly in your case.
__________________
Please note that there will be no further updates to my addons, especially they will not be upgraded for vB5. I'm leaving vB, since IB choose to go the banana-way yet again.

http://www.roma-antiqua.de
Reply With Quote
  #475  
Old 23 Nov 2009, 19:09
sailnet sailnet is offline
 
Join Date: Oct 2009
I have a request.

would you consider making mods to this so that I could incldue another block on the user profile page so that someone could look through the images they have in for forum or any of the other sources of images you support in this mod.

Images are a HUGE part of my site and my members and myself are always looking for images posted by others in the past.

I think it would be great!

thanks so much for such a great mod!

My members love it.
Reply With Quote
  #476  
Old 23 Nov 2009, 20:28
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Real name: Sven
Sorry, but this would be a completely different modification and will not part of this mod.
__________________
Please note that there will be no further updates to my addons, especially they will not be upgraded for vB5. I'm leaving vB, since IB choose to go the banana-way yet again.

http://www.roma-antiqua.de
Reply With Quote
  #477  
Old 24 Nov 2009, 02:56
sailnet sailnet is offline
 
Join Date: Oct 2009
Originally Posted by cellarius View Post
Sorry, but this would be a completely different modification and will not part of this mod.
ok then... how 'bout it?
Reply With Quote
  #478  
Old 25 Nov 2009, 08:56
Steve B Steve B is offline
 
Join Date: Jul 2005
Running vBulletin 3.8.4 Patch Level 1, Photopost 6.23 and VBSEO. Photopost and vBull are using separate databases.

I would really like to use this but have a problem. Our popup window opens with our site's homepage instead of the photos in our gallery?

We are getting no database connection errors, and switching on debug mode shows nothing in the popup window

I have checked and double checked the $url_path = ""; in photo_popup_config_photopost.php and it is set correct. In the admin settings I have selected 'photopost'. Its strange that I am getting re-directed to our homepage in the popup.

Not sure what else to try...any suggestions please?
Reply With Quote
  #479  
Old 25 Nov 2009, 10:01
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Real name: Sven
Post the link to your site and the link that is used to open the popup.
__________________
Please note that there will be no further updates to my addons, especially they will not be upgraded for vB5. I'm leaving vB, since IB choose to go the banana-way yet again.

http://www.roma-antiqua.de
Reply With Quote
  #480  
Old 25 Nov 2009, 13:32
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Real name: Sven
Originally Posted by Steve B View Post
Running vBulletin 3.8.4 Patch Level 1, Photopost 6.23 and VBSEO. Photopost and vBull are using separate databases.

I would really like to use this but have a problem. Our popup window opens with our site's homepage instead of the photos in our gallery?

We are getting no database connection errors, and switching on debug mode shows nothing in the popup window

I have checked and double checked the $url_path = ""; in photo_popup_config_photopost.php and it is set correct. In the admin settings I have selected 'photopost'. Its strange that I am getting re-directed to our homepage in the popup.

Not sure what else to try...any suggestions please?
Issue was resolved by PN. User had some path issues due to portal software or funky rewrites - the link to open the popup did point to the site root, not the forum root. Resolved by adding the forum root folder to the template edits.
__________________
Please note that there will be no further updates to my addons, especially they will not be upgraded for vB5. I'm leaving vB, since IB choose to go the banana-way yet again.

http://www.roma-antiqua.de
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 11:23.

Layout Options | Width: Wide Color: