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

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,966
  • Latest: safir45
Stats
  • Total Posts: 195,990
  • Total Topics: 21,323
  • Online today: 1,050
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 336
  • Total: 336

Front page as Initial page

Started by espressoguy, October 17, 2008, 04:52:00 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

espressoguy

Could someone give me some idea of some of the settings that determine whether or not the user will see the "Front Page" immediately after login (ie instead of the forum)?  I have my SMF/TP install setup as a members-only site.  I want it to be setup so that immediately after login, users see the "Front Page" but right now users see the Forum instead.   

My install is SMF 1.1.6 with TP 1.0.5 beta 1

I setup the site as "Members Only" by unclicking "Allow guests to see the forum" in SMF and setting up a category with guest access disabled.  Featured article is in this category and Front page is set for "featured articles and front page blocks". 

G6Cad

Uncheck the catbox with "go directly to forum" in your TP admin/frontpage  and the frontpage will be the opening page instead of the forum

espressoguy

Quote from: G6 on October 17, 2008, 08:34:35 AM
Uncheck the catbox with "go directly to forum" in your TP admin/frontpage  and the frontpage will be the opening page instead of the forum

Actually, the "What to display on Front Page" is set to "Featured article and front page blocks".   This seems to be an intermittent bug ...this morning it went right to the front page; then I logged-out and logged back in again and it went to the Forum Index.   If someone is familiar enough with the source level code, I could put in debug code to print variable values to a file on disk to get to the bottom of this.  I did modify my index.template.php to put in a custom header/menu...

Thank you for the help G6  :)

IchBin


espressoguy

Quote from: IchBinâ,,¢ on October 17, 2008, 05:04:19 PM
Maybe this is what you're talking about. Login/shoutbox Redirect

I'm not sure I understand that correctly....
    Is it saying that the function call:
                       redirectexit($setLocation = '', $refresh = false, $tp_not = true)
    ...would do a redirect to front page on login also (not just on exit) ...and that "$tp_not=true" specifies this redirect to FrontPage?

Thanks  :)

espressoguy

Quote from: IchBinâ,,¢ on October 17, 2008, 05:04:19 PM
Maybe this is what you're talking about. Login/shoutbox Redirect

No,
      function redirectexit($setLocation = '', $refresh = false, $tp_not = true)

....doesn't fix the problem....

SonicBorg

bump on this, having same issue.

when you click logout, or you actually login, the first thing it does is take you to the forum site.
This is not something i want because i'm trying to use TP as the main site feature, so the news posting on the front page is where i want them taken to after login in or out.

I had this on 1.0.52 and i just updated to 1.0.63, as well as the known bug of breaking the news postings which does not show title, auther etc. (and for some reason now stops showing categories icons)
http://www.cultofthedeaddragon.com/v3/index.php

This website is proudly hosted on Crocweb Cloud Website Hosting.