November 22, 2024, 05:47:42 AM

1,531,352 Posts in 46,734 Topics by 1,523 Members
› View the most recent posts on the forum.


Y/N

Started by Daddy, May 04, 2008, 11:08:49 AM

previous topic - next topic

0 Members and 1 Guest are viewing this topic.

Go Down

Hiro

I like that theme, but I can't use dark themes for long.  :(

Daddy

Code Select
// Create a new button lol
   if($context['user']['is_logged'])
       echo '<li', $current_action == 'shop' ? ' class="active"' : '', '><a href="', $scripturl, '?action=shop"><span>' , 'Shop' , '</span></a></li>';



STILL DOESN'T WORK

and yes i added shop to the array, the button works but it's ugly and not with the rest.

Ricky

Quote from: JMV on May 04, 2008, 12:04:05 PM
Code Select
// Create a new button lol
   if($context['user']['is_logged'])
       echo '<li', $current_action == 'shop' ? ' class="active"' : '', '><a href="', $scripturl, '?action=shop"><span>' , 'Shop' , '</span></a></li>';



STILL DOESN'T WORK

and yes i added shop to the array, the button works but it's ugly and not with the rest.
Maybe it's not designed to work with more than X buttons?

Count them when you're logged in and out.

Daddy

Quote from: STINKYLINKY401 on May 04, 2008, 12:12:05 PM
Maybe it's not designed to work with more than X buttons?

Count them when you're logged in and out.
Nope, and yes I removed the 'user' 'is_logged' requirement lol

I'll attach the theme so you can have a look at the code.

[attachment deleted by admin]

Ricky

Quote from: JMV on May 04, 2008, 12:15:18 PM
Nope, and yes I removed the 'user' 'is_logged' requirement lol

I'll attach the theme so you can have a look at the code.
I'll install it on ilovelawlz.com and get back to you.

Daddy

Quote from: STINKYLINKY401 on May 04, 2008, 12:16:33 PM
I'll install it on ilovelawlz.com and get back to you.
Alright.

also SUPER TOP SECRET SMF 2.0 INSTALLATION HAS RETURNED.  baddood;

Ricky

You're using SMF 1.1.5, right?

Asking because BOYAH is 1.1.4, and I don't want to accidentally upgrade to 5.

Daddy

Quote from: STINKYLINKY401 on May 04, 2008, 12:18:45 PM
You're using SMF 1.1.5, right?

Asking because BOYAH is 1.1.4, and I don't want to accidentally upgrade to 5.
Yeah, my test installation is 1.1.5 but the theme is made for 1.1.4, but I doubt that would the be problem: could it?

Ricky

Quote from: JMV on May 04, 2008, 12:20:38 PM
Yeah, my test installation is 1.1.5 but the theme is made for 1.1.4, but I doubt that would the be problem: could it?
I will try it on both, but I highly doubt that's the problem.

Ricky

Attach your index.template.php file please, and any other files you modified.

Feynman

Quote from: JMV on May 04, 2008, 11:45:16 AM
how do ido that bassir dind't tell me

Quote(1:19:30 PM) Bassir:
Code Select
echo '<li', $current_action == 'mlist' ? ' class="active"' : '', '><a href="', $scripturl, '?action=ironman"><span>' , 'Iron Man' , '</span></a></li>';
(1:19:37 PM) JMV: lol
(1:19:44 PM) JMV: ill try


baddood;

Ricky


Daddy

Quote from: STINKYLINKY401 on May 04, 2008, 12:21:03 PM
I will try it on both, but I highly doubt that's the problem.
Yeah, I don't see how it would be that much of a problem.
Quote from: STINKYLINKY401 on May 04, 2008, 12:22:36 PM
Attach your index.template.php file please, and any other files you modified.
done



[attachment deleted by admin]

Feynman

Quote from: STINKYLINKY401 on May 04, 2008, 12:25:15 PM
YOU'RE NO HELP


this is probably easy to fix but i don't have a test server

Daddy

Quote from: Bassir on May 04, 2008, 12:26:04 PM
this is probably easy to fix but i don't have a test server
get one faggot


boyah.net/forum register and i'll log into phpmyadmin and make you admin

Go Up