Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 04-07-2012, 02:49 PM
Irishnotsane Irishnotsane is offline
 
Join Date: Apr 2012
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Attachment Display

When a user hits the "Insert Image" button, and uploads files, it adds [ATTACH] tags around it.. thus preventing it showing up in the "Attachment" box where I've limited it to 5 images per row.

Is there is way to remove that so that no matter how they attach/upload images to my forum, it'll always be posted in the Attachment box (where is says "Attached Thumbnails")

As I've noticed that if I simply edit the post, and remove all [ATTACH] #no here [;/ATTACH] tags, it displays it the way I want..

I run version 4.1.11
If you need me to elaborate then I'll do so.
Many thanks
Reply With Quote
  #2  
Old 04-07-2012, 04:49 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what do you have set for AdminCP > Settings > Options > message attachment options > view attached images inline ?
Reply With Quote
Благодарность от:
Irishnotsane
  #3  
Old 04-08-2012, 04:38 PM
Irishnotsane Irishnotsane is offline
 
Join Date: Apr 2012
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's set at "Yes, display thumbnails"

However I assume if I do this then the mod "Thread Thumbnails" won't work
Reply With Quote
  #4  
Old 04-08-2012, 05:17 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have no idea what modification you are talking about.

If you are not seeing the thumbnails, perhaps they need to be rebuilt in Maintenance > General Update Tools > Rebuild Attachment Thumbnails
Reply With Quote
  #5  
Old 04-08-2012, 06:23 PM
Irishnotsane Irishnotsane is offline
 
Join Date: Apr 2012
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nono, I can see thumbnails fine.
I'll show you a preview of what a mean:

When a member at my forum uploads attachment via "Manage Attachment" button displayed on Advanced Edit or New Thread, it comes out like this:



However, when a member used thge "Insert Image" BBCode it comes out like this:



This causes attachments to not inherit the 5 images per row setting I set up in vB options, so it makes my forum look messy when users post a load of attachments

Is there a way to disable users from posting attachments inline so that it forces them to post it in the "Attachment Thumbnails" box, so that it's limited to 5 images per row like I set up in my vBoptions.
Attached Images
File Type: jpg Untitled.jpg (27.5 KB, 0 views)
File Type: png Untitle2d.png (131.8 KB, 0 views)
Reply With Quote
  #6  
Old 04-09-2012, 03:16 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You could set AdminCP > Settings > Options > message attachment options > view attached images inline to No, but that will just mean they aren't shown inline. I can't think of how you can remove the option to put them inline. There is no option to disallow a user to use the [ATTACH] bbcode if they are allowed to upload attachments.
Reply With Quote
  #7  
Old 04-09-2012, 01:48 PM
Irishnotsane Irishnotsane is offline
 
Join Date: Apr 2012
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah, see then when someone posts attachments via "Insert an Image" it only displays the name of the file uploaded.

Is there not a MOD or edit that adds the option of...

... >> View Attached Images Inline >> Yes, display in attachment box

Is it even remotely possible?
Thanks for your replies by the way Lynne!
Reply With Quote
  #8  
Old 04-09-2012, 03:07 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have no idea if there is a mod. You may try a search on "attachment*" or "image*" or similar in the Mods forums for one.

I don't know of a good way for you to do this, sorry.
Reply With Quote
  #9  
Old 04-09-2012, 08:28 PM
LifesGreatestGift's Avatar
LifesGreatestGift LifesGreatestGift is offline
 
Join Date: Jul 2009
Location: Louisville, KY USA
Posts: 885
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have successfully accomplished what you are looking for. Check your PM.
Reply With Quote
Благодарность от:
Irishnotsane
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:45 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.04107 seconds
  • Memory Usage 2,262KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (2)post_thanks_box_bit
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (2)postbit_attachment
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_attachment
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete