![]() |
This is impossible >.>
Okay, I've tried everything I can think of besides full integration which would eventually kill me but nothing works out :surprised:
What I'm trying to do is include my header and footer templates into another script (4images inf you're interested) Since I have important conditional statements, this requires the vbulletin conditionals What I've done: 1. Put Code:
<?php 3. I go to REQUIRE this new file in the header of the gallery script Code:
require("http://www.miyechi.com/includes/header.php"); Except the HUGE fact that the conditionals aren't working! The conditionals seem to be setting place before the userinfo is even outputed. So frustrating Anyone can shed a light onto this :( I know this is the lazy way to do it and I'm not exactly a php guru |
Quote:
|
Quote:
The main problem is, how do I make the require use the user info instead of just assuming the user is a guest? |
Quote:
|
Quote:
|
can you post the code where your conditionals are?
|
Sure ^^; it's in my header and navbar templates. If it looks messy, forgive me
header Code:
<if condition="$avatarurl && !$show['guest']"><img src="$avatarurl" border="0"><else /><img src="http://images.miyechi.com/avatar/noavatar.gif" border="0"></if></a> http://www.miyechi.com/forum.php It's just trying to distinct between registered users and guests basically :/ |
All times are GMT. The time now is 10:43 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|