DjEddie
01-01-2010, 05:07 PM
I've bought Prochatrooms, all installed correctly with no problems. The way they have it is so it comes as a PopUp window. What i'm wanting to do is have it embedded (thru iframe) in my vb site on the home page and not as a popup.
Problem is I don't know the code url I would use to do this, as this chatroom auto logs in the member from the vb user details etc.
This is what i've worked out to use altho its wrong..
<iframe style="border-style: none; padding: 0pt;" src="http://www.mysite.com/prochatrooms/index.php?uid=*****;uname=*****>;room=Lobby" width="930" frameborder="0" height="545"></iframe>
I'm needing to know what goes in place of the ***** (stars)
Or even if that coding is right.
This is the code they use to have it as a pop up:
<script language="JavaScript">
<!--
var userName = "$bbuserinfo[username]";
var userID = "$bbuserinfo[userid]";
var roomID = "Lobby";
// -->
window.onload=function() { launchChat(); };
</script>
<script language="JavaScript" type="text/javascript" src="http://www.mysite.com/prochatrooms/chat.js"></script>
With a link that goes in the nav bar to launch the coding above.
I've asked them at prochatrooms and they suggested to ask on here ... good service eh lol
So if anyone can help .. be much appreciated .. ill give any more info if asked for :)
Thanks :)
Problem is I don't know the code url I would use to do this, as this chatroom auto logs in the member from the vb user details etc.
This is what i've worked out to use altho its wrong..
<iframe style="border-style: none; padding: 0pt;" src="http://www.mysite.com/prochatrooms/index.php?uid=*****;uname=*****>;room=Lobby" width="930" frameborder="0" height="545"></iframe>
I'm needing to know what goes in place of the ***** (stars)
Or even if that coding is right.
This is the code they use to have it as a pop up:
<script language="JavaScript">
<!--
var userName = "$bbuserinfo[username]";
var userID = "$bbuserinfo[userid]";
var roomID = "Lobby";
// -->
window.onload=function() { launchChat(); };
</script>
<script language="JavaScript" type="text/javascript" src="http://www.mysite.com/prochatrooms/chat.js"></script>
With a link that goes in the nav bar to launch the coding above.
I've asked them at prochatrooms and they suggested to ask on here ... good service eh lol
So if anyone can help .. be much appreciated .. ill give any more info if asked for :)
Thanks :)