Customizing SMF > Modifications and Packages

FlashChat Integration

<< < (3/337) > >>

Daniel15:

--- Quote ---That's a problem with the admin then! If you integrate it into SMF then you cannot alter the chat settings from its own admin panel?? It tells you ...
"This option is not available when FlashChat is integrated with a custom CMS (content management system).
Please use the user administration tools which come with your system to add, edit, or remove users."
--- End quote ---
That message is only for user administration in FlashChat. As all the user administration is done via SMF, you can't do it in the FlashChat admin panel. To add, remove or ban users, you use the SMF members administration.
All of the other FlashChat settings are still accessible via the FlashChat admin panel.


--- Quote ---The 404 pop up is looking for "dologout.php" in the SMF directory not the CHAT directory... should be an easy fix? "edit... fixed this by copying the file to the parent SMF directory and editing the file to include the correct path to 'inc/common.php'.
--- End quote ---
It may be an easy fix (I'll look in to it tommorow). The problem is that even though I'm passing the correct path to FlashChat ($boardurl/chat/), it's not respecting it for the popup. I believe I would need to either edit some of the FlashChat source (I already do a tiny bit, to fix a bug), or make it create a seperate copy of the file (like you've done).


--- Quote ---I'm sorry to sound negative about these "bugs" but I'm needing a lot of "hand holding" here.
--- End quote ---
Nah, that's fine :D. The whole point of a beta version is to find and remove bugs ;)


--- Quote ---When I exit the mod or if I chose any other menu item I get disconnected from the chat and the closing window says OBJECT NOT FOUND in it.
--- End quote ---
Yes, that's the same problem that texterted was talking about. I'll see if I can fix it soon :)


--- Quote ---Thanks for your efforts.
--- End quote ---
No problem! :D

texterted:
Cheers for that Daniel :)

The quick fix I outlined above seems to work ok for the pop-up.
Cheers for the clarification on the Admin settings... I've got my head around it now!
I't be good if it could be integrated into SMF "Permissions" tho... so I can set which groups of forum users can access the chat.
I'd also like the chat to open in a new window. Any idea how I can accomplish this?

Thanks again for your time! :)

Daniel15:

--- Quote ---I't be good if it could be integrated into SMF "Permissions" tho... so I can set which groups of forum users can access the chat.
--- End quote ---
Ideally, that's something for the developer of FlashChat to do, as he works on the core functionality (I'd consider user access as core functionality) ;)


--- Quote ---I'd also like the chat to open in a new window. Any idea how I can accomplish this?
--- End quote ---
In Themes/default/index.template.php, find:

--- Code: --- // FlashChat!
if ($context['user']['is_logged'])
echo ($current_action == 'chat' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'chat' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=chat">' , $txt['fc_chat'] , '</a>
</td>' , $current_action == 'chat' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

--- End code ---

Replace with:

--- Code: --- // FlashChat!
if ($context['user']['is_logged'])
echo ($current_action == 'chat' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'chat' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=chat" target="_blank">' , $txt['fc_chat'] , '</a>
</td>' , $current_action == 'chat' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

--- End code ---

I'll probably add an option for this (choosing to open the chat in a new window) in the next release

texterted:
Top geezer! Cheers for that  :D

texterted:
In fact it'd be a good move if we could lose that log-out pop up altogether!

I really like this mod Daniel, keep up the good work!

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version