Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome, Guest. Please login or register.
Did you miss your activation email?

August 19, 2022, 05:10:36 AM

Login with username, password and session length
Members
  • Total Members: 3843
  • Latest: Tricky
Stats
  • Total Posts: 193479
  • Total Topics: 21088
  • Online today: 51
  • Online ever: 1035
  • (November 26, 2020, 04:45:12 AM)
Users Online
Users: 0
Guests: 46
Total: 46

Author Topic: Flashchat (Members in Chat Block)  (Read 47272 times)

0 Members and 1 Guest are viewing this topic.

gerrymo

  • Guest
Flashchat (Members in Chat Block)
« on: November 08, 2005, 11:01:39 AM »
This will show which members are using chat in a php block.

Code: [Select]
global $boardurl;
echo '
<iframe frameborder="0" height="100" src="', $boardurl, '/chat/info_embedded.php" style="width: 100%; margin: 0; padding: 0; border: 0; overflow: hidden;" scrolling="no" border="0" allowtransparency="true"></iframe>';

The path should be your path to the chat directory (Above it is: /chat/info_embedded.php)
Scrolling can be changed to suit you.

(Code written by Bloc)
« Last Edit: November 08, 2005, 11:26:34 AM by gerrymo »

Xarcell

  • Guest
Re: Flashchat (Members in Chat Block)
« Reply #1 on: November 08, 2005, 07:02:21 PM »
Thanks for posting this, it makes it easier to find.

Moocat

  • Guest
Re: Flashchat (Members in Chat Block)
« Reply #2 on: November 08, 2005, 07:43:12 PM »
thanks ;) i'm switching to flashchat :D

Moocat

  • Guest
Re: Flashchat (Members in Chat Block)
« Reply #3 on: November 08, 2005, 10:06:27 PM »
is there a way to change the color of the text in the iframe? i'm using helios and it looks like this, except that the black is on the darker background of the tp blocks :x
« Last Edit: November 08, 2005, 10:37:16 PM by Moocat »

Greenbug

  • Guest
Re: Flashchat (Members in Chat Block)
« Reply #4 on: November 09, 2005, 11:41:56 PM »
OK, I need some help. I put this in a center block....

Code: [Select]
<iframe frameborder="0" height="600" src="', $boardurl, '/flashchat/flashchat.php" style="width: 100%;
I think I should not have added the $boardurl

Uhhhhh WOW it works! kinda I just cant to any other part of the forum or admin or anything I click on anything and all I can do is chat....

How brillant! How on earth do I get to the admin to take this off. Can I "turn this off" in the php code? if so what I am looking for.....ARGGGGGG

Thanks in advance :uglystupid2:
« Last Edit: November 09, 2005, 11:45:36 PM by Greenbug »

gerrymo

  • Guest
Re: Flashchat (Members in Chat Block)
« Reply #5 on: November 10, 2005, 03:11:51 AM »
You missed half of the code off the end.

This part is missing..
Code: [Select]
margin: 0; padding: 0; border: 0; overflow: hidden;" scrolling="no" border="0" allowtransparency="true"></iframe>';

Go to http://your domain/path/index.php?action=tpadmin You should see the admin area there. Remove the whole block to make sure everything is working, and re do it with the whole code from the first post. It should then work.

Greenbug

  • Guest
Re: Flashchat (Members in Chat Block)
« Reply #6 on: November 10, 2005, 10:01:54 AM »
I AGREE It SHOULD but it doesnt, just keep cycling back to the chat block...not matter what I type in the address line...

Its bad I thinkin

 :tickedoff:  :'(

What is the page where the setting is kept on for this kind of setting, I will manually change it I need to ? index.php, index.template.php, ???.php? I need to manually remove the block. can not get to the admin area at all.
« Last Edit: November 10, 2005, 11:13:42 AM by Greenbug »

gerrymo

  • Guest
Re: Flashchat (Members in Chat Block)
« Reply #7 on: November 10, 2005, 11:22:58 AM »
Think you'll need todelete something via the database. I'm no wexpert on that so best wait till Bloc has time to reply. If you cant get direct to admin via action=tpadmin, then I dont know enough about the database to help.

Greenbug

  • Guest
Re: Flashchat (Members in Chat Block)
« Reply #8 on: November 10, 2005, 11:25:57 AM »
I appreciate your time Gerrymo, I have tried everything I know of also. I will wait for Bloc.

Cheers,

gerrymo

  • Guest
Re: Flashchat (Members in Chat Block)
« Reply #9 on: November 10, 2005, 11:55:36 AM »
This is s shot in the dark. If your browser has been open since you had this problem, keep hitting the back button until you get to the site, other than that, you'll need somone that knows the database tables.