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)

wottech 01-31-2009 06:17 PM

Quote:

Originally Posted by cellarius (Post 1730156)
Ahm, I'm pretty sure Morgan will not like to see her code posted here openly. I'd advise you to remove it.

And no, sorry, I fear I can't help you based on this code. So probably this mod does not support albums/categories with Photoplog Pro. With Lite, it works.

What makes you say that? Oh, perhaps the header....

Dr. Bantham 01-31-2009 06:35 PM

Quote:

Originally Posted by cellarius (Post 1730156)
Ahm, I'm pretty sure Morgan will not like to see her code posted here openly. I'd advise you to remove it.

And no, sorry, I fear I can't help you based on this code. So probably this mod does not support albums/categories with Photoplog Pro. With Lite, it works.

My intentions were only to aid in the identification of compatibility issues, but I understand. Content removed, though the member to subsequently quote my post and thereby redistribute the code now has the content embedded in their post. Maybe they did not notice the header either.

wottech 01-31-2009 06:38 PM

I only had the 3 lines of the header posted, but I went ahead and removed that as well...

precisionextrem 02-01-2009 02:04 AM

This was working. Now I upgraded and it does not. This is what I am getting. It opens up, but when you click a picture nothing happens and it gives this error in IE.
Line: 372
Char:5
Error:Access is denied
Code:0
URL:http://www.precisionextreme.com/foru...=vB_Editor_001

Then you can click next and it gives this
Line:379
Char:16
Error:Syntax Error
Code:0
URL: Same as above

Next again
Line:356
Char:3
Error:Permission Denied
Code:0
URL: Same as above

What is going on??
Thanks,
Chris

cellarius 02-01-2009 08:53 AM

Quote:

Originally Posted by precisionextrem (Post 1730519)
This was working. Now I upgraded and it does not. This is what I am getting. It opens up, but when you click a picture nothing happens and it gives this error in IE.
Line: 372
Char:5
Error:Access is denied
Code:0
URL:http://www.precisionextreme.com/foru...=vB_Editor_001

What is going on??
Thanks,
Chris

You're in Code Mode? That seems to be an error when IE is trying to copy the code to clipboard. Anyway, I cannot reproduce this. For me, the popup works fine in IE 7, both in standard and in code mode.

precisionextrem 02-01-2009 01:28 PM

What do you mean code mode? I just figured out that it works on my desktop. It shows the same errors, but it works. Also, it doesn't automatically close. I don't know if that is related or not.

cellarius 02-01-2009 02:11 PM

Code mode is a feature this mod offers. So apparantly you are not in code mode.

I suspect that some of your browser settings disagree with the javascrpt that the mod uses. Since it's the image insertion as well as the auto-closing, there seems to be something amiss with every javascript driven function. Does it work with other browsers? Firefox? Opera? Chrome? Safari?

As I said, it works for me in all of the above browsers, including IE 7. No scripting errors whatsoever. If it works for you in other browsers, this has to be your settings in IE, probably securitywise/the way it handles javascript.

I do not know how this could be related to the upgrade from 2.x to 3.0, since absolutely nothing was changed in this section. The javascript has stayed the same. Sorry, but since it seems to work for everybody else (including me) and this is very likely an issue caused by the browser and it's settings, I may not be able to help you there.

aberg 02-01-2009 05:27 PM

It is a great mod, but I don't like the many updates.:mad:
It's nearly daily that this mod will be update.
So my question is when we can expect a stable version where is isnt needed to update daily.
Ofcourse I understand that it is needed to update sometime, but daily????:eek:

wottech 02-01-2009 05:45 PM

I think its because people wanted more options. And cellarius was able to respond to the option requests quickly. I'd rather have daily updates than something that has issues and only gets fixed once a month or even longer. To me, it just shows that the author is actually supporting the mod.

And besides, nothing says you have to update at each new release.

RvG2 02-01-2009 05:49 PM

I don't mind daily updates. No script is perfect at start. :)

Nominated for MOTD.

cellarius 02-01-2009 07:56 PM

Quote:

Originally Posted by aberg (Post 1731099)
It is a great mod, but I don't like the many updates.:mad:
It's nearly daily that this mod will be update.
So my question is when we can expect a stable version where is isnt needed to update daily.
Ofcourse I understand that it is needed to update sometime, but daily????:eek:

If you don't mind the occasional bug and don't need new features, I don't force you at gunpoint to update. Just don't do it, if you don't like it.

aircool52 02-04-2009 01:58 AM

1 Attachment(s)
Wich template is this?
I like to put this code in to it.
PHP Code:

<!-- Pop-up Image Window -->


<
td><div class="imagebutton">
                    <
table cellpadding="0" cellspacing="0" border="0">
                    <
tr>
                        <
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?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>                    </tr>
                    </
table>
                </
div></td>
<!-- 
Pop-up Image Window --> 


KevinL 02-04-2009 02:36 AM

OK...weird question, this now pretty much supports all the galleries...Which gallery would one suggest someone use? Photopost, vbgallery or photoplog? I've used vbgallery and never had a problem with it, but I haven't really kept up with them lately.

cellarius 02-04-2009 04:27 AM

Quote:

Originally Posted by aircool52 (Post 1733708)
Wich template is this?
I like to put this code in to it.
PHP Code:

<!-- Pop-up Image Window -->


<
td><div class="imagebutton">
                    <
table cellpadding="0" cellspacing="0" border="0">
                    <
tr>
                        <
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?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>                    </tr>
                    </
table>
                </
div></td>
<!-- 
Pop-up Image Window --> 


Sorry, I'm not quite sure what you are trying to do. Do you want to show the icon in the main editor instead of the standard Link? If so, just say so, instead of posting code and then leave us guessing...

cellarius 02-04-2009 04:29 AM

Quote:

Originally Posted by KevinL (Post 1733738)
OK...weird question, this now pretty much supports all the galleries...Which gallery would one suggest someone use? Photopost, vbgallery or photoplog? I've used vbgallery and never had a problem with it, but I haven't really kept up with them lately.

I myself use Photopost, but won't comment on this question here. Don't know whether the support thread for this mod is the right place for this discussion. This forum might be better suited:
https://vborg.vbsupport.ru/forumdisplay.php?f=111

KevinL 02-04-2009 05:40 AM

Quote:

Originally Posted by cellarius (Post 1733809)
I myself use Photopost, but won't comment on this question here. Don't know whether the support thread for this mod is the right place for this discussion. This forum might be better suited:
https://vborg.vbsupport.ru/forumdisplay.php?f=111

Well I was more asking along the lines of this mod and how it works with all of them and different experiences.. ;)

thcf 02-04-2009 07:44 AM

Please get this working with photoplog pro, and ill make a donation

cellarius 02-04-2009 09:11 AM

Quote:

Originally Posted by thcf (Post 1733957)
Please get this working with photoplog pro, and ill make a donation

Please donate me a license of Photoplog Pro, and I will make it working ;)

Sorry, mate, just can't do it as long as I have no chance to install it here on my local testing board, to see what the database structure looks like and how categories and stuff work.

cellarius 02-04-2009 09:18 AM

Quote:

Originally Posted by KevinL (Post 1733861)
Well I was more asking along the lines of this mod and how it works with all of them and different experiences.. ;)

Ah, o.k.

Let's see: I'm on Photopost Pro at the moment (and reasonably happy with it; I'd perhaps change to Photoplog, but my users are used to Photopost, and there's no possibility to import). I do have access to vBGallery through my Photopost license and thus can take care of eventual database structire changes etc.
That would be safe options to use as long as this mod is concerned. vB albums anyway - obviously I have this installed ;)

Photopolog, as just mentioned in the other post, still is a problem, though, since there seem to be issues with the pro version that at least I can't fix without access to the product.

But there might just be someone out there who owns Photoplog Pro, wants to use this, too, and has some coding experience. The structure of the config files is not hard to figure out (I explained it somewhere in this thread, too) and manages to do another config file for photoplog pro, leaving the existant one for Photoplog lite.

aircool52 02-04-2009 11:06 AM

That's right , I want to place the script on the main editor , what is the name of that template?

cellarius 02-04-2009 11:36 AM

Quote:

Originally Posted by aircool52 (Post 1734089)
That's right , I want to place the script on the main editor , what is the name of that template?

editor_toolbar_on, insert the same code as for quickreply and quickedit before
Code:

<if condition="$vBeditTemplate['extrabuttons'] != '' ">
Not tested, but should work.

aircool52 02-04-2009 11:56 AM

Hey thanks Cellarius , that is exactly what I want.

aircool52 02-04-2009 12:55 PM

Let see if you can help , I want to add the same code in the same place but to a exterior link , with a different .gif image , can you do that ?

aircool52 02-04-2009 01:32 PM

It is possible to do the same mod por the Video gallery?

cellarius 02-04-2009 02:16 PM

Quote:

Originally Posted by aircool52 (Post 1734190)
Let see if you can help , I want to add the same code in the same place but to a exterior link , with a different .gif image , can you do that ?

So why don't you just change the link and the image? That's straight html.
But anyway: I'll support may mod here, but please understand that I will not answer any unrelated question here.

cellarius 02-04-2009 02:18 PM

Quote:

Originally Posted by aircool52 (Post 1734221)
It is possible to do the same mod por the Video gallery?

Probably - would be a different mod, tho. But since I do not know that gallery, I wouldn't know.

benFF 02-04-2009 02:36 PM

If you want to have an icon on the main toolbar (New Reply, Full edit) then you don't need a template edit.

Create a plug in at location "editor_toolbar_end" and insert the following code:
PHP Code:

$vBeditTemplate[extrabuttons] .= "<td><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]\"><img src=\"$stylevar[imgdir_editor]/photo_popup.png\" border=\"0\" /></a></td>"

The button will now appear at the end of the list.

Unfortunately there is no template hook for quick reply, otherwise we could just use the same technique :(

mikeB 02-04-2009 05:19 PM

1 Attachment(s)
any idea why my users get this (see attached) but we as admins can use it fine?

cellarius 02-04-2009 07:14 PM

What version of vBG do you use?

mikeB 02-04-2009 07:44 PM

Quote:

Originally Posted by cellarius (Post 1734543)
What version of vBG do you use?

v2.4.3 http://www.bakerradio.com/gallery/ - it works for me as admin just not my users?

wottech 02-04-2009 09:02 PM

What is your user number? If it is a single digit, then that's you it probably works for you. Try the fix in the following post: https://vborg.vbsupport.ru/showpost....&postcount=156

mikeB 02-05-2009 03:39 AM

Quote:

Originally Posted by wottech (Post 1734636)
What is your user number? If it is a single digit, then that's you it probably works for you. Try the fix in the following post: https://vborg.vbsupport.ru/showpost....&postcount=156

PERFECT it worked thank you

fastdns 02-05-2009 03:54 AM

Hi,

I am naive to all this, I wanted to use this contribution, but I am lost at step 4 :

4. Install the product.

Can somebody tell me how does one "install" this addon ?

Thank you,

Joshua

cellarius 02-05-2009 04:31 AM

RTFM :)

http://www.vbulletin.com/docs/html/product_manager
http://www.vbulletin.com/docs/html/main/import_product

wottech 02-05-2009 04:25 PM

Quote:

Originally Posted by mikeB (Post 1734835)
PERFECT it worked thank you

Glad it worked for you. If we could figure which version the change occurred, then cellarius could possibly build in a conditional to determine which version of vbGallery the person is using, and selecting the proper function automatically.

cellarius 02-05-2009 04:57 PM

Quote:

Originally Posted by wottech (Post 1735313)
Glad it worked for you. If we could figure which version the change occurred, then cellarius could possibly build in a conditional to determine which version of vbGallery the person is using, and selecting the proper function automatically.

Yep, that sure would be feasible. Version information is in the database for me to query, I just would have to know when the change took place.

cellarius 02-06-2009 04:35 AM

Since that suggestion reached me more than once by PM:

Please refrain from suggesting that I should download nullified/cracked versions of Photoplog Pro from warez sites. Coding myself, I will not do that on principle.

Lustikus 02-06-2009 02:04 PM

is it possibleto add support for other people albums ? so i can add some pics from the other users album ?

cellarius 02-06-2009 02:44 PM

No, that's not possible or at least would be quite complicated. The system checks moderation settings were necessary right now, so unmoderated images don't show. If other users images were to be queried, it would furthermore have to check all kinds of different permission and privacy settings, since there are private albums and categories with passwords etc. This can be omitted if only ones own images are presented.
This will not be a feature of this mod.

wottech 02-09-2009 10:44 PM

Hey cellarius, just checking if you got my PM with the changes to the garage config file?


All times are GMT. The time now is 03:30 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.01579 seconds
  • Memory Usage 1,866KB
  • 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
  • (1)bbcode_code_printable
  • (3)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