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
"SWF" Javascript shortcut button on posting screens Details »»
"SWF" Javascript shortcut button on posting screens
Version: 1.00, by plattopus plattopus is offline
Developer Last Online: Oct 2010 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 06-19-2002 Last Update: Never Installs: 4
 
No support by the author.

Insert [disable][SWF][/disable] vBcode shortcut button to posting screens
Now out of beta!

I wrote this to help someone out from vbulletin.com, but after realising it is actually a hack I deleted it and converted it into text instructions.

What does it do?

When a user is posting a new message (and they have the option turned on in their User CP), there is a set of input buttons designed to be "shortcuts" to some of the more popular vBcodes (such as url, img, etc). This hack adds an SWF button next to the IMG button.

The user is presented with a popup in which they enter values (url, width, height) to be converted to an SWF vBcode, and the code is automatically inserted into the message (just like the other vBcodes).

Note: this hack also outlines the process involved in setting up the SWF tag

Extra Notes

- I can be reached via PM for limited support (this is my first hack).

- If there's a demand for it, I will also include other vBcodes to the hack (so reply if you want more!)

[disable][disable][/disable] vBcode has been requested, and is being worked on.

Show Your Support

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

Comments
  #12  
Old 06-20-2002, 04:41 PM
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Posts: 1,674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK figured it out, only took two ticks. After you paste the code into the template, you need to remove the   before the SWF button, otherwise you get runtime errors. Running smoothly now on 2.2.6. Thanks!
Reply With Quote
  #13  
Old 06-20-2002, 07:43 PM
xug xug is offline
 
Join Date: Oct 2001
Location: The Grand Strand, SC
Posts: 339
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to put an extra option for the Admin where he can switch this option on/off for each member individually??
Where Off is standard!!
Reply With Quote
  #14  
Old 06-20-2002, 09:11 PM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have some extra editions I added if you view the beta hack of this, for example only allowing it in HTML enabled forums / only allowing it in specific forums (by their id). Take alook at the beta hack for the instructions on how to install.

I could probably figure out your request but I'm short on time and need to continue working on my forums, sorry
Reply With Quote
  #15  
Old 06-21-2002, 04:35 AM
plattopus plattopus is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by xug
Is it possible to put an extra option for the Admin where he can switch this option on/off for each member individually??
Where Off is standard!!
I'm sure there would be, but it's far beyond my capabilities.
Reply With Quote
  #16  
Old 06-22-2002, 11:20 PM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just so you are aware ... flash footers have been known to be used as a tool to fetch a users password via it's cookie. This is one reason why FLASHKIT has banned flash footers.
Reply With Quote
  #17  
Old 06-24-2002, 03:20 AM
xug xug is offline
 
Join Date: Oct 2001
Location: The Grand Strand, SC
Posts: 339
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by princeton
Just so you are aware ... flash footers have been known to be used as a tool to fetch a users password via it's cookie. This is one reason why FLASHKIT has banned flash footers.
Thanks for the info, I have removed this hack option and wait till somebody can make an addition like I asked a few postings up!!
Reply With Quote
  #18  
Old 09-04-2002, 06:44 AM
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Posts: 1,674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Working with 2.2.7, thanks.
Reply With Quote
  #19  
Old 04-26-2003, 06:59 PM
jibious's Avatar
jibious jibious is offline
 
Join Date: Nov 2002
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

...kinda late in replying, but thanks a bunch. had someone who wanted a flash movie on a post and i had been thinking of installing for quite a while now but always forgot.

*installed*

...working fine on 2.2.8
Reply With Quote
  #20  
Old 07-18-2003, 08:15 AM
mitomcua mitomcua is offline
 
Join Date: Jul 2003
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyway to make the xxx.swf center within the post? now it is all the way to the left.

Thanks,
m
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:38 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.06350 seconds
  • Memory Usage 2,289KB
  • Queries Executed 24 (?)
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_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