The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
Quote:
HTML Code:
<? require_once('global.php'); ?> <html> <head> <? echo $style['css']; ?> </head> <body> <span class="alt1"><strong>Blah...</strong><br /><br />Blah Blah</span> </body> </html> |
#12
|
||||
|
||||
Actually, no warning occurs and no changes either
It still shows a white background with black text. - Sid |
#13
|
|||
|
|||
We may have missed something very simple. alt1 and alt2 do not apply to <span>, I don't think.
You can test by accessing ther iframe page directly from the browser, and view the source, to see if the style is there as expected. |
#14
|
||||
|
||||
Quote:
Even if the alt1 and alt2 aren't working properly, shouldn't the colour work? ...and the font? I know that people have used IFRAMEs to display things like the shoutbox, etc. - Sid |
#15
|
|||
|
|||
I'm not sure because I don't have the files.
But what happens when you view the page source? What style is defined there? |
#16
|
||||
|
||||
The source, when viewing the file directly in a web browser doesn't expand the PHP script at all!
It just shows the literal text. Why is this? - Sid |
#17
|
|||
|
|||
Quote:
|
#18
|
||||
|
||||
Quote:
HTML Code:
<? require_once('/forums/global.php'); ?> <html> <head> <? echo $style['css']; ?> </head> <body> <span class="alt1"><strong>Blah</strong><br /><br />Blah Blah</span> </body> </html> |
#19
|
|||
|
|||
No, I thought you said it showed the lirterals. I took that to mean the actual colour codes for alt1 and alt2.
The page view you showed tells me that you have not made the file a .php as I suggested earlier. To interpret it as PHP, it needs to be a PHP extension. |
#20
|
||||
|
||||
Quote:
The source of the PHP file if viewed after being parsed shows up as follows: PHP Code:
PHP Code:
- Sid |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|