Advanced search  

News:

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.
[more]

Pages: [1]   Go Down

Author Topic: Show html codes to guest only (ads, limits, etc)  (Read 5436 times)

0 Members and 1 Guest are viewing this topic.

metal13

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Show html codes to guest only (ads, limits, etc)
« 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

 :)
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Show html codes to guest only (ads, limits, etc)
« Reply #1 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.
Logged

metal13

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Show html codes to guest only (ads, limits, etc)
« Reply #2 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...
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Show html codes to guest only (ads, limits, etc)
« Reply #3 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.035 seconds with 19 queries.