Welcome to Geeklog Tuesday, November 12 2019 @ 07:11 pm EST

Geeklog Forums

members only tag?


Status: offline

odDonnellE

Forum User
Junior
Registered: 26/12/02
Posts: 24
is there a members only htmllike tag we could use in themes? i'd like some elements in a layout i'm working on to only show up for logged in users. the submit bits for example.

what spawned this is the google bot. it's taken to going through various parts of my website submitting (events for example) with the various combinations one could do. it's been busy the last few days.

thanks in advance.

-Adam
-Adam O'Donnell

Status: offline

hjklassen

Forum User
Junior
Registered: 14/11/03
Posts: 20
I suggest you look through the main config.php file. There are all kinds of permissions settings.

Also, every block, story, topic, link or event that you create can be set to only allow certain users to view.

Hope that helps.
Hans

Status: offline

odDonnellE

Forum User
Junior
Registered: 26/12/02
Posts: 24
i'm aware of that option. i don't really want to block anonymous traffic to the calendar, i'd just like to hide the option to add to the calendar. and there are other times it'd be handy to say

[ifloggedin]do the things that are here[/ifloggedin]

and so on. i thought i'd read about someone doing something like that once but i can't remember what i'm looking for. i've exausted my search options on finding it.

thanks just the same.

-adam
-Adam O'Donnell

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/02
Posts: 13073
Location:Stuttgart, Germany
You can use PHP in header.thtml. See here for an example.

bye, Dirk

All times are EST. The time is now 07:11 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content