Welcome to Geeklog, Anonymous Thursday, November 28 2024 @ 08:35 am EST

Geeklog Forums

Minimise Geeklog Search Result


Status: offline

D1

Forum User
Chatty
Registered: 08/27/03
Posts: 55
Hello Guys,

Does anyone know how I can minimise the GL search result?

I only want certain area of my postings to be available to the visitors that perform the search. Is this possible?

Regards
What an old man can see, a young man will never see even though he is standing at the top of the highest mountain.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by D1: I only want certain area of my postings to be available to the visitors that perform the search. Is this possible?

Can you be more specific?

The search results respect Geeklog's permissions, so if the current user is not allowed to see a story, it won't show up in the search results. Would that help?

bye, Dirk
 Quote

Status: offline

D1

Forum User
Chatty
Registered: 08/27/03
Posts: 55
Thanks Dirk,

Because my hosting website heavily relies on GL.
Registration process, thank you pages, unsuccesful payment messages, payment redirection etc are all in static.

So if anybody types anything even a letter, everything comes up.

I wouldn't like to disable the search feature as it is serving as an added advantage to the site.


The Registration process, thank you pages, unsuccesful payment messages, payment redirection etc

I want the visitors to get to these pages through the given links and redirection and not geting to the individual pages through the search engine.

Or do you recon I disable the search, this also apply to the stats.php as well.

Regards
What an old man can see, a young man will never see even though he is standing at the top of the highest mountain.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by D1: (...) are all in static.

So, in other words, you don't want static pages to be searchable?

You could comment out (or remove) the search function in the static pages functions.inc file. Or, as I said, set the permissions such that only authorized personal can see the pages that shouldn't show up in the search results.

bye, Dirk
 Quote

Status: offline

D1

Forum User
Chatty
Registered: 08/27/03
Posts: 55
Thanks Dirk.

Just set the following.

$_CONF['linksloginrequired'] = 1;
$_CONF['searchloginrequired'] = 1;

This practically means disabling these features for the visitors.

Well still serves a purpose, but no search capabiliy for the visitors.

Thanks..
What an old man can see, a young man will never see even though he is standing at the top of the highest mountain.
 Quote

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