TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 790
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 639
  • Total: 640
  • tino

Using Flashchat in an article?

Started by Teelow, February 24, 2006, 07:11:47 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Teelow

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!

IchBin

Create a php article and add this code in it.

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

technodragon73

#2
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:

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

Teelow

#3
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

technodragon73

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

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

I am looking for the same. Did it worked for you whoflungdoo  ?
Regards,
Jim

Ken.

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

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.

This website is proudly hosted on Crocweb Cloud Website Hosting.