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)

greenhybrid 05-01-2005 12:43 AM

Oh, yes. I found out about the paste thing when working on a CMS. How are you able to insert the image, then?

The Geek 05-01-2005 07:38 AM

Quote:

Originally Posted by greenhybrid
Oh, yes. I found out about the paste thing when working on a CMS. How are you able to insert the image, then?

there is a insertImage function that does that. THere is also an insert link function - however you cant mix the two :(

aberg 05-01-2005 10:33 AM

Quote:

Originally Posted by The Geek
whats the other db name and what is your prefix?

vbulletin: bouv_nl_-_vbull
Photopost:bouv_nl_-_fotopost

prefix: pp_

The Geek 05-01-2005 11:23 AM

Quote:

Originally Posted by aberg
vbulletin: bouv_nl_-_vbull
Photopost:bouv_nl_-_fotopost

prefix: pp_

it looks like mysql doesnt like your DB naming convention. I think it thinks you are trying to do a computation with an opperand '-'.

you could always remove the prefix,
then before the query do something like:
$DB_site->select_db('bouv_nl_-_fotopost');

Then after the query, change it back:
$DB_site->select_db('bouv_nl_-_vbull');

greenhybrid 05-01-2005 03:19 PM

Quote:

Originally Posted by The Geek
there is a insertImage function that does that. THere is also an insert link function - however you cant mix the two :(

Can you make your own?

The Geek 05-02-2005 07:00 AM

Quote:

Originally Posted by greenhybrid
Can you make your own?

not to my knowledge.

Alan2525 05-09-2005 05:45 PM

I get the exact same problems as LarryD

Any ideas as to how to get around this?

Error message as below when clicking on [Open] in a new thread

Warning: getimagesize(http://www.battlefield40k.com/photo/..._9_thumb.jpg): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /geek-gallery-popup.php on line 198

Warning: getimagesize(http://www.battlefield40k.com/photo/...ne_thumb.jpg): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /geek-gallery-popup.php on line 198

Warning: getimagesize(http://www.battlefield40k.com/photo/...ck_thumb.jpg): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /geek-gallery-popup.php on line 198

Warning: getimagesize(http://www.battlefield40k.com/photo/...14_thumb.jpg): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /geek-gallery-popup.php on line 198

Warning: getimagesize(http://www.battlefield40k.com/photo/...22_thumb.jpg): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /geek-gallery-popup.php on line 198

Warning: getimagesize(http://www.battlefield40k.com/photo/...or_thumb.jpg): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /geek-gallery-popup.php on line 198

Warning: getimagesize(http://www.battlefield40k.com/photo/...no_thumb.jpg): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /geek-gallery-popup.php on line 198

Warning: getimagesize(http://www.battlefield40k.com/photo/...48_thumb.jpg): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /geek-gallery-popup.php on line 198
My Pictures

Allan 05-10-2005 07:39 PM

Thanks Geek, very good Hack ;)

~~~~~~~~~~~~~~~~~~~~~~~~
Click install
~~~~~~~~~~~~~~~~~~~~~~~~

Allan 05-11-2005 06:16 AM

Hey Geek :)

It would be possible to add the button in them "Quick reply" ?

greenhybrid 05-14-2005 12:09 AM

To keep the popup from showing up under Who's Online, add this under DEFINE IMPORTANT CONSTANTS in geek-gallery-popup.php:
PHP Code:

define('LOCATION_BYPASS'1); // Don't show popup as location in Who's Online 



All times are GMT. The time now is 12:37 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.01516 seconds
  • Memory Usage 1,745KB
  • 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
  • (5)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