![]() |
here is the original code:
Quote:
Quote:
Quote:
Quote:
in the right, it works, but i cant have it above certain blocks. i guess its ok, i have it i the right bottom, at least it is there |
Quote:
Code:
<? include('forum/admin/online.php'); ?> |
same, still get:
Quote:
|
actually, it doesnt work on the left....but yes it works on the right.
lol, oh well, maybe all my includes will be the right side, at least it (sorta) works for me |
strange....
cant find whats causing this.... let me know if u do! |
There's a MUCH easier way of doing this. Go back to the original post's idea of making a custom block, and put this in it:
<? if (eregi("block-Sample_Block.php",$PHP_SELF)) { Header("Location: index.php"); die(); } $file = fopen ("http://www.path_to.your/last10.php", "r"); while (!feof ($file)) { $content = fread ($file, 20000); } ?> VOILLA! just save that as block-whatever.php in your blocks folder, then include it as a phpnuke block. The 20000 is a number I picked - it has to do with how far php reads the file (how many bytes). If the number is too low it'll cut off the output. |
using your replacement BramT in theme, then using your way of including a php file, then I get error:
PHP Code:
PHP Code:
PS: the php page which I include works fine when I use direct access to it... PSS: vBB 2.2.6 | phpNuke 5.5 |
All times are GMT. The time now is 12:20 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:
|