The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
Cel Photo Popup - Insert pictures from vB Albums, Attachs, Photopost, vBGallery Details »» | |||||||||||||||||||||||||||||||||||||||
Cel Photo Popup - Insert pictures from vB Albums, Attachs, Photopost, vBGallery
Developer Last Online: Apr 2022
Important!
Old editor (vB 4.1.3 and below): use 4.0.008!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 list
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
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. Download Now
Screenshots
Show Your Support
|
Благодарность от: | ||
tbworld |
Comments |
#322
|
|||
|
|||
when members upload new photos they're not showing up in the popup... anything to do to fix this?
|
#323
|
|||
|
|||
This was working great for me before. Now not working. I don't know if it's because I upgraded to vB 4.2.2 or possibly because of installing Opcache and memcached. But when members click the link to go to their photos, it shows blank pages instead of their Photopost photos.
Like this: |
#324
|
||||
|
||||
Works for us on 4.2.2pl4 / PHP 5.4 / Xcache
|
#325
|
|||
|
|||
Good to know. Are you using Photopost?
|
#326
|
||||
|
||||
No we dropped Photopost and now use DBtech Gallery
|
#327
|
|||
|
|||
I don't know if it's something I'm doing wrong, but I can't get this addon to work with 4.2.2PL4 and Photopost Pro.
|
#328
|
||||
|
||||
The tool is working with our 4.2.2 but there is no tool tip for the button in the toolbox for the editor.
The instructions for fixing the tool tip appears to be for a non-CKEditor implementation. Help! Previous fix does work and text is controlled by the phrase. |
#329
|
|||
|
|||
Trying a few things to get the ckeditor to display the button.
|
#330
|
|||
|
|||
For anyone else having issues on this cool add-on;
First, if using TMS, the error shows up in the updated template. The fix is posted here, as the Search for Text box needs to have the code in it instead of what the product installer put in it. Refer to the following link: https://vborg.vbsupport.ru/showpost....&postcount=279 Now, I didnt really like the output formatting located right under the smilies area, so I modified the replacement code. Be sure to change the TMS to Replace the text instead of the original Insert Text Below. Insert the following code into the bottom code box in the TMS editor for that template: Code:
<vb:if condition="$show['moresmilieslink']"> <div class="moresmilies">[<a href="javascript://" onclick="vB_Editor['{vb:raw editorid}'].open_smilie_window(); return false" title="{vb:rawphrase showing_x_smilies_of_y_total, {vb:raw vboptions.smtotal}, {vb:raw totalsmilies}}">More Smilies</a>]</div> </vb:if> <br /><br /> <div class="moresmilies">[<a href="#" onclick="window.open(getBaseUrl() + 'photo_popup.php?{vb:raw session.sessionurl}e={vb:raw editorid}','fotos','scrollbars=yes,resizable=yes,width={vb:raw vboptions.cel_pp_width},height={vb:raw vboptions.cel_pp_heigth}'); return false" title="{vb:rawphrase cel_pp_insertlink}">{vb:rawphrase cel_pp_my_photos}</a>]</div> Second, The tooltip on the button doesnt show. The fix for this is clearly posted here: https://vborg.vbsupport.ru/showpost....&postcount=265 Third, the tool icon doesnt show. This is a bit more difficult and my fix may not necessarily be your fix, and for me required some hardcoding of the image url into the js file. I am using vb4.2.0pl3 at this moment, and this should fix this issue for those using a reasonable close version as I. Now, on some of my image source stylevars, I am using subdomains that help to increase page rendering speed in browsers. But this is not the only issue for me. Open up and view in your favorite editor the following file: \cel_pp_4-1-004\_UPLOAD\clientscript\ckeplugins\cel_pp\plugin. js Look for this code: Code:
icon: BBURL + '/' + IMGDIR_BUTTON + '/cel/cel_photo_popup.png', So I moved the /cel/cel_photo_popup.png from the images/buttons/ directory and put in into the images/editor/ directory. But that isn't everything, at least for me. Since, as I stated, use a subdomain to serve these images, I had to remove the BBURL and hardcode the actual url into the js file. I tried using some other ways, but since it didnt work, this is how I resolved it. I changed the above code shown, to the code below. It works. Just be sure to put your proper domain or subdomain into the xxx's. Code:
icon: 'http://xxx.xxxxxxxx.com/cel/cel_photo_popup.png', Code:
icon: 'http://www.xxxxxxxxx.com/images/editor/cel/cel_photo_popup.png', Hope this helps some of you. Awsome mod Sven !!! |
#331
|
|||
|
|||
Hi @Cellarius, really useful plugin. Thanks. But please is it possible to use all the VB users albums, instead of those personal?
It is also important to add a search box. And also is it possible to use also this Gallery plugin: https://vborg.vbsupport.ru/showthread.php?t=319444 ?? Thanks in advance. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|