vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   Check for valid linked image and resize if too large (https://vborg.vbsupport.ru/showthread.php?t=53433)

Xxman 01-02-2004 10:14 PM

Cool ! I'll try it .
Thanks.

Royal 01-08-2004 12:32 PM

i saw this option on an other dutch forum (not vbulletin) isnt is posible to make the hack like this :

http://forum.fok.nl/showtopic.php/447356


so when u click on it that it opens in a popup with a clickable close on it :)

this is what QiQme is meaning

Xxman 01-09-2004 10:49 PM

Quote:

Originally Posted by Xxman
Cool ! I'll try it .

Damn! It doesent work for me on Vbulletin..

I put this :
PHP Code:

<script type="text/javascript" src="http://www.mysite.com/portal/image.js"></script

into my vbulletin header template and this :
PHP Code:

<SCRIPT language=javascript>check_images();</SCRIPT

into my vbulletin footer template after uploaded image.js into www.mysite.com/portal folder..

Why not work ??

QiQme , what does it mean this piece of code?
PHP Code:

if(!url.match(/vwforum.nl/) && !url.match(/athena.webmagix.net/)){ 


Xxman 01-13-2004 07:28 PM

..anybody ? :(

Aaron1 01-16-2004 10:25 AM

I am in the dark too XXman, i would love to see this hack work properly too.

The example over at: http://forum.fok.nl/showtopic.php/447356
Is exaclty how it should be done, although i really have no clue how they have done that, or how to incorporate it into vbulletin.

So if someone could help us out i would be eternally gratefull!

QiQme 01-17-2004 12:52 PM

Quote:

Originally Posted by Xxman
Damn! It doesent work for me on Vbulletin..

I put this :
PHP Code:

<script type="text/javascript" src="http://www.mysite.com/portal/image.js"></script

into my vbulletin header template and this :
PHP Code:

<SCRIPT language=javascript>check_images();</SCRIPT

into my vbulletin footer template after uploaded image.js into www.mysite.com/portal folder..

Why not work ??

QiQme , what does it mean this piece of code?
PHP Code:

if(!url.match(/vwforum.nl/) && !url.match(/athena.webmagix.net/)){ 


Just change vwforum.nl and athena.webmagix.net to yoursite.com

QiQme 01-17-2004 12:55 PM

In the attachement ( https://vborg.vbsupport.ru/showpost....3&postcount=16 ) you can see that it works.

There's just nothing more to say about it i think.

Aaron1 01-17-2004 02:06 PM

Hey thanks!

That works perfect, well almost it does, the only problem i have now is that the pop-up has some white space above the enlarged image. Strange, although the pop-ups on the the example page: http://forum.fok.nl/showtopic.php/447356

Doesn't have that ugly whitespace. Any clues?

Hmm, i just checked and i think they used an image.php document, with unknown contents...

Also on your example zip file, the image in the pop-up is cropped somehow, it doesn't show the complete image... Argh :)

Xxman 01-17-2004 03:37 PM

Quote:

Originally Posted by QiQme
Just change vwforum.nl and athena.webmagix.net to yoursite.com

I'm a fool ..

TheLab 01-18-2004 01:08 PM

QiQme thats a great idea and it works great on IE, but not on Netscape/Opera/Mozilla. Is there any code fix for this?


All times are GMT. The time now is 06:13 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.01202 seconds
  • Memory Usage 1,747KB
  • 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
  • (6)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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