vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   A quick question for yall. (https://vborg.vbsupport.ru/showthread.php?t=48075)

Radon3k 01-24-2003 06:18 AM

A quick question for yall.
 
When you install vBulletin, and you go to step 2, 3, etc, at the top it says "install.php?s=step=2" or something like that.

How is this done? I'm creating something for my site and this is exactly what I need done so that I don't have to have a million different files for each thing.

Thanks :)

Xenon 01-24-2003 11:25 AM

its just a link to install.php?s=&step=2

and in the php file it's just a condition if $step==2...

Radon3k 01-24-2003 04:22 PM

Right but how do you declare step 2 and such?

Xenon 01-24-2003 09:36 PM

as stated above: with the url!

Radon3k 01-24-2003 10:35 PM

I'm tired so I think I'm missing this...

So when someone clicks a link or a button then you put an if condition in there that makes it go to the next part? Ahh.../me confused. Sorry.

Radon3k 01-24-2003 11:57 PM

Ahh ok I see now. I'm just really tired, sorry.

Ok now that I got that part working, how do I clear the rest of it?Meaning all it says is

"Step 2" as a link. You click on it, then it says

"Step 2this is step 2".

I want the "Step 2" to disappear.

Sorry for the confusion, and thanks for the help! :)

mr e 01-25-2003 05:20 AM

you'd do

PHP Code:

if ($step == 1) {
  
//Do step one code;
  
$step 2;
}

if (
$step == 2) {
  
//Do step two code;
  
$step 3;
}

etc... 

sorry if this isn't what you wanted...it's late

Radon3k 01-25-2003 05:42 AM

Well that's sort of what I want. Another problem I'm having is that I want to update the stuff by templates and not by PHP files.

Thanks :)

Xenon 01-25-2003 10:57 AM

just create new templates and call emfrom within the php file as all vbfiles work :)


All times are GMT. The time now is 04:12 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.03086 seconds
  • Memory Usage 1,721KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete