Show html codes to guest only (ads, limits, etc) Show html codes to guest only (ads, limits, etc)
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Show html codes to guest only (ads, limits, etc)

Started by metal13, August 07, 2009, 04:07:04 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

metal13

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

:)

Joachim Müller

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

metal13

cool... it works... but its only showing on the header part... anyways thnx... ill try to play with the codes...

Joachim Müller

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.