vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   New BB tag to do image thumbnails... (https://vborg.vbsupport.ru/showthread.php?t=50882)

Boofo 03-27-2003 08:13 PM

Installing now. Great hack, my friend, as usual. ;)

Contact me later when you have time.

Zelda-King 03-27-2003 08:45 PM

I like it. I installed. The thing with using php for it though is if someone posts a corrupt URL for an image (non-existent or something) a php error flashes for a moment.

Smoothie 03-27-2003 09:18 PM

verys cool stuff.

Smoothie 03-27-2003 09:23 PM

Now how to add the vB code thumb button to the new reply vB code buttons.

LangTuDaTinh 03-27-2003 09:26 PM

Warning: getimagesize() [function.getimagesize]: HTTP request failed! HTTP/1.1 404 Not Found in /home/virtual/site3/fst/var/www/html/forums/admin/functions.php on line 972

Warning: getimagesize(http://www..com/users-images/2003/BeforeConcert8-vi.jpe) [function.getimagesize]: failed to create stream: Invalid argument in /home/virtual/site3/fst/var/www/html/forums/admin/functions.php on line 972

Warning: getimagesize() [function.getimagesize]: HTTP request failed! HTTP/1.1 404 Not Found in /home/virtual/site3/fst/var/www/html/forums/admin/functions.php on line 972

Warning: getimagesize(http://www..com/users-images/2003/Concert9-or.jpe) [function.getimagesize]: failed to create stream: Invalid argument in /home/virtual/site3/fst/var/www/html/forums/admin/functions.php on line 972

Zzed 03-27-2003 09:32 PM

Those links are no good. I copied and pasted the URL in my browser and it says page not found...

LangTuDaTinh 03-27-2003 09:43 PM

found the problem

must add @ before getimagesize($code);

but another problem is that in my postbit, if i use [thumb ] and [/thumb ] it display as my image link as text not thumbnail

for example, [thumb]http://mydomain.com/image.jpg[/thumb] it will display as http://mydomain.com/image.jpg

what is happen?

Zzed 03-27-2003 10:01 PM

That is because you have disabled the IMG tag for that particular forum. ;) You need to edit the forum properties in the Admin CP and allow IMG tags to be used. ;)

The tag behaves identical to the IMG tag and checks for IMG tag permissions per forum.

LangTuDaTinh 03-27-2003 10:12 PM

no, i have enable img that for that forum...

i'm testing it by post a post with two pics, 1 use thumb and other use img, img does display, other display as text

Zzed 03-27-2003 10:14 PM

Hmm... Interesting. Can you give me the URL for the thread on your board?


All times are GMT. The time now is 11:20 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.01171 seconds
  • Memory Usage 1,729KB
  • 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)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