vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Show Thread Enhancements - Hide thumbnails for images that are inlined in the post with the [img] tag (https://vborg.vbsupport.ru/showthread.php?t=184213)

sockwater 07-01-2008 10:00 PM

Hide thumbnails for images that are inlined in the post with the [img] tag
 
This mod does what the title says. If you attach images to a post and then use the [IMG] bbcode to display the image in your post, then the thumbnail for it at the bottom will be hidden.

This mod works with the built-in [IMG] bb code, and can also work with your custom image bbcodes.

To install, just import the product XML file.


Before:

https://vborg.vbsupport.ru/attachmen...1&d=1215030405

After:

https://vborg.vbsupport.ru/attachmen...1&d=1215030405

MissKalunji 07-02-2008 10:52 PM

ahh that's good thanks!

elmati 07-03-2008 02:21 AM

COOL!
really useful :)

thanks a lot!

NAZIA 07-03-2008 02:22 AM

hmm. not bad idea...

Q-v-n-s-Q 07-03-2008 08:52 AM

good idea, thanks

sockwater 07-03-2008 04:33 PM

Glad you like it! :)

Alfa1 07-03-2008 07:20 PM

Superrrr!

maxicep 07-04-2008 02:05 PM

Good Idea, thx

NwM 07-30-2008 02:50 AM

Hello,

This is just what I have been looking for. I'm still a bit new to PHP coding, and I have this question:

Is it possible to modify this plugin to look for an attachment inserted into the post using a custom BBCode tag instead of [IMG] ? I want to use a custom tag that inserts the image and allows for text wrapping and image alignment.

Thanks!

sockwater 08-01-2008 12:03 AM

It only looks for the [img] tag. But it would be simple to modify it to work with your custom image bbcodes. What are your bbcodes?


All times are GMT. The time now is 01:08 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.01187 seconds
  • Memory Usage 1,725KB
  • 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
  • (2)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