SimplePortal

Support => English Support => Topic started by: DjScrappy on November 29, 2008, 08:46:33 AM

Title: Is This A Bug!
Post by: DjScrappy on November 29, 2008, 08:46:33 AM
Hello All, Just Woundering When I Had Simple Portal 2.1 Installed it never put the word Forum on the portal "Forum " right above one of my portal blocks block="Latest Member" but it wasnt there with 2.1 I Upgraded To Simple Portal 2.1.1 and now its there is that a bug...I Hope This Is The Right Spot To Ask For Help  ;D
Title: Re: Is This A Bug!
Post by: [SiNaN] on November 29, 2008, 10:14:33 AM
Removing that have broken some themes, so decided to add it back. It's not a bug. If you bump this a few days later, I can give you the code to remove it.
Title: Re: Is This A Bug!
Post by: DjScrappy on November 29, 2008, 12:30:39 PM
so if it gets removed it will break my theme D:
Title: Re: Is This A Bug!
Post by: Burke Knight on November 29, 2008, 03:10:35 PM
But why, does it name the site Forum?

Why not have it set to use the site's name?
Title: Re: Is This A Bug!
Post by: Jade Elizabeth on November 29, 2008, 04:42:41 PM
But why, does it name the site Forum?

Why not have it set to use the site's name?

Just set it to use the HTML code for space :P
Title: Re: Is This A Bug!
Post by: Burke Knight on November 29, 2008, 05:55:58 PM
Ok, you lost me on that one.
Space?

I just am curious why the linktree starts off saying Forum instead of the Site's name. I tried to set it to the site name, but it would not take. However, since the SP coding has changed a bit, a little pointer in what exactly to change would help. :P
Title: Re: Is This A Bug!
Post by: [SiNaN] on November 30, 2008, 06:31:39 AM
so if it gets removed it will break my theme D:

I don't think so, just a few themes had this problem. What is your theme?

But why, does it name the site Forum?

Why not have it set to use the site's name?

Because 90% of the users are used to click on the link at the very beginning of the linktree to go to the forum main page. So it is annoying to be redirected to the portal everytime. It is quite hard to get used to click the second, not first.

And the reason why it is named as "Forum" is that, it goes to forum; not homepage. Forum already has a button which goes to portal, so no need to have it on the linktree.

If you want to put that back, codes are in sportal_init() function in SPortalxx.php file.
Title: Re: Is This A Bug!
Post by: DjScrappy on November 30, 2008, 08:33:34 AM
My Theme Is DS-Natural Which is an awsome Theme  ;D
Title: Re: Is This A Bug!
Post by: [SiNaN] on December 02, 2008, 07:42:23 AM
SPortal1-1.php

Find:

Code: [Select]
if (!empty($modSettings['portalactive']))
Replace:

Code: [Select]
if (empty($context['linktree'][1]))
$context['linktree'] = array();
elseif (!empty($modSettings['portalactive']))
Title: Re: Is This A Bug!
Post by: DjScrappy on December 03, 2008, 09:42:45 AM
I Do Not Have SPortal1-1.php i only have SPortal2.php im useing the newest version of the Portal  ;D
Title: Re: Is This A Bug!
Post by: [SiNaN] on December 03, 2008, 10:21:58 AM
Will work for that too.
SimplePortal 2.3.8 © 2008-2024, SimplePortal