vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   New Posting Features - Cel Photo Popup - Insert pictures from vB Albums, Attachs, Photopost, vBGallery (https://vborg.vbsupport.ru/showthread.php?t=243865)

8thos 05-27-2011 07:40 PM

What's different about the new version? Old version does Albums and Photopost perfectly.

BTW I also love your groups on forum home mod. Good job.

cellarius 05-28-2011 04:55 AM

Quote:

Originally Posted by Octavius. (Post 2200673)
What's different about the new version? Old version does Albums and Photopost perfectly.

It will work with the new editor currently in beta testing (will be in vB4.1.4, already in use at vb.com).

Quote:

BTW I also love your groups on forum home mod. Good job.
Thanks :)

TundraSoul 06-04-2011 02:00 AM

Awesome work, this should be a default vB function.

Cosmetic question: How may I change the name 'Photopost' from the pop-up window, drop down list of photo sources? I'd like to rename it to the name of my gallery.

Thanks!

cellarius 06-04-2011 07:28 AM

The addon is fully phrased, so just edit the according phrase in AdminCP (cel_pp_photopost).

cellarius 06-10-2011 07:52 AM

Whats new?
  • adapted to the new vB Editor introduced in vB 4.1.4
  • now works in post, CMS (bug in vB pending), blog, group and visitor messages editor automatically, no more template edits needed
  • Workaround for image spacing limitation (new AdminCP option for seperator)
Important!
Old editor (vB 4.1.3 and below): use 4.0.008!
New editor (vB 4.1.4 and above): 4.1.001!

Additional notes:

Regarding the bug in CMS editor: At the moment, CMS editor does not show images in CMS WYSIWYG mode. Vote for this bug to get it fixed fast!

There is a limitation in the vB CKEditor implementation that keeps this mod (and any external script that drops content into the editor) to add a trailing space to this content. This makes it impossible to simply add a space between inserted images. For a (temporal?) workaround, I have added a new AdminCP option that allows for defining a custom seperator that will be inserted after every image inserted. You can use BBCode in this seperator. For convenience, there's a method provided to insert a . (point) in the color of the editor background that you have defined in stylevar textedit_background. This is off and needs to be activated, if desired.

Let me know if there are any problems or you have a better solution for the seperator problem, since my somewhat hackish fix does lead to somewhat messy code in the post...

TundraSoul 06-11-2011 04:14 AM

No template edits anymore correct?

I'm using vB 4.1.4 and 4.1.001 and it's not showing up in the editor. No icon or anything.

cellarius 06-11-2011 06:13 AM

Correct, no more template edits. Please check the following:
  • make sure you have uploaded the icon file images/buttons/cel/cel_photo_popup.png
  • then check whether it works in unmodified default style
  • if you are using a custom style, it may be that this style uses its own images directory; if this is the case, make sure to upload cel/cel_photo_popup.png into the buttons directory of your custom style. Example: images/mystyle/buttons/cel/cel_photo_popup.png
  • If you don't know where to look for this directory, check stylevar imgdir_button to find out.
So, why do I use the buttons and not the editor directory? Because, funny enough, the stylevar for images/editor is not available in the editor plugin javascript environment, while the one for images/buttons is.

kilgor 06-11-2011 08:46 AM

vb 4.1.4
  • installed as per manual
  • [checked] icon uploaded to images/buttons
  • [checked] not showing up with default or any other style
  • [checked] stylevar imgdir_button = images/buttons

TundraSoul 06-11-2011 05:19 PM

Quote:

Originally Posted by cellarius (Post 2206124)
Correct, no more template edits. Please check the following:
  • make sure you have uploaded the icon file images/buttons/cel/cel_photo_popup.png
  • then check whether it works in unmodified default style
  • if you are using a custom style, it may be that this style uses its own images directory; if this is the case, make sure to upload cel/cel_photo_popup.png into the buttons directory of your custom style. Example: images/mystyle/buttons/cel/cel_photo_popup.png
  • If you don't know where to look for this directory, check stylevar imgdir_button to find out.
So, why do I use the buttons and not the editor directory? Because, funny enough, the stylevar for images/editor is not available in the editor plugin javascript environment, while the one for images/buttons is.

The image resides where it's supposed to be. Verified.

I verified the image does not display in an unaltered default vB 4.1.4 style. For that matter, there's no broken image spot in the editor, where I would almost expect to find the plug-in working.

cellarius 06-11-2011 07:25 PM

You won't see a broken image spot, since the image is displayed not via <img>, but by css. If you want me to troubleshoot this on your forum, send me login details that allow me access to an editor on your forum (if you allow guest posting, a link will suffice).


All times are GMT. The time now is 10:31 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.01259 seconds
  • Memory Usage 1,747KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete