Welcome to Geeklog Thursday, December 12 2019 @ 09:08 pm EST

Geeklog Forums

Staticpages plugin: ignore search, no sitemap


Status: offline

ivy

Forum User
Full Member
Registered: 25/11/04
Posts: 312
Location:Tokyo Japan
until Geeklog1.8.1, dummy topic (permission 3 2 2 0) assigned page are not searched, and we can use autotag: staticpage_content for guest users. (The page permission is 3 2 2 2.)

ex)
PHP Formatted Code
[staticpage_content:_parts_]
 
_parts_ : (permission 3 2 2 2) assigned topics (permission 3.2 2 0)

But Geeklog 2.0.0, autotag: staticpage_content does not display assigned to topic (perrmission 3 2 2 0) for guest users.

How can we set staticpages to non-search mode in Geeklog 2.0.0 site?

Static page should be permitted by assigned topics?

The static page assigned to TopicA: (3 2 2 0) and TopicB: (3 2 2 2) is displayed to guest?
Geeklog Japan https://www.geeklog.jp
 Quote

Status: offline

Laugh

Site Admin
Admin
Registered: 27/09/05
Posts: 1384
A staticpage assigned to a topic will take on the permissions of that topic. So if a user cannot view the topic then they shouldn't be able to view the staticpage (just like how stories work).

Is your real question how can you prevent a staticpage from displaying in the search results?

If you look in the staticpage configuration you can disable center block and php staticpages from appearing in search results.

One of the Geeklog Core Developers.
 Quote

Status: offline

ivy

Forum User
Full Member
Registered: 25/11/04
Posts: 312
Location:Tokyo Japan
Tom,
I see!
thanks.
Geeklog Japan https://www.geeklog.jp
 Quote

Status: offline

Laugh

Site Admin
Admin
Registered: 27/09/05
Posts: 1384
Did that help you?

You could make that staticpage use php then it could skip the search.

Else if you do need a specific staticpage to be not included in the search results you will have to add a feature request for it Smile
One of the Geeklog Core Developers.
 Quote

Status: offline

ivy

Forum User
Full Member
Registered: 25/11/04
Posts: 312
Location:Tokyo Japan
I always set "Home only" mode.
But if "dummy" topic permission is 3 2 2 2, then
http://geeklogsite/index.php?topic=dummy
This page is searched by crawler if displayed in topic block.

"Topic" need non-listed option, maybe.




Geeklog Japan https://www.geeklog.jp
 Quote

Status: offline

Laugh

Site Admin
Admin
Registered: 27/09/05
Posts: 1384
You can have hidden topics.

There is a flag you can set on the topic edit admin form.
One of the Geeklog Core Developers.
 Quote

All times are EST. The time is now 09:08 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