coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: metal13 on August 07, 2009, 04:07:04 PM

Title: Show html codes to guest only (ads, limits, etc)
Post by: metal13 on August 07, 2009, 04:07:04 PM
hello, how do i show html codes to my guest only...
i wanna use it for ads and guest limitations...
and if possible i need 2 codes... code that can be displayed on all pages or at least only the "display image" page...

i've been searching the forum for like a days now... and found nothing....
any one with magic hands... help me pls...

warning: adult site
http://minipoy.com/media/index.php

gallery version 1.4x

:)
Title: Re: Show html codes to guest only (ads, limits, etc)
Post by: Joachim Müller on August 08, 2009, 01:46:57 PM
"Show HTML codes"? You probably meant "display some output only for guests"?

Take a look at http://forum.coppermine-gallery.net/index.php/topic,54312.msg264555.html#msg264555 for example.
Not related to permissions, moving accordingly.
Title: Re: Show html codes to guest only (ads, limits, etc)
Post by: metal13 on August 08, 2009, 10:08:04 PM
cool... it works... but its only showing on the header part... anyways thnx... ill try to play with the codes...
Title: Re: Show html codes to guest only (ads, limits, etc)
Post by: Joachim Müller on August 09, 2009, 10:15:12 AM
You can't add PHP into template.html, but you can add PHP to theme.php, so it depends what you actually want to see accomplished. Post details if you need details.