Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
BB Code (flash animations .swf) Details »»
BB Code (flash animations .swf)
Version: 1.1, by SEW810 SEW810 is offline
Developer Last Online: Nov 2022 Show Printable Version Email this Page

Category: BB Code Enhancements - Version: 4.0.3 Rating:
Released: 02-05-2010 Last Update: 05-03-2010 Installs: 87
Additional Files  
No support by the author.

What does it do?
This BB Code allowes to insert .swf animations into your posts or user's signatures.
When you click on "F" button (see zip file) you have to do this:
1.- Enter height and width values (see screenshot 1)
2.- Enter your .swf URL (see screenshot 2)
3.- That's all !!

Demo
http://www.seusers.com/foro/142266-post20.html (Signature)

Works with vb 3.8.x??
Yes

How to install?
Upload image form zip file.

Goto AdminCp->Custom BB Codes->Add new BB Code
Code:
Title: Flash BB Code
BB Code Tag Name : swf
Replacement:

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" {option} id="Untitled-1" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="{param}" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<param name="wmode" value="transparent">
<param name="menu" value="false"/>
<embed src="{param}" quality="high" bgcolor="#ffffff" {option} wmode="transparent" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="Adobe - Adobe Flash Player" />
</object>


Example: [swf="height=100 width=400"]http://www.seusers.com/intro.swf[/swf]
Description: This BB Code allowes to insert .swf animations into your posts or user's signatures.
Use {option}: Yes
Button Image (Optional) : Upload from zip file to /images/editor or /your_style/images/editor if you are not using vbulletin default style.
Remove Tag If Empty: Yes
Disable BB Code Within This BB Code: No
Disable Smilies Within This BB Code: No
Disable Word Wrapping Within This BB Code: No (Not available in 3.8.x or lower, just omit it)
Disable Automatic Link Parsing Within This BB Code: Yes (Not available in 3.8.x or lower, just omit it)
History
  • 1.0 Release
  • 1.1 Fixed some code. Now working with vb 3.8.x and 4.0.3

Download Now

File Type: zip flash_bb_code.zip (3.1 KB, 562 views)

Screenshots

File Type: jpg scr1.jpg (43.6 KB, 0 views)
File Type: jpg scr2.jpg (22.0 KB, 0 views)
File Type: jpg scr3.jpg (60.5 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
sergiomc

Comments
  #22  
Old 05-04-2010, 03:03 PM
SEW810's Avatar
SEW810 SEW810 is offline
 
Join Date: Mar 2008
Location: M?xico City
Posts: 274
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Rare, it's working for me, url truncated or not BB Code works anyway
See https://vborg.vbsupport.ru/attachmen...9&d=1272955427

.txt added to zip file
Reply With Quote
  #23  
Old 05-05-2010, 11:16 PM
Daniel_HBK Daniel_HBK is offline
 
Join Date: Feb 2006
Location: Egypt
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i'm using this replacement :-

Code:
<object><embed src="{param}" {option} allowScriptAccess ="never" type="application/x-shockwave-flash"></embed></object>
Reply With Quote
  #24  
Old 05-17-2010, 01:25 PM
NNJJ NNJJ is offline
 
Join Date: Dec 2001
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thats cool

thanks!
Reply With Quote
  #25  
Old 05-20-2010, 04:59 AM
Dr.osamA's Avatar
Dr.osamA Dr.osamA is offline
 
Join Date: Aug 2004
Location: Syrie
Posts: 979
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanxx foor update bro
Reply With Quote
  #26  
Old 05-20-2010, 11:31 AM
NNJJ NNJJ is offline
 
Join Date: Dec 2001
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

its working fine with me but size too small!
Reply With Quote
  #27  
Old 05-21-2010, 03:06 AM
SEW810's Avatar
SEW810 SEW810 is offline
 
Join Date: Mar 2008
Location: M?xico City
Posts: 274
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you can always change red values dude for bigger size

[swf="height=100 width=400"]http://www.seusers.com/intro.swf[/swf]
Reply With Quote
  #28  
Old 05-21-2010, 07:25 AM
NNJJ NNJJ is offline
 
Join Date: Dec 2001
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SEW810 View Post
you can always change red values dude for bigger size

[swf="height=100 width=400"]http://www.seusers.com/intro.swf[/swf]

what if i dont want a size; can i remove it so it will take whatever size user going to put?

i cant see what ur saying
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/s...ersion=7,0,0,0" {option} id="Untitled-1" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="{param}" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<param name="wmode" value="transparent">
<param name="menu" value="false"/>
<embed src="{param}" quality="high" bgcolor="#ffffff" {option} wmode="transparent" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="Adobe - Adobe Flash Player" />
</object>
Reply With Quote
  #29  
Old 06-25-2010, 06:23 AM
ti07shadow ti07shadow is offline
 
Join Date: Apr 2008
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" {option} id="Untitled-1" align="middle">

lets see

whats stopping me from doing this... (entering this data when posting the swf tags with option)


<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" onLoad="window.location.href = "http://www.whatever.com";" id="Untitled-1" align="middle">

thats a good way to either deliver people to malicious sites or even better redirect member traffic


Also no offense but loading the web page is interacting with EVERYTHING on the page

there's websites that all you have to do is go to them to get a virus or malware.

also this mod is not safe from XSS attacks and the obvious other problems with remote and in malicious code that may be in relation to the swf file.


I suggest go higher in depth into the mod and have it interact with a php file which takes care of security issues. at leat do something about the xss attacks. and just take the risk with the flash files. There are security measures for flash files to. lok em up and learn
Reply With Quote
  #30  
Old 06-25-2010, 07:34 AM
AURFSCAN AURFSCAN is offline
 
Join Date: Dec 2007
Posts: 328
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tried this and it does work well but since I'm the only one (admin) that needs to post flash,
I allow only myself to post in html and therefore can post flash without this bbcode.

theres an advanced bbcode permissions mod here that you could use this with usergroups you trust, thats works well too
Reply With Quote
  #31  
Old 07-25-2010, 10:14 AM
Terrona Terrona is offline
 
Join Date: Oct 2007
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does not work on v4.0.5

If you can update through
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 08:43 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.06625 seconds
  • Memory Usage 2,342KB
  • Queries Executed 26 (?)
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
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • 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_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete