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)

trackpads 07-30-2011 11:10 PM

1 Attachment(s)
This mod is awesome, I have been waiting for something liek this since I upgraded to vb4 and the old geek gallery one died.

Is it possible to move the icon and place some text below the editor are, for example like how the "Restore Saved Data" is display in the attached screenshot?

Thanks again for all the work,

-Jason

cellarius 07-31-2011 06:02 AM

That might be possible, but I havn't looked into it. I may do so for a future version, but won't promise anything.

trackpads 07-31-2011 01:58 PM

Thanks again for the reply, would it be possible now to just add a larger button, say right about the smiles?

Thanks again for the work,

-Jason

NixonJr 08-04-2011 05:54 AM

Hey Guys,
Just tried to install this however,
admin user can click on the icon, registered and Mod users cannot,
vBulletin® Version 4.1.4

not sure if iv done something wrong,
Thanks,
Robert,

Scalemotorcars 08-12-2011 02:47 PM

Ran into a minor bug with ckeditor and photopost. When adding the original image from photopost my test turns white. I have to manually change it to do black to see anything posted after the image.

Before the image its fine...

TEMPESTADE 08-12-2011 06:37 PM

Thanks alot mate

Scalemotorcars 08-17-2011 12:16 AM

Any ideal why my text shifts to white after adding photos? I cant seem to debug it.

cellarius 08-17-2011 06:24 AM

Hi,

this may be because of the image seperator workaround for the new editor. Try turning it off and see if that resolves the problem.

I'll look into this for a new version, but that would be some time off, I fear. Atm I just can't find the time... :(

Scalemotorcars 08-17-2011 12:18 PM

Thanks cellarius.

I cleared that field in the option and its working now.

FYI, Im also using the ncode image resizer here on vb.org and it adds the space automatically but only to resized images. So as long as its a big photo it still looks clean.

raisun 08-17-2011 01:03 PM

Love this mod, but I have a small issue (and I'm sure its user error ;) )

I have "Show Albums" on, and I can see the dropdown off my albums just great. However, when I select and album it does not update the photos that are displayed. It does change the URL though...

Any thoughts?

Thanks in advance!

raisun 09-08-2011 02:30 AM

Sorry to be a pest. The last issue I resolved, but now I have upgraded to the new editor. I do have an issue that I would think should be easy to solve, but I just don't know where to make the edits.

My vB install is in www.mysite.com/forums, but I use the CMS and have my article editor in /. So when I am trying to write an article and click on the photo popup icon, it tries to take me to: www.mysite.com/photo_popup.php?... instead of www.mysite.com/forums/photo_popup.php?...

Can some one shoot me in the right direction so I can make that work?

Thanks!!

Scalemotorcars 09-15-2011 03:05 PM

Cellarius

Just wanted to make sure this works with the new Photopost Pro version 8 before I update my gallery. I would rather wait and make sure your mod works with it then loose the functionality.

Thanks...

cellarius 09-15-2011 05:28 PM

Scalemotorcars,
I'm sorry I can't comment on compatibility at the moment, since my license for Photopost has expired; I will renew shortly. No 100% guarantees at this time, but I'm using Photopost and this Addon on my live site, and the probability of this addon being fixed if PP8 breaks something is quite high :D

cellarius 09-15-2011 05:45 PM

1 Attachment(s)
Quote:

Originally Posted by raisun (Post 2243262)
Sorry to be a pest.

Not at all ;)

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

AusPhotography 09-15-2011 10:26 PM

If you use MySQLi (config.php) then this fix is needed...

In photo_popup.php @ line 322
PHP Code:

        $resultcount mysql_num_rows($cel_pp_prod->mysql_result_main); 

Becomes:
PHP Code:

        $resultcount $cel_pp_prod->db->num_rows($cel_pp_prod->mysql_result_main); 

Kym

cellarius 09-16-2011 05:07 AM

Thanks for the heads up, no idea why I did not use the vb method there. Will be fixed in future versions.

AusPhotography 09-16-2011 07:50 AM

Quote:

Originally Posted by cellarius (Post 2246617)
Thanks for the heads up, no idea why I did not use the vb method there. Will be fixed in future versions.

No worries!
Excellent mod

raisun 09-16-2011 01:53 PM

Quote:

Originally Posted by cellarius (Post 2246429)
Does this resolve your issue?

Looks like it does. Thanks!!

cellarius 09-16-2011 05:15 PM

Quote:

Originally Posted by raisun (Post 2246757)
Looks like it does. Thanks!!

Great! Then the fix will go into the next version. Thanks for the feedback.

Scalemotorcars 09-17-2011 12:43 PM

Quote:

Originally Posted by cellarius (Post 2246421)
Scalemotorcars,
I'm sorry I can't comment on compatibility at the moment, since my license for Photopost has expired; I will renew shortly. No 100% guarantees at this time, but I'm using Photopost and this Addon on my live site, and the probability of this addon being fixed if PP8 breaks something is quite high :D

Thanks, Ill hold off on the upgrade just in case. I would hate to loose this mod on my site. :D

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]


Scalemotorcars 10-19-2011 01:31 PM

Im I the only one running into this problem still?

cellarius 10-19-2011 07:48 PM

Hi Scalemotorcars,
I'll look into it as soon as I find the time. Regarding the link: It's not that simple, sadly. The issue is: The editor type needs to be passed to the script, and the needed variable is only present in cke itself. To find a way to make it available for a link outside or to find another way around, I'll have to give it some thought.

Scalemotorcars 10-20-2011 11:45 AM

Thanks Cellarius, I really need album selection or I wouldn't bother you.

As for the link. The one I posted above works but the trick is you need to click into the editor first. If you don't, nothing happens.

What about a more obvious button in the CK editor? Something off to the side and maybe twice the size or with text that reads ADD PHOTOS.

Just a thought.

woffie 10-20-2011 04:03 PM

Does anyone know if this will work with vBPicGallery?

http://www.cpurigs.com/forums/forumdisplay.php?f=32

cellarius 10-20-2011 04:27 PM

Quote:

Originally Posted by Scalemotorcars (Post 2259302)
Thanks Cellarius, I really need album selection or I wouldn't bother you.

No problem, I just can't make any promises right now - wish I could. Hate to leave you hanging...

Quote:

As for the link. The one I posted above works but the trick is you need to click into the editor first. If you don't, nothing happens.
That's to initiate the variable, probably...

Quote:

What about a more obvious button in the CK editor? Something off to the side and maybe twice the size or with text that reads ADD PHOTOS.
I'd have to take a look at how other cke plugins handle that. Atm, what I did probably is only good for the standard icon size.

cellarius 10-20-2011 04:30 PM

Quote:

Originally Posted by woffie (Post 2259398)
Does anyone know if this will work with vBPicGallery?

http://www.cpurigs.com/forums/forumdisplay.php?f=32

As long as there does not exist a product config file for this gallery, it sure won't. I myself do not have the time to make one atm, sorry. For someone knowing what he's doing it's not that hard. There's a how_to_make_your_own_product_file.txt in the DOCS folder.

dwwright 10-20-2011 05:50 PM

Anyone have this working with 4.1.6?

I ended up having to insert a button under the smilies, but would rather use the ckeditor button. The button is loading, but showing as grayed out and does not function.

The mod works great other than this one issue.

Any idea of how to enable the button?

Thanks!

Darren

dwwright 11-10-2011 06:29 PM

Well, after some investigating, the button shows up enabled in the editor if the "Enhanced Interface - Full WYSIWYG Editing" option is checked in the UserCP>>General Settings>>Miscellaneous Options section.

Anyone know how/where the Standard editor reads it's plugin's from? It seems to be loading the icon, it's just grayed and doesn't do anything.

AusPhotography 11-10-2011 09:42 PM

4.1.7 here!

Talk-Pets 11-18-2011 01:49 PM

1 Attachment(s)
4.1.8 here. Icon greyed out and not working..


All times are GMT. The time now is 11:12 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.01539 seconds
  • Memory Usage 1,847KB
  • 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
  • (2)bbcode_php_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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