![]() |
does the following command solve your problems... it might not cuz i still have probs... see below...
Quote:
I have another question though.... i have includes for my HEADER, STYLES and FOOTER.... i put the above command in my HEADER includes file and nothing shows up... the moment i remove it... then I get the proper output... here's a quick sample... any ideas what is going wrong? Also... check my final question after this quote... Quote:
Quote:
|
Quote:
global.php, admin/db_mysql.php, admin/functions.php, admin/sessions.php, admin/config.php I hope I didn't leave one out. Anyways, those are the files you need. I did the same thing and got my whole site running off vB. :) |
so you did multiple includes for each of those files before your HTML? Also, are your non-vb pages outside of the Forum directories?
thanx |
No, you just include global.php and it includes the rest of them. And actually, I used PHP to make it run off the templates instead of hard-coding the HTML into the file, I like that flexibility and power. :D
|
hmm... ok.. i am willing to try anything to make this work... cuz when I use the include before my HTML, it doesn't load the page or doesn't get the variables... etc... anyhow... I'll gladly throw away the HTML and use templates... but how do you do it?
Can you show a simple example of this in regards to what you mentioned below... Quote:
|
Yes I'd be interested to know, too Link.
Cheers. Dave. |
http://www.vggmn.com
Anyways, you don't HAVE to throw away HTML, the thing is, as long as you copy global.php into your main directory and the rest of the files into an admin folder in your main directory, just use Code:
require ("./global.php"); |
Link, thanks mate. That works perfectly. Now I just have to figure out how to check to see if a user is loggewd on on a non-vb page.
|
if ($bbuserinfo[userid]!=0) {
echo "Logged In."; } else { echo "Not Logged In."; } |
Link I don't get it.
Can you explain on MSN please mate. david_james_g_2001@hotmail.com Thanks. Dave. |
All times are GMT. The time now is 07:28 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|