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

Reply
 
Thread Tools Display Modes
  #1  
Old 02-07-2011, 03:48 PM
kether1 kether1 is offline
 
Join Date: Jun 2006
Posts: 232
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default deleted image in album causes deleted image in forum post

Is there any way to keep images in forum threads that have been linked to from member albums? Here is the issue:

Member A creates an album of photos. Then goes into the forum and posts a question using one or more photos from his album. The thread plays out over the next few days and Member A gets his question answered.

Member A then goes to his album where he originally posted his photos and decides that since his question is answered, he no longer needs the photo(s) in his album. SO, he deletes the photo or perhaps the entire album. Now, when visiting the thread created by Member A, visitors and members only see a red x or missing image. This ruins the thread for future use since no one can see the original image.

I have turned off the ability to delete images attachments to posts in the forum, but this doesn't seem to stop the member from deleting the image from his album and thus, the image linked to that album through the bbcode.

I know I can just remove the ability to delete photos and albums, but this is counter productive since why would anyone upload images into an album that they cannot organize and change? So for now, I don't use the vb albums - which I believe my members would really enjoy.

I am looking for a way to 'save' the image once it is posted to a thread - even if it is deleted in the member album. Is this possible? If so, how?

Thanks,
Kether
Reply With Quote
  #2  
Old 02-07-2011, 04:29 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It depends on how the user goes about putting the image into the thread. If they used the Attachment Manager and inserted it, then deleted the album photo, then it would remain. If they just used the [ img ] tag to insert it (linking directly to the album image) and then deleted the album image, then yes, you will get a broken link.
Reply With Quote
  #3  
Old 02-08-2011, 03:32 PM
kether1 kether1 is offline
 
Join Date: Jun 2006
Posts: 232
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Lynne,

Thank you for your response. Can you suggest any code edit or change I can make to make sure that only the attachment manager could be used for images in one's album. Is there a way to not allow members to then link to images in the albums but instead only insert the image?

Thanks!
Kether
Reply With Quote
  #4  
Old 02-08-2011, 04:23 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can disallow the use of [ img ] tags in your forums in the Forum Manager > Allow [IMG] Code > no.
Reply With Quote
  #5  
Old 02-08-2011, 05:29 PM
kether1 kether1 is offline
 
Join Date: Jun 2006
Posts: 232
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
You can disallow the use of [ img ] tags in your forums in the Forum Manager > Allow [IMG] Code > no.
Lynne, that would make it so that no img could be linked in the forum. I don't want to do that as images are a big part of the posts on my forum. I only want to disable img links from the albums. Thoughts?

Kether
Reply With Quote
  #6  
Old 02-08-2011, 06:10 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, they are probably copying the code from the area that says "BB Code" on the image album page. So, you could probably just edit that out of the album_pictureview template. You could also post a notice/annoucement telling users how you would like them to attach album images to their posts.
Reply With Quote
  #7  
Old 02-09-2011, 12:16 AM
kether1 kether1 is offline
 
Join Date: Jun 2006
Posts: 232
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
Well, they are probably copying the code from the area that says "BB Code" on the image album page. So, you could probably just edit that out of the album_pictureview template. You could also post a notice/annoucement telling users how you would like them to attach album images to their posts.
Thanks. I guess I was hoping that there was some way to do this without having to edit code. I appreciate your time and all of your responses. Thank you.
Reply With Quote
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 01:39 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.03855 seconds
  • Memory Usage 2,214KB
  • Queries Executed 11 (?)
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
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)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_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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete