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
![]() 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 |
#222
|
||||
|
||||
![]()
I've got it running with vB4.1.6 and PhotoPost vBGallery (latest)
Kym |
#223
|
||||
|
||||
![]()
Great, thanks for the feedback.
|
#224
|
|||
|
|||
![]()
I have this mod installed, VB 4.1.5 and Photopost 7.1. The popup works great but the drop-down to choose the album won't work, it just defaults back to "all my photos" no matter what I choose. Any idea what could be wrong? The list is populated correctly with all of my albums.
Thanks Code:
Version: 4.1.001 Photo Popup Settings (from AdminCP) num_of_cols: 3 [3] num_of_rows: 3 [3] num_total: 9 widht: 600 heigth: 600 products: photopost insert_options_allowed: link_thumb_2_orig link_thumb_2_gallery thumb thumb_2_gallery_link_below allow_albums: 1 code_usergroups: 0 Code (this is what is inside the table cells) <a href="#" onclick="thumbpaste('<a href=\'http://forum.rebelscum.com/photogallery/data/500/titles.jpg\'><img src=\'http://forum.rebelscum.com/photogallery/data/500/thumbs/titles.jpg\' style=\'border: 0\' /></a>',' |
#225
|
|||
|
|||
![]()
I'm only using the built in Attachments and Albums on version 4.1.6. In FF the button is grayed out, it IE it shows, but doesn't do anything when clicked. I removed the comma a the end of the line in plugin.js.
If I manually bring up the photo_popup.php, there are images displayed and no errors. /photo_popup.php?e=vB_Editor_001 version 4.1.002 was installed Darren |
#226
|
||||
|
||||
![]()
Cellarius,
I want to add an image button in my newthread, newreply and editpost templates with a direct link to the popup. I have the button in the editor but could you share with me the html link for an image button..... Also if its still a function the "My Gallery" link in the profile and postbit. Thank you...... ![]() (ps) Any news on PP8 and this mod? ![]() |
#227
|
||||
|
||||
![]()
I found this link in the old instruction Docs. If I used it this way I get an error for E= undefined 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> HTML Code:
<a href="#" onclick="window.open(getBaseUrl() + 'photo_popup.php?{vb:raw session.sessionurl}e=vB_Editor_001','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}">My image button here</a> |
#228
|
|||
|
|||
![]()
I upgraded within vbulletin 4 and now I cannot see the my albums link under the smilies. Can anyone help?
|
#229
|
||||
|
||||
![]() Quote:
![]() |
#230
|
||||
|
||||
![]() Quote:
Quote:
I tried the file fix and not change. Flushed cache and nothing, it just loops. Any help on this and my question before would be great. Daniel |
#231
|
||||
|
||||
![]()
My debug info
HTML Code:
Debug information Version: 4.1.001 Photo Popup Settings (from AdminCP) num_of_cols: 4 [4] num_of_rows: 3 [3] num_total: 12 widht: 800 heigth: 680 products: photopost insert_options_allowed: orig_2_gallery_link_below link_thumb_2_gallery orig allow_albums: 1 code_usergroups: 0 Code (this is what is inside the table cells) <a href="#" onclick="thumbpaste('<a href=\'http://www.scalemotorcars.com/gallery/showphoto.php?photo=13215\'><img src=\'http://www.scalemotorcars.com/gallery/data/663/thumbs/hotrod.jpg\' style=\'border: 0\' /></a>','[url=\'http://www.scalemotorcars.com/gallery/showphoto.php?photo=13215\'][img]https://vborg.vbsupport.ru/external/2011/10/28.jpg[/img][/url]');event.returnValue=false;return false;"><img src="http://www.scalemotorcars.com/gallery/data/663/thumbs/hotrod.jpg" style="border: 0" title=""/></a> Images query: SELECT id, userid, bigimage, cat, medsize FROM pp_photos WHERE (userid = 2 ) AND storeid = 0 AND approved = 1 ORDER BY date DESC LIMIT 0, 12 Albums query (only if not coming from cache): SELECT id,catname,ugnoview FROM pp_categories WHERE cattype = 'c' AND parent = 525 ORDER BY catorder Pagination query: SELECT COUNT('id') AS fotos FROM pp_photos WHERE (userid = 2 ) AND storeid = 0 AND approved = 1 Link to Original [url]http://www.scalemotorcars.com/gallery/data/663/hotrod.jpg[/url] Link to Thumb [url]http://www.scalemotorcars.com/gallery/data/663/thumbs/hotrod.jpg[/url] Used product: photopost Albums possible: 1 Cookie Read Cookie: photopost,,link_thumb_2_gallery,0 Set Cookie: photopost,,link_thumb_2_gallery,0 Cache Cookie: from database Table building (rows and columns) [td ][td][td][td][td][tr][td][td][td][td][tr][td][td][td][td] |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|