vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Geek Gallery Popup for vBadvanced Gallery or PhotoPost 4 or higher (https://vborg.vbsupport.ru/showthread.php?t=73040)

The Geek 02-20-2005 05:58 PM

oops. Thought I fixed that.

Edit your editor_smiliebox template and change:
PHP Code:

    <fieldset id="photobox" title="My Photos">
     <
legend>$vbphrase[geek_gallery_my_pictures]</legend>
     <
table cellpadding="4" cellspacing="0" border="0" align="center">
     <
tr>
     <
td class="smallfont" colspan="$vboptions[smcolumns]">[<a href="#" onclick="window.open('geek-gallery-popup.php','geekgallery','scrollbars=yes,resizable=yes,width=550,height=500'; return false" title="Pick">$vbphrase[geek_gallery_select]</a>]</td>
     </
tr>
     </
table>
    </
fieldset

to:

PHP Code:

    <fieldset id="photobox" title="My Photos">
     <
legend>$vbphrase[geek_gallery_my_pictures]</legend>
     <
table cellpadding="4" cellspacing="0" border="0" align="center">
     <
tr>
     <
td class="smallfont" colspan="$vboptions[smcolumns]">[<a href="#" onclick="window.open('geek-gallery-popup.php','geekgallery','scrollbars=yes,resizable=yes,width=550,height=500'); return false" title="Pick">$vbphrase[geek_gallery_select]</a>]</td>
     </
tr>
     </
table>
    </
fieldset

or just add the ')' after height=500'

Ill go update the readme. Sorry about that!

SVTBlackLight01 02-20-2005 06:49 PM

Saweeet!! It's workin' now. :D

Great work! Now I have to go play around with it. :)

SVTBlackLight01 02-20-2005 07:45 PM

How hard would it be to add another option to post the medium image from the gallery? Some of my full size images are HUGE

This may be especially useful for vBgallery users since there is currently no way to llimit the max full size dimensions.

msimplay 02-20-2005 07:53 PM

wow it finally works and i LOVE IT thank you The Geek

tormodg 02-20-2005 08:14 PM

I have one HUGE wish for this thing: the option to align an image left or right. This is rather useful when using an image in an article. Right now I have a custom BBcode that does it for me but it won't work on the images I insert since they are displayed right away in the editor...any way this can be fixed?

And by the way...where is the actual code you put in generated? Maybe I can figure out a way to do this myself.

A second wish would be to have the image embedded in a small table with one column, two rows, so that a caption can be added below. A bit hard with BBCode but a useful thing anyway. :)

The Geek 02-20-2005 08:15 PM

Quote:

Originally Posted by SVTBlackLight01
How hard would it be to add another option to post the medium image from the gallery? Some of my full size images are HUGE

This may be especially useful for vBgallery users since there is currently no way to llimit the max full size dimensions.

GUess it wouldnt be too hard. I was going to do it but decided to focus on GAS3. Ill see what I can do (very busy right now though... so dont hold your breath!)

The Geek 02-20-2005 08:19 PM

Quote:

Originally Posted by tormodg
I have one HUGE wish for this thing: the option to align an image left or right. This is rather useful when using an image in an article. Right now I have a custom BBcode that does it for me but it won't work on the images I insert since they are displayed right away in the editor...any way this can be fixed?

And by the way...where is the actual code you put in generated? Maybe I can figure out a way to do this myself.

A second wish would be to have the image embedded in a small table with one column, two rows, so that a caption can be added below. A bit hard with BBCode but a useful thing anyway. :)

The insertion code is in the template (geek-gallery-popup). The alignment thing is quite a handy idea to have - Generally I just highlight the image after insertion and then click the alignment button (centered usually).

As far as the table insertion :surprised: I think it would have to be done with a combination of BB code - otherwise the HTML will get stripped out.

tormodg 02-20-2005 08:27 PM

Geek, that's strange because for me the alignment buttons don't do a thing for me when it comes to images. I need to align the image so that the text flows on the side of it. Clicking the alignment buttons just doesn't seem to have an effect on images.

Do you have HTML enabled in your forums? Could it possible be a Firefox issue? Hm...sorry for bugging you about this.

The Geek 02-20-2005 08:41 PM

Got me. Seems to work in FF and IE for me (saying that, my FF is using a standard editor). I just highlight the image/text and click the alignment button. In all fairness I dont think that wraps text around the image. I seem to think that the [img] tags get wrapped in a DIV.

Oddly enough I was going to tell you to ask someone here but - er, it turns out to be you as It looks like you have images inline with your text!

I dont have html enabled. You may want to look at the code for your [img] tag.

HTH's

tormodg 02-20-2005 09:24 PM

I'll try to append a style class to the code you generate to at least make the images default to a left-alignment. That would be fine for me.

But I found a bug: in the geek-gallery-popup you are missing a closing ] after the first URL statement. So it comes out as [URL[IMG...etc.


All times are GMT. The time now is 12:51 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.01672 seconds
  • Memory Usage 1,755KB
  • 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_php_printable
  • (2)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
  • (10)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