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)

tormodg 01-21-2005 05:43 AM

Quote:

Originally Posted by the nail geek
Therefore I can change it to insert just a large or small image, just not link it!

Do you mean that you can get the image to display after posting, but not make it clickable?

For me that would be nice anyway because it's more important to get the images in. I can link manually if I need to, then we can get the rest sorted eventually.

I'd really like to help out with this...I'll hear with my dev team if anyone has a clue about this. They are mostly firefoxers and linux freaks, though.

The Geek 01-21-2005 06:26 AM

Quote:

Originally Posted by tormodg
Do you mean that you can get the image to display after posting, but not make it clickable?

For me that would be nice anyway because it's more important to get the images in. I can link manually if I need to, then we can get the rest sorted eventually.

I'd really like to help out with this...I'll hear with my dev team if anyone has a clue about this. They are mostly firefoxers and linux freaks, though.

Thats exactly what I mean. Let me see if I can squeeze out the time for the image insertion... that part wasnt hard (just run the execcommand(insertimage,false,imagepath)

tormodg 01-21-2005 06:53 AM

Quote:

Originally Posted by the nail geek
Thats exactly what I mean. Let me see if I can squeeze out the time for the image insertion... that part wasnt hard (just run the execcommand(insertimage,false,imagepath)

That's great, nail geek. Your GAS is a perfect example of how things should work in this world. ;)

marinefiend 01-21-2005 08:50 PM

Nice, but only one problem I am having is that the box show but no photo's?

The Geek 01-21-2005 08:57 PM

Quote:

Originally Posted by marinefiend
Nice, but only one problem I am having is that the box show but no photo's?

Hey there, have you checked the paths?
Can you post a screenie of the box?
Double check the phrases installed by editing a random geek phrase (just do a phrase search for geek_ variable). Dont change the phrase, just edit and save... sometimes there is an issue with the phrases being built and that sorts it.

If the user has no pics, it should say something like 'sorry, your dont have any freaking pics'.


About the Mozilla WYSIWYG problem -> I honestly didnt get around to it today and I am pretty much out of o here for a couple of days (except for quick check-ins).
I am really sorry bout that guys! I promise to get the Mozilla insert image function going asap (cant make it clickable though!).

nJoy

marinefiend 01-21-2005 11:40 PM

Well, I would do exactly what you say but I am still learning all this as my site is brand new, and I am still learning PHP and all the techno

So you have me lost with the phrase search?

And I have not got a screen capture prog, as I have yet to get a good one.

But I can tell you the box shows right where you said it would under the smiles, you can highlight the box and where the [More] shows only [ ] would be or whatever there is nothing, but when you run the curser over it it shows you the My Image text at the pointer - so I know it's working, it is not pulling from my pictures ?

marinefiend 01-22-2005 12:23 AM

:disappointed: Oh i, got something now, I can now get the show images link, getting the poppup window but blank, Dam

The Geek 01-25-2005 07:09 PM

Anyone want to check the mozilla functions for me before I update the package?

try replaceing the geek-photo-popup template with this:
PHP Code:

$stylevar[htmldoctype]
<
html dir="$stylevar[textdirection]lang="$stylevar[languagecode]">
<
head>
<
title>$vbphrase[geek_gallery_my_pictures]</title>
$headinclude
 
<script language="JavaScript" type="text/JavaScript">
<!--
window.resizeTo(($windowwidth 150),($windowheight+<if condition="$show['popups']">200<else />350</if>));
<if 
condition="$show['closewindow']">
self.close();
<else />
self.focus();
</if>
 
function 
sendLink(mysource,mydestination,title,ispopup) {
 
try{
 
    
opener.htmlwindow.focus();
if (
is_ie){
    if (
ispopup=="1"opener.htmlbox.selection.createRange().pasteHTML("<a href='" mydestination +"' target='_blank' title='" title "'><img src='" mysource "' ALT='" title "'></a>");
 
    if (
ispopup=="0"opener.htmlbox.selection.createRange().pasteHTML("<img src='" mysource "' ALT='" title "'>");
}else{
    
alert("Hi there!");
    
opener.htmlbox.execCommand('InsertImage'falsemydestination);
}
}catch(
errorObject){
 
    
BodyVal opener.document.vbform.message.value;
 
    if (
ispopup=="1"opener.document.vbform.message.value BodyVal '[img]https://vborg.vbsupport.ru/[/img]';
opener.document.vbform.message.value BodyVal '[img]https://vborg.vbsupport.ru/[/img]';
}
    
self.close();
}
-->
</
script>
</
head>
<
body>
<
table cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%">
<
tr>
 
    <
td align="left" class="vbmenu_control" width="100%"><b>$vbphrase[geek_gallery_my_pictures]</b></td>
    <if 
condition="$show['popups']">
        <
td class="vbmenu_control" id="a" align="right"><a href="#a">$vbphrase[geek_gallery_insert_tools]</a>
    <
script type="text/javascript">vbmenu_register("a");</script>
</
td>
<else />
</
tr>
</
table>
<
br />
     <
table align="center" border="0" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]class="tborder" width="100%">
     <
tr align="left">
     <
td class="alt1" width="$navbarwidth"><span class="smallfont">
    <
ul><if condition="!is_browser('mozilla')">
    <
li><a href="geek-gallery-popup.php?$session[sessionurl]method=gallery&start=$start">$vbphrase[geek_gallery_insert_gallery]</a></li>
                        <
li><a href="PHP_SELF?$session[sessionurl]method=clickthumb&start=$start">$vbphrase[geek_gallery_insert_clickthumb]</a></li>
<
li><a href="PHP_SELF?$session[sessionurl]method=thumb&start=$start">$vbphrase[geek_gallery_insert_thumb]</a></li>
                        <
li><a href="PHP_SELF?$session[sessionurl]method=large&start=$start">$vbphrase[geek_gallery_insert_large]</a></li>
<else />
<
li><a href="PHP_SELF?$session[sessionurl]method=thumb&start=$start">$vbphrase[geek_gallery_insert_thumb]</a></li>
                        <
li><a href="PHP_SELF?$session[sessionurl]method=large&start=$start">$vbphrase[geek_gallery_insert_large]</a></li>
</if>
</
ul>
</
td>
</if>
</
tr>
</
table>
<
table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%">
$mypicrow
</table>
<
table cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%">
<
tr class="vbmenu_control"><td align="left"><if condition="$prev>-1"><a href="geek-gallery-popup.php?start=$prev"><b>$vbphrase[geek_gallery_back]</b></a><else />&nbsp;</if>
</
td><td align="right"><if condition="$next>-1"><a href="geek-gallery-popup.php?start=$next"><b>$vbphrase[geek_gallery_next]</b></a><else />&nbsp</if>
</
td></tr></table>$DP_CLOSE
<if condition="$show['popups']">
    <!-- 
insert tools menu -->
    <
div class="vbmenu_popup" id="a_menu" style="display:none">
        <
table cellpadding="4" cellspacing="1" border="0">
<if 
condition="!is_browser('mozilla')">
        <
tr><td class="vbmenu_option"><if condition="$method=='gallery'"><b>$vbphrase[geek_gallery_insert_gallery]</b><else /><a href="geek-gallery-popup.php?$session[sessionurl]method=gallery&start=$start">$vbphrase[geek_gallery_insert_gallery]</a></if></td></tr>
        <
tr><td class="vbmenu_option"><if condition="$method=='clickthumb'"><b>$vbphrase[geek_gallery_insert_clickthumb]</b><else /><a href="geek-gallery-popup.php?$session[sessionurl]method=clickthumb&start=$start">$vbphrase[geek_gallery_insert_clickthumb]</a></if></td></tr>
        <
tr><td class="vbmenu_option"><if condition="$method=='thumb'"><b>$vbphrase[geek_gallery_insert_thumb]</b><else /><a href="geek-gallery-popup.php?$session[sessionurl]method=thumb&start=$start">$vbphrase[geek_gallery_insert_thumb]</a></if></td></tr>
        <
tr>
    <
td class="vbmenu_option">
     <if 
condition="$method=='large'">
     <
b>$vbphrase[geek_gallery_insert_large]</b>
     <else />
     <
a href="geek-gallery-popup.php?$session[sessionurl]method=large&start=$start">$vbphrase[geek_gallery_insert_large]</a>
     </if>
</
td>
</
tr>
<else />
        <
tr><td class="vbmenu_option"><if condition="$method=='thumb'"><b>$vbphrase[geek_gallery_insert_thumb]</b><else /><a href="geek-gallery-popup.php?$session[sessionurl]method=thumb&start=$start">$vbphrase[geek_gallery_insert_thumb]</a></if></td></tr>
        <
tr>
    <
td class="vbmenu_option">
     <if 
condition="$method=='large'">
     <
b>$vbphrase[geek_gallery_insert_large]</b>
     <else />
     <
a href="geek-gallery-popup.php?$session[sessionurl]method=large&start=$start">$vbphrase[geek_gallery_insert_large]</a>
     </if>
</
td>
</
tr>
</if>
        </
table>
    </
div>
    <!-- / 
insert tools menu -->
<
script type="text/javascript">
</if>
<!--
    
// Main vBulletin Javascript Initialization
    
vBulletin_init();
 
    
// Initialize 'Active' Table Cells
    //activecells_init();
//-->
</script>
</
body>
</
html


tormodg 01-26-2005 07:43 AM

Quote:

Originally Posted by the nail geek
Anyone want to check the mozilla functions for me before I update the package?

Geek, I've been swamped with work for the past few days but I'll see if I can give this a shot later today.

Ghostsuit 01-27-2005 02:17 AM

Quote:

Originally Posted by the nail geek
Anyone want to check the mozilla functions for me before I update the package?

try replaceing the geek-photo-popup template with this:

Nope it pop's up a command box saying Hi There and places a image link in that is...
http://www.inyourcity.com/gallery/showimage.php?i=6

Not the actual location which should be
http://www.inyourcity.com/gallery/files/1/1-clyde_5.jpg

I'd look at the code but it's 4am so I'm going to bed it's probably something really simple as well.


All times are GMT. The time now is 03:32 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.01347 seconds
  • Memory Usage 1,837KB
  • 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_php_printable
  • (6)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