vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   New Posting Features - Photo Popup - Insert pictures easily from vB Albums, Photopost, vBGallery, Photoplog (https://vborg.vbsupport.ru/showthread.php?t=202385)

yotsume 01-22-2009 12:21 AM

MOD CONFLICT?

Seems to work great with vb3.7x.... HOWEVER!

We have a major conflict with another photo mod I have installed.

The Image Resizer. Powered with Lytebox / Highslide / Lightview
https://vborg.vbsupport.ru/showthread.php?t=184571

This mod makes attached images or inline images resized. So the conflict is when I use your mod to insert a photo from my album or photopost that is a linked thumbnail there is only the thumbnail and the link to the album doest work. The other mod seems to steal the action to make a lightbox.

POSSIBLE BUG:
Med images for photopost don't seem to work.

I wonder can this be fixed to remove conflicts between the two mods???

yotsume 01-22-2009 01:14 AM

How to Edit Drop Menu?

Question: How can I change the drop down menu to say just:

Albums (instead of: Pictures & Albums)
Gallery (instead of: Photopost Gallery)

This mod looks awesome!!!

Many Thanks!

SOLVED: I edited the two phrases: pictures_and_albums and photo_popup_photopost
I renamed the drop menu listings there to fit my needs.

smirkley 01-22-2009 02:04 AM

Quote:

Originally Posted by yotsume (Post 1720710)
Seems to work great with vb3.7x.... HOWEVER!

We have a major conflict with another photo mod I have installed.

The Image Resizer. Powered with Lytebox / Highslide / Lightview
https://vborg.vbsupport.ru/showthread.php?t=184571

This mod makes attached images or inline images resized. So the conflict is when I use your mod to insert a photo from my album or photopost that is a linked thumbnail there is only the thumbnail and the link to the album doest work. The other mod seems to steal the action to make a lightbox.



I have the same issue, although for the moment I dont allow linked images to circumvent the issue.

But I love the mod !!

Thanks

cellarius 01-22-2009 12:49 PM

Quote:

Originally Posted by yotsume (Post 1720710)
MOD CONFLICT?

Seems to work great with vb3.7x.... HOWEVER!

We have a major conflict with another photo mod I have installed.

The Image Resizer. Powered with Lytebox / Highslide / Lightview
https://vborg.vbsupport.ru/showthread.php?t=184571

This mod makes attached images or inline images resized. So the conflict is when I use your mod to insert a photo from my album or photopost that is a linked thumbnail there is only the thumbnail and the link to the album doest work. The other mod seems to steal the action to make a lightbox.

Hm, the way I understand the function of this mod, it does exactly what it was designed to do. I don't use it (I have a custom highslide implementation running that's hacked into the bbcode-system). But what those image-overlays do is basically: upon clicking on the image, they open it inside the overlay. They kind of take over the link that is around the image, if there is any. At least that is what my highslide does. There is no room for a link to another page there. As I understand it, you can't have both. Either have the overlay pop up, or take the user to the gallery or plain image. What happens depends on your config.
As the Image Resizer is designed to resize the original image (as far as I understand it), nothing will happen if you insert the thumbnail that is already very small. Nothing to resize there. If you use it, you should turn off all thumbnail and all linked options in the popup, so that images are inserted that are big enough to be resized and opened in the overlay.
Bottom line: The two mods should work together as designed (the popup does nothing else then inject img-code, as if you were typing it by hand or using the icon in the editor). But if you use the mod, there are options in the popup that make no sense, since you can't have both: a resized image with a zoom overlay and a link to the gallery.

I have solved this with highslide as follows: Since both albums and galleries have different looking links for the original image and the gallery, I have hacked the URL-BB-Code to look for the link-structure of the original. If it finds that, the Link is replaced and highslide overlay is triggered. If the link goes to the gallery, the link remains unchanged.

Quote:

POSSIBLE BUG: Med images for photopost don't seem to work.
For me, they do. All three medium options work. Could you please elaborate on what exactly does not work? Do you have set the "Save and display medium and large images?" option in Photopost set to yes? If not, there are no medium images to display.
Otherwise, please set the popup to insert medium images (the setting that doesn't work) and post the content of the debug section under code. Before, please try the links in the debug section.

RvG2 01-22-2009 04:55 PM

Quote:

Originally Posted by yotsume (Post 1720710)
MOD CONFLICT?

Seems to work great with vb3.7x.... HOWEVER!

We have a major conflict with another photo mod I have installed.

The Image Resizer. Powered with Lytebox / Highslide / Lightview
https://vborg.vbsupport.ru/showthread.php?t=184571

This mod makes attached images or inline images resized. So the conflict is when I use your mod to insert a photo from my album or photopost that is a linked thumbnail there is only the thumbnail and the link to the album doest work. The other mod seems to steal the action to make a lightbox.

POSSIBLE BUG:
Med images for photopost don't seem to work.

I wonder can this be fixed to remove conflicts between the two mods???

I have disabled this mod for the meantime. Hope cellarius will find a way about this conflict. :p

cellarius 01-22-2009 05:41 PM

Quote:

Originally Posted by RvG2 (Post 1721372)
I have disabled this mod for the meantime. Hope cellarius will find a way about this conflict. :p

Did you read what I wrote in the posting just above yours? There is no conflict that I can see. As I interpret it, both mods do what they were designed for. You do not have to use linked insertions with the popup. Just offer unlinked insertions instead. If I get your issues wrong, please elaborate. At the moment I don't see a conflict, so I won't do anything about it.

Even so, I don't think there is anything I could do. You would have to take this issue to the author of the other mod. My mod inserts just plain bb-Code for images and links. If you insert the same by hand or with the editor, you would have exactly the same issues. There is nothing wrong with this mod.

cellarius 01-22-2009 07:18 PM

Please note:
If you did your template-change manually,
you have to redo it to upgrade to 1.3!

Redone and (hopefully ;)) improved:
  • default popup size is now determined before opening, not after (window.resize method causing issues in Firefox). This results in the template change having to be repeated. Please note that the settings in AdminCP for the dimensons of the Popup have changed, too.
  • auto-close of the popup upon submisson of the post is now using the YUI Event Listener that vB uses anyway. This has many advantages, and since the needed library is already part of vB's standard distribution, why not make use of it? Popup will now close immediately when submit-button is clicked.
New:
  • title bar with "close this window"-link.
At the moment, no further changes are planed and no bugs are listed as confirmed and unresolved. The reported incompability issue is regarded as "works as designed" for this end of the line - that may change if someone explained to me in detail what the problem and what the goal is. Same goes for the single poster who reported problems with medium sized images in photopost. No one else reported this and I myself use them without an issue.

If you should have further propositions and bug reports, please feel free to post here.

smirkley 01-22-2009 08:41 PM

I wonder, maybe if the thumbnails and designated images that 'normally' click to the galary or albums etc, but dont as a result of the Image Resizer mod, ...

Maybe if thismod allowed or allowed the option of a small 'click to see image' link, or 'click to view album' link, would be placed immediatly below the image.

This way the resizer will still be functional, as well as the clickability would also be available, for those that wish it to appear.

Just thinking outloud for solutions.

rolandogomez 01-22-2009 10:46 PM

Nice mod. Added the code,

Code:

<td class="smallfont" colspan="$vboptions[smcolumns]">
                      [<a href="#" onclick="window.open('photo_popup.php','fotos','scrollbars=yes,resizable=yes,width={$vbulletin->options['photo_popup_width']},height={$vbulletin->options['photo_popup_heigth']}'); return false" title="$vbphrase[photo_popup_insertlink]">$vbphrase[photo_popup_insert]</a>]</td>
            </td>

in the showthread_quickreply template, and though you see the link and it pops out and the pop-out box works perfectly, when I click on a thumb, it doesn't insert the code. It does just fine in the regular reply box. Any ideas? Sounds java script related. Would like this on the quick reply box too so the user doesn't always have to go advanced. Thanks, rg

smirkley 01-23-2009 01:10 AM

quick bug question,...

I noticed on my install, when the popup shows, the paginator shows the number of pages required to list all the images within all of my vb album images, but each page number, when clicked on, shows ALL of the images, with the proper number of columns defined in acp, but with enough rows to show ALL the images in ALL gallaries.

When selecting an individual album, it does sort through and show the proper images, but still with no regard to the number of rows as defined in the acp settings.


All times are GMT. The time now is 04:04 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.02398 seconds
  • Memory Usage 1,780KB
  • 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
  • (1)bbcode_code_printable
  • (5)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