SimplePortal

Customization => Themes and Graphics => Topic started by: Matt5L on December 10, 2008, 09:29:03 PM

Title: Forum Button Problem - Index Attached.
Post by: Matt5L on December 10, 2008, 09:29:03 PM
SMF 1.1.7
Simple Portal Classic 2.0.5
Theme: MoreStyle
site: http://www.sn95forums.com

I tried doing the following addition but it doesnt work properly:
Code: [Select]
// Show the [home] button.
   echo '
               <td class="mainnav"><a href="', $scripturl, '">' , $txt[103] , '</a></td>';
   // Show the [forum] button.
   echo '
               <td class="mainnav"><a href="', $scripturl, '?action=forum">' , $txt['sp-forum'] , '</a></td>';

I have attached my index template and a style.css file (in text doc since i cant post .css there are 4 colors to choose from)

Thanks,
Matt


ps: I also want to move my sn95forums header image (one with the cars) which is running off a 'rotate.php' script, I want to move it down a bit to where the current text/graphic .png logo is, how can I do this?
Title: Re: Forum Button Problem - Index Attached.
Post by: hot rides on December 11, 2008, 11:43:02 AM
did you enable simpleportal in the admin control panel?
Title: Re: Forum Button Problem - Index Attached.
Post by: Matt5L on December 11, 2008, 07:55:22 PM
did you enable simpleportal in the admin control panel?

yes once I enable it no problem with the portal but there is no forum button so people cant get on the forum easily.
Title: Re: Forum Button Problem - Index Attached.
Post by: hot rides on December 12, 2008, 02:07:40 PM
do you currently have that index.template uploaded to your website?
Title: Re: Forum Button Problem - Index Attached.
Post by: Matt5L on December 12, 2008, 07:17:48 PM
do you currently have that index.template uploaded to your website?

yes, and the simpleportal is deactivated because of the button problem.
Title: Re: Forum Button Problem - Index Attached.
Post by: hot rides on December 13, 2008, 01:00:38 PM
when I view the code from your site it doesn't show up. try uploading the modified index.template again and make sure its the right one. I dont know how many times I have uploaded the wrong file thinking it was the right one.
Title: Re: Forum Button Problem - Index Attached.
Post by: Matt5L on December 13, 2008, 04:44:20 PM
the thing is when I added the extra code all my buttons disappeared besides a Forum button and the layout got all messed up, thats why the code isnt in there.  sorry for the confusion.  maybe if you look at my index template that I attached you can see that its different? not sure its kinda a weird theme.
Title: Re: Forum Button Problem - Index Attached.
Post by: hot rides on December 15, 2008, 02:57:56 PM
SMF 1.1.7
Simple Portal Classic 2.0.5
Theme: MoreStyle
site: http://www.sn95forums.com

I tried doing the following addition but it doesnt work properly:
Code: [Select]
// Show the [home] button.
   echo '
               <td class="mainnav"><a href="', $scripturl, '">' , $txt[103] , '</a></td>';
   // Show the [forum] button.
   echo '
               <td class="mainnav"><a href="', $scripturl, '?action=forum">' , $txt['sp-forum'] , '</a></td>';

I have attached my index template and a style.css file (in text doc since i cant post .css there are 4 colors to choose from)

Thanks,
Matt


ps: I also want to move my sn95forums header image (one with the cars) which is running off a 'rotate.php' script, I want to move it down a bit to where the current text/graphic .png logo is, how can I do this?
I noticed that the sample code you posted does not match the code in the index.template you attached, different theme?
try the one I have attached
Title: Re: Forum Button Problem - Index Attached.
Post by: [SiNaN] on December 20, 2008, 07:04:07 AM
Any updates?
Title: Re: Forum Button Problem - Index Attached.
Post by: Matt5L on January 19, 2009, 05:29:09 PM
I still havent got it to work but im working on a few other things first, trying to get the SMF Ads working on my theme which isnt going too well.  Before I do this I want to get the SMF ads working so I can post a updated index template therefore the changes I have made since this old post above wont be lost.

So stay tuned lol thanks!
Title: Re: Forum Button Problem - Index Attached.
Post by: Sudhakar on January 31, 2009, 05:43:06 PM
I have tried to disable the simple portal.

And found that the forum button is invisible.

So the drop downs i have created under forum button were vanished.
Title: Re: Forum Button Problem - Index Attached.
Post by: [SiNaN] on February 04, 2009, 03:42:15 AM
Matt5L:

Any updates?

Sudhakar:

Subs.php

Find:

Code: [Select]
'show' => !empty($modSettings['portalactive']),
Replace:

Code: [Select]
'show' => true,
would show the forum button regardless of SP status.

But please start new topics for your issues.
SimplePortal 2.3.8 © 2008-2024, SimplePortal