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)

macroforum 03-24-2011 08:30 AM

Quote:

Originally Posted by Jesh (Post 2120590)
Works now, was a template issue. Thanks.

Jesh, i have the same problem.
How have you solved please?
Antonio

cad2go 04-30-2011 11:43 AM

One thing I've noticed is that people viewing a thread with images posted using this mod they are shown as "Viewing attachment" in wol instead of "viewing thread" - is this just me?

raisun 05-02-2011 02:05 AM

I'd love some thoughts on this issue:

I've installed in a test environment of VB 4.1.2. In the popup window, all of the users photos are loaded on one page (in one case over 14K images). The configuration is set for 4 columns and 4 rows. The window shows the pagination links, but all of the images are in the same window. Any thoughts on why that might be?

cellarius 05-02-2011 05:14 AM

@raisun: Tested on 4.1.3 and I can't reproduce your issue.

cellarius 05-02-2011 06:04 AM

@cad2go: That would happen if the user looks at an inserted image enlarged, i.e. when that user is using the lightbox.

cellarius 05-02-2011 08:19 AM

Just to let everyone know: I have a (still very basic) first version ready for the new editor. Main issue atm is a bug present in the current alpha of 4.1.4, but hopefully this will be fixed before release. So, bottom line is, yes, there will be a version that works with the new editor.

Edit: There is another issue: Atm, there is not a single hook present in the new editor. W/o hooks, I won't be able to insert a button into the toolbar.

raisun 05-02-2011 02:19 PM

Quote:

Originally Posted by cellarius (Post 2190931)
@raisun: Tested on 4.1.3 and I can't reproduce your issue.

Hmmm...I reinstalled the addon and I still have the issue. For kicks I set Rows = 1 and columns = 1. I tried on an acct with only 5 images, and it still shows all 5 images on the first page. Here is the debug info:

Code:

Debug information

Version: 4.0.008

Photo Popup Settings (from AdminCP)
num_of_cols: 1 [1]
num_of_rows: 1 [1]
num_total: 1
widht: 600
heigth: 680
products: vbgallery
insert_options_allowed: link_thumb_2_orig link_thumb_2_gallery link_med_2_orig link_med_2_gallery thumb med orig thumb_2_gallery_link_below med_2_gallery_link_below orig_2_gallery_link_below
allow_albums: 1
code_usergroups: 6

Code (this is what is inside the table cells)
<a href="#" onclick="thumbpaste('<a href=\'http://www.mouseinfo.com/gallery/files/1/3/8/cbrmap_original.jpg\'><img src=\'http://www.mouseinfo.com/gallery/files/1/3/8/cbrmap_thumb.jpg\' style=\'border: 0\' /></a> ','https://vborg.vbsupport.ru/external/2011/05/73.jpg ');event.returnValue=false;return false;"><img src="http://www.mouseinfo.com/gallery/files/1/3/8/cbrmap_thumb.jpg" style="border: 0" title=""/></a>

Images query:
SELECT imageid, userid, filename, extension, thumbname, originalname, catid FROM ppgal_images WHERE (userid = 138 ) AND valid = 1 ORDER BY dateline DESC

Albums query (only if not coming from cache):
SELECT catid, title FROM ppgal_categories WHERE parent = 973 ORDER BY displayorder

Pagination query:
SELECT COUNT('imageid') AS fotos FROM ppgal_images WHERE (userid = 138 ) AND valid = 1

Link to Original
http://www.mouseinfo.com/gallery/fil...p_original.jpg

Link to Thumb
http://www.mouseinfo.com/gallery/fil...rmap_thumb.jpg

Used product: vbgallery

Albums possible: 1

Cookie
Read Cookie: vbgallery,,link_thumb_2_orig,0
Set Cookie: vbgallery,,link_thumb_2_orig,0
Cache Cookie: from database

Table building (rows and columns)

[td ][td][tr][td][tr][td][tr][td][tr][td]

cellarius 05-02-2011 03:15 PM

Ah, you're using vBGallery. I don't have that installed and can't test. Try the following:

In includes/cel/cel_pp_class_vbgallery.php find around line 201:
PHP Code:

                ORDER BY dateline DESC 

Below add:
PHP Code:

                LIMIT $limitlower$perpage 

Does that solve the problem?

raisun 05-02-2011 04:05 PM

*bows* That fixed it, thank you.

One more question, much less critical. When using my account, everything seems to work great: I click on an image, it populates in the edit box...no issues. I click on another image, it adds it right below. One of my other admins has a different experience: When he clicks on an image, and then tries to click on another image, it overwrites the first image instead of adding the second one. Any thoughts on why that might be?

cellarius 05-03-2011 03:56 AM

It overwrites the image, as in: the second image replaces the first? No, I never heard of that one. What browser does he use? But, on the other hand, perhaps it will fix itself with the new editor :)


All times are GMT. The time now is 04:59 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.01372 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
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (2)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