Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Cel Photo Popup - Insert pictures from vB Albums, Attachs, Photopost, vBGallery Details »»
Cel Photo Popup - Insert pictures from vB Albums, Attachs, Photopost, vBGallery
Version: 4.1.004, by cellarius cellarius is offline
Developer Last Online: Apr 2022 Show Printable Version Email this Page

Category: New Posting Features - Version: 4.x.x Rating:
Released: 06-02-2010 Last Update: 02-17-2012 Installs: 198
Uses Plugins Template Edits Auto-Templates
Additional Files Translations  
No support by the author.

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

File Type: zip cel_pp_4-0-008.zip (30.5 KB, 377 views)
File Type: zip cel_pp_4-1-004.zip (34.5 KB, 414 views)

Screenshots

File Type: jpg popup_albums.jpg (41.7 KB, 0 views)
File Type: jpg workflow.jpg (58.9 KB, 0 views)
File Type: jpg admincp.jpg (84.7 KB, 0 views)
File Type: jpg editor.jpg (40.9 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
tbworld

Comments
  #222  
Old 09-22-2011, 05:14 AM
AusPhotography's Avatar
AusPhotography AusPhotography is offline
 
Join Date: Nov 2007
Location: Hobart & Adelaide .au
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've got it running with vB4.1.6 and PhotoPost vBGallery (latest)

Kym
Reply With Quote
  #223  
Old 09-22-2011, 10:53 AM
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Posts: 1,987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by snoopytas View Post
I've got it running with vB4.1.6 and PhotoPost vBGallery (latest)

Kym
Great, thanks for the feedback.
Reply With Quote
  #224  
Old 09-22-2011, 09:25 PM
ChimeraRS ChimeraRS is offline
 
Join Date: Jun 2011
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>','');event.returnValue=false;return false;"><img src="http://forum.rebelscum.com/photogallery/data/500/thumbs/titles.jpg" style="border: 0" title=""/></a>
Images query:
SELECT id, userid, bigimage, cat, medsize FROM pp_photos WHERE (userid = 5545 ) AND storeid = 0 AND approved = 1 ORDER BY date DESC LIMIT 0, 9
Albums query (only if not coming from cache):
SELECT id,catname,ugnoview FROM pp_categories WHERE cattype = 'c' AND parent = 1 ORDER BY catorder
Pagination query:
SELECT COUNT('id') AS fotos FROM pp_photos WHERE (userid = 5545 ) AND storeid = 0 AND approved = 1
Link to Original
http://forum.rebelscum.com/photogall...500/titles.jpg
Link to Thumb
http://forum.rebelscum.com/photogall...mbs/titles.jpg
Used product: photopost
Albums possible: 1
Cookie
Read Cookie: photopost,,link_thumb_2_orig,0
Set Cookie: photopost,,link_thumb_2_orig,0
Cache Cookie: from database
Table building (rows and columns)
[td ][td][td][td][tr][td][td][td][tr][td][td][td]
Reply With Quote
  #225  
Old 10-14-2011, 06:09 PM
dwwright dwwright is offline
 
Join Date: Feb 2009
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #226  
Old 10-16-2011, 09:03 PM
Scalemotorcars's Avatar
Scalemotorcars Scalemotorcars is offline
 
Join Date: Mar 2006
Location: NC
Posts: 619
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #227  
Old 10-17-2011, 10:14 AM
Scalemotorcars's Avatar
Scalemotorcars Scalemotorcars is offline
 
Join Date: Mar 2006
Location: NC
Posts: 619
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
But if I manually edit the editorid then it seems to word. Would it be ok to use it this way?
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>
Reply With Quote
  #228  
Old 10-17-2011, 07:10 PM
DannyITR DannyITR is offline
 
Join Date: Jan 2002
Posts: 325
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I upgraded within vbulletin 4 and now I cannot see the my albums link under the smilies. Can anyone help?
Reply With Quote
  #229  
Old 10-17-2011, 07:30 PM
Scalemotorcars's Avatar
Scalemotorcars Scalemotorcars is offline
 
Join Date: Mar 2006
Location: NC
Posts: 619
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DannyITR View Post
I upgraded within vbulletin 4 and now I cannot see the my albums link under the smilies. Can anyone help?
Its not there anymore. Exactly why I asked the question above.
Reply With Quote
  #230  
Old 10-17-2011, 11:24 PM
Scalemotorcars's Avatar
Scalemotorcars Scalemotorcars is offline
 
Join Date: Mar 2006
Location: NC
Posts: 619
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ChimeraRS View Post
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_row
====================================================
edited out....
Quote:
Originally Posted by cellarius View Post
Not at all

Please replace your clientscript/ckeplugins/cel_pp/plugin.js with the attached version. Does this resolve your issue?
Celarius. Im having the same issue. Not sure how longs its been acting up but for sure is not working now. Im running 4.1.4 and PP7.1 browser is chrome.

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
Reply With Quote
  #231  
Old 10-18-2011, 12:37 AM
Scalemotorcars's Avatar
Scalemotorcars Scalemotorcars is offline
 
Join Date: Mar 2006
Location: NC
Posts: 619
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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]
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 02:54 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
  • Page Generation 0.10119 seconds
  • Memory Usage 2,372KB
  • Queries Executed 28 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (3)bbcode_html
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (6)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete