Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Show image attachments as images instead of links Details »»
Show image attachments as images instead of links
Version: 1.00, by Slynderdale Slynderdale is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 02-07-2003 Last Update: Never Installs: 28
 
No support by the author.

I know theres a setting that allows you to show attached images instead of showing them as a link, but that will show every attached image, with this hack, when you post a new reply, a new thread or even edit a post, theres a option under attachments that allows you to choose if you want to show the image as a link or show the actual image, this also has support for swf flash movie attachments as well.

Theres two settings for this, one allows you to enable and disable this hack and another allows you to have it so only admin's can use this.

This hack is pretty self-explanatory but ill show screen shots.

https://vborg.vbsupport.ru/attachmen...&postid=326782

(Screen shots are from a multiple attachment hack I'm working on)

As you can see, the images are actually shown instead of being shown as links.

Also this also prevents attachments from caching, some of you might of experienced this by downloading a new version of a hack but got an old version, I added a fix for that in this hack as well.

This goes for all my hacks, the only thing I ask of in return for using this hack on your forum is to click Install.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 02-08-2003, 08:21 PM
corsacrazy's Avatar
corsacrazy corsacrazy is offline
 
Join Date: May 2002
Location: london
Posts: 854
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i love the multiple attahment hack ! i have a request 4 it already ! thre shood b one box like there is on vb as standard ! then a link saying upload multiple ! u click that and u get a prompt askin how many u wont ot upload etc maybe that cood work or am i soundin stupid ! i like this other hack !
Reply With Quote
  #3  
Old 02-09-2003, 01:13 AM
Neo's Avatar
Neo Neo is offline
 
Join Date: Oct 2001
Location: Anywhere
Posts: 1,817
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a default vb option fuwl.
Reply With Quote
  #4  
Old 02-09-2003, 01:30 AM
Sebastian's Avatar
Sebastian Sebastian is offline
 
Join Date: Oct 2002
Location: America
Posts: 488
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Neo
This is a default vb option fuwl.
i guess you did not read very well fuwl .. the hack allows the user to specify if the image is shown or linked when posting an attachment.
Reply With Quote
  #5  
Old 02-09-2003, 05:44 AM
Slynderdale Slynderdale is offline
 
Join Date: Mar 2002
Location: New York State
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Neo
This is a default vb option fuwl.
Yes I know, I explained it above, what makes this different is that you can choose if you want to show each attachment as an image or link, you have a choice when you post, but with the defsault vb option, it shows all the links no matter what.
Reply With Quote
  #6  
Old 02-09-2003, 05:48 AM
Slynderdale Slynderdale is offline
 
Join Date: Mar 2002
Location: New York State
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This also works for swf flash files as well, the built in vb option didnt have that.
Reply With Quote
  #7  
Old 02-09-2003, 10:13 AM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
I also wanna thank Mist for testing this hack for me.
So you finaly got it working ? What was the problem ?

- miSt
Reply With Quote
  #8  
Old 02-09-2003, 10:40 AM
Slynderdale Slynderdale is offline
 
Join Date: Mar 2002
Location: New York State
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Mist


So you finaly got it working ? What was the problem ?

- miSt
I forgot to add the globals that were needed it in the install file lol
Reply With Quote
  #9  
Old 02-09-2003, 12:11 PM
partang2 partang2 is offline
 
Join Date: Jun 2002
Location: Norway
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Neo
This is a default vb option fuwl.
And you think you are.....? :tired:

Nice hack m8! Thanks!
Reply With Quote
  #10  
Old 02-09-2003, 01:05 PM
geezzaa geezzaa is offline
 
Join Date: Dec 2002
Location: uk
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey.
From the picture link, This hack is just what i needed.
so i opened the text document and...........wtf
Im only a beginer, how do you do all this.
Could you please add some instructions for us less programming people.
Thanks
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 03:35 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04786 seconds
  • Memory Usage 2,288KB
  • Queries Executed 23 (?)
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
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete