Log in

View Full Version : Need Help With New Template


webhost
07-19-2001, 02:31 PM
This thread had alot of info that we ended up not using for this project. To keep from confusing people I have deleted it.

Mike Sullivan
07-19-2001, 03:05 PM
You can't put any PHP login into a template -- you'll need to move any PHP code into chat.php.

<moving to code hacking>

webhost
07-19-2001, 03:07 PM
OK Ed. Maybe I can figure it out

webhost
07-19-2001, 05:04 PM
ok ED . I have loaded this file into into the forums directory it
is called chat_activity.php3 you can see it work here
http://www.realwebhost.net/chat_activity.php3

I have made a template called chat in put this in the forumhome
template $chat placed after $loggedinusers.

But I do not know what to put in template to pull this information in I tried this but it didn't work require("chat_activity.php3");

Any ideas?

Mike Sullivan
07-20-2001, 12:13 AM
you can see it work here
http://www.realwebhost.net/chat_activity.php3 Uhh...

"Fatal error: Failed opening required './../chat//lib/connected_users.lib.php3' (include_path='') in /home/realweb/public_html/chat_activity.php3 on line 24"

:)

webhost
07-20-2001, 12:17 AM
I know ed we are trying to tie into board now users in chat that is. I need to ask you a question if you can stick ariund for about 2 minutes. Please

webhost
07-20-2001, 12:22 AM
<?php$test="text;?>

<?php include("text.php"); print "$test"; ?>

Ed why don't these work?

Mike Sullivan
07-20-2001, 12:27 AM
<?php
$test="text";
?>

<?php
include("text.php");
print "$test";
?>

Should work...

webhost
07-20-2001, 12:28 AM
Ed thanks for trying to help we got it installed, vb 2.01 and phpmychat version 14.5

can see here http://forums.realwebhost.net chat user status shows bottom left.

Joey

webhost
07-20-2001, 12:33 AM
we got it

ThePenguin
07-20-2001, 11:27 PM
How did you get it? I'm trying to set up the same thing myself. :)