2013-12-19, 09:38 PM
Hello,
Recently I purchased a copy of Photon Chat 5 and I would like to integrate it with my Forum.
For this the creators of the script have al kinds of ready to use code available for Joomla, Wordpress, Vbuletin, even Phpbb but unfortunately no MyBB
The code for phpbb looks like this
And it states:
Does anyone here have an idea how I can use such a code with Mybb?
Any help is appreciated
Recently I purchased a copy of Photon Chat 5 and I would like to integrate it with my Forum.
For this the creators of the script have al kinds of ready to use code available for Joomla, Wordpress, Vbuletin, even Phpbb but unfortunately no MyBB
The code for phpbb looks like this
<?php
global $user;
$retrieved_username = $user->data['username'];
?>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="860" height="550" align="middle">
<param name="allowScriptAccess" value="sameDomain">
<param name="allowFullScreenInteractive" value="true">
<param name="movie" value="chat.swf?username=<?php echo $retrieved_username ?>">
<param name="menu" value="false">
<param name="quality" value="best">
<param name="bgcolor" value="#2D2D2D">
<embed src="chat.swf?username=<?php echo $retrieved_username ?>" menu="false" quality="best" bgcolor="#2D2D2D" width="860" height="550" align="middle" allowScriptAccess="sameDomain" allowFullScreenInteractive="true" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer">
</object>
And it states:
Quote: PHPBB CODE
The top part of the code retrieves the member's username from phpBB. The bottom part places the chat client into your website. The username is passed to the chat.swf to execute the member auto-login.
Does anyone here have an idea how I can use such a code with Mybb?
Any help is appreciated