![]() |
"SWF" Javascript shortcut button on posting screens
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. |
Screenshot 1: The posting screen
|
Attributes entry
|
URL entry
|
Finished tag
|
umm, what was the purpose of moving this out of beta? Unless there has been a change, which I don't see any. Or where you trying to clean the last thread up? Or try to make it more noticeable?--because now there are 2 hacks of the same on the home page. :p
|
I will be deleting the beta one, because it's no longer beta.
It was only posted in there to be tested by other people, but now that it works I'll actually release it where people can see it. |
By the way, if you don't have a copy of your HTML-enabled-forums-only modification, I suggest you get one now... because it's about to be deleted.
|
not bad man, but I dont want users posting 5MB swf files they made in swish. gotta be some restrictions...
|
Quote:
|
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! :)
|
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 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 ;) |
Quote:
|
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.
|
Quote:
|
Working with 2.2.7, thanks. :)
|
...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 |
Anyway to make the xxx.swf center within the post? now it is all the way to the left.
Thanks, m |
All times are GMT. The time now is 05:02 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|