forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: rrsae on May 23, 2007, 10:10:11 am

Title: anycontent.php question..
Post by: rrsae on May 23, 2007, 10:10:11 am
hello everybody and especially GauGau and thnx for coding Coppermine Gallery for us... this is my 1st post here... here's my question for u guys: i've installed CG on www.avataruri.ro [edit GauGau] Warning: link not worksafe [/edit] and i want to have the anycontent.php visible from any page not just tha main page ( to put Adsense in it :p)... so is that possible?


thank you
Title: Re: anycontent.php question..
Post by: Joachim Müller on May 23, 2007, 12:55:18 pm
Don't use anycontent for such a purpose. Anycontent is designed to be displayed on index pages only, and it is meant to be used for PHP content. Adsense is not PHP-driven, but just a bit of HTML/JavaScript. You're suppossed to add static HTML content to themes/yourtheme/template.html wherever you see fit. Has been asked very often, searching the board for "adsense" would have told you so. In the future, please search before posting.
You're welcome (and even encouraged) to post links to your coppermine-driven pages when requesting support. However, please post a warning with it if your site is not safe for work. I edited your posting accordingly.

Joachim

P.S. 
hello everybody and especially GauGau and thnx for coding Coppermine Gallery for us.
It wasn't me alone who coded Coppermine. Coppermine is a community effort, originally written by Gregory Demar, improved by the coppermine developer team (see "about (http://coppermine-gallery.net/team/#active)" page).
Title: Re: anycontent.php question..
Post by: rrsae on May 23, 2007, 04:19:19 pm
what do you want to say that my site "is not safe for work" ???
Title: Re: anycontent.php question..
Post by: Joachim Müller on May 23, 2007, 06:31:52 pm
No, your site is not safe for work. At least for US residents or employess of companies owned by US investors (applies to me). Don't get this wrong - it's fine to use Coppermine for adult content as well as topless or mild nudity shots. Just post a warning with it - you wouldn't want Coppermine supporters to run into troubles because they visited your site...
Your site doesn't feature full frontal nudity nor porn, but too much skin for the taste of some people.

Let's return to your initial question: did my proposal solve your issues?