TinyPortal

Development => Support => Topic started by: BlizzForge on September 16, 2011, 04:59:53 AM

Title: Removing Forum from Frontpage
Post by: BlizzForge on September 16, 2011, 04:59:53 AM
I can't for the life of me figure out how to have the forum index not be displayed in the home page.

Sorry if this is a simple change...
Title: Re: Removing Forum from Frontpage
Post by: lurkalot on September 16, 2011, 09:10:58 AM
TP Admin > Settings

look for, "How to redirect after login"   Tick the "Redirect to frontpage", box, and save.
Title: Re: Removing Forum from Frontpage
Post by: BlizzForge on September 18, 2011, 05:17:09 AM
the forum index is still showing up.
Title: Re: Removing Forum from Frontpage
Post by: lurkalot on September 18, 2011, 08:35:16 AM
I'm guessing we might need a bit more info.  Please post your versions as requested in the guidelines,

Link to my site: http://www.yourdomain.com
SMF version: SMF ver. here
TP version: TP ver. here
Default Forum Language: Your Default Forum Language here
Theme name and version: Theme name here
Browser Name and Version: Browser name/version here
Mods installed: Mods listed here
Related Error messages: Error message here
Title: Re: Removing Forum from Frontpage
Post by: kent[ka] on September 27, 2011, 08:24:45 AM
Sorry for the long wait time, he have been busy lately and couldn't do much, that's why i'm here now.

If you still want to take a look, the link to our site: "BlizzForge.com"

SMF version: SMF 2.0
TP version: TP 1.0 RC2 (i'm not 100% sure)
Mods installed: I don't know at the moment sorry.
Default Forum Language: English
Theme name and version: CoalBlack by Crip
Browser Name and Version: The problem is general, so browsers like firefox,chrome,IE8, etc etc..
Related Error messages: No error message, it just redirect to forum page.
Title: Re: Removing Forum from Frontpage
Post by: IchBin on September 27, 2011, 03:20:21 PM
Have you set the option you want in the TPAdmin > frontpage settings section?
Title: Re: Removing Forum from Frontpage
Post by: kent[ka] on September 28, 2011, 09:02:16 AM
Quote from: lurkalot on September 16, 2011, 09:10:58 AM
TP Admin > Settings

look for, "How to redirect after login"   Tick the "Redirect to frontpage", box, and save.

If you're talking about this one, yes we have it set.
Title: Re: Removing Forum from Frontpage
Post by: IchBin on September 28, 2011, 05:24:43 PM
No I'm asking what are your front page settings. What is set to display? Forum posts? Articles? Go directly to forum?

TP Admin > Frontpage is where you need to look.
Title: Re: Removing Forum from Frontpage
Post by: kent[ka] on September 29, 2011, 10:50:05 AM
Well i have played around with different settings on  "What to display on frontpage:". Also the other settings at
TP Admin > Settings > Frontpanel

But nothing changes, it just keep redirect-ing to "forum" page and never display the "home" page.
Title: Re: Removing Forum from Frontpage
Post by: IchBin on September 29, 2011, 07:17:07 PM
Not much we can do from this point without looking at it. Would you mind setting up a temp admin account and PM'ing me the details if you want further help on it?
Title: Re: Removing Forum from Frontpage
Post by: kent[ka] on October 06, 2011, 03:41:44 AM
Sorry, for some reason i'm not allowed to send Pm's. Guess i'm under "newb" status. Create your account and i will give you the "temp admin" if that's what you need to fix the problem.
Title: Re: Removing Forum from Frontpage
Post by: IchBin on October 06, 2011, 04:42:49 PM
You should be able to now as the limit is 5 posts. I'd prefer you to set it up, this way I don't have my account details spread to the hundreds of sites I help do support on over time.
Title: Re: Removing Forum from Frontpage
Post by: kent[ka] on October 07, 2011, 03:52:29 AM
Lol, my last post was the key, what a fail from me. Anyways there you got it, hope you can fix our problem and thanks for the help.
Title: Re: Removing Forum from Frontpage
Post by: IchBin on October 07, 2011, 03:34:04 PM
Looks to me like your install didn't complete or something. I can't even preview or view an article after I created a test article either. I thought about doing a reinstall, but upon uninstalling it can't find one of the edits that it was supposed to make in the index.php file. At this point I'd say you should probably take a look at the manual install instructions, then go through each file and see if the edits have been made.
Title: Re: Removing Forum from Frontpage
Post by: kent[ka] on October 08, 2011, 02:28:26 AM
Yeh, i saw your test but, i didn't installed TP. My friend got the database, basically i have same acces to those things as you. I will tell my friend to check it out as soon as possible. Thanks for looking at it, i belive the problem is with the installation as you said.

I will let you know whenever he checks it all. Thanks again. ^^
Title: Re: Removing Forum from Frontpage
Post by: kent[ka] on October 12, 2011, 12:34:38 PM
Dam it..  SP works but not TP.. I want TP.
Title: Re: Removing Forum from Frontpage
Post by: kent[ka] on October 16, 2011, 03:18:48 AM
QuoteLooks to me like your install didn't complete or something. I can't even preview or view an article after I created a test article either. I thought about doing a reinstall, but upon uninstalling it can't find one of the edits that it was supposed to make in the index.php file. At this point I'd say you should probably take a look at the manual install instructions, then go through each file and see if the edits have been made.

Umm now, i'm confused about what you said. The problem is with SMF? because i removed the mod of TP and when i uploaded again all was fine, then tried to install and got error.

Execute Modification ./index.php Test failed
- Replace ./index.php Test failed

Quote// Action and board are both empty... BoardIndex!      if (empty($board) && empty($topic))      {         require_once($sourcedir . '/BoardIndex.php');         return 'BoardIndex';      }

Quote// first..if the action is set, but empty, don't go any further      if (isset($_REQUEST['action']) && $_REQUEST['action']=='')      {         require_once($sourcedir . '/BoardIndex.php');         return 'BoardIndex';      }      // Action and board are both empty... maybe the portal page?      if (empty($board) && empty($topic) && $settings['TPortal_front_type']!='boardindex')      {         require_once($sourcedir . '/TPortal.php');         return 'TPortal';      }      if (empty($board) && empty($topic) && $settings['TPortal_front_type']=='boardindex' && (isset($_GET['cat']) || isset($_GET['page'])))      {         require_once($sourcedir . '/TPortal.php');         return 'TPortal';      }      // Action and board are still both empty...and no portal startpage - BoardIndex!      elseif (empty($board) && empty($topic) && $settings['TPortal_front_type']=='boardindex')      {         require_once($sourcedir . '/BoardIndex.php');         return 'BoardIndex';      }

So i don't understand now, as you can see i'm very newb at all this stuff.. .
Title: Re: Removing Forum from Frontpage
Post by: IchBin on October 17, 2011, 03:34:00 AM
The install failed because the file has been modified where TP is looking for certain code. Either another mod has edited the code that TP is looking for, or someone has altered it manually.
Title: Re: Removing Forum from Frontpage
Post by: kent[ka] on October 17, 2011, 05:00:48 PM
Do you think, Simple Portal could have done that? Because it was installed once and removed. Now SP still there but is not "installed".
Title: Re: Removing Forum from Frontpage
Post by: IchBin on October 18, 2011, 12:35:20 AM
Well if you didn't modify it, then yes another mod did it. I'm sure Simple Portal modifies some of the same sections that TP does, I'm just not sure exactly which parts though.
Title: Re: Removing Forum from Frontpage
Post by: kent[ka] on October 18, 2011, 12:46:11 AM
So, how can i reverse or fix what SP changed? How exactly i fix my problem? Anything i can run to fix the lines in those files?
Title: Re: Removing Forum from Frontpage
Post by: IchBin on October 18, 2011, 05:08:47 AM
You'd have to look at what the SP file modifies and see what is changed and if the changes were all reverted. I have no idea what SP does though, as we did not develop that here.

The simplest way would be to reset your forum to default by uploading all your files from the SMF package. But that means you lose all mods installed.
Title: Re: Removing Forum from Frontpage
Post by: kent[ka] on October 18, 2011, 04:08:50 PM
Guess we will do that, re-isntall the SMF package. We don't have that many mods added at the moment and we can get them back easy. Thanks for the advice.
Title: Re: Removing Forum from Frontpage
Post by: kent[ka] on October 28, 2011, 08:49:27 PM
Well, problem is fixed now, and you were right IchBin. Thanks for all the time and help. Now i just gotta learn how it works 100% to make good things with it. ^^
Title: Re: Removing Forum from Frontpage
Post by: WillyP on November 01, 2011, 07:53:15 PM
Marked Solved.  O0