Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions

Reply
 
Thread Tools Display Modes
  #11  
Old 04-28-2006, 10:58 PM
ztempuser ztempuser is offline
 
Join Date: Nov 2005
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

? ?
Reply With Quote
  #12  
Old 04-28-2006, 11:42 PM
theodonnells's Avatar
theodonnells theodonnells is offline
 
Join Date: Oct 2005
Location: scotland
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just put in a duplicate style one with flash header and one without, users can choose which one they want..
Reply With Quote
  #13  
Old 04-29-2006, 03:58 PM
ztempuser ztempuser is offline
 
Join Date: Nov 2005
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thats what im gonna do but i was wondering if i don't have to do another style if i can just make some option in the user cp where they can pick the header they want without changeing the whole style, cuz im always doing changes to the style and i have just 1
Reply With Quote
  #14  
Old 04-29-2006, 04:07 PM
Ntfu2 Ntfu2 is offline
 
Join Date: Feb 2006
Posts: 1,247
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Couldnt you make two movies. One that is animated for the main page. then the second one that isnt

add a if statement something like?

<if condition="THIS_SCRIPT == 'index'">
Place first flash code here <else /> Place second flash code here, you know the one that doesnt move as much </if>
Reply With Quote
  #15  
Old 05-01-2006, 08:07 AM
ztempuser ztempuser is offline
 
Join Date: Nov 2005
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thats what i will do instead lets just keep it simple.
it will come down to this
i have a portal page and forum, portal is the page u get when u got to the site so i will put that code ntfu2 gave in the portal page, (will have music and preloader) then anyother page will just get a basic flash with no preloader and no music.
thanks everyone for all your help i will tell u how it comes out cuz im not gonna do it now im sleepy

im sorry for the dumb question but does that go in the php script or the portal template? if its the php script how would i do that, cuz the vbadvanced portal index.php page is just some sort of template caller
Quote:
Originally Posted by Ntfu2
Couldnt you make two movies. One that is animated for the main page. then the second one that isnt

add a if statement something like?

<if condition="THIS_SCRIPT == 'index'">
Place first flash code here <else /> Place second flash code here, you know the one that doesnt move as much </if>
Reply With Quote
  #16  
Old 05-01-2006, 03:00 PM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A "loader" should only appear when the flash file is not cached in the user's system. Once it's cached the "loader" is skipped.

If your Flash file "loads" each time ... you have a badly written "loader".

You will need to edit your Flash file so that it doesn't "load" each time the file is called.

essentially, a flash file checks if (number of frames exist) to display or not display "loader"...

if (not loaded)
{
goto frame 0
}

OR

if (frame10 is loaded)
{
//skip the loader
goto frame 10
}

the above is not the code to use ... it's just giving you a direction to look into
all loaders are different but, the above is pretty much the basics
Reply With Quote
  #17  
Old 09-14-2006, 01:23 AM
Kirk Y's Avatar
Kirk Y Kirk Y is offline
 
Join Date: Apr 2005
Location: Tallahassee, Florida
Posts: 2,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by blackwidow
thats what i will do instead lets just keep it simple.

it will come down to this

i have a portal page and forum, portal is the page u get when u got to the site so i will put that code ntfu2 gave in the portal page, (will have music and preloader) then anyother page will just get a basic flash with no preloader and no music.

thanks everyone for all your help i will tell u how it comes out cuz im not gonna do it now im sleepy



im sorry for the dumb question but does that go in the php script or the portal template? if its the php script how would i do that, cuz the vbadvanced portal index.php page is just some sort of template caller
No, you use it in a template. Assuming you've got the flash header in your header template, you'd use it there.

Code:
<if condition="THIS_SCRIPT == 'adv_index'">Flash Code for Portal</if>
<if condition="THIS_SCRIPT == 'index'">Flash Code for Index</if>
<if condition="THIS_SCRIPT != 'adv_index' OR THIS_SCRIPT != 'index'">Flash Code for anything besides Index or Portal</if>
Reply With Quote
  #18  
Old 09-14-2006, 10:35 PM
blowndeadline blowndeadline is offline
 
Join Date: Jul 2006
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can generate a cookie from flash that once it loads, it won't load again for that user.
Quote:
visitCheck = sharedObject.getLocal("cookieCrumb");
if (visitCheck.data.beenHere == true){
this.gotoAndPlay("begin"); //this should go to wherever your movie starts after the intro
} else {
visitCheck = sharedObject.getLocal("cookieCrumb");
visitCheck.data.beenHere = true;
visitCheck.flush();
}
Something to that effect should wor.
Reply With Quote
Reply

Thread Tools
Display Modes

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:22 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.07001 seconds
  • Memory Usage 2,234KB
  • Queries Executed 13 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)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_postinfo_query
  • fetch_postinfo
  • 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