News:

Wondering if this will always be free?  See why free is better.

Main Menu

Prepend Forum with website

Started by ColinJM, February 13, 2024, 02:52:39 AM

Previous topic - Next topic

ColinJM

OK thanks SOoL will give you a yell if I need to  8)
Kind Regards

Colin

Kindred

You should also address questions about how tinyportal works in the thread or website dedicated to supporting tinyportal
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

ColinJM

Quote from: Kindred on February 16, 2024, 08:57:38 PMYou should also address questions about how tinyportal works in the thread or website dedicated to supporting tinyportal

Ah, fair enough - different forums have different rules - note this one's thanks Kindred  8)
Kind Regards

Colin

ColinJM

Quote from: Kindred on February 16, 2024, 08:57:38 PMYou should also address questions about how tinyportal works in the thread or website dedicated to supporting tinyportal

Can you give me the link please Kindred
Kind Regards

Colin

Sir Osis of Liver

Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Sir Osis of Liver

If you set Admin > Frontpage to 'Go directly to forum index', login goes to forum index. If you disable all panels, it basically removes the portal altogether, then you can add back in what you want.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

ColinJM

I'll keep going in here - because I'm not sure it's within tinyportals commit - what I want to do at the moment until I get a full handle on tiny portal is to go to a home page website when people log in.

Yes I do realise that ultimately, I should do this with tinypermit I think thepathing to my website for the time being is external tinypermit

Kind Regards

Colin

lurkalot

In TinyPortal > Settings

How to redirect after login: Select either,

Redirect to forum.
Redirect to frontpage.

And Save.

On that same Settings page, you can hide the TinyPortal menu so it only shows to Admins, by checking the box next to, "Hide TinyPortal menu option"

And save.

You can basically make the portal as invisible as you want.

ColinJM

@lurkalot - out of respect for @Kindred ' s comment I'll quote and respond in the appropriate thread.  ;D
Kind Regards

Colin

Kindred

@ColinJM

You can't do both.
Honestly you can't do what you are asking for with the external website at all without some major reprogramming... and the way you have it currently set up with index.html in the same directory as index.php, using htaccess will also break things.

Get tinyportal working.
Tell your users to chill while the system is correctly built.
Otherwise you are tempting fate AND doing double work for no reason
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

ColinJM

Kind Regards

Colin

ColinJM

Quote from: Doug Heffernan on February 13, 2024, 08:57:06 AM
Quote from: ColinJM on February 13, 2024, 02:52:39 AM1) The forum Home "button" goes to the URL of the Web Site I'm building which will be under the same domain

You can use this mod for that.

https://custom.simplemachines.org/index.php?mod=4379


Thanks Doug that fixed the Home link in the forum - now goes to my website

[/quote]

@Doug Heffernan - I've implemented that but I want it to open the same browser tab not a new tab in the same browser session - what do I have to change?
Kind Regards

Colin

Sir Osis of Liver

You can do that in Subs.php, look for "all the bottons".  That's the main menu buttons array. 

Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Kindred

The OPis using a mod for the home button



Colin, ask in the mod support thread
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

ColinJM

Thanks Kindred - will do. Flagged this as solved  :)

Ha! you beet me to it  8)
Kind Regards

Colin

Sir Osis of Liver

Quote from: Kindred on March 17, 2024, 10:40:06 PMThe OPis using a mod for the home button

You don't need a mod for the home button, it's easier (and more instructive) to do it in Subs.php -


            'home' => array(
                'title' => 'Home',
                'href' => 'https://www.yourwebsite.com',
                'show' => true,
                'sub_buttons' => array(
                ),
                'is_last' => $context['right_to_left'],
            ),


It's the "Give a man a fish...." thing.

Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Doug Heffernan

Quote from: Sir Osis of Liver on March 18, 2024, 01:20:50 PMYou don't need a mod for the home button, it's easier (and more instructive) to do it in Subs.php -

It's always best to avoid file edits as much as possible imo.

Sir Osis of Liver

Well, I believe it's always best to avoid mods whenever possible, unless forum owner is a total noob.  Colin seems up to it.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Kindred

Well, since Colin already decided to go with the MOD, your point is moot, Sir Osis :P

Seriously though -- even when an admin makes edits -- it would be MUCH better to then package those edits as a mod for future reproduction if the site needs to get a reload ---  so Mods are better than direct edits!
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: