Advanced search  

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

Pages: [1]   Go Down

Author Topic: Flickr page/category  (Read 4553 times)

0 Members and 1 Guest are viewing this topic.

syedali

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
Flickr page/category
« on: October 22, 2005, 03:47:22 pm »

Hi,
Just wondering is it possible to make a coppermine category that would show the flickr badge.
Code: [Select]
<!-- 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 -->
« Last Edit: October 24, 2005, 08:07:30 am by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Flickr page/category
« Reply #1 on: October 23, 2005, 01:29:25 pm »

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.
Logged

syedali

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
Re: Flickr page/category
« Reply #2 on: October 23, 2005, 09:20:59 pm »

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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Flickr page/category
« Reply #3 on: October 24, 2005, 07:24:29 am »

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

syedali

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
Re: Flickr page/category
« Reply #4 on: October 24, 2005, 08:05:37 am »

Thanks guys...miniCMS was awesome
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 19 queries.