|
|||||||
| Integrating FlashChat Integrating FlashChat with your bulletin board or portal (vBulletin, phpBB, phpNuke, Mambo, etc.) |
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
#1
|
|||
|
|||
|
I have made a fix in the FlashChat integration script for the new MyBB version 1.4 released August 02, 2008
![]() http://www.mybboard.net/features/feature-tour Code fix has been tested for both old MyBB 1.2.14 and the new MyBB 1.4 and FlashChat 5.0.3 but should also work for the older and more reliable FlashChat version 4 ![]() I don't give you a downloadable file this time as there are some differences between FlashChat version 4 and 5 CMS scripts I made a new thread about this fix at the MyBB Forum to: http://community.mybboard.net/thread...html#pid233154 Replace in /chat/inc/cmses/MyBBCMS.php this code PHP Code:
PHP Code:
Last edited by Veronica : 08-04-2008 at 05:40 AM. |
|
#2
|
|||
|
|||
|
To add a Chat Link in the MyBB 1.4 Header Navigation Bar
![]() Works for both FlashChat 4.7.12 and FlashChat 5.0.8 1. Use MyBB Admin CP Click Templates & Styles in the Navigation Bar Click Templates Click Default Templates Click Header Templates Click Header Add the FlashChat link: <li><a href="{$mybb->settings['bburl']}/chat/flashchat.php" target="_blank"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/memberlist.gif" alt="" title="" />{$lang->toplinks_chat}</a></li> giving this content: PHP Code:
2. Use your FTP client to edit /MyBBforum/inc/languages/english/global.lang.php Add: $l['toplinks_chat'] = "Chat"; giving this content: PHP Code:
Last edited by Veronica : 11-05-2008 at 08:37 AM. |
|
#3
|
|||
|
|||
|
To add a Who's in Chat block in the MyBB 1.4 Board Statistics
![]() Works for both FlashChat 4.7.12 and FlashChat 5.0.8 1. Upload the attached script after unzipping to /MyBBforum/chat/whosinchat_mybb.php 2. Use your FTP Client to edit /MyBBforum/inc/languages/english/index.lang.php Add: $l['whosinchat'] = "Who's in Chat"; $l['whosinchattext'] = "{1} {2} in {3} {4}"; $l['online_room_plural'] = "rooms"; $l['online_room_singular'] = "room"; giving the content: PHP Code:
Click Templates & Styles in the Navigation Bar Click Templates Click Default Templates Click Index Page Templates Click index_whosonline Add: <tr> <td class="tcat"><span class="smalltext"><strong>{$lang->whosinchat}</strong></span></td> </tr> <tr> <td class="trow1"><span class="smalltext">{$lang->whosinchattext}<br />{$onlinechatmembers}</span></td> </tr> giving the contents: PHP Code:
4. Use your FTP Client to edit /MyBBforum/index.php Add: include_once('./chat/whosinchat_mybb.php'); giving the content: PHP Code:
Last edited by Veronica : 11-05-2008 at 09:08 AM. |
|
#4
|
|||
|
|||
|
THANK YOU!!!! Way better than the php work around i wrote!!!!
Yours works great with all themes!!!! AWESOME! Good fast response too! KEEP IT UP! |
|
#5
|
|||
|
|||
|
Veronica, as usual, you have done a great job. My one suggestion is to turn the "Who's in Chat" block into a plugin.
|
|
#6
|
|||
|
|||
|
Thank you so much for this Veronica!
|
|
#7
|
|||
|
|||
|
Veronicas first of all Thanks for this helpful post.
I have successfully used this on two forums one Live & one is a test forum. I tried it on my main forum & all went well accept it doesn't automatically login the user when I click the chat button it just goes to a login screen where I can use my forums User Name & Password. I have uninstalled the FlashChat completely & tried reinstalling with same results. Did I do something wrong & if so is this fixable I can't figure out why two went well & the third just doesn't auto login. Thanks Again because either way it is working with intergration just wont auto login. |
|
#8
|
|||
|
|||
|
Autologin is based on the MyBB cookies
are there any cookie differences between your installations ![]() |
|
#9
|
|||
|
|||
|
Quote:
I deleted the prefix & all is fine now including the issue I was having with the admin panel not accepting my password. I chose to use the stable 4.7.12 since everyone said it has less bugs. I will be paying for this if nothing else just to support its future development. When I pay will I have access to a different 5.0 install since I have read that the one I have is Beta with lots of bugs? Thanks Again for your help!!! |
|
#10
|
|||
|
|||
|
Thanks for the feedback
![]() No paid and free FlashChat version 5 are the same beta ![]() Paid version you also get Flash sources |
![]() |
| Thread Tools | |
| Display Modes | |
|
|