SimplePortal

Customization => Themes and Graphics => Topic started by: Giiyom on April 14, 2009, 10:18:28 PM

Title: [I Need Help] Outline 1.1x Theme Forum Button
Post by: Giiyom on April 14, 2009, 10:18:28 PM
Hello,

I tried to copy everything showed in the tutorial but I don't know why the Forum Button just won't show up.

I'm using Outline115 Theme by DzinerStudio.
SMF 1.1.8
SimplePortal 2.2
I'm also using French-UTF8

Can anyone help me please and tell me what I did wrong?
I attached my index.template

Thanks in advance! ;)

Title: Re: [I Need Help] Outline 1.1x Theme Forum Button
Post by: 130860 on April 15, 2009, 09:43:01 AM
try this one  :D

Title: Re: [I Need Help] Outline 1.1x Theme Forum Button
Post by: Giiyom on April 15, 2009, 09:05:24 PM
Still not working :(
Maybe it has something to do with my language pack?

edit: Tried with the english pack and it's not working either.
Title: Re: [I Need Help] Outline 1.1x Theme Forum Button
Post by: 130860 on April 16, 2009, 10:32:00 AM
could you post a link to your forum please ;)

also if you think is a language problem then you could do this:

in your index.template file around line 404 search for this:

Code: [Select]
// Show the [forum] button.
if (in_array($modSettings['sp_portal_mode'], array(1, 3)))
echo '<li><a' , $current_action=='forum' ? ' class="current"' : '' , '   href="', $scripturl . ($modSettings['sp_portal_mode'] == 1 ? '?action=forum' : ''), '"><span>', empty($txt['sp-forum']) ? 'Forum' : $txt['sp-forum'], '</span></a></li>';


and replace with this:


Code: [Select]
// Show the [forum] button.
if (in_array($modSettings['sp_portal_mode'], array(1, 3)))
echo '<li><a' , $current_action=='forum' ? ' class="current"' : '' , '   href="', $scripturl . ($modSettings['sp_portal_mode'] == 1 ? '?action=forum' : ''), '"><span>"FORUM"</span></a></li>';


you can change the "FORUM"  for whatever you want.
Title: Re: [I Need Help] Outline 1.1x Theme Forum Button
Post by: Giiyom on April 16, 2009, 06:56:40 PM
I doubt it's a language problem cuz I tried with the english pack and it didn't work. :(
But ill try what u said and get back to u. Thx
Title: Re: [I Need Help] Outline 1.1x Theme Forum Button
Post by: Giiyom on April 16, 2009, 08:54:32 PM
Nop... :(
Nothing has changed :/

Here's the address of my website : www.quebecstreetfighter.com (http://www.quebecstreetfighter.com)

The version 2.0 is up so you take a look at it.

And If you want I'm willing to give you an access so you can check what could be wrong. Just send me a PM.
Thx again.
Title: Re: [I Need Help] Outline 1.1x Theme Forum Button
Post by: Nathaniel on April 16, 2009, 09:49:56 PM
It wasn't a language string issue, one of the edits hadn't been applied correctly. The code "global $modSettings" was squished with the line before meaning that it was commented out.

The attached file should work.
Title: Re: [I Need Help] Outline 1.1x Theme Forum Button
Post by: 130860 on April 16, 2009, 10:02:41 PM
It wasn't a language string issue, one of the edits hadn't been applied correctly. The code "global $modSettings" was squished with the line before meaning that it was commented out.

The attached file should work.

mmm I didnt see that  :-[  :-[  :-[

sorry  :-[
Title: Re: [I Need Help] Outline 1.1x Theme Forum Button
Post by: Giiyom on April 16, 2009, 10:03:10 PM
Damn.. huge thanks LHVWB, it's working perfect now :)
Thanks to you guys who helped me with this. Really great support. And np mirahalo :P

I gotta say SimplePortal is an amazing mod, that's exactly what I always wanted.

Cheers and keep up the good work! :D
Title: Re: [I Need Help] Outline 1.1x Theme Forum Button
Post by: bburg5 on December 01, 2009, 12:56:26 PM
Does this seem to be an issue with most themes? I get this on most of the themes that I have tried and wandered how to modify the settings to correct the issue...

using
smf 1.1.10
sp 2.3.1
DB_Theme


Thanks
Title: Re: [I Need Help] Outline 1.1x Theme Forum Button
Post by: 130860 on December 02, 2009, 09:55:28 AM
unfortunately  SimplePortal has to make two simple changes in a custom theme in order to use it on a 1.1.x smf version,  try this one ;)
Title: Re: [I Need Help] Outline 1.1x Theme Forum Button
Post by: bburg5 on December 05, 2009, 07:08:49 PM
THANK YOU so much!!!!! it worked great.....Thank you to all that help others on here....


Thanks again
SimplePortal 2.3.8 © 2008-2024, SimplePortal