Flickr page/category Flickr page/category
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Flickr page/category

Started by syedali, October 22, 2005, 03:47:22 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

syedali

Hi,
Just wondering is it possible to make a coppermine category that would show the flickr badge.
<!-- Start of Flickr Badge -->
<style type="text/css">
#flickr_badge_source_txt {padding:0; font: 11px Arial, Helvetica, Sans serif; color:#666666;}
#flickr_badge_icon {display:block !important; margin:0 !important; border: 1px solid rgb(0, 0, 0) !important;}
#flickr_icon_td {padding:0 5px 0 0 !important;}
.flickr_badge_image {text-align:center !important;}
.flickr_badge_image img {border: 1px solid black !important;}
#flickr_www {display:block; padding:0 10px 0 10px !important; font: 11px Arial, Helvetica, Sans serif !important; color:#3993ff !important;}
#flickr_badge_uber_wrapper a:hover,
#flickr_badge_uber_wrapper a:link,
#flickr_badge_uber_wrapper a:active,
#flickr_badge_uber_wrapper a:visited {text-decoration:none !important; background:inherit !important;color:#3993ff;}
#flickr_badge_wrapper {background-color:#000000;border: solid 1px #FF0033}
#flickr_badge_source {padding:0 !important; font: 11px Arial, Helvetica, Sans serif !important; color:#666666 !important;}
</style>
<table id="flickr_badge_uber_wrapper" cellpadding="0" cellspacing="10" border="0"><tr><td><a href="http://www.flickr.com" id="flickr_www">www.<strong style="color:#3993ff">flick<span style="color:#ff1c92">r</span></strong>.com</a><table cellpadding="0" cellspacing="10" border="0" id="flickr_badge_wrapper">
<tr>
<script type="text/javascript" src="http://www.flickr.com/badge_code_v2.gne?count=10&display=latest&size=m&layout=h&source=user&user=60799837%40N00"></script>
</tr>
</table>
</td></tr></table>
<!-- End of Flickr Badge -->

Joachim Müller

yes, you could do this using the minicms mod or by writing some custom code, with an if/the switch that determines what category has been selected and output your flickr stuff when true.

syedali

Hmm...anyone kind enough to write the custom code he's talking about please? I have experience programming in C so I can modify a PHP code a bit, but I cant come up with a new code on my own.

Joachim Müller

If you don't have enough coding skills, try the minCMS mod as suggested.

syedali

Thanks guys...miniCMS was awesome