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

Recent

Welcome to TinyPortal. Please login or sign up.

May 01, 2024, 09:21:19 AM

Login with username, password and session length
Members
  • Total Members: 3,885
  • Latest: Growner
Stats
  • Total Posts: 195,174
  • Total Topics: 21,220
  • Online today: 167
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 146
  • Total: 146

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