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)

AusPhotography 09-22-2011 05:14 AM

I've got it running with vB4.1.6 and PhotoPost vBGallery (latest)

Kym

cellarius 09-22-2011 10:53 AM

Quote:

Originally Posted by snoopytas (Post 2248825)
I've got it running with vB4.1.6 and PhotoPost vBGallery (latest)

Kym

Great, thanks for the feedback.

ChimeraRS 09-22-2011 09:25 PM

I have this mod installed, VB 4.1.5 and Photopost 7.1. The popup works great but the drop-down to choose the album won't work, it just defaults back to "all my photos" no matter what I choose. Any idea what could be wrong? The list is populated correctly with all of my albums.

Thanks

Code:

Version: 4.1.001
Photo Popup Settings (from AdminCP)
num_of_cols: 3 [3]
num_of_rows: 3 [3]
num_total: 9
widht: 600
heigth: 600
products: photopost
insert_options_allowed: link_thumb_2_orig link_thumb_2_gallery thumb thumb_2_gallery_link_below
allow_albums: 1
code_usergroups: 0
Code (this is what is inside the table cells)
<a href="#" onclick="thumbpaste('<a href=\'http://forum.rebelscum.com/photogallery/data/500/titles.jpg\'><img src=\'http://forum.rebelscum.com/photogallery/data/500/thumbs/titles.jpg\' style=\'border: 0\' /></a>','https://vborg.vbsupport.ru/external/2011/09/21.jpg');event.returnValue=false;return false;"><img src="http://forum.rebelscum.com/photogallery/data/500/thumbs/titles.jpg" style="border: 0" title=""/></a>
Images query:
SELECT id, userid, bigimage, cat, medsize FROM pp_photos WHERE (userid = 5545 ) AND storeid = 0 AND approved = 1 ORDER BY date DESC LIMIT 0, 9
Albums query (only if not coming from cache):
SELECT id,catname,ugnoview FROM pp_categories WHERE cattype = 'c' AND parent = 1 ORDER BY catorder
Pagination query:
SELECT COUNT('id') AS fotos FROM pp_photos WHERE (userid = 5545 ) AND storeid = 0 AND approved = 1
Link to Original
http://forum.rebelscum.com/photogall...500/titles.jpg
Link to Thumb
http://forum.rebelscum.com/photogall...mbs/titles.jpg
Used product: photopost
Albums possible: 1
Cookie
Read Cookie: photopost,,link_thumb_2_orig,0
Set Cookie: photopost,,link_thumb_2_orig,0
Cache Cookie: from database
Table building (rows and columns)
[td ][td][td][td][tr][td][td][td][tr][td][td][td]


dwwright 10-14-2011 06:09 PM

I'm only using the built in Attachments and Albums on version 4.1.6. In FF the button is grayed out, it IE it shows, but doesn't do anything when clicked. I removed the comma a the end of the line in plugin.js.

If I manually bring up the photo_popup.php, there are images displayed and no errors.

/photo_popup.php?e=vB_Editor_001

version 4.1.002 was installed

Darren

Scalemotorcars 10-16-2011 09:03 PM

Cellarius,

I want to add an image button in my newthread, newreply and editpost templates with a direct link to the popup. I have the button in the editor but could you share with me the html link for an image button.....

Also if its still a function the "My Gallery" link in the profile and postbit. Thank you...... :D

(ps) Any news on PP8 and this mod?:)

Scalemotorcars 10-17-2011 10:14 AM

I found this link in the old instruction Docs. If I used it this way I get an error for E= undefined editor.
HTML Code:

<a href="#" onclick="window.open(getBaseUrl() + 'photo_popup.php?{vb:raw session.sessionurl}e={vb:raw editorid}','fotos','scrollbars=yes,resizable=yes,width={vb:raw vboptions.cel_pp_width},height={vb:raw vboptions.cel_pp_heigth}'); return false" title="{vb:rawphrase cel_pp_insertlink}">{vb:rawphrase cel_pp_my_photos}</a>
But if I manually edit the editorid then it seems to word. Would it be ok to use it this way?
HTML Code:

<a href="#" onclick="window.open(getBaseUrl() + 'photo_popup.php?{vb:raw session.sessionurl}e=vB_Editor_001','fotos','scrollbars=yes,resizable=yes,width={vb:raw vboptions.cel_pp_width},height={vb:raw vboptions.cel_pp_heigth}'); return false" title="{vb:rawphrase cel_pp_insertlink}">My image button here</a>

DannyITR 10-17-2011 07:10 PM

I upgraded within vbulletin 4 and now I cannot see the my albums link under the smilies. Can anyone help?

Scalemotorcars 10-17-2011 07:30 PM

Quote:

Originally Posted by DannyITR (Post 2258321)
I upgraded within vbulletin 4 and now I cannot see the my albums link under the smilies. Can anyone help?

Its not there anymore. Exactly why I asked the question above. :)

Scalemotorcars 10-17-2011 11:24 PM

Quote:

Originally Posted by ChimeraRS (Post 2249061)
I have this mod installed, VB 4.1.5 and Photopost 7.1. The popup works great but the drop-down to choose the album won't work, it just defaults back to "all my photos" no matter what I choose. Any idea what could be wrong? The list is populated correctly with all of my albums.

Thanks

Code:

Version: 4.1.001
Photo Popup Settings (from AdminCP)
num_of_cols: 3 [3]
num_of_row
====================================================
edited out....


Quote:

Originally Posted by cellarius (Post 2246429)
Not at all ;)

Please replace your clientscript/ckeplugins/cel_pp/plugin.js with the attached version. Does this resolve your issue?

Celarius. Im having the same issue. Not sure how longs its been acting up but for sure is not working now. Im running 4.1.4 and PP7.1 browser is chrome.

I tried the file fix and not change. Flushed cache and nothing, it just loops.

Any help on this and my question before would be great.

Daniel

Scalemotorcars 10-18-2011 12:37 AM

My debug info

HTML Code:

Debug information
Version: 4.1.001
Photo Popup Settings (from AdminCP)
num_of_cols: 4 [4]
num_of_rows: 3 [3]
num_total: 12
widht: 800
heigth: 680
products: photopost
insert_options_allowed: orig_2_gallery_link_below link_thumb_2_gallery orig
allow_albums: 1
code_usergroups: 0
Code (this is what is inside the table cells)
<a href="#" onclick="thumbpaste('<a href=\'http://www.scalemotorcars.com/gallery/showphoto.php?photo=13215\'><img src=\'http://www.scalemotorcars.com/gallery/data/663/thumbs/hotrod.jpg\' style=\'border: 0\' /></a>','[url=\'http://www.scalemotorcars.com/gallery/showphoto.php?photo=13215\'][img]https://vborg.vbsupport.ru/external/2011/10/28.jpg[/img][/url]');event.returnValue=false;return false;"><img src="http://www.scalemotorcars.com/gallery/data/663/thumbs/hotrod.jpg" style="border: 0" title=""/></a>
Images query:
SELECT id, userid, bigimage, cat, medsize FROM pp_photos WHERE (userid = 2 ) AND storeid = 0 AND approved = 1 ORDER BY date DESC LIMIT 0, 12
Albums query (only if not coming from cache):
SELECT id,catname,ugnoview FROM pp_categories WHERE cattype = 'c' AND parent = 525 ORDER BY catorder
Pagination query:
SELECT COUNT('id') AS fotos FROM pp_photos WHERE (userid = 2 ) AND storeid = 0 AND approved = 1
Link to Original
[url]http://www.scalemotorcars.com/gallery/data/663/hotrod.jpg[/url]
Link to Thumb
[url]http://www.scalemotorcars.com/gallery/data/663/thumbs/hotrod.jpg[/url]
Used product: photopost
Albums possible: 1
Cookie
Read Cookie: photopost,,link_thumb_2_gallery,0
Set Cookie: photopost,,link_thumb_2_gallery,0
Cache Cookie: from database
Table building (rows and columns)
[td ][td][td][td][td][tr][td][td][td][td][tr][td][td][td][td]



All times are GMT. The time now is 12:19 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.01349 seconds
  • Memory Usage 1,760KB
  • 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
  • (2)bbcode_code_printable
  • (3)bbcode_html_printable
  • (4)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