![]() |
Cel Photo Popup - Insert pictures from vB Albums, Attachs, Photopost, vBGallery
1 Attachment(s)
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. |
Detailed features list
Please note that not all features are available with all products. Not all products provide for every one of them.
|
Product Configuration
It's quite straightforward, really. For most products you won't have to open the config files at all.
Files: ------ photo_popup.php includes/cel/cel_pp_cless.php includes/cel/cel_pp_class_albums.php includes/cel/cel_pp_class_attachments.php includes/cel/cel_pp_class_photopost.php includes/cel/cel_pp_class_vbgallery.php includes/cel/cel_pp_debug.php includes/cel/cel_pp_functions.php includes/cel/cel_pp_config/cel_pp_config_albums.php includes/cel/cel_pp_config/cel_pp_config_attachments.php includes/cel/cel_pp_config/cel_pp_config_photopost.php includes/cel/cel_pp_config/cel_pp_config_vbgallery.php AdminCP: -------- vBulletin Options Group: Cel Photo Popup Phrases: prefixed cel_pp Template: cel_photo_popup CSS-Template: cel_photo_popup.css For translations vB3->vB4 see next post. |
Support and debugging
Ill help whenever I find the time. Please help me by doing the following:
A note on vBGallery and Photoplog support I have installed vBGallery only in a local testing environment. Please note that I can only give limited support. CND Garage and Photoplog which were previously supported I do have no access to in vB4 versions, so at the moment they will not be converted. 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(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> Note for translations vB3 -> vB4 The prefix for phrases has changed from photo_popup_ to cel_pp_. You should be able to do a search/replace easily. There have been no new phrases introduced (If I didn't overlook anything). |
Ahhh About time thanks alot mate will try this in 10 mins :) and report back^^
Thanks |
Right mate problem
After clicking "my photos" gives double "/" http://www.myanimeisland.com//photo_popup.php?e=vB_Editor_001 |
Ah, thanks for the notice, will fix it immediately. Package temporarily removed to do so.
|
Quote:
|
Sorry for the delay, package back up. Squashed another bug, too :)
Please reupload the files, reimport the product and if you did template edits find HTML Code:
/photo-popup.php? |
Thanks alot mate top mod
|
Thanks :) Let me know should you find further bugs. (I hope there arn't *lol*)
|
Thank you very much! finally it's here will install it tonight...:D klicked Installed, MOTM and rated 5 stars!
|
OK, here's some info about the CMS issues. Because of those the photo popup mod is at the moment not officially supported for use in CMS.
The editor does somehow change the urls of the inserted code and thus breaks links, and it does try to convert attachments/album pics into [attach]-code, which does go wrong somehow. If you want to try for yourself, do the same edit as for every other editor to vbcms_editor_toolbar_on, which will make the popup available. |
Quote:
|
Irgendwie funktioniert die Zusammenarbeit mit Photopost nicht :mad:
Hab die cel_pp_config_photopost.php zwar angepasst, aber ich bekomm beim Aufruf im Editor immer einen DB Fehler. Hier mal meine cel_pp_config_photopost.php Quote:
|
it would be cool if it supports photoplog
|
Will DTO Garage Plus be integrated after there vB4 release?
|
Quote:
|
Quote:
|
Hello I am trying to do photopost only integration. My gallery is rather large:
http://www.coinforums.com/gallery Do I need to set public ID's for this in config_photopost? If so, where can I get this list? Right now I click on the insert image icon, and it says I have no photos uploaded :( Thanks :) |
Quote:
|
Quote:
Quote:
Please mark the mod as installed. |
Quote:
|
Quote:
Erstmal vorab, ich hab f?r vb4 und Photopost 2 Datenbanken In die cel_pp_config_photopost.php hab ich die Daten der Photopost DB eingetragen. Wenn ich nun ?ber den editor und dein Addon ein Bild aus Photopost einf?gen will, bekomm ich folgenden Fehler.... Quote:
Meine PP DB = db28xxxx_3 |
Quote:
I ran the query on the server and it is showing all uploads correctly with the Images Query. However, nothing is displaying for images. Version: Photo Popup Settings (from AdminCP) num_of_cols: [3] num_of_rows: [3] num_total:9 widht: 600 heigth: 680 products: photopost attachments insert_options_allowed: link_thumb_2_orig link_thumb_2_gallery link_med_2_orig link_med_2_gallery thumb med orig thumb_2_gallery_link_below med_2_gallery_link_below orig_2_gallery_link_below allow_albums: 0 code_usergroups: 6 Code (this is what is inside the table cells) Images query SELECT id, userid, bigimage, cat, medsize FROM pp_photos WHERE (userid = 1 ) AND storeid = 0 AND approved = 1 ORDER BY date DESC LIMIT 0, 9 Albums query: Pagination query: SELECT COUNT('id') AS fotos FROM pp_photos WHERE (userid = 1 ) AND storeid = 0 AND approved = 1 Link to Original Link to Thumb Used product: photopost Albums possible: 1 Albums override: Cookie Read Cookie: Set Cookie: photopost,,link_thumb_2_orig,1 Table building (rows and columns) any ideas? |
Quote:
Quote:
|
Doch das Pr?fix stimmt schon -
ABER Die PP DB ist eben nicht db28xxxx_4 sondern db28xxxx_3 Und so hab ich das auch in die cel_pp_config_photopost.php eingetragen. Aber auch wenn ich in der cel_pp_config_photopost.php die vb4 DB eintrage - bekomm ich gleichen Fehler. Stimmt doch, das ich in die cel_pp_config_photopost.php meine Photopost DB Daten eintragen mu? ? |
Aktiviere den Debug-Modus und poste mal die Zeilen zu
Quote:
|
Quote:
Photopost Settings (from config file, only if photopost is selected product) Datadir: / Other DB?: |
Aus irgend einem Grund wird bei Dir die $other_db = TRUE; nicht verwertet. Setze die Variable mal auf = 1; anstatt TRUE.
|
Still no luck here. Keeps showing as no images uploaded. Oh well.
|
Quote:
Und laut der Fehlermeldung steht dort auch die falsche DB drinn. Quote:
|
Quote:
Quote:
|
Quote:
|
Hast Post ;)
|
AWESOME!
Add plugin and noticed all the config files have both .php and .php_new in the config directory. I am running vbgallery and even though I made sure the config.php file is present and I added vbgallery to ADMINCP, the add-in does not showup in the drop down... Any suggestions? |
I tried the included .php rather than the .php_new and now I have:
Fatal error: Call to a member function query_read_slave() on a non-object in /home4/xxxxxx/public_html/yyyyyyyy/includes/class_bbcode.php on line 220 |
Bugfix release 4.0.004 Fixes some minor glitches and a design issue with the Photopost Pro implementation. This hopefully should fix the issues discussed in this thread. Thanks to cyberbob for giving me full access to his board, so I could track down the bug. Also the error reported by cory_booth has been fixed. Please reimport the product file and upload the files. There have been no changes to config files. . . |
Quote:
Quote:
|
1 Attachment(s)
Reupped the latest build (.04) and still not seeing the vbgallery in the drop down.
As I read the instructions: 1. Upload all files to site 2. Rename the includes/cel/product.php_new to .php (in my case, vbgallery) - I made no changes to the file. 3. Add vbgallery to ADMINCP area under Photo Popup. Now when I attempt to use - the popup window comes up and the Album and Attachments are available, but the spot where vbGallery should be is blank. Selecting the blank area forces you back to Album. No errors, however. |
All times are GMT. The time now is 05:06 AM. |
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:
|