Advanced search  


cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.

Pages: [1]   Go Down

Author Topic: Looking for HTML/BBC Code per categories  (Read 2153 times)

0 Members and 1 Guest are viewing this topic.


  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Looking for HTML/BBC Code per categories
« on: April 06, 2007, 11:25:14 pm »


Is it possible to specify which categories to use a certain BBCode/HTML output code?

I was told that it might be possible to use a  if statement and specify the category ID.

Here is the layout of my site

10 categories
.. 3 categories are to use this code. Now this is the code output from the script
<a href="" target="_blank"><img src= border="0"/></a>

7 categories are to use this code. Also outputted from the script
.contactTable { width: 300px !important; height: 150px !important; padding: 0px !important; background-image: url(''); background-attachment: scroll; background-position: center center; background-repeat: no-repeat; background-color: transparent; }
.contactTable table, table.contactTable td { padding: 0px !important; border: 0px; background-color: transparent; background-image: none; }
.contactTable a img { visibility: hidden; border: 0px !important; }
.contactTable a { display: block; height: 28px; width: 115px; }
.contactTable .text { font-size: 1px !important; }
.contactTable .text, .contactTable a, .contactTable img { filter: none !important; }
</style><br><a href=></a>

Does that make sense? So I would set the script to say categories 1-3 are to use this code and 4-10 are to use the other.

Thanks for the help and sorry if it seems confusing.

Pages: [1]   Go Up

Page created in 0.018 seconds with 19 queries.