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

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

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.