Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 04-25-2002, 03:58 PM
brianoneill brianoneill is offline
 
Join Date: Apr 2002
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Flash in posts

Is there an easy way to upload flash movies into posts so that they are viewable in the message area?

We use our forum as a company intranet so I am not worried about the usual security issues with flash on open forums.

All I need is a way to upload the movies into a post so that the flash movies actually play in the post.

I searched the posts, I know you can do it by referencing a remote swf file but I want to be able to attached the file to the post.

Its for our designer who is not very technical so I need something easy to use.

Thanks in advance.
Reply With Quote
  #2  
Old 04-26-2002, 12:45 AM
Reeve of shinra's Avatar
Reeve of shinra Reeve of shinra is offline
 
Join Date: Oct 2001
Location: NYC
Posts: 1,896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can specify types of files that are allowed to be uploaded in the admin panel, as to making it play the movie, maybe you can take a que from how it handles jpgs ....

*waits for someone who knows what there really doing to come along*
Reply With Quote
  #3  
Old 04-26-2002, 02:42 AM
scsa20's Avatar
scsa20 scsa20 is offline
 
Join Date: Mar 2002
Location: Mars
Posts: 458
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

$hit (sorry for my language), this is easy to do, just go to your admin cp and go to:
Custom vB Codes>Add

and put in the following:

vB Code tag: flash
vB Code replacement: < embed src={param } type=application/x-shockwave-flash>< /embed>
vB Code example: [flash ]Your URL to your flash movie just for an ex.[ /flash]
vB Code explanation: Your own explanation
Use {option } ?: No

remember, to remove spaces from [ and flash] and [ and /flash] and anything that's < and > and also anything between { and }

good luck
Reply With Quote
  #4  
Old 04-26-2002, 07:40 AM
brianoneill brianoneill is offline
 
Join Date: Apr 2002
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah I know that method, but the thing is I want to be able to upload the flash movie into the forum not reference it from a remote site.

Brian
Reply With Quote
  #5  
Old 11-24-2002, 04:31 AM
Julio Julio is offline
 
Join Date: Oct 2002
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way I can set width and height for the flash files? All of the flash files are shown in a small box. I need some to be show as 449 x 82, etc.
Reply With Quote
  #6  
Old 05-11-2005, 09:12 PM
FD929's Avatar
FD929 FD929 is offline
 
Join Date: Feb 2005
Location: California
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Julio
Is there a way I can set width and height for the flash files? All of the flash files are shown in a small box. I need some to be show as 449 x 82, etc.
The replacement code should have been:
Code:
<embed src={param} width=600 height=750 type=application/x-shockwave-flash></embed>
with the width and height adjusted to your liking.
Reply With Quote
  #7  
Old 05-12-2005, 01:18 AM
Ayumu Yumi's Avatar
Ayumu Yumi Ayumu Yumi is offline
 
Join Date: Feb 2005
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You should use caution when allowing users to upload flash objects into their posts as flash is just as dangerous as HTML (cookie stealing, virus linking, etc.)

Code:
<embed src="{param}" width="600" height="750" type="application/x-shockwave-flash"></embed>
I like to quote parameters
Reply With Quote
  #8  
Old 06-12-2005, 10:52 AM
Snitz Snitz is offline
 
Join Date: Sep 2004
Location: Lebanon
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there a way to let users choose their own dimensions ?
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 04:23 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.07457 seconds
  • Memory Usage 2,229KB
  • Queries Executed 13 (?)
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_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)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
  • 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