Quote:
Originally Posted by Dankinit
1. How do i define the path at the top of the navbar? For instance it has:
" vBulletin.org Forum > General Codings/Questions > PHP / MySQL / JS / " at the top of this page, how would I do this for my custom page?
|
Take alook in showthread.php (or practically any front end script) for examples of how the navbar is constructed (usually near the bottom, just search for $navbits and navbar).
Quote:
2. Not sure if this is related to question #1, what does this part do exactly? I understand this is used throughout on many scripts at the top, but where/how does this information get used?
PHP Code:
define('THIS_SCRIPT', 'profile');
|
Its used in conditionals and within some PHP files to allow execution of code/output of HTML based on the script that is being run.