Change font size   Print view

Google Wave BB Code

For help with PHP programming or phpBB 3 specific code. This is not a support forum for any of the MODs on this website. Please see the appropriate forum for support on a MOD developed by us.

Moderators: Development Team, Tester

Google Wave BB Code

Postby MasterZ » Wed Jul 07, 2010 9:30 pm

I have Google Wave successfully embedded in some of my forums, and I thought it would be great to share how I did it.

Updated to allow for URLs from other wave servers
First up, the BB Code
BB Code
Code: Select all
[wave]https://wave.google.com/{TEXT}/waveref/{SIMPLETEXT1}/{SIMPLETEXT2}[/wave]


HTML Code
Code: Select all
<div id="waveframe{SIMPLETEXT2}" style="width:600px; height:500px;"></div><script src="http://www.google.com/jsapi"></script><script type="text/javascript"> google.load("wave", "1"); google.setOnLoadCallback(function() { new google.wave.WavePanel({target: document.getElementById("waveframe{SIMPLETEXT2}")}).loadWave("{SIMPLETEXT1}!{SIMPLETEXT2}");}); </script>



Now get the info from the Wave
Add Public to the wave (This is optional, but needed if you want people to see the wave who are not members of that specific wave yet)
Click on Link to wave...
Copy the URL that they give you and put it in the wave tags. REMOVE ANY SPACES AFTER THE URL

Example Usage
Code: Select all
[wave]https://wave.google.com/wave/waveref/googlewave.com/w+J9A24nm-B[/wave]


Example Results
User avatar
MasterZ
Warrant Officer
Warrant Officer
 
Years of membership
 
Posts: 456
Joined: Sun Oct 05, 2008 11:48 am
Location: Colorado Springs

Return to PHP / phpBB3 Coding

Who is online

Users browsing this forum: No registered users and 1 guest

cron