TinyPortal

Development => Support => Topic started by: safanth on July 27, 2008, 12:48:02 PM

Title: Force to open the home page after login in stead of forum page
Post by: safanth on July 27, 2008, 12:48:02 PM
Hi,

I have installed Tinyportal 1.0.5 beta using SMF 1.1.5.

Everything seems to work fine and I start to get the feeling how to use the tinyportal features, however, one thing is puzzling me.

Our site has the [home] and [forum] buttons and clicking the menu buttons manually it all works fine but I'd like the members of the community to automaticly open the [home] page first. At the moment after a user succesfully logs in, he / she is redirected to the forum page.

Any suggestions how I can set the home page to be the very first page a user sees after logging in?

Thanks.
Title: Re: Force to open the home page after login in stead of forum page
Post by: Zetan on July 27, 2008, 01:08:52 PM
Welcome to TinyPortal

Try this:

Admin > TinyPortal/Settings and Frontpage > Front page > What to display on front page: Several options here



Please take a look at the Documentation (http://docs.tinyportal.co.uk/index.php?action=forum).

Title: Re: Force to open the home page after login in stead of forum page
Post by: safanth on July 27, 2008, 02:26:56 PM
I have taken an extra look at the settings you suggested, however, I think my issue has to do something with the  {...index.php?action= } commands.

What happens is the following:

After a user logs in the user gets the forum displayed as if the user clicked the menu option 'forum' which would relate to the url statement ...index.php?action=forum
I have set the configuration for the frontpage to display frontpage blocks & articles and I am positive the option 'link directly to the forum index' is not selected.

What I would like is:

After a user logs in the user gets the home page displayed as if the user would have clicked on the menu option 'home' which would relate to the url statement ....index.php    (no action provided).

I have taken a look at the index.php and index.template.php but couldnt get my finger on the issue just yet.

I have add that I am also having a different theme in use in stead of the default one so perhaps some of the required settings are not performed in the separate theme files, although I have updated the index.template.php manually to actually displaying the 'forum' menu option.
Title: Re: Force to open the home page after login in stead of forum page
Post by: Zetan on July 27, 2008, 02:48:54 PM
in that case, search for "redirect", Advance search, by "Bloc".

I would find it for you, but I'm on my Blackberry cell phone, you'll find it quicker. it has been posted several times and requires a file edit.
Title: Re: Force to open the home page after login in stead of forum page
Post by: IchBin on July 27, 2008, 05:05:04 PM
Login/shoutbox Redirect (http://www.tinyportal.net/index.php?topic=23213.msg188221#msg188221)
Title: Re: Force to open the home page after login in stead of forum page
Post by: safanth on July 27, 2008, 06:26:56 PM
Thanks for the help it fixed my issue!

As suggested the issue was already posted so next time I'll be more carefull before posting a new topic and see if I can find a similar issue posted.  ;)
Title: Re: Force to open the home page after login in stead of forum page
Post by: Zetan on July 27, 2008, 08:12:42 PM
Good stuff. Most things have been covered and having a nose about the boards will reveal all sorts of interesting goodies.

Thanks for posting the link Ich :)