TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

December 07, 2023, 12:14:18 AM

Login with username, password and session length
Members
Stats
  • Total Posts: 194,611
  • Total Topics: 21,189
  • Online today: 136
  • Online ever: 3,540
  • (September 03, 2022, 01:38:54 AM)
Users Online
Users: 0
Guests: 31
Total: 31

Dedicated startpage only with login.

Started by McFly, August 02, 2023, 01:34:55 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

McFly

Is there actually a reasonably simple way - without rewriting the index.template.php completely - to generate a start page via TP exclusively for logging in when guests cannot access forum content? Comparable with facebook e.g.
"I'm not going to censor myself to comfort your ignorance."

Testsites (may be online or not ;-) )
ElkArte 1.1.x & TP on Apache2.4.48, PHP 8.1.2 FPM/FastCGI, MariaDB 10.5.12

@rjen

Intrigued about you question, but no clue what it is you are looking for...
Running Latest TP on SMF2.1 at: www.fjr-club.nl

McFly

In case you want to deny guests access to the forum, but there should be the possibility of registration, with SMF and TP normally the top-section, the header and in the wrapper the menu with the links home and forum are displayed. In the middle the window with the login or registration.

But I would like to see a separate page with a completely different layout.  A large image on one side with welcome text and in the other half of the screen the login. In addition, one is nowadays EU-legally compelled, imprint, data protection regulation etc, also on guests accessible pages to present. etc.
"I'm not going to censor myself to comfort your ignorance."

Testsites (may be online or not ;-) )
ElkArte 1.1.x & TP on Apache2.4.48, PHP 8.1.2 FPM/FastCGI, MariaDB 10.5.12

McFly

I will illustrate this with the help of the two pictures. The first shows what can be seen by default with SMF and TP with "uninvited guests".

In the second picture I have framed the area for login or registration brightly and the lower dark area for copyright, imprint etc..

For this you would normally have to rewrite the complete index.template.php.
"I'm not going to censor myself to comfort your ignorance."

Testsites (may be online or not ;-) )
ElkArte 1.1.x & TP on Apache2.4.48, PHP 8.1.2 FPM/FastCGI, MariaDB 10.5.12