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)

sailnet 11-25-2009 12:47 PM

cellarius - I just wanted to let you know this is the best mod I have ever used.

thank you!

Steve B 11-25-2009 02:20 PM

Quote:

Originally Posted by cellarius (Post 1920673)
Issue was resolved by PN. User had some path issues due to portal software or funky rewrites - the link to open the popup did point to the site root, not the forum root. Resolved by adding the forum root folder to the template edits.

Thanks for all your help in getting it sorted. Your help was much appreciated :up:

ricardoNJ 11-25-2009 10:07 PM

I try to install it but no works

cellarius 11-26-2009 04:43 AM

Quote:

Originally Posted by ricardoNJ (Post 1920917)
I try to install it but no works

Based on this non-information there's really no way to help you.

nectons 12-02-2009 10:45 PM

works perfect until now with the standard vbulletin album. Thanks allot! GREAT product :)

MoMan 12-04-2009 08:22 PM

1 Attachment(s)
I have this random 'sv' appearing in the corner of my popup. This is a fresh installation- any ideas?

MoMan 12-04-2009 08:33 PM

Figured it out- removed $code from the template, as I don't plan on using code mode.

tteal 12-06-2009 01:54 AM

Not working the little image doesn't show up :-(

cellarius 12-06-2009 08:09 AM

Note:
Quote:

Support and debugging

Ill help whenever I find the time. Before asking, please activate debug mode and post the information given there (especially under "Code". Please try the two links given - do they look "normal" and do they work? Debug information is only shown to Administrators (usergroup 6). Always state the products you use, including the software versions. Also read the infromation in the second post of this thread.

Cerbero1000 12-13-2009 08:37 PM

Is there a way to have the alt image attribute for thumbs in post? I'm using photoplog and I would like to have the image title in the tag alt... but if it isn't possible I would like to have a generic phrase like "click to enlarge".
Alt image attribute is very important for a good SEO.
Thanks

cellarius 12-14-2009 06:48 AM

No, at the moment there's no way to show the image title, and there also is no way for me to change the alt tag, since the images are entered as or converted to bbcode [img] in the editor, and that does not provide for alt tags. That's not a limit of this mod, but of vB.

Cerbero1000 12-14-2009 11:21 AM

Ops, ok! It would be great to have a search function for popup too. Actually is very hard to find a pic if there are thousand uploaded images.

barcena 12-17-2009 06:09 PM

Has anyone used this mod on 4.0 with success? Just out of curiosity.

cellarius 12-18-2009 12:17 AM

Quote:

Originally Posted by barcena (Post 1932400)
Has anyone used this mod on 4.0 with success? Just out of curiosity.

No, because it won't work with vB4 as is. A few posts up I posted about it. I'm planning on doing a vB4 version, but it may still take some time.

redlabour 12-20-2009 06:24 PM

Manual Template Edits??? *argh*

COL NIL SATIS 12-20-2009 07:11 PM

Quote:

Originally Posted by redlabour (Post 1934175)
Manual Template Edits??? *argh*

lol

Taurus1 12-24-2009 09:15 AM

Man this is awesome! I really want this to work! But for the life of me can't get it to show up anywhere!! I disabled all other editor improvers, but still nothing. I made sure everything is is uploaded correctly, and even did the manual template edits. Still nothing! I hope you can help me! Thanks!!

EDIT: Managed to get it to show. Well I get the text to show to insert Photo's. How do I get the little camera icon to display instead? Thanks!!

Scalemotorcars 12-27-2009 02:48 AM

How do I add a <br /> between posted images? Thanks

Robert Waanders 12-27-2009 06:45 AM

Wow... thanks for this mod! I should have found it earlier....

Robert

cellarius 12-27-2009 06:55 AM

Quote:

Originally Posted by Scalemotorcars (Post 1939111)
How do I add a <br /> between posted images? Thanks

What are you trying to do? Having only one image per line? Then just change the settings in AdminCP.

Taurus1 12-27-2009 07:56 AM

Can you please help me to get the small camera to show instead of the text!

Thanks!!

cellarius 12-27-2009 08:13 AM

Quote:

Originally Posted by Taurus1 (Post 1939224)
Can you please help me to get the small camera to show instead of the text!

Thanks!!

If you follow installation instructions it will work on a standard installation. If it does not work for you, I have no idea what would be causing this, since it does work for everyone else. If you're using a custom style, this may be the cause - make sure you uploaded to the correct folder, if your style uses custom ones.

Subah 12-27-2009 08:48 AM

Just upgrade to 3.5 and it is work great :)

Scalemotorcars 12-28-2009 02:59 AM

Trying to add a break between photos. Right now as a member clicks images into the editor they stack one on top of another with no cell-spacing, border or break between them, like this....

Photo 1
Photo 2
Photo 3
Photo 4

I would like a space between photos like this.

Photo 1
<br />
Photo 2
<br />
Photo 3
<br />
Photo 4

cellarius 12-28-2009 04:59 AM

The mod uses your $stylevar[cellpadding] and $stylevar[cellspacing] settings. If you have set those to 0 in your style options, that's how it displays. You can change that by editing the the photo_popup code, however. Change the values in line
Code:

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
to your liking.

WebkinzCoast 12-29-2009 01:24 AM

Hello, for some reason the Quickreply template edit wasn't working for me. But, I fixed it (: Some others may have had this problem, so I'd like to share how I fixed it.

Original Template Edit Code:

Code:

<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>

<td> <a href="#" onclick="window.open('$vboptions[bburl]/photo_popup.php?$session[sessionurl]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]">
<img src="$stylevar[imgdir_editor]/photo_popup.png" border="0" /></a></td>


Replace with my code:


Code:

<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>

<td> <a href="#" onclick="window.open('$vboptions[bburl]/photo_popup.php?$session[sessionurl]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]">
<img src="http://i49.tinypic.com/28gqpfn.png" border="0" /></a></td>



Also, I do have a problem. I made the plug-in, as said in the other post, and I get a 404 error when you click "Go Advanced" and click on the button. I have experimented with it, and nothing I did could fix it.

If you could help, I would be very happy, thank you in advance (:

Installed, Nominated, and Voted (:

cellarius 12-29-2009 06:04 AM

Only thing you changed is the image path to some external server place. If the original code did not work for you, it usually means you have not uploaded the provided icon to the correct place.

What plugin are you talking about? Please point me to the post you're referring to. Anyway, this mod does not mess with the Go Advanced button, so I'm pretty sure the cause for your problem will have to be looked for elsewhere.

cellarius 12-29-2009 11:13 AM

I never came around to post a notice before, but if you like, you can still vote for this mod as mod of the month December 2009:

https://vborg.vbsupport.ru/showthread.php?t=229223

Thanks! :)

Scalemotorcars 12-29-2009 07:19 PM

1 Attachment(s)
Quote:

Originally Posted by cellarius (Post 1940046)
The mod uses your $stylevar[cellpadding] and $stylevar[cellspacing] settings. If you have set those to 0 in your style options, that's how it displays. You can change that by editing the the photo_popup code, however. Change the values in line
Code:

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
to your liking.

Sorry I dont want to be a pain but that's the code in the popup window.

What I was referring to was how the popup adds images into the editor. As a member selects images from the popup they are stacked into the editor much like my above post. Im simply trying to add a break between the posted images. :)

Maybe this photo will help explain it better.

Alfa1 12-29-2009 11:08 PM

Will there be a vb4 version of this mod? I imagine that vb4's asset manager will change this mod quite a bit.

choccyclaire 01-04-2010 12:49 AM

I use photoplog as a public gallery, i.e my members do not have permission to upload to it therefore I am the only one with an album on there.

Is there any way we can have an option for photoplog where it pulls all the images from the gallery and not just individual photoplog albums?

cellarius 01-04-2010 06:07 AM

Quote:

Originally Posted by choccyclaire (Post 1946510)
I use photoplog as a public gallery, i.e my members do not have permission to upload to it therefore I am the only one with an album on there.

Is there any way we can have an option for photoplog where it pulls all the images from the gallery and not just individual photoplog albums?

Try this (untested):

In your photoplog config file, find twice:
PHP Code:

WHERE userid $userid AND moderate 0" . $where_add . " 

replace twice with:
PHP Code:

WHERE moderate 0" . $where_add . " 

This should show all images. If you want to show images of one user specifically, replace $userid with the userid of that user.

MoMan 01-04-2010 05:29 PM

I'm getting reports about this sort of behavior from my users:

Quote:

Now, when I switch to "Pictures and Albums," if I click on a photo to link to a challenge, etc, the little box with a red "X" shows up instead of the photo. However, if I switch from "Original Only" to anything else on the drop-down menu, and then switch back again, the photo shows up fine. Is that a glitch or am I doing something wrong?
Any ideas? Should I just rearrange the insertion options?

cellarius 01-04-2010 06:27 PM

Are you using vbseo?

Scalemotorcars 01-04-2010 06:56 PM

Quote:

Originally Posted by Scalemotorcars (Post 1941807)
Sorry I dont want to be a pain but that's the code in the popup window.

What I was referring to was how the popup adds images into the editor. As a member selects images from the popup they are stacked into the editor much like my above post. Im simply trying to add a break between the posted images. :)

Maybe this photo will help explain it better.

Any ideals on this one? Thanks for your time.

MoMan 01-04-2010 09:05 PM

Quote:

Originally Posted by cellarius (Post 1947115)
Are you using vbseo?

Yessir. Is it causing the conflict? Can that be prevented?

cellarius 01-04-2010 09:42 PM

Quote:

Originally Posted by Scalemotorcars (Post 1947145)
Any ideals on this one? Thanks for your time.

Try editing photo_popup.php. Find
PHP Code:

// Add whitespace to codebits
        
$codehtml .= " ";
        
$codebb .= " "

Change to
PHP Code:

// Add whitespace to codebits
        
$codehtml .= "<br /><br />";
        
$codebb .= "\\n\\n"

Beware: This will add two linebreaks after every image inserted - no exceptions possible.

cellarius 01-04-2010 09:47 PM

Quote:

Originally Posted by MoMan (Post 1947247)
Yessir. Is it causing the conflict? Can that be prevented?

Actually, there should be a workaround in place for this issue, which only occured in Firefox, see version history for 3.3. More info should be available when searching this thread for vbseo or the like. Are you sure you're not running a photo_popup.php file version lower than that version?

MoMan 01-04-2010 10:30 PM

Quote:

Originally Posted by cellarius (Post 1947281)
Actually, there should be a workaround in place for this issue, which only occured in Firefox, see version history for 3.3. More info should be available when searching this thread for vbseo or the like. Are you sure you're not running a photo_popup.php file version lower than that version?

Using 3.5 at the moment. I'll browse through the thread- thanks!

choccyclaire 01-05-2010 02:14 PM

Quote:

Originally Posted by cellarius (Post 1946666)
Try this (untested):

In your photoplog config file, find twice:
PHP Code:

WHERE userid $userid AND moderate 0" . $where_add . " 

replace twice with:
PHP Code:

WHERE moderate 0" . $where_add . " 

This should show all images. If you want to show images of one user specifically, replace $userid with the userid of that user.

Perfect. Thanks. :)

One more thing. On the drop down of the popup is says photoplog. How do I change this to reflect the name of my photoplog (Gallery).


All times are GMT. The time now is 11:49 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.01931 seconds
  • Memory Usage 1,846KB
  • 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
  • (4)bbcode_code_printable
  • (6)bbcode_php_printable
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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