vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vB flash clock integration hack (https://vborg.vbsupport.ru/showthread.php?t=37888)

pattox2k1 04-29-2002 07:20 AM

ok ill take care of that then ;) ill make some more flash integration hacks :D my next idea is a flash jukebox.......i jus gotta edit the songs ;)

Snake~eyes 06-09-2002 05:23 AM

I wanna see a demo...
all the links were dead

pattox2k1 06-09-2002 06:02 AM

ok then.......go to:

http://www.thugnature.net/forums/clock.php

firewars 06-09-2002 06:43 AM

That gives me an empty page with the HTML code:

<!-- BEGIN TEMPLATE: clock -->

<!-- END TEMPLATE: clock -->

..I'm gonna upload the flash itself to see what it is like then ;)

firewars 06-09-2002 06:46 AM

Here we go.
This is what the clock looks like itself:

firewars 06-09-2002 06:59 AM

Code improvements making the installation easier:

I have changed the code a bit making the installation easier (you don't have to change that many values, you still can, of course).


clock_swf template

I changed:

PHP Code:

<OBJECT width=(desired width)(450 is goodheight=(desired height)(300 is good)><PARAM NAME="Sitename Forums Flash Clock" VALUE="http://www.youraddress.com/forums/Clock.swf">
            <
embed src="http://www.youraddress.com/forums/Clock.swf" width="(desired width)(450 is good)"             
height="(desired height)(300 is good)"></embed></OBJECT

into

PHP Code:

<OBJECT width=450 height=300><PARAM NAME="$bbtitle Flash Clock" VALUE="$bburl/Clock.swf">
            <
embed src="$bburl/Clock.swf" width="450"          
height="300"></embed></OBJECT

and thus making the script automatically know the URL to the board.

Here it is installed and not fitting my forums style nor being centered.
Nice hack, though.


All times are GMT. The time now is 01:45 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.01757 seconds
  • Memory Usage 1,727KB
  • 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
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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