După lupte seculare care au durat vreo 3 nopţi, am reuşit să încropesc un tag [picasa] pentru phpBB.
BBcode Usage:
[picasa]http://picasaweb.google.com/{INTTEXT}/{IDENTIFIER2}#[/picasa]
HTML replacement:
<script type="text/javascript"
src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js">
</script>
<div id="piks{INTTEXT}{IDENTIFIER2}"> <script>
var flashvars = {
feed: "http%3A%2F%2Fpicasaweb.google.com%2Fdata%2Ffeed%2Fapi%2Fuser%2F{INTTEXT}%2Falbum%2F{IDENTIFIER2}%3Falt%3Drss%26kind%3Dphoto%26hl%3Den_US",
RGB: "0x000000"
};
var params = {
pluginspage: "http://www.macromedia.com/go/getflashplayer",
allowscriptaccess: "always"
};
swfobject.embedSWF("http://picasaweb.google.com/s/c/bin/slideshow.swf",
"piks{INTTEXT}{IDENTIFIER2}", "600", "450", "9.0.0", "",
flashvars, params);
</script>
</div>
Şi varianta cooliris:
BBcode Usage:
[cooliris]http://picasaweb.google.com/{INTTEXT}/{IDENTIFIER2}#[/cooliris]
HTML replacement:
<script type="text/javascript"
src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js">
</script>
<div id="wall{INTTEXT}{IDENTIFIER2}"> <script>
var flashvars = {
feed: encodeURIComponent("api://picasaweb.google.com/?user={INTTEXT}&album={IDENTIFIER2}")
};
var params = {
allowFullScreen: "true",
allowscriptaccess: "always"
};
swfobject.embedSWF("http://apps.cooliris.com/embed/cooliris.swf",
"wall{INTTEXT}{IDENTIFIER2}", "600", "450", "9.0.0", "",
flashvars, params);
</script>
</div>
Le puteţi vedea la lucru aici.
joi, 20 mai 2010
Abonați-vă la:
Postare comentarii (Atom)
Thank you for this...i modified mine to the following...
RăspundețiȘtergere[picasa]https://picasaweb.google.com/{INTTEXT}/{IDENTIFIER2}[/picasa]
Hello, what is the help line ?
RăspundețiȘtergereThank's a lot, Chris