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)

mfowler70 01-23-2009 06:06 PM

awesome!

wottech 01-23-2009 07:03 PM

Quote:

Originally Posted by cellarius (Post 1722555)
If I had access to either, I'd probably do it - but since I don't, I can't. I was looking into PhotoPlog myself some time ago as a replacement for Photopost, but I wouldn't use it as it does not resize the images on upload. Can't have hundreds and thousands of 10 and 12 Megapixel photos on my server :D Now I've decided to wait for the albums system to ripen.

Concerning Photoplog: There is a light version, no? I might install it and have a look. I gather database stucture is the same with the pro version?

BTW - You'll have a PN in a minute.

If you have a current active Photopost license, then you have access to vbGallery, as they are both included in a single license now. Not sure when this happened, so if you haven't renewed your license recently, you may not have access to vbGallery. I was looking at it the other day, as I wanted to upgrade my current version ofvbGallery and found out I have to buy a Photopost license to get vbGallery now.

cellarius 01-23-2009 07:48 PM

1 Attachment(s)
Version 2.0

As requested: Mod now fully supports quickreply and quickedit editors. Popup is called by means of a toolbar button. A fitting png icon, taken from the silk icon set, is included in the package.

Please note: For update to 2.0 it is mandatory to redo template changes. The information which editor is used is transported by url-parameter and will be missing otherwise.

Enjoy!

By the way: Thanks for Mod of the month nominations! Should anyone else feel inspired to click that button, don't let yourself be stopped ;)

Rene Kriest 01-23-2009 08:46 PM

Finally we arrived at V2 - great. Your mod is a-w-e-s-o-m-e and should be a standard feature.

The addon debugger went on while I was testing the previously released v1.4. Gonna post the main part of its report here:

Code
HTML Code:

<a href="#" onclick="thumbpaste('<a href=\'http://forum.depressionsblog.com/picture.php?albumid=34&amp;pictureid=294\'><img src=\'http://forum.depressionsblog.com/picture.php?albumid=34&amp;pictureid=294&amp;thumb=1\' style=\'border: 0\' /></a> ','[url=\'http://forum.depressionsblog.com/picture.php?albumid=34&amp;pictureid=294\'][img]http://forum.depressionsblog.com/picture.php?albumid=34&amp;pictureid=294&amp;thumb=1[/img][/url] ')"><img src="http://forum.depressionsblog.com/picture.php?albumid=34&amp;pictureid=294&amp;thumb=1" style="border: 0" title=""/></a>
Link to Original
HTML Code:

http://forum.depressionsblog.com/picture.php?albumid=34&pictureid=294
Link to Thumb
HTML Code:

http://forum.depressionsblog.com/picture.php?albumid=34&pictureid=294&thumb=1
Insert options
HTML Code:

link_thumb_2_orig link_thumb_2_gallery thumb orig
Query    SELECT pictureid, albumpicture.albumid FROM albumpicture INNER JOIN album ON albumpicture.albumid = album.albumid WHERE userid = 1 AND albumpicture.albumid = 34

I just played around with your addon after upgrading to v1.4. I went to my testforum and clicked around the images to be inserted. Afted that I noticed that a <a> tag was wrongly set.

No serious problem for you I believe. :)

smirkley 01-23-2009 08:54 PM

Quote:

Originally Posted by cellarius (Post 1721926)
No, sorry, I can't reproduce this here. Please tell me what your exact settings in AdminCP for rows and colums are, so I can try them. Anybody else have this issue?


Originally, used the default of three and three for rows and columns, but have also tried three colums and four rows, seems like any row setting is ignored and it shows as many rows as needed to show all images in all albums, or will show all images in selected albums disregarding the number of rows selected to show. (although it does in fact filter album images selected by album name properly)

I will try to do a reinstall when I get home later, and let you know, but I did do an xml overwrite last night with the same resuts.

(still using v1.3 atm, fyi)

Thanks again

cellarius 01-23-2009 08:54 PM

@ Rene Kriest:

Hm, I might be missing my night vision goggles ;) - but where do you see an <a> tag that is wrong?

The Code seems perfectly alright to me. Do you have any issues?

vbboarder 01-23-2009 09:04 PM

Yeah :D, support for quick reply & quick edit - thanks for the update!

Does this work with PHPKD's advanced quick reply & quick edit mods?

Rene Kriest 01-23-2009 09:10 PM

@cellarius
I inserted 2 pics with different options ("linked to orig" and "original" I think). The addons doesn't handle the posting this way. What the addon does not check seems to be spaces.

When I tell the addon to insert pic 1 with option a and insert pic 2 with option b I would like to see the pictures be handled this way in my posting but the result was that you could press on either pic 1 or 2 with the same result.

Now with 2.0 I habe the following: I inserted a pic with "thumbnail, linked to original" option first thing in my new posting. After that I started typing text in the text field beside the picture but the [URL]-bbcode is still open so that the text is going to be shown as a link.

Rene Kriest 01-23-2009 09:19 PM

Quote:

Originally Posted by cellarius (Post 1722730)
where do you see an <a> tag that is wrong?

The Code seems perfectly alright to me. Do you have any issues?

No, have a closer look at the source that vb produces not the debugger to make it clear:

HTML Code:

<a href="http://forum.depressionsblog.com/picture.php?albumid=1&amp;pictureid=3" target="_blank"><img src="http://forum.depressionsblog.com/picture.php?albumid=1&amp;pictureid=3&amp;thumb=1" border="0" alt="" class="tcattdimgresizer" onload="NcodeImageResizer.createOn(this);" /><img src="http://forum.depressionsblog.com/picture.php?albumid=34&amp;pictureid=308" border="0" alt="" class="tcattdimgresizer" onload="NcodeImageResizer.createOn(this);" /> </a>
There is a </a> missing, isn't it? ;)

wottech 01-23-2009 10:19 PM

The </a> appears to be at the end of your quote, so it doesn't appear to be missing to me.


All times are GMT. The time now is 09:26 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.01364 seconds
  • Memory Usage 1,752KB
  • 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
  • (5)bbcode_html_printable
  • (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