SimplePortal

Support => English Support => Topic started by: swtdivalove on October 20, 2009, 12:53:38 PM

Title: Forum Link Tree
Post by: swtdivalove on October 20, 2009, 12:53:38 PM
With the forum link tree removed from the front page, and with blocks on the left of the front page and of the forums, I would like to move the link tree so it resides just over the forums when in the forums section.

Basically, I would like to move the link tree from above the portal blocks on the forum page, to over just the forum part so that the forum part will move down a little with the link tree above it, and the blocks remain where they are like on the front page.
Title: Re: Forum Link Tree
Post by: swtdivalove on October 20, 2009, 01:10:04 PM
Actually, this would be a good idea to be incorporated into Simple Portal by default!
Title: Re: Forum Link Tree
Post by: Nathaniel on October 20, 2009, 10:52:04 PM
Here's how you do it.

Remove this code from your 'Themes/default/index.template.php' file.
Code: [Select]
// Show the navigation tree.
theme_linktree();

Add that code above to the end of the 'template_portal_above' function from the 'Themes/default/Portal.template.php' file.

Actually, this would be a good idea to be incorporated into Simple Portal by default!

Hmm, not so sure about that. It depends on the theme really. With the theme on this site for example, putting the linktree there would be quite ugly in my opinion. Anyway, its relatively easy to customize, so it will probably stay how it is. ;)
Title: Re: Forum Link Tree
Post by: swtdivalove on October 21, 2009, 10:22:45 AM
I tried this, and the link tree never showed up and had to revert back.

I think that more of the function that actually calls the link tree has to be added in order for it to work.
Title: Re: Forum Link Tree
Post by: Runic on October 21, 2009, 11:29:55 AM
go to Admin - Forum Maintenance - Routine and clear your forum cache
Title: Re: Forum Link Tree
Post by: swtdivalove on October 21, 2009, 11:57:47 AM
Still a NO GO.
Title: Re: Forum Link Tree
Post by: Runic on October 21, 2009, 11:59:40 AM
did you hard refresh after you cleared cahce, sorry should have mentioned that ... ctrl r is the common method
Title: Re: Forum Link Tree
Post by: swtdivalove on October 21, 2009, 12:05:14 PM
Yes, several times.  Even closed my browser and tried it that way.

I even cleared my cache several times also.
Title: Re: Forum Link Tree
Post by: Nathaniel on October 21, 2009, 05:54:58 PM
Are you using a Custom theme?

Can you please attach your index.template.php and Portal.template.php files?
Title: Re: Forum Link Tree
Post by: swtdivalove on October 21, 2009, 06:14:09 PM
Sure!

Yes, I am using a custom theme.

Theme:  SilentWave (2.0 RC1)

Just so you know, I have reverted the files so that there is a link tree the way that it normally is.
Title: Re: Forum Link Tree
Post by: Nathaniel on October 22, 2009, 01:24:39 AM
Looks like you had made some errors, there were a few unnecessary parts of code added to the Portal.template.php file.

Try the attached files.
Title: Re: Forum Link Tree
Post by: swtdivalove on October 22, 2009, 11:38:18 AM
Still no link tree over the top of just the forums.
Title: Re: Forum Link Tree
Post by: Nathaniel on October 23, 2009, 01:40:07 AM
Could you please post a link to your site?
Title: Re: Forum Link Tree
Post by: swtdivalove on October 23, 2009, 12:07:43 PM
Dreamlike Entertainment, LLC (http://www.dreamlikeent.com)
Title: Re: Forum Link Tree
Post by: Nathaniel on October 23, 2009, 05:56:29 PM
Try this Portal.template.php file.
Title: Re: Forum Link Tree
Post by: swtdivalove on October 24, 2009, 12:23:28 PM
Perfect, Nathaniel!  Thank you!

But, now I'm getting an error on the bottom of the site:
Quote
Fatal error: Call to undefined function: get2by2host_copyright() in /home/mc8402/public_html/Sources/Load.php(2009) : eval()'d code on line 231

And also I'm getting this error too:
Quote
Session verification failed.  Please logout and login back in...

I only get that error when trying to login into the ACP.  And, once I get that error, I am unable to logout of the site.  I have to delete my cookies for the site and then login.  But, as soon as the ticker has hit on the timer for the ACP, I cannot login/logout of the site nor can I login to the ACP.

I'm not getting any errors in the logs about it either.
Title: Re: Forum Link Tree
Post by: swtdivalove on October 24, 2009, 01:40:19 PM
Weird...  It's working again.

It only happens once in awhile.
Title: Re: Forum Link Tree
Post by: ccbtimewiz on October 24, 2009, 01:49:22 PM
I've PMed you.
Title: Re: Forum Link Tree
Post by: swtdivalove on October 24, 2009, 02:27:52 PM
Got the PM on my website.

I had not noticed that the copyright was messed up until someone pointed it out to me.

I do not remove copyrights, at least not intentionally.

I would like to resolve this issue, but unfortunately, I do not know how to fix this issue.

Before upgrading to 2.3.1, the copyright was in fact in-tact and it was there.

Since I've had a couple of little issues, which I have been attempting to fix, I may have inadvertently messed up the copyright at the bottom of the site.

I am attaching my LOAD.PHP file, to which someone can hopefully help me fix so that the copyright is in fact intact.

Also, if there are any other files that need to be looked at to fix this, I will attach them.
Title: Re: Forum Link Tree
Post by: ccbtimewiz on October 24, 2009, 02:36:18 PM
Could you please attach your Subs.php and index.template.php files.
Title: Re: Forum Link Tree
Post by: swtdivalove on October 24, 2009, 02:45:42 PM
HEHE  Thanks, Bud!  I'm all fixed now!

Not sure what happened to cause it to error?
SimplePortal 2.3.8 © 2008-2024, SimplePortal