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?

NwM 08-01-2008 12:52 AM

Quote:

Originally Posted by sockwater (Post 1588786)
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?

I am using a tag called [img4]:

<img src="{param}" align="{option}" alt="" border="0" hspace="5" vspace="5" />

So ideally, I would like it to look for images inserted with the [img4] tag.

Thanks.

Alfa1 08-01-2008 12:58 AM

Interesting. What hack is that?

I am using this and would like to hide thumbs for this as well:

<img src="{param}" align="left" alt="left align image" style="border:4px;border-style:inset;background:{option}" hspace="6" vspace="3" />

NwM 08-01-2008 01:03 AM

Quote:

Originally Posted by Alfa1 (Post 1588826)
Interesting. What hack is that?

I am using this and would like to hide thumbs for this as well:

<img src="{param}" align="left" alt="left align image" style="border:4px;border-style:inset;background:{option}" hspace="6" vspace="3" />

Your tag is almost identical except you are manually specifying the alignment, right? So you have a separate tag for right, left, center, etc? I really don't care about background color, etc., but this addpon seems a good way to produce posts for news blocks in a CPM system page. :)

Alfa1 08-01-2008 01:09 AM

Indeed.

sockwater 08-01-2008 06:37 AM

Quote:

Originally Posted by NwM (Post 1588822)
So ideally, I would like it to look for images inserted with the [img4] tag.

Quote:

Originally Posted by Alfa1 (Post 1588826)
I am using this and would like to hide thumbs for this as well:

Download version 1.1 and you can now add any number of image bbcodes in the settings. So it will work for [img], [img4], [imgleft] etc.

Alfa1 08-01-2008 02:33 PM

I can't find the settings

NwM 08-01-2008 05:08 PM

I also cannot find the settings... Where is the options panel located that is shown in the third screenshot?

Thanks!

sockwater 08-04-2008 09:58 PM

Quote:

Originally Posted by Alfa1 (Post 1589204)
I can't find the settings

Quote:

Originally Posted by NwM (Post 1589334)
I also cannot find the settings... Where is the options panel located that is shown in the third screenshot?

Thanks!

vBulletin Options -> Hide Attached Thumbnails Options

NwM 08-04-2008 11:38 PM

Aaah... Very nice, thank you!

Alfa1 08-04-2008 11:46 PM

Great.

emtee 09-23-2008 10:47 PM

Very nice, thanks! This should be vB default imho.

f0rmat 09-23-2008 11:56 PM

is it work just wish jpg files?

barcena 09-24-2008 12:59 AM

I just installed and is unable by default but it dosn't seems to be working on my site 3.7.3. I can stil see the thumbnail on attached pictures, maybe i'm attaching a wrong type of extension, who knows.

lucky51 09-24-2008 11:12 AM

thanks working

mark as installed

rnixon 11-28-2008 08:38 AM

Many thanks, those thumbnails have always bothered me, good riddance!

3.6.8

kiwivc 11-29-2008 10:53 PM

3.6.8 PL2 installed/uninstalled. Didn't work for me unfortunately.

Alfa1 12-01-2010 02:15 PM

Does this work on vb4.1?

ykkrox 09-20-2011 07:36 PM

Quote:

Originally Posted by Alfa1 (Post 2127938)
Does this work on vb4.1?

It seems to work just fine in 4.1.6


Oops. There is a bug when I come back to the thread.
It updates fine when posting, but when you leave the thread and come back, the thumbnails aren't parsed out.

hgb 10-25-2011 07:20 PM

thanks for the mod:up:

Alfa1 05-21-2012 02:57 PM

Is there an alternative to this mod for vb4? or does anyone have a fix for this mod to make it work for vb4?


All times are GMT. The time now is 09:54 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.01198 seconds
  • Memory Usage 1,764KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (30)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete