Web based family history software

This Help forum is for issues relates to the latest release (1.7.2). For issues related to beta or github version please use their own Help forum.
Before asking for help please read "How to request help" by clicking on that tab above here."

Question main site..

  • bobek
  • Topic Author
  • Visitor
  • Visitor
7 years 11 months ago - 7 years 11 months ago #1 by bobek
main site.. was created by bobek
hi,
please help me to find how to set /for everyone/ open MAIN site not MY site.

All the best!
Last edit: 7 years 11 months ago by bobek.

Please Log in or Create an account to join the conversation.

More
7 years 11 months ago #2 by fisharebest
Replied by fisharebest on topic main site..
To make a site open, (e.g. show all individuals to everyone) -

Control panel -> Family trees -> Privacy -> Show living individuals = Show to visitors

You should only do this if all the data in the tree is public.

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

  • bobek
  • Topic Author
  • Visitor
  • Visitor
7 years 11 months ago - 7 years 11 months ago #3 by bobek
Replied by bobek on topic main site..
"for everyone"... i thought about USERS . i want to set that USERS open MAIN site not USER site.
Living or not - its not important.
I want set all USERS see main site our family website .
i have one family tree
Last edit: 7 years 11 months ago by bobek.

Please Log in or Create an account to join the conversation.

  • bertkoor
  • Offline
  • Platinum Member
  • Platinum Member
  • Greetings from Utrecht, Holland
More
7 years 11 months ago - 7 years 11 months ago #4 by bertkoor
Replied by bertkoor on topic main site..
In index.php lines 36-41:
Code:
// The default view depends on whether we are logged in if (Auth::check()) { $ctype = Filter::get('ctype', 'gedcom|user', 'user'); } else { $ctype = 'gedcom'; }

Replace this block with only "$ctype = 'gedcom';" and no one (not even you) will ever be able to see "My" page anymore.

There are probably more elegant solutions, look where "ctype=user" is set in the query parameter of the redirect URL.
Another option is teach your users there is a difference and they can switch from one to the other using the menu, and customise it to their own needs.
Or change the blocks for all users so there is no difference anymore. I recall there was a config section somewhere to set the default blocks.

stamboom.BertKoor.nl runs on webtrees v1.7.13
Last edit: 7 years 11 months ago by bertkoor.

Please Log in or Create an account to join the conversation.

  • bobek
  • Topic Author
  • Visitor
  • Visitor
7 years 11 months ago #5 by bobek
Replied by bobek on topic main site..
thank for replies and answer. Well...i dont want to delate "my site". I want to set for everyone that "main site" open as default. if someone want to chceck messages or something else can open "my site".

so "main site " as default.

thank for answer and help. please help me.

Please Log in or Create an account to join the conversation.

More
7 years 11 months ago #6 by Jackie
Replied by Jackie on topic main site..
Hello Bobek,

Your members could enter the site from any page. By default, when they log in they stay on the page they are.

For example, you decide to enter the site on your grandfather's page. You log in, and webtrees will display your grandfather's indiividual page.
To change this, you will need to change the code.

Please Log in or Create an account to join the conversation.

More
7 years 11 months ago - 7 years 11 months ago #7 by fisharebest
Replied by fisharebest on topic main site..
I haven't tested this, but you could try changing index.php

$ctype = Filter::get('ctype', 'gedcom|user', 'user');

to

$ctype = Filter::get('ctype', 'gedcom|user', 'gedcom');

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Last edit: 7 years 11 months ago by fisharebest.

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum
}