TinyPortal
Development => Block Codes => Topic started by: deadman dj on December 26, 2006, 01:39:28 PM
hi all, firstly i'd like to thank everyone here for a fantastic portal system with excellent community support - big-ups!
anyway, thought i'd contribute to the site a little with some code i found to have a flickr gallery on your site.
the link for the script is here: http://fsviewr.lackadaisical.com/
it's very easy to set up - i just stuck the code (including the call to the javascript file) into a scriptbox block, modified the variables to call the appropriate flickr account and it works perfectly :)
you can see it in action on the top right block here: http://bareforum.com (don't let the name mislead you - it isn't anything rude!)
Does anyone have am alternative link for this flikr code?
Since the links in the above post do not currently seem to be working.
I've managed to do a similar thing with Pisca by embedding an album inside a TP article using some java code from a PHP-NUKE module.
see http://www.ewebsite.biz/modules.php?name=Downloads&d_op=viewdownloaddetails&lid=24
Simply download the zip file and unzip its contents, for example into a folder called modules, possibly placed inside your smf forum directory.
Then insert the following code into a TP html article, remember to change your.username to your Picasa user name and ensure the src path is set to the correct location for the pwa2.js file.
<script type="text/javascript">
username = 'your.username';
</script>
<script type="text/javascript" src="modules/Picasa/pwa2.js"></script>
The PHP-NUKE example can be found here
http://www.ewebsite.biz/modules.php?name=Picasa
I would now like to do this with a flickr and/or coppermine album as well.
Thanks