PDA

View Full Version : Need Help With New Template


webhost
19 Jul 2001, 15:31
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
19 Jul 2001, 16:05
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
19 Jul 2001, 16:07
OK Ed. Maybe I can figure it out

webhost
19 Jul 2001, 18:04
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
20 Jul 2001, 01:13
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
20 Jul 2001, 01:17
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
20 Jul 2001, 01:22
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------





Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Ed why don't these work?

Mike Sullivan
20 Jul 2001, 01:27
<?php
$test="text";
?>

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


Should work...

webhost
20 Jul 2001, 01:28
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
20 Jul 2001, 01:33
we got it

ThePenguin
21 Jul 2001, 00:27
How did you get it? I'm trying to set up the same thing myself. :)