PDA

View Full Version : html page in CMPS


ibaker
01-09-2010, 01:30 AM
I am trying to incorporate a chat room component into my site and am having a hell of a time trying to do it.

This is the code:
<table cellpadding="0" cellspacing="0" width="100%">
<tr class="alt1">
<td>

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="791" height="780" id="camchat" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="../chat2/camchat.swf?user=[USERNAME]&pass=&type=Member" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="../chat2/camchat.swf?user=[USERNAME]&pass=success&type=Member" quality="high" bgcolor="#ffffff" width="791" height="780" name="camchat" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>

</td>
</tr>
</table>You will see in the code the 2 places to insert the username which I will need to get from the vBulletin variable.

Placing the above code in a html page and manually inserting a username in those two places works fine - no problems.

My preference is the page/file etc is better if it is a popup window but I decided to try and put it into a CMPS page but with no success.

I created a template with just the table info of the code, created page based on the template with no wrapper but that didn't work.

I then created a module based on the template with no wrapper and then created a CMPS page that contained that module and that didn't work.

I created a page based on the html file and that didn't work.

My ultimate goal would be that a link in th CMPS navigation module would open up a popup window and display the chatroom with the user's name showing in their.

Any help is so greatly appreciated

Brian
01-09-2010, 02:12 PM
There shouldn't be any reason you couldn't use that code within a template... What exactly was the problem when you tried adding it as a template module?

Our Sponsors
 

ibaker
01-09-2010, 04:56 PM
Hi Brian
The object doesn't show up, I will add a support ticket with login details just in case :) you want to have a look at it.