vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=242)
-   -   Swf File Widget (https://vborg.vbsupport.ru/showthread.php?t=243043)

Xencored 05-20-2010 10:00 PM

Swf File Widget
 
1 Attachment(s)
Hello https://vborg.vbsupport.ru/

This is a simple way to get a .Swf file as a widget (more of a how-to than a mod)
Demo if needed

Here is a image of the Widget

https://vborg.vbsupport.ru/attachmen...hmentid=117409

First of Upload your .swf file to your forum Root and remmber the name of it
Example "miku.swf"

Goto your adminCP
vBulletin CMS>>Widgets
Than at the bottom we want "Create Widget" click it

Widget Type = Static HTML
Title = Anything you like (for me i entered "Miku Clock")
Description = Again anything you like
And Save it

After you have saved the widget find it on the list and Hit Configure on the very right of the widget

Add this code in the "Enter Static HTML" box

Code:

                        <object width="145" height="170">
<param name="" value="miku.swf">
<embed src="miku.swf" width="145" height="170">
</embed>
</object>

Red = Size
Green = File name (the one you uploaded at the start to Root)
remmber to change these

Hit save

Now go
vBulletin CMS>>Layout Manager
Edit your Grid where you want it to show

https://vborg.vbsupport.ru/attachmen...hmentid=117410

Now in the Widgets box find the Name of your new Widget hit the ">" button next to it
Now just move it to where you want it to show

Save and thats it all done http://www.myanimeisland.com/images/.../Monkey190.gif

sulasno 05-21-2010 03:12 PM

thanks

baghdad4ever 05-21-2010 05:15 PM

thanks

Xencored 05-21-2010 05:15 PM

Quote:

Originally Posted by baghdad4ever (Post 2041477)
thanks

Quote:

Originally Posted by sulasno (Post 2041396)
thanks

No problem :D

abdobasha2004 05-21-2010 10:52 PM

nice idea
but no mod !

Xencored 05-22-2010 05:31 AM

Quote:

Originally Posted by abdobasha2004 (Post 2041654)
nice idea
but no mod !

"(more of a how-to than a mod)"

weetabx 05-22-2010 09:14 AM

sweet thx use when i finaly get round to setting up the cms on my forum

ComoEstaEso-com 05-22-2010 12:14 PM

Wow... this looks good. :)

baghdad4ever 05-22-2010 02:16 PM

is there any chance to put 10 swf files in certain folder and the widget show them randomly?

Jaske 05-22-2010 04:25 PM

would this work in vBadvanced (modules) ?


All times are GMT. The time now is 03:04 PM.

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.01242 seconds
  • Memory Usage 1,734KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete