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, 04:08:34 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: 50
Total: 50

Author Topic: Using Flashchat in an article?  (Read 8466 times)

0 Members and 1 Guest are viewing this topic.

Teelow

  • Guest
Using Flashchat in an article?
« on: February 24, 2006, 12:11:47 AM »
Would anybody have any idea how I could use the flashchat.php file within an artilce to start the chat within that article?  rather then opening up a new window.  I would like to use the TP template w/ flashchat.

Thanks!

Offline IchBin

  • Friends
  • *
  • Posts: 16231
Re: Using Flashchat in an article?
« Reply #1 on: February 24, 2006, 08:24:53 PM »
Create a php article and add this code in it.

include('path/to/flashchat.php');

technodragon73

  • Guest
Re: Using Flashchat in an article?
« Reply #2 on: February 24, 2006, 09:22:54 PM »
You could also look here to see how to integrate it into your site without popping up in a new window.

http://www.simplemachines.org/community/index.php?topic=27137.0

the php file that that topic has you make...
the line that has the iframe tag...

change it to something like this:

Code: [Select]
echo '<iframe width="100%" [b]height="450"[/b] src="http://www.technodragon.net/forum/chat/flashchat.php"></iframe>';
that will allow you to change the size of the frame so that you can adjust the size of the chatroom once it opens up
« Last Edit: February 24, 2006, 09:25:54 PM by technodragon73 »

Teelow

  • Guest
Re: Using Flashchat in an article?
« Reply #3 on: February 24, 2006, 10:42:29 PM »
You have both been a great help and it works!  ;D

I just had to fiddle with the height and width and bingo!  I can't thank you both enough  /thumbs up
« Last Edit: February 24, 2006, 10:59:31 PM by Teelow »

technodragon73

  • Guest
Re: Using Flashchat in an article?
« Reply #4 on: February 24, 2006, 11:14:04 PM »
anytime...these guys here have been such a great help for me...the fact that I can give something back in return is great too!

whoflungdoo

  • Guest
Re: Using Flashchat in an article?
« Reply #5 on: January 20, 2007, 11:31:48 PM »
Hey guys, the first one didnt work for me ( using the include ).

I had already tried using the iframe, which worked, but I still have to login, even though I am already logged into tinyportal. Any ideas? According to the documentation, if I am logged in already to the cms, I shouldnt have to log in to the flashchat. I figure it has something to do with the iframe.


funxlab

  • Guest
Re: Using Flashchat in an article?
« Reply #6 on: January 30, 2007, 05:32:51 PM »
I am looking for the same. Did it worked for you whoflungdoo  ?
Regards,
Jim

Offline Ken.

  • Support Team
  • *
  • Posts: 4362
    • Our FamilyForum
Re: Using Flashchat in an article?
« Reply #7 on: January 30, 2007, 06:31:03 PM »
If you'er going to use an iframe you might want to check this thread where G6 posted the code for an iframe with auto-resize... it works great.  ;D

http://www.tinyportal.net/index.php?topic=11744.0
" If everything seems under control, you’re not going fast enough." - Mario Andretti
Yesterday When I was Young.

Shane84

  • Guest
Re: Using Flashchat in an article?
« Reply #8 on: February 09, 2007, 02:37:36 PM »
Call me crazy, but wasn't there a post or topic about a block code where it would popup an individual window with no address bar and none of the other stuff, making it more of a separate chat window than just another browser opening.

I know I had this on my site a while back and I took it down, since then I've been kicking myself for not saving that code or saving an older DB backup that would still have it.