Welcome to Geeklog Wednesday, May 27 2020 @ 06:18 am EDT

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
 Quote

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
 Quote

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
 Quote

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
 Quote

All times are EDT. The time is now 06:18 am.

  • 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