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)

tormento 04-16-2009 01:45 PM

ok

I have just torned on the sistem

thank's to all.

it's possibile to upload directly from che the popup windows ?

KenDude 04-16-2009 04:59 PM

Quote:

Originally Posted by cellarius (Post 1791315)
Correct. So far I follow you when trying to reproduce this.

Hm, that's where I'm losing you: the code for the thumbnails is genereted by strtolower-ing the file extension, thus it is always lowercase.
Actually, the path and filename used to show the thumbnails in the popup window and for the insertion process come from exactly the same variable - they can not be different. Their extensions both have to be lowercase.
By the way: If I'm uploading an image that has a uppercase extension, vBG changes the original uppercase extension to lowercase.


That's what the script does at the moment, actually...


No problem, really. Since I do not use vBG in a productive environment, I don't have the ability to do such intensive testing. This way, sooner or later we'll get it goin' :D

So, after some more thinking, I decided to take more information directly from the database. All filenames - thumbs, originals, everything including extensions - are now taken directly from the database and thus should mirror exactly what vBG uses. If it works there, it should also work with this mod. Please test the attached config file and see whether it solves the problem. If not, please check whether vBG indeed saves original files with uppercase extensions (which it does not for me - and I was unable to find an option in the vBG settings, tho I did not look too hard) and provide the content of the debug table field for "Code".

Bad news my member who was having the red x problem for images with all lower case vs. all caps is now getting ALL RED X's after I put this new config file on the server. :(

I have asked him to capture the properties of the link it is trying to display so I can see what is going on and report it back to you.

KenDude 04-16-2009 06:12 PM

Ok he got back to me, the issue is the folder parsing again (I thought you fixed that??)

For example it is trying to display http://www.planetporsche.net/gallery...0261_thumb.jpg

When it should be displaying http://www.planetporsche.net/gallery...0261_thumb.jpg

The / between the 6 and 5 is missing. No my gallery is NOT running in safe mode! :)

cellarius 04-16-2009 08:39 PM

Grrr - it's just a ! too much :)

In line 148 of config file, change
Code:

if (!$safemode)
to
Code:

if ($safemode)
Works?

cellarius 04-16-2009 10:05 PM

Quote:

Originally Posted by cellarius (Post 1792262)
O.k., I explored some more and this problem seems to be connected with the use of vbSEO, and indeed it only happens in Firefox. Robi_Kanobi, if you're still around, can you confirm that you are using vbSEO (or some other sort of SEO-Solution?). Confirmation from anybody else will be appreciated, too, of course.

I'll see whether I can get this fixed.

Sorry, no luck:

Quote:

vBSEO/Firefox issue
If vBSEO is active, in Firefox can appaear a phenomenon where the paths inserted into quickreply and quickedit editors (WYSIWYG only) have unnecessary "/../" or "/../../" in them. Although most of the times this does not prevent the correct display of images in the WYSIWYG editor, it can result in failure to do so. According to vBSEO support, there is nothing that can be done to prevent this. Anyway, as soon as the post is saved, this will be corrected by some vBSEO routine. After that, the paths will be correct.

Hornstar 04-17-2009 12:38 AM

If the user has photos in photopost and the vb albums will it show them all those pictures?

If the user has no photos anywhere, what is shown on the popup? Could you make it say, upload photos here first.

cellarius 04-17-2009 05:31 AM

Please read the description and the features list of the mod at least...

Quote:

Originally Posted by hornstar1337 (Post 1792936)
If the user has photos in photopost and the vb albums
will it show them all those pictures?

Of course.
Quote:

If the user has no photos anywhere, what is shown on the popup? Could you make it say, upload photos here first.
Not yet, considered for future. Discussed just just a few posts up.

tekknikal 04-18-2009 12:18 AM

im trying to get this working.
it works for vb but not for photopost
for vb it says:

"You do not have any photos uploaded to the gallery or no images match the filtering options set."

i uploaded new pictures to photopost. same message.
any help would be appreciated

kylek 04-18-2009 01:07 AM

New install or trying to install, keep getting this error - The configuration file "photo_popup_config_photoplog_categories " for this product is missing in [forumroot]/includes directory. Please consult installation instructions for this mod.

I have uploaded photo_popup_config_photoplog_categories to forum/includes and its there.

Using 3.8.2 and photoplog 2.1.4.8

And also we have our photoplog directory file called LP Gallery Does this matter also?

/forum/LP Gallery

cellarius 04-18-2009 06:02 AM

Quote:

Originally Posted by tekknikal (Post 1793647)
im trying to get this working.
it works for vb but not for photopost

So:
vB albums: ok
Photopost: not ok
Quote:

for vb it says:

"You do not have any photos uploaded to the gallery or no images match the filtering options set."
You just said it was working ok with vB albums? Do you have images uploaded to a vB album?

Quote:

i uploaded new pictures to photopost. same message.
Why should the no images message vor the albums change if you upload to Photopost? Or was the error message above all along for Photopost?
Quote:

any help would be appreciated
Perhaps you could clarify...

cellarius 04-18-2009 07:34 AM

Quote:

Originally Posted by kylek (Post 1793669)
New install or trying to install, keep getting this error - The configuration file "photo_popup_config_photoplog_categories " for this product is missing in [forumroot]/includes directory. Please consult installation instructions for this mod.

There's no other possible reason that I'm aware of than just what it says: The mod checks if the file is there. If it's unable to find it, it throws this error.

Quote:

I have uploaded photo_popup_config_photoplog_categories to forum/includes and its there.
Is it the forum at http://luvinpoker.com/forum?
I checked the popup there. When changing to the last option in the product dropdown, it throws the following error:
Code:

Error:
The configuration file "photo_popup_config_photoplog_useralbum" for this product is missing in [forumroot]/includes directory. Please consult installation instructions for this mod

The config file "photo_popup_config_photoplog_useralbums.php" is there at your includes folder. But it is evident that you did not set the product correctly in AdminCP. Change "photo_popup_config_photoplog_useralbum" to "photo_popup_config_photoplog_useralbums" there and it will probably work.

Quote:

And also we have our photoplog directory file called LP Gallery Does this matter also?

/forum/LP Gallery
You mean the directory where photoplog resides? There's no file in the path you give. And no: this doesn't matter, since this mod looks up your path in the photopost database.

EagleNick 04-19-2009 01:51 PM

So this now works with PhotoPlog PRO? I'm considering upgrading my installation of PhotoPlog on my forum.

cellarius 04-19-2009 04:48 PM

There have been issues, but with the last upgrade they should be resolved.

KenDude 04-20-2009 01:17 AM

Quote:

Originally Posted by cellarius (Post 1792818)
Grrr - it's just a ! too much :)

In line 148 of config file, change
Code:

if (!$safemode)
to
Code:

if ($safemode)
Works?

Yes, just heard back from some test members that this does now seem to work!

tekknikal 04-20-2009 01:47 AM

Quote:

Originally Posted by cellarius (Post 1793759)
So:
vB albums: ok
Photopost: not ok

You just said it was working ok with vB albums? Do you have images uploaded to a vB album?


Why should the no images message vor the albums change if you upload to Photopost? Or was the error message above all along for Photopost?

Perhaps you could clarify...

im sorry i made a mistake.
it works for vb but not photopost
when i try to find images in photopost i get that error
i can load up pictures from vb ok

thanks

cellarius 04-20-2009 04:24 AM

Quote:

Originally Posted by KenDude (Post 1794857)
Yes, just heard back from some test members that this does now seem to work!

Thanks, that's great news - so I'll mark the vBGallery config as working for the moment :)

Rocket2009 04-21-2009 05:05 AM

Hi.

Link shows up in smilies and TMS says everything tests ...

But I get this message when the window pops ...

404 - Not Found
The page you are trying to access does not exist.
If this error persists, please contact the website webmaster.


URL window shows: http://forum.xopa.org/photo_popup.php?e=vB_Editor_001


Background:


I installed first without the TMS and decided I didn't want to edit. No big deal. So I installed TMS and reinstalled a couple of times and get the same error.

I have PhotoPost newly installed in a different database (xopa_photopst) but thought I would just link pictures from albums for now so have not turned on that feature in the AdminCP. Photopost is a new domain (and subdomain) gallery. Forum is obviously a subdomain as well.

Seems like I am getting directed in the wrong direction.

Thanks.

cellarius 04-21-2009 05:17 AM

This means that there is no photo_popup.php file in your forum root directory. Are you sure you have uploaded it correctly?

The rest (TMS, products used) is in no relation to this error. As long as the main script file of the mod is missing, it's quite irrelevant how you configure it ;)

GrendelKhan{TSU 04-21-2009 09:24 AM

You know what would be freaking awesome ...
and seems only one step out from this add-on ...

If this could be made so that all attachments can be displayed on a single page for all to browse.
ie: the pop-up window, but for all users. and common template to browse.
Basically a Gallery, but using all attachments in the forums put together in one place.

That was completely rule.

I'd definitely pay for it too if it was that.



Anyway...great add-on as is. :D just a thought.

meissenation 04-21-2009 01:48 PM

Works great - thank you!

cellarius 04-21-2009 04:26 PM

Quote:

Originally Posted by GrendelKhan{TSU (Post 1795816)
You know what would be freaking awesome ...
and seems only one step out from this add-on ...

If this could be made so that all attachments can be displayed on a single page for all to browse.
ie: the pop-up window, but for all users. and common template to browse.
Basically a Gallery, but using all attachments in the forums put together in one place.

You might want to read
http://www.vbulletin.com/forum/blog.php?b=2354 and
http://www.vbulletin.com/forum/blog.php?b=2356

What you want will basically be in vB4 - at least for the single user. I for myself would not want to have attachments shared between users, but thats just me.

Rocket2009 04-21-2009 05:22 PM

Quote:

Originally Posted by cellarius (Post 1795713)
This means that there is no photo_popup.php file in your forum root directory. Are you sure you have uploaded it correctly?

The rest (TMS, products used) is in no relation to this error. As long as the main script file of the mod is missing, it's quite irrelevant how you configure it ;)

Thanks ... you were right, I had copied it to wrong spot. Bad on me!

OK. Now for the fun of it I turned on PhotoPost and it shows as a menu option, but I get the following message even though I know I have several pictures in it. Any hints on what setting I got wrong? Thanks again.


You do not have any photos uploaded to the gallery or no images match the filtering options set.

My debug screen shows:

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

cellarius 04-21-2009 05:49 PM

If I visit your popup at http://forum.xopa.org/photo_popup.php, I see an error message that indicates that you have set the photopost config to use a database different from your forum's ($other_db = TRUE). Is this indeed so and is this intended? If so, please doule check that the settings for the photopost database are correct.

Rocket2009 04-21-2009 06:40 PM

You provided awesome support for a novice vBulletin guy. Thanks ... you deserve kudos.

What happened here. I had photopost install the tool for me, but I had created a database for him to use. I never verified. He changed the name of the database and user for me. So, of course, that's why it failed.

I love the tool. Thanks for hanging with me. :up:

cellarius 04-21-2009 08:05 PM

You're welcome ;)

cellarius 04-22-2009 11:20 PM

Quote:

Originally Posted by Rocket2009 (Post 1796198)
You provided awesome support for a novice vBulletin guy. Thanks ... you deserve kudos.

And, by the way: Please mark this mod as installed - that would be enough ;)
This way you receive update notifications (and normally I only support if the person shows as installed).

cellarius 04-22-2009 11:25 PM

Quote:

Originally Posted by tekknikal (Post 1794870)
im sorry i made a mistake.
it works for vb but not photopost
when i try to find images in photopost i get that error
i can load up pictures from vb ok

thanks

Please double check the configuration, especially the part for setting up a different database.
Do you see any php-errors?

Rocket2009 04-22-2009 11:39 PM

It looks I did mark it as installed, rated you the higest, and nominated you. If it shows different for you, please advise.

cellarius 04-23-2009 04:29 AM

Quote:

Originally Posted by Rocket2009 (Post 1797073)
It looks I did mark it as installed, rated you the higest, and nominated you. If it shows different for you, please advise.

The rest I don't know (but thanks ;)), but as coder of the mod I do see a "Installed" to every post just like you see "Developer" under mine. You don't show up as installed. Perhaps something went wrong. Does the link still say "Mark as installed"? Then click it again, it will change to "Mark as uninstalled?". Else, you might try "uninstalling", then click "installed" again.

abroad 04-27-2009 05:07 AM

installed it again but still doesnt work...when the screen opens with my pictures and I click on one to insert it then nothing happens...I use vb albums

cellarius 04-27-2009 06:04 AM

Quote:

Originally Posted by abroad (Post 1778827)
I had 2.0 installed and it worked. I am using vb albums which comes with vbulletin. Now I upgraded to 3.1 and if I want to insert a picture then it does not stop loading when I click on a picture in the window which opened.... any idea what is wrong?

The URL of this window is:

http://www.mydomain.com/photo_popup.php

When I click on a picture to insert it, the URL changes to:

http://www.mydomain.com/photo_popup.php#

But the picture is not inserted afterwards....

Quote:

Originally Posted by abroad (Post 1799759)
installed it again but still doesnt work...when the screen opens with my pictures and I click on one to insert it then nothing happens...I use vb albums

It seems quite obvious from what you write in your first post that you did not do the changes in the template edits that came with the upgrade from 2.0 to 3.0. The URL of the Popup window should read
[yourdomain]/photo_popup.php?e=vB_Editor_001
if called from the main editor window. The parameter e changes if you call from QR or QE. If the part after the ? is missing, the popup simply does not know where to insert the code.

So please check whether you did the template edits correctly - I bet not. The link to the popup window in the templates always must contain the e-parameter:
Code:

$vboptions[bburl]/photo_popup.php?e=$editorid
It would have been helpful from the start if you had posted the debug information provided by the mod and a link to your popup window.

abroad 04-27-2009 06:19 AM

which template do I need to change? I just uploaded all files and importet the product file?

cellarius 04-27-2009 07:31 AM

The template edits are described in great detail inside the .zip file. Check whether they are corretly done on your side. I already told you what to look out for. Hm, after reading your last post - you did do the template edits manually or do have TMS installed? Once again, since you seem to have had it working with v2.0: The template edit you did vor v2.0 will not work with 3.1!

From which editor do you open the popup? You can't just call it in the browser. You must use a link in an editor - either main, QR or QE.

If you don't get it to work you'll have to provide me with admin access to your forum so I can check your templates.

cellarius 04-27-2009 06:10 PM

To follow up on abroad's problem: He sent me admin access and it was as I suspected.
Bottomline: You can't expect this mod to work if you don't do the template changes right ;)

cellarius 04-30-2009 08:49 AM

If you're using this mod with Photopost Pro, you might be interested in my new Mod for Photopost-SEO:

Quote:

Originally Posted by cellarius (Post 212511)
The problem: Duplicate content

One of the biggest problems of Photopost Pro when aiming at SEO-optimization is duplicate content - myriads of possible urls point to the same page. This leads to heavy penalization by search engines like Google. Although this has been critizised for years by Photopost customers, the developers were less than helpful, stating this was not "an issue with our program at all"; there are no indications whatsoever that this will ever be addressed.

A solution: canonical links

Not long ago, the major search engines (including Google, Microsoft and Yahoo) introduced a new tag, designed to deal with just that problem. It allows you to define a canonical url for pages that can be accessed via various urls. This is just what Photopost needs and should really help SEO-wise (see Googles explanation):
<link rel="canonical" href="URL" />

What this product does

I wrote a small plugin that is only active on Photopost's showphoto.php, this being the most important and most duplicated page. It extracts the photonumber from the URL and constructs a canonical url that is made up only from the URL to the script and one parameter (the photo number). It works with both Photopost's URL versions (standard and spider-friendly). Additionally, if the URL that was used to call the page is not identical to the canonical URL, a "noindex"-Tag will be added.


cellarius 05-02-2009 08:41 AM

New Version: 3.2

Quote:

Version 3.2: Config file rollup & enhanced error handling
  • new/updated product config files:
    • vBGallery
  • some additional error checking and error messages
  • debug information enhanced

If your Popup is working correctly and you are runnding 3.1, this is a non mandatory update. It offers some enhancements in error handling and debug information, and it contains the most up to date config files for all products. Significant changes have been made to vBGallery config. Hopefully, this config file will now work for all configurations.

I you are running an older version than 3.1, upgrading is strongly recommended!

Subah 05-02-2009 11:01 AM

Thank you for the update but there is some thing wrong wih the new "photo_popup_config_vbgallery.php" because if i keep the olf file every thing work fine but when i replace it with the new "photo_popup_config_vbgallery.php" 3.2 all pictures came as red "X" ?

cellarius 05-02-2009 11:18 AM

Grrrr vBG is really starting to drive me crazy here...

What does your directory structure look like in your gallery/files folder?

Is it like 1234 or like 1/2/3/4 (userids as whole numbers or split down to single digits)?

What does the code section from your debug info look like?

Andreas 05-02-2009 12:12 PM

He apparently uses vBGallery 2.4.3 with Safe Mode being off, eg. files stored under u/s/e/r/i/d - but I am not 100% sure I cant really read his website ;)

cellarius 05-02-2009 12:35 PM

Subah, please redownload the product .zip-file and reupload the vBG-config-file. Please tell me if it works now.


All times are GMT. The time now is 09:33 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.01788 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
  • (6)bbcode_code_printable
  • (24)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