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
  #62  
Old 06-04-2010, 09:58 PM
kawe kawe is offline
 
Join Date: Aug 2008
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cellarius View Post
Sorry, I'm not really sure what you want to say... as soon as you click on an image, it goes to the editor. You click the next, it goes to the editor. And so on. It it is not like that for you, you need to give more information. If it is, it's working as designed, and I just don't understand what you are missing.
aah ok
but i have error here

if i login with Administrator
i can use Cel Photopopup
but if i use REGISTERD MEMBER
show this error :

PHP Code:
Photo Popup Error #2: missing config file

The class file includes/cel/cel_pp_class_ and/or the configuration file cel/cel_pp_config/cel_pp_config_ for this product is missingPlease consult installation instructions for this 
mod.
Reply With Quote
  #63  
Old 06-04-2010, 10:15 PM
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Posts: 1,987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you added/removed any products? Try cleaning your cookies. There is no iteration between usergroups that could lead to this error.
Reply With Quote
  #64  
Old 06-04-2010, 10:21 PM
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Posts: 1,987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Jesh View Post
New one works, thanks.

When I insert image with link to gallery image, should it be linking to the actual gallery URL?

(e.g. should clicking on image send user to www.coinforums.com/gallery/ [imageurl?]

It should link to the gallery page of the image. Like this: http://www.coinforums.com/gallery/er...ea-5nakfa.html

Are there issues with this? This might be because of the new friendly urls Photopost introduced. Or do you run vBSEO?
Reply With Quote
  #65  
Old 06-05-2010, 12:10 AM
EquinoxWorld EquinoxWorld is offline
 
Join Date: Nov 2009
Location: Naples
Posts: 354
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cellarius View Post
Please be patient, one after the other
No, this file would not help you, since you're having completely different issues. Your problem is from a fix that was introduced into the vB3 version because of a problem when vbseo was activated. See attached a class files that disable this fix for albums and attachments - it might no longer be necessary. Please try, and if possible, just make a post for me in some test forum of your board, insert some images and link it here or send the link to me. I'd like to have a look wheter that bug is still present. I don't have vbseo on any of my testboards. Thank you!
Thank you very much for the help. Those 2 files did the trick ! Everything is perfect now, this is an amazing mod, really help, thank you for the great addition.
Reply With Quote
  #66  
Old 06-05-2010, 12:23 AM
punchbowl punchbowl is offline
 
Join Date: Nov 2006
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cellarius View Post
Please be patient, one after the other
No, this file would not help you, since you're having completely different issues. Your problem is from a fix that was introduced into the vB3 version because of a problem when vbseo was activated. See attached a class files that disable this fix for albums and attachments - it might no longer be necessary. Please try, and if possible, just make a post for me in some test forum of your board, insert some images and link it here or send the link to me. I'd like to have a look wheter that bug is still present. I don't have vbseo on any of my testboards. Thank you!
I was having the same problem on localhost with no vbseo. Now it works but the pop-up window still redirects to home staright after the code is posted. Also the pop-up window has this at the top:

"Notice: Use of undefined constant IN_SCRIPT - assumed 'IN_SCRIPT' in C:\wamp\www\4\photo_popup.php on line 2" (probably my wamp/php setting)

Also it seems to requery and reproduce the page whenever the 'Insert What' drop down is changed.

I still thrilled with it already though! :up:

Cheers
Reply With Quote
  #67  
Old 06-05-2010, 12:43 AM
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Posts: 1,987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by punchbowl View Post
I was having the same problem on localhost with no vbseo. Now it works but the pop-up window still redirects to home staright after the code is posted.
The fix was applied no matter whether vbseo exists or not, since it did not disturb the mod under vB3. The issue now very likely is caused by the use of the base tag.

Quote:
Also the pop-up window has this at the top:

"Notice: Use of undefined constant IN_SCRIPT - assumed 'IN_SCRIPT' in C:\wamp\www\4\photo_popup.php on line 2" (probably my wamp/php setting)
No, typo on my behalf. Has to be THIS_SCRIPT, of course. Working on something else that uses IN_SCRIPT, so that's probably why. Will be fixed in next.

Quote:
Also it seems to requery and reproduce the page whenever the 'Insert What' drop down is changed.
Yes, it does - because the code behind every single thumbnail on the page needs to be changed. Working as desidned.
Reply With Quote
  #68  
Old 06-05-2010, 01:26 PM
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Posts: 1,987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bugfix release 4.0.005

Aimes to fix all issues reported up to now in this thread.

Please reimport the product file and upload all files. There have been no changes to config files.
Reply With Quote
  #69  
Old 06-05-2010, 03:30 PM
Jesh Jesh is offline
 
Join Date: Aug 2009
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cellarius View Post
It should link to the gallery page of the image. Like this: http://www.coinforums.com/gallery/er...ea-5nakfa.html

Are there issues with this? This might be because of the new friendly urls Photopost introduced. Or do you run vBSEO?
Hey Cellarius.

I'm running vBSEO and I also have 'SEO Friendly' URL's on Photopost. If I choose, for instance, 'Original, Link to Gallery Below' it will show the image correctly, but there is no link to the gallery below or anything, it just pops up the image in a lighbox:

http://www.coinforums.com/f65/image-test-378/#post1544

Could be because of lytebox mod?
Reply With Quote
  #70  
Old 06-05-2010, 03:34 PM
Deviant K1 Deviant K1 is offline
 
Join Date: Aug 2008
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

INSTALLED!

Thx Cellaruis!
Reply With Quote
  #71  
Old 06-05-2010, 03:36 PM
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Posts: 1,987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can't say for sure, since I don't know that mod, but that is very probable. You could always use this option as what it is now and change the phrase accordingly.
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 08:57 PM.


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.04547 seconds
  • Memory Usage 2,367KB
  • Queries Executed 26 (?)
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
  • (1)bbcode_php
  • (8)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
  • (1)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_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