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)

itsbobtista 02-12-2009 06:16 PM

PHP Code:

Database error in vBulletin 3.8.1:

Invalid SQL:

        
SELECT idcatname
        FROM pp_categories
        WHERE cattype 
'a' AND parent 1
        ORDER BY catname
;

MySQL Error   Table 'atxscene_atxscenedb.pp_categories' doesn't exist
Error Number  : 1146
Request Date  : Thursday, February 12th 2009 @ 01:57:33 PM
Error Date    : Thursday, February 12th 2009 @ 01:57:33 PM
Script        : http://www.atxscene.com/forums/photo_popup.php?e=vB_Editor_001
Referrer      : http://www.atxscene.com/forums/newreply.php?do=newreply&noquote=1&p=249 

Just upgraded from 2.0.1 to 3.0.1... Not sure why it's giving a database error.. I have tried removing and reinstalling. No luck.

crxrocks 02-12-2009 09:43 PM

I'm having trouble getting this to work with VB3.8.1 and Photopost 6.2. Here is the output of the debug stuff

Code:

Debug information
Photo Popup Settings (from AdminCP)        num_of_cols: 3
num_of_rows: 3
num_total:9
widht: 600
heigth: 680
products: photopost
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: 0
Code (this is what is inside the table cells)       
Link to Original       
Link to Thumb       
Query        Used product: albums
Cookie        Read Cookie: albums,all,link_thumb_2_orig
Set Cookie: albums,all,link_thumb_2_orig
Table building (rows and columns)

That is all of it. The thing I found interesting is that Query Used product: albums bit. Any ideas?

I checked and double checked the paths to the gallery and the data directory and they are right.

cellarius 02-13-2009 06:00 AM

Quote:

Originally Posted by itsbobtista (Post 1742154)
PHP Code:

Database error in vBulletin 3.8.1:

Invalid SQL:

        
SELECT idcatname
        FROM pp_categories
        WHERE cattype 
'a' AND parent 1
        ORDER BY catname
;

MySQL Error   Table 'atxscene_atxscenedb.pp_categories' doesn't exist
Error Number  : 1146
Request Date  : Thursday, February 12th 2009 @ 01:57:33 PM
Error Date    : Thursday, February 12th 2009 @ 01:57:33 PM
Script        : http://www.atxscene.com/forums/photo_popup.php?e=vB_Editor_001
Referrer      : http://www.atxscene.com/forums/newreply.php?do=newreply&noquote=1&p=249 

Just upgraded from 2.0.1 to 3.0.1... Not sure why it's giving a database error.. I have tried removing and reinstalling. No luck.

Please provide more information. What product(s) have you configured the popup to use? Is it correct that you want to use the popup with Photopost?

At the moment its querying a Photopost Pro table that is not there: You don't have a table pp_categories in database called atxscene_atxscenedb. So your settings are wrong somewhere.

I'm sure this is due to wrong configuration either in AdminCP or the config file.

cellarius 02-13-2009 06:09 AM

Quote:

Originally Posted by crxrocks (Post 1742301)
I'm having trouble getting this to work with VB3.8.1 and Photopost 6.2. Here is the output of the debug stuff

Code:

Debug information
Photo Popup Settings (from AdminCP)    num_of_cols: 3
num_of_rows: 3
num_total:9
widht: 600
heigth: 680
products: photopost
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: 0
Code (this is what is inside the table cells)   
Link to Original   
Link to Thumb   
Query    Used product: albums
Cookie    Read Cookie: albums,all,link_thumb_2_orig
Set Cookie: albums,all,link_thumb_2_orig
Table building (rows and columns)

That is all of it. The thing I found interesting is that Query Used product: albums bit. Any ideas?

I checked and double checked the paths to the gallery and the data directory and they are right.

You have used the mod before with vB albums, that's why albums still is saved as used product in the cookie. Delete the cookie bbphoto-popup (prefix may vary if you changed vB's standard cookie settings) and restart your browser.

I'll check for this error in next version.

cellarius 02-13-2009 06:10 AM

Quote:

Originally Posted by wottech (Post 1739146)
Hey cellarius, just checking if you got my PM with the changes to the garage config file?

Sure did, sorry for no confirmation. Will check it out shortly, will be part of next release.

cellarius 02-13-2009 07:59 AM

Question to all image resizer mod users:

As far as I can see, the mod handles linked thumbnails by means of a custom bbcode. Is that always the case?

So, would it be helpfull to make an option like:

enable Image Resizer Mod support [x] yes [ ] no

and if set to yes, all [img] tags in insert-options for linked images will be replaced by [imglink]? Or only in links to original and medium images, but not to album/gallery pages?

I do not have the imageresizer mod installed and will not do it. I'll better the cooperation with it if I can, but you'll have to help me on this :)

Mike-D 02-13-2009 09:06 AM

Quote:

Originally Posted by cellarius
Photoplog (only lite version available for development; at he moment it looks as if albums/categories are not working with Pro version)

The Pro version has its own Image Selector which is controlled thru the selector.php file. It's a hidden feature so you don't need your Addon to get it worked. I wouldn't worry about it ;)

cellarius 02-13-2009 09:46 AM

Quote:

Originally Posted by Mike-D (Post 1742707)
The Pro version has its own Image Selector which is controlled thru the selector.php file. It's a hidden feature so you don't need your Addon to get it worked. I wouldn't worry about it ;)

I'm well aware of this feature of Photoplog Pro, and it has been discussed in this thread before. But there are people out there who would rather use this mod because it allows to use more than one product.

If or when I get around to have a detailed look into it, I do not know, since I do other things in life, too - but obviuously there is demand for this.

Helmut71 02-13-2009 11:38 AM

I'm well aware of this feature of Photoplog Pro, and it has been discussed in this thread
Quote:

before. But there are people out there who would rather use this mod because it allows to use more than one product.

If or when I get around to have a detailed look into it, I do not know, since I do other things in life, too - but obviuously there is demand for this.
:) you are my hero cellarius!

DaveS 02-14-2009 07:22 AM

Seem to have a problem in the Admin CP when changing the Product settings.
I want mine set to:
photopost
albums

But it keeps erroring telling me that "I did not enter a valid value", but both of those values were that to start with, just in a different order.

DaveS 02-14-2009 07:42 AM

A good enhancement to this would be if you were to have an upload link that's suitable for each product as well, that's displayed somewhere.
Most people will want to upload if they're displaying photo's.

DaveS 02-14-2009 07:47 AM

Also in the install script (installation.txt) in the template modifications section you have too many closing TD tags I think.

HTML Code:

<fieldset id="photobox" title="$vbphrase[photo_popup_my_photos]">
    <legend>$vbphrase[photo_popup_my_photos]</legend>
    <table cellpadding="4" cellspacing="0" border="0" align="center">
        <tr>
            <td class="smallfont" colspan="$vboptions[smcolumns]">
                      [<a href="#" onclick="window.open('$vboptions[bburl]/photo_popup.php?e=$editorid','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>
            </td>
        </tr>
    </table>
</fieldset>


Ohiosweetheart 02-16-2009 05:53 PM

I'm just wondering why on earth you would put a link at the bottom of the smilie box, rather than add a button to the wysiwyg editor?

My members are killing me with questions about "where's the button???"

Can this be changed, or at least made an option?

cellarius 02-16-2009 06:08 PM

Quote:

Originally Posted by Ohiosweetheart (Post 1746119)
I'm just wondering why on earth you would put a link at the bottom of the smilie box, rather than add a button to the wysiwyg editor?

Historical reasons. The link was there in the predecessor(s) of this mod, even before this one started to work with QR and QE. Since the users of my forum are used to the link in main editor, it will stay that way.

Quote:

My members are killing me with questions about "where's the button???"
So what keeps you from inserting the button into main editor and not do the template edit for the Link?
Quote:

Can this be changed, or at least made an option?
Of course. What template edits you do is completely up to you. It has been explained in this thread how to have the button in main editor.

DaveS 02-16-2009 06:39 PM

Quote:

Originally Posted by Ohiosweetheart (Post 1746119)
I'm just wondering why on earth you would put a link at the bottom of the smilie box, rather than add a button to the wysiwyg editor?

My members are killing me with questions about "where's the button???"

Can this be changed, or at least made an option?

I have 5K+ users on my forum and I've never been asked that question!

wottech 02-16-2009 07:03 PM

Quote:

Originally Posted by Ohiosweetheart (Post 1746119)
I'm just wondering why on earth you would put a link at the bottom of the smilie box, rather than add a button to the wysiwyg editor?

https://vborg.vbsupport.ru/showpost....0&postcount=88

EagleNick 02-16-2009 08:52 PM

I just installed the latest version (3.0.1) and it works fine... except for one thing:

I am using PhotoPlog and I entered that into the options (above "albums"). When I go to insert images, Photoplog is indeed a choice in the drop-down of "From:", but it's telling me:
Quote:

You do not have any photos uploaded to the gallery or no images match the filtering options set.
The only filtering option I have is "show all my photos". I know for a fact that I have images in my gallery of PhotoPlog.

And no, I am not using PhotoPlog pro.

Everything else works and I can insert images from my vB User Albums just fine.

I'm not sure what the issue is.

Lone Gunman 02-16-2009 09:44 PM

Quote:

Originally Posted by Ohiosweetheart (Post 1746119)
I'm just wondering why on earth you would put a link at the bottom of the smilie box, rather than add a button to the wysiwyg editor?

My members are killing me with questions about "where's the button???"

Can this be changed, or at least made an option?

the template edit detailed in the instructions for this mod took me 2 minutes. a nice lil camera image is even included

Mukashi 02-17-2009 11:18 PM

Quote:

Originally Posted by DaveS (Post 1743631)
Seem to have a problem in the Admin CP when changing the Product settings.
I want mine set to:
photopost
albums

But it keeps erroring telling me that "I did not enter a valid value", but both of those values were that to start with, just in a different order.

I'm getting a very similar error. I've had this addon installed on my forum for a while now, using it with only the base albums. I purchased photopost yesterday and reinstalled the latest version of this addon from scratch, but I get the error saying I haven't entered a valid value any time I try to put both of those products in the list, though just selecting one or the other works fine.

wottech 02-18-2009 01:03 AM

I get the same error, but I just ignore it and everything works fine.

valdet 02-18-2009 02:02 PM

Will test this out soon.

Thanks a lot

EagleNick 02-19-2009 10:48 PM

Quote:

Originally Posted by EagleNick (Post 1746253)
I just installed the latest version (3.0.1) and it works fine... except for one thing:

I am using PhotoPlog and I entered that into the options (above "albums"). When I go to insert images, Photoplog is indeed a choice in the drop-down of "From:", but it's telling me:
The only filtering option I have is "show all my photos". I know for a fact that I have images in my gallery of PhotoPlog.

And no, I am not using PhotoPlog pro.

Everything else works and I can insert images from my vB User Albums just fine.

I'm not sure what the issue is.

Anybody?

Thanks.

MrAbc 02-21-2009 04:00 AM

A great mod. Thank you :).

Am I write that this mod only allows users to choose images they posted themselves (not others)?

wottech 02-23-2009 01:45 AM

Quote:

Originally Posted by MrAbc (Post 1750405)
Am I write that this mod only allows users to choose images they posted themselves (not others)?

Yes.

MikesSite 02-24-2009 03:38 AM

n/m, fixed it.

Helmut71 02-25-2009 02:50 AM

anything new about the Photoplog Pro integration??

JohnBee 03-03-2009 01:23 AM

Strange problem with this MOD.

I installed it and added the product however, when I hit the [insert] button the pop-up comes asking me for my login and password. At which point, I enter it, however the images are never inserted into the editor.

The behavior is the same for both quick reply and regular post editor.

bjhuang 03-05-2009 07:26 AM

it's nice if one can insert from uploaded attachments.

PhilMcKrackon 03-05-2009 01:20 PM

1 Attachment(s)
Great mod. I have been using the VBGeek version for a while and would like to switch over to this but I have one problem.

I'm not getting the drop down to show the album categories I have made in VBGallery. All I get is 'All Photos' as a filter selection.

I attached a couple of screen shots and here is my debug info. Other then this little issue it is working great! Thanks!

Code:

Debug information
Photo Popup Settings (from AdminCP) num_of_cols: 3
num_of_rows: 3
num_total:9
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: 0
 
Code (this is what is inside the table cells) <a href="#" onclick="thumbpaste('<a href=\'http://www.jeep-cj.com/gallery/files/1/painless_kit_open_fuse_block.jpg\'><img src=\'http://www.jeep-cj.com/gallery/files/1/painless_kit_open_fuse_block_thumb.jpg\' style=\'border: 0\' /></a> ','http://www.jeep-cj.com/gallery/files...lock_thumb.jpg ')"><img src="http://www.jeep-cj.com/gallery/files/1/painless_kit_open_fuse_block_thumb.jpg" style="border: 0" title=""/></a>
Link to Original http://www.jeep-cj.com/gallery/files...fuse_block.jpg
Link to Thumb http://www.jeep-cj.com/gallery/files...lock_thumb.jpg
Query Used product: vbgallery
 
Cookie Read Cookie:
Set Cookie: vbgallery,,link_thumb_2_orig
 
Table building (rows and columns) [td 1][td 2][td 3][tr][td 1][td 2][td 3][tr][td 1][td 2][td 3]


wottech 03-05-2009 02:06 PM

Do you have the config file set up to allow the showing of all the albums? That'd be the first thing I would check. And then the settings in the ACP.

PhilMcKrackon 03-05-2009 02:15 PM

1 Attachment(s)
Thanks for the reply.

The only setup in the photo_popup_config_vbgallery.php file is $album_override, and I have tried TRUE and FALSE.

PHP Code:

##################################################################################
########################### vBGallery User Settings ##############################
##################################################################################
*/
//
// If you do allow albums selection in popup, but want to disable it for this
// product, set this to TRUE;
//T
$album_override FALSE;
// 

And 'Show Albums list?' is set to 'yes'. (see attachment)

I must be missing something simple... :)

Thanks for the ideas!

smirkley 03-05-2009 04:01 PM

Quick question,..

I have this installed on a fully up-to-date vb platform, and viewing with my IE7.

I love the way it works for my members.

What I have noticed though, is the popup after it has loaded all the thumbs from the vb albums (no other albums or gallerys installed or enabled), the status bar activity indicator at the bottom of my IE window, shows continuous 'loading' of something and never indicates 'done' status for loading the page.

I have individually disabled all mods to verify if any of them are the reason, and none seem to be affecting the function of this mod.

Am I missing something?

Thanks

hubix 03-11-2009 09:39 AM

1 Attachment(s)
Hello!

If you use vbgallery (2.4.3) and you have activated safe mode, the attached php-file will work for you ;)

smirkley 03-11-2009 10:28 PM

Thanks,

No, my server is not safe-mode activated, and php is fully functional.

And I am using vb standard albums OEM.

Should I still try the attachment?

Basically, the mod works like expected, but the above anomoly I noticed while testing it.

macc 03-11-2009 11:39 PM

hello

could not get image button on my editor and no link also to use this mod ...
some help?

use only albums and photoplog.

regards

macc

hubix 03-12-2009 08:14 AM

Quote:

Originally Posted by smirkley (Post 1766071)
Thanks,

No, my server is not safe-mode activated, and php is fully functional.

And I am using vb standard albums OEM.

Should I still try the attachment?

Basically, the mod works like expected, but the above anomoly I noticed while testing it.

No, sorry, the attachement is for you only interesting, if you are runnig your system in safe mode ;)

EagleNick 03-12-2009 09:03 AM

Quote:

Originally Posted by EagleNick (Post 1746253)
I just installed the latest version (3.0.1) and it works fine... except for one thing:

I am using PhotoPlog and I entered that into the options (above "albums"). When I go to insert images, Photoplog is indeed a choice in the drop-down of "From:", but it's telling me:
The only filtering option I have is "show all my photos". I know for a fact that I have images in my gallery of PhotoPlog.

And no, I am not using PhotoPlog pro.

Everything else works and I can insert images from my vB User Albums just fine.

I'm not sure what the issue is.

I still have not been able to find a resolution to this.

Adam_EOGamer 03-12-2009 11:08 AM

Great addition, thanks!

DobieGillis? 03-12-2009 01:20 PM

nice Mod! Works like a charm!

aztecboi2003 03-12-2009 05:56 PM

Does this work with vBattach?


All times are GMT. The time now is 08:21 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.01790 seconds
  • Memory Usage 1,867KB
  • 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
  • (3)bbcode_code_printable
  • (1)bbcode_html_printable
  • (3)bbcode_php_printable
  • (18)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