Register Members List Search Today's Posts Mark Forums Read

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

vB Version: 4.x.x Rating: (19 votes - 4.84 average) Installs: 197
Released: 03 Jun 2010 Last Update: 18 Feb 2012 Downloads: 1061
Not Supported Uses Plugins Template Edits Auto-Template Additional Files Translations  

Important!
Old editor (vB 4.1.3 and below): use 4.0.008!
New editor (vB 4.1.4 and above): use 4.1.00x!


What does it do?

When creating or editing a post, your users can open a popup window that will show them their pictures in the chosen gallery, albums or attachment system.


Detailed features listUpgrade from vB3 version
Please uninstall the old version at AdminCP->Plugins & Products->Manage Addons. Also remove all files you uploaded for the vB 3 version apart from the editor icon, which will be reused. This will be /photo_popup.php and all /includes/photo_popup_config_[product].php files, relative to your forum root. Then follow the installation instructions below.


Installation
  1. Extract the archive.
  2. Choose the products you want to use and rename the configuration files in _UPLOAD/includes/cel/cel_pp_config from .php_new to .php
  3. If you're using Photopost Pro, you need to fill in some crucial information into the config file. Please see the config file for more information.
  4. Upload the contents of folder "_UPLOAD" to your forum root. Note how the folder structure mirrors the folder structure in your forum root, so every file will be in the right place.
  5. Now the Photo Popup and your chosen product configuration files will be present with default settings on your server. Later on, you may want to make adjustments there.
  6. Install the product file at AdminCP->Plugins & Products->Manage Addons.
  7. Template edits?
    • If you are using new editor, you're done.
    • If you are using old Editor and Template Modification System (TMS), you're done.
    • If none of the above two conditions apply to you, do the template modifications explained in _DOCS/OLD_EDITOR_ONLY-template_edits.txt manually for the editors you want the popup accessible from.
Basic ConfigurationUpgrade
  • If upgrading within the vB4 series, just reimport the product-xml-file, overwriting the old version, and reupload all files (skip the icon if you're using a custom one).
  • Most times you will be done, but please check in _DOCS/config_file_versions.txt whether the config file for one of the products you use has been changed since you last updated.
  • If the config file for one of your products has been updated, rename _UPLOAD/includes/cel/cel_pp_config from .php_new to .php and transfer your custom settings from your current config file to the new one. Then upload it to your server.
Support and debugging

Please note the information in this post of this thread.


Version history
For older versions see the vB3 version of this Mod.
### 4.1.004 ###
fixed several bugs, text-button re-added (full list)
### 4.1.002 ###
button not showing issue resolved
### 4.1.001 ###
adapted to new vB editor, added workaround for image spacing
### 4.0.004-008 ###
bugfix releases
### 4.0.003 ###
initial release
new (core): completely rewritten code
new: categories/user albums/folders listed hierachically in albums dropdown
new: Photopost Pro and vBGallery permissions for categories
new: global permissions check
new: cache system for albums dropdown
new: override all product related AdminCP-Settings in the product config file.



** Please note that the config files for Photoplog and CND Garage have not been converted. I do not have access to vB4 versions of those two softwares for testing and developing. Whether this will change in future, I don't know - at the moment, apart from having no software access, I'm very much out of time. Anyway, the config files are not too hard to figure out and there is a short introduction to adapting them. Please feel free to convert or develop for other software, if you like, and submit to this thread or to me personally by PM.


### 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:	popup_albums.jpg
Views:	3745
Size:	41.7 KB
ID:	117964   Click image for larger version

Name:	workflow.jpg
Views:	3279
Size:	58.9 KB
ID:	117965   Click image for larger version

Name:	admincp.jpg
Views:	1999
Size:	84.7 KB
ID:	117966   Click image for larger version

Name:	editor.jpg
Views:	760
Size:	40.9 KB
ID:	136498  

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
New Posting Features Photo Popup - Insert pictures easily from vB Albums, Photopost, vBGallery, Photoplog cellarius vBulletin 3.8 Add-ons 608 24 Oct 2012 15:52

  #181  
Old 27 May 2011, 21:40
8thos's Avatar
8thos 8thos is offline
 
Join Date: Aug 2010
Real name: DRE
What's different about the new version? Old version does Albums and Photopost perfectly.

BTW I also love your groups on forum home mod. Good job.
__________________
www.8thos.com
www.qapla.com
Reply With Quote
  #182  
Old 28 May 2011, 06:55
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Real name: Sven
Originally Posted by Octavius. View Post
What's different about the new version? Old version does Albums and Photopost perfectly.
It will work with the new editor currently in beta testing (will be in vB4.1.4, already in use at vb.com).

BTW I also love your groups on forum home mod. Good job.
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
  #183  
Old 04 Jun 2011, 04:00
TundraSoul TundraSoul is offline
 
Join Date: Mar 2002
Awesome work, this should be a default vB function.

Cosmetic question: How may I change the name 'Photopost' from the pop-up window, drop down list of photo sources? I'd like to rename it to the name of my gallery.

Thanks!
Reply With Quote
  #184  
Old 04 Jun 2011, 09:28
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Real name: Sven
The addon is fully phrased, so just edit the according phrase in AdminCP (cel_pp_photopost).
__________________
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
  #185  
Old 10 Jun 2011, 09:52
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Real name: Sven
New version available!

Whats new?
  • adapted to the new vB Editor introduced in vB 4.1.4
  • now works in post, CMS (bug in vB pending), blog, group and visitor messages editor automatically, no more template edits needed
  • Workaround for image spacing limitation (new AdminCP option for seperator)
Important!
Old editor (vB 4.1.3 and below): use 4.0.008!
New editor (vB 4.1.4 and above): 4.1.001!

Additional notes:

Regarding the bug in CMS editor: At the moment, CMS editor does not show images in CMS WYSIWYG mode. Vote for this bug to get it fixed fast!

There is a limitation in the vB CKEditor implementation that keeps this mod (and any external script that drops content into the editor) to add a trailing space to this content. This makes it impossible to simply add a space between inserted images. For a (temporal?) workaround, I have added a new AdminCP option that allows for defining a custom seperator that will be inserted after every image inserted. You can use BBCode in this seperator. For convenience, there's a method provided to insert a . (point) in the color of the editor background that you have defined in stylevar textedit_background. This is off and needs to be activated, if desired.

Let me know if there are any problems or you have a better solution for the seperator problem, since my somewhat hackish fix does lead to somewhat messy code in the post...
__________________
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
  #186  
Old 11 Jun 2011, 06:14
TundraSoul TundraSoul is offline
 
Join Date: Mar 2002
No template edits anymore correct?

I'm using vB 4.1.4 and 4.1.001 and it's not showing up in the editor. No icon or anything.
Reply With Quote
  #187  
Old 11 Jun 2011, 08:13
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Real name: Sven
Correct, no more template edits. Please check the following:
  • make sure you have uploaded the icon file images/buttons/cel/cel_photo_popup.png
  • then check whether it works in unmodified default style
  • if you are using a custom style, it may be that this style uses its own images directory; if this is the case, make sure to upload cel/cel_photo_popup.png into the buttons directory of your custom style. Example: images/mystyle/buttons/cel/cel_photo_popup.png
  • If you don't know where to look for this directory, check stylevar imgdir_button to find out.
So, why do I use the buttons and not the editor directory? Because, funny enough, the stylevar for images/editor is not available in the editor plugin javascript environment, while the one for images/buttons is.
__________________
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
  #188  
Old 11 Jun 2011, 10:46
kilgor kilgor is offline
 
Join Date: Apr 2011
vb 4.1.4
  • installed as per manual
  • [checked] icon uploaded to images/buttons
  • [checked] not showing up with default or any other style
  • [checked] stylevar imgdir_button = images/buttons
Reply With Quote
  #189  
Old 11 Jun 2011, 19:19
TundraSoul TundraSoul is offline
 
Join Date: Mar 2002
Originally Posted by cellarius View Post
Correct, no more template edits. Please check the following:
  • make sure you have uploaded the icon file images/buttons/cel/cel_photo_popup.png
  • then check whether it works in unmodified default style
  • if you are using a custom style, it may be that this style uses its own images directory; if this is the case, make sure to upload cel/cel_photo_popup.png into the buttons directory of your custom style. Example: images/mystyle/buttons/cel/cel_photo_popup.png
  • If you don't know where to look for this directory, check stylevar imgdir_button to find out.
So, why do I use the buttons and not the editor directory? Because, funny enough, the stylevar for images/editor is not available in the editor plugin javascript environment, while the one for images/buttons is.
The image resides where it's supposed to be. Verified.

I verified the image does not display in an unaltered default vB 4.1.4 style. For that matter, there's no broken image spot in the editor, where I would almost expect to find the plug-in working.
Reply With Quote
  #190  
Old 11 Jun 2011, 21:25
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Real name: Sven
You won't see a broken image spot, since the image is displayed not via <img>, but by css. If you want me to troubleshoot this on your forum, send me login details that allow me access to an editor on your forum (if you allow guest posting, a link will suffice).
__________________
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
  #191  
Old 12 Jun 2011, 10:26
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Real name: Sven
New version!

Bugfix release 4.1.002!

Thanks to kilgor who gave me access to his forum the issue with the editor buttons not showing up for some users has been resolved. Please install the new version and let me know if it indeed fixes the problem for you.

Additionally, you can delete the deprecated file clientscripts/ckeditor_config_cel_pp.js
__________________
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
  #192  
Old 12 Jun 2011, 11:03
kilgor kilgor is offline
 
Join Date: Apr 2011
now it works! Thanks a lot for your support!
Reply With Quote
  #193  
Old 21 Jun 2011, 05:28
TundraSoul TundraSoul is offline
 
Join Date: Mar 2002
Working very well, thanks!

Here's a suggestion. While the popup window is open, allow us to drag the image from one source (say attachments) into albums and so on. Could you imagine the flexibility that would bring to all these media storage systems.
Reply With Quote
  #194  
Old 21 Jun 2011, 10:21
BioTek BioTek is offline
 
Join Date: Oct 2003
I'm using 4.1.4 is there a reason why the button works for admins but is grayed out for Moderators and Registered Users.
Reply With Quote
  #195  
Old 21 Jun 2011, 19:14
DaveS DaveS is offline
 
Join Date: Apr 2006
I have a possible problem.
I use Photopost.

When inserting pictures it seems to be using the wrong URL.

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

When in fact it should be..


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

So it's inserting the forums bit which is obviously vB path.
However in the cel_pp_config.php the settings are correct. It seems to be ignoring these.


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

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 00:29.

Layout Options | Width: Wide Color: