collapse

* Simple Portal Archived Forum

This is an Archive Forum.

The content in this forum may be out-of-date or have been superseded by newer information, and links in forum pages to other sites may not work.
This forum contains archives for future reference.

Visit our thread at Simple Machines Forum for current support.

SMF 2.1 users: EhPortal is a ported version of Simple Portal specifically designed for the SMF 2.1 branch.
Please visit web-develop.ca to download EhPortal and for its support.

* User Info

 
 
Welcome, Guest. Please login or register.

* Who's Online

  • Dot Guests: 247
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • {OCS}MasterSeal: Yup, Still adore SP
    April 21, 2019, 07:08:06 PM
  • {OCS}MasterSeal: STILL love SP :)
    November 24, 2018, 05:05:50 AM
  • ♦ Ninja ZX-10RR ♦: <3 aegersz
    September 13, 2018, 03:36:09 PM
  • aegersz: I STILL <3 LOVE SimplePortal
    September 13, 2018, 07:11:39 AM
  • aegersz: o LOVE you guys - Simple Portal rocks !
    May 09, 2018, 05:18:59 AM
  • Chen Zhen: our apologies for the site being down.. please read server issues topic
    March 22, 2018, 05:32:38 AM
  • {OCS}MasterSeal: LOL PLEASE forget I just posted that. I found the answer in my own dang post back in 2015. lol sorry!
    July 04, 2017, 10:47:55 PM
  • {OCS}MasterSeal: I know this SB isnt' for support, but I just have a general question. Who would I contact to find out where SP stores its block info? Is it DB driven or files? I searched the site but came up with nothing. probably my fault any insight is appreciated.
    July 04, 2017, 10:43:36 PM
  • ♦ Ninja ZX-10RR ♦: Excuse me but what does Simpleportal have to deal with that?
    February 05, 2017, 08:21:14 PM
  • WhiteEagle: of course IMHO that site appears to be dead :(
    February 04, 2017, 01:08:05 PM
  • WhiteEagle: If I can get that, then I'll use it for that site...
    February 04, 2017, 01:07:35 PM
  • WhiteEagle: decided to not use SMF for any projects, unless I can get a copy of the premium version of the fanfiction archive plugin
    February 04, 2017, 01:06:54 PM
  • expertdecisions: cloudflare
    January 28, 2017, 08:01:47 AM
  • aegersz: SM release 2.0.13 !
    January 12, 2017, 06:00:13 AM
  • raffo: Tks Emanuele, even if I didn't understand the fix :D
    November 07, 2016, 02:01:20 AM
  • emanuele: [link]
    November 01, 2016, 12:43:50 PM
  • emanuele: raffo: the English support board is a good place. ;)
    November 01, 2016, 12:43:38 PM
  • raffo: Where can I find the fix for the shoutbox?
    November 01, 2016, 05:06:09 AM
  • {OCS}MasterSeal: To the SP team, I make a point to come here and thank you as much as possible for your work.  so again, THANK YOU!
    October 28, 2016, 10:38:05 AM
  • emanuele: That's indeed funny, the limit is present only in the patch and not the full install.
    October 22, 2016, 06:14:58 PM

* Recent Posts

Adding Forums Button to Nav bar by jirapon
[August 01, 2019, 09:07:12 AM]


Re: Board Icons by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 04:03:41 PM]


MOVED: Czech translation???? by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 03:04:51 PM]


Board Icons by jirapon
[July 30, 2019, 07:28:44 AM]


Re: Thankyou Simpleportal, by ♦ Ninja ZX-10RR ♦
[July 29, 2019, 09:41:29 AM]

If you're interested in helping other members with support requests, consider joining the Community Support Helpers group.

Author Topic: Flashchat Block  (Read 23056 times)

0 Members and 1 Guest are viewing this topic.

Offline TW1ST3D

  • Semi Newbie
  • *
  • Posts: 28
  • Gender: Male
    • The Georgia LX Club
  • SMF Version: 2 RC5
  • SP Version: 2.3.3
Flashchat Block
« on: September 27, 2008, 02:26:49 PM »
I have found that I really need a Flashchat block but am finding it impossible to code one with my little knowledge of php.
I have tried to pluck diffent lines of code and cobble them together but to no avail.

it should contain a button for going to the flashchat app and a members in chat listing (much like a members online block)............is this possible?

Thanks in Advance !!
« Last Edit: September 27, 2008, 05:13:18 PM by TW1ST3D »

Offline Nas

  • Comrade
  • *
  • Posts: 35
  • Gender: Male
  • SimpleDesk UI Developer
    • SimpleDesk
  • SMF Version: 2 RC3
  • SP Version: None
Re: Flashchat Block
« Reply #1 on: September 28, 2008, 03:11:10 AM »
Is there a link to this "Flashchat"?

Offline TW1ST3D

  • Semi Newbie
  • *
  • Posts: 28
  • Gender: Male
    • The Georgia LX Club
  • SMF Version: 2 RC5
  • SP Version: 2.3.3
Re: Flashchat Block
« Reply #2 on: September 28, 2008, 02:10:15 PM »
Here is a link to the integration Mod , which has the code to "lift or Copy" the users online for SMF
http://custom.simplemachines.org/mods/index.php?mod=611
(I personally use the Googlebots and Spiders version)


I think all the code that is needed is in the integration mod..............
« Last Edit: September 29, 2008, 07:25:06 PM by TW1ST3D »

Offline ccbtimewiz

  • Hero Member
  • *****
  • Posts: 2185
  • Gender: Male
  • $("div.content:dd").hide();
  • SMF Version: None
  • SP Version: None
  • Elkarte Version: None
  • EhPortal Version: None
Re: Flashchat Block
« Reply #3 on: September 28, 2008, 02:11:06 PM »
It's quite possible. I'll look into it. :)

Offline TW1ST3D

  • Semi Newbie
  • *
  • Posts: 28
  • Gender: Male
    • The Georgia LX Club
  • SMF Version: 2 RC5
  • SP Version: 2.3.3
Re: Flashchat Block
« Reply #4 on: September 28, 2008, 02:19:09 PM »
Thanks !!!

Offline TW1ST3D

  • Semi Newbie
  • *
  • Posts: 28
  • Gender: Male
    • The Georgia LX Club
  • SMF Version: 2 RC5
  • SP Version: 2.3.3
Re: Flashchat Block
« Reply #5 on: October 02, 2008, 06:34:50 PM »
OK ..... I came up with a block Code that works.......
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>';

Now.........How can I center the above code result in the Block?
~TW1ST3D
« Last Edit: October 02, 2008, 09:01:55 PM by TW1ST3D »

Offline ???1031

  • ... feel not as a dev at the moment ...
  • Comrade
  • *
  • Posts: 789
  • Gender: Male
  • Overworked <<
  • SMF Version: None
  • SP Version: None
Re: Flashchat Block
« Reply #6 on: October 03, 2008, 02:02:25 AM »
An iframe... hmmm is that possible to center *thinking*

You can try:

Code: [Select]
global $boardurl;
echo '
<iframe frameborder="0" align="center" 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>';

Or

Code: [Select]
global $boardurl;
echo ' <div align="center">
<iframe frameborder="0" align="center" 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>';
</div>

I don't know if one of this work with iframes...

Bye
DIN1031
Again... I'm having time problems...Normal Monday to Friday I'm at office from 6:00-16:00 (On my local time ;P).

Offline Nas

  • Comrade
  • *
  • Posts: 35
  • Gender: Male
  • SimpleDesk UI Developer
    • SimpleDesk
  • SMF Version: 2 RC3
  • SP Version: None
Re: Flashchat Block
« Reply #7 on: October 03, 2008, 03:01:25 AM »
Code: [Select]
global $boardurl;
echo ' <div align="center">
<iframe frameborder="0" align="center" 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>';
</div>


Theoretically that should work.

Offline TW1ST3D

  • Semi Newbie
  • *
  • Posts: 28
  • Gender: Male
    • The Georgia LX Club
  • SMF Version: 2 RC5
  • SP Version: 2.3.3
Re: Flashchat Block
« Reply #8 on: October 03, 2008, 03:40:41 PM »
Thanks Guys !!  No.....Neither one of those will center the iFrame. I can be happy with the results that I have now.

Thanks Again for your responses.

Offline Nas

  • Comrade
  • *
  • Posts: 35
  • Gender: Male
  • SimpleDesk UI Developer
    • SimpleDesk
  • SMF Version: 2 RC3
  • SP Version: None
Re: Flashchat Block
« Reply #9 on: October 03, 2008, 04:03:28 PM »
Hmm.. I was pretty shure that would've worked  :worried:

NOw, lett me see....  :whistle:

Offline Kosedragen

  • Jr. Member
  • **
  • Posts: 87
  • Soft
Re: Flashchat Block
« Reply #10 on: October 03, 2008, 06:33:47 PM »
Ohohoh, I'd like this too D: But does it exist a flash chat to make this possible in SMF 1.1.6? I only get an error when trying to install it (as expected..).

Offline Oldiesmann

  • Comrade
  • *
  • Posts: 38
  • Gender: Male
    • Archie Comics Fan Forum
  • SMF Version: 2.1
  • SP Version: None
  • EhPortal Version: 1.22
Re: Flashchat Block
« Reply #11 on: October 04, 2008, 02:54:48 AM »
FlashChat should work fine with both SMF 1.1 and 2.0.
Michael "Oldiesmann" Eshom

Offline Kosedragen

  • Jr. Member
  • **
  • Posts: 87
  • Soft
Re: Flashchat Block
« Reply #12 on: October 04, 2008, 06:41:34 AM »
Nah, it didn't work with me. I get the error "missing files" or something like that. Look at the attacked image, and you see my problem =/ I used the flash chat mod mentioned earlier in this topic.

Offline ccbtimewiz

  • Hero Member
  • *****
  • Posts: 2185
  • Gender: Male
  • $("div.content:dd").hide();
  • SMF Version: None
  • SP Version: None
  • Elkarte Version: None
  • EhPortal Version: None
Re: Flashchat Block
« Reply #13 on: October 04, 2008, 10:01:42 AM »
Do you have FlashChat installed on your server?

Offline Kosedragen

  • Jr. Member
  • **
  • Posts: 87
  • Soft
Re: Flashchat Block
« Reply #14 on: October 04, 2008, 10:11:58 AM »
Nope, I have no chat whatsoever installed on my server =/

Offline ccbtimewiz

  • Hero Member
  • *****
  • Posts: 2185
  • Gender: Male
  • $("div.content:dd").hide();
  • SMF Version: None
  • SP Version: None
  • Elkarte Version: None
  • EhPortal Version: None
Re: Flashchat Block
« Reply #15 on: October 04, 2008, 10:34:41 AM »
That's the reason then. You need to have the FlashChat environment installed on your server in order for the modification to operate correctly.

You can purchase FlashChat for $5.00 USD: http://www.tufat.com/s_flash_chat_chatroom.htm

Offline Kosedragen

  • Jr. Member
  • **
  • Posts: 87
  • Soft
Re: Flashchat Block
« Reply #16 on: October 04, 2008, 02:44:24 PM »
Aw, damn >: Well then I'll do without.

Offline cme1st2302

  • Full Member
  • ***
  • Posts: 117
  • Gender: Male
    • East Coast Astro
  • SMF Version: 1.1.11
  • SP Version: 2.3.2
Re: Flashchat Block
« Reply #17 on: October 20, 2008, 01:40:41 PM »
I used the code supplied by TW1ST3D and it works!!!  Thanks very much.

Now how would i change the font color to white?  It is black now.

EDIT - I figured out the color issue, had to modify the info_embedded file. 

Another question - How would I get the users name to show up colored like it does on the online list?  I know I would have to add it in the info_embedded.php file but I have no clue what to add.

Chris
Admin

He who waits for perfect conditions sees nothing!!
SMF Version: 1.1.11
SimplePortal Version: 2.3.1

Offline Tyrsson

  • Comrade
  • *
  • Posts: 15
Re: Flashchat Block
« Reply #18 on: November 05, 2008, 06:17:57 PM »
OK ..... I came up with a block Code that works.......
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>';

Now.........How can I center the above code result in the Block?
~TW1ST3D
If you use this code make sure you add the "%" after the height. If you have many rooms without this it will cut the bottom rooms off (or at least it did on mine).

Thanks for the info and the help!!!!

You all rock!!!!

Offline Tyrsson

  • Comrade
  • *
  • Posts: 15
Re: Flashchat Block
« Reply #19 on: November 05, 2008, 06:35:47 PM »
Well, I still have a problem. I have the chat block working and it list all the users in the chat etc. However, you can not enter the chat from the block by clicking on the room name. I have the flash chat integrated so that it pulls the usernames etc. from the database.

My question:

Is there anyway that I can add the url to the chatroom in html and have it linked from the block?

I am kinda slow when it comes to all this....

Oh yeah, I am using SP 2.0.5 and SMF 1.1.6.

Thanks in advance!!