News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Enterprise

Started by Bloc, April 09, 2006, 05:52:50 AM

Previous topic - Next topic

bloc


EJG

Is there anyway to disable the top image changer and have it set to only 1 of the images?

bloc

Yes, it is. find this code in index.template.php:

<td><img src="',$settings['images_url'],'/img/topr', isset($options['mypic']) ? $options['mypic'] : '' , '.jpg" alt="" /></td>

and change it to:
<td><img src="',$settings['images_url'],'/img/topr1.jpg" alt="" /></td>


Change the number "1" in there to what image you want to use.

Also..to disable the changer find this code:
<form class="middletext" name="FormName" action="',$scripturl,'" method="post" style="margin: 0; padding: 0;">
<select size="1" name="options[mypic]" onChange="submit()">
  <option value="" ', (!empty($options['mypic']) && $options['mypic']=='') ? 'selected' : '' ,'>Enterprise</option>
  <option value="1"  ', (!empty($options['mypic']) && $options['mypic']=='1') ? 'selected' : '' ,'>Babylon 5</option>
  <option value="2"  ', (!empty($options['mypic']) && $options['mypic']=='2') ? 'selected' : '' ,'>Sunflares</option>
  <option value="3"  ', (!empty($options['mypic']) && $options['mypic']=='3') ? 'selected' : '' ,'>Spaceship</option>
</select>
</form></div>

and change just to:
</div>

kingemissary

Hey bloc, will there be a new theme for enterprise for 1.1.2.  I keep getting a debug error when I go into any thread.  The line number keeps changing but when I go to debug mode, it would bring up the same line
Quotedocument.getElementById("quickmodSubmit").style.display = "none";

Kettu

Quote from: kingemissary on February 16, 2007, 10:26:11 PM
Hey bloc, will there be a new theme for enterprise for 1.1.2.  I keep getting a debug error when I go into any thread.  The line number keeps changing but when I go to debug mode, it would bring up the same line
Quotedocument.getElementById("quickmodSubmit").style.display = "none";
I also use Enterprise, but i don't have any problems.
Main Forum: SMF 2.0.6
Co-Forum: SMF 2.0.6

Iron IC

#45
I run 1.1.2 and all my 13 different themes run nicely, exept the fader won`t work on my Default board theme --> The Enterprise :) (News don`t fade and shift over to the next news).

This also was the case before I upgraded from 1.1.1. Any suggestions what causes this and how to fix it? (I can not choose to activate news without the fader enabled, because it is being displayed wrong and mixes with the login area).

Kettu

It works fine for me at 1.1.2.
Main Forum: SMF 2.0.6
Co-Forum: SMF 2.0.6

Iron IC

Hmm, strange thing. I run Opera, but have tried it in Explorer too, and it is still not fading.

Bloc, any ideas?

Kettu

Quote from: Iron IC on February 26, 2007, 08:05:14 AM
Hmm, strange thing. I run Opera, but have tried it in Explorer too, and it is still not fading.
Is it officially seen without loggin' in? Then give me your link and I'll take a look what it does with my pc settings.
Main Forum: SMF 2.0.6
Co-Forum: SMF 2.0.6


Kettu

Quote from: Iron IC on February 26, 2007, 05:59:50 PM
www.byggmuskler.no/forum
Hmmm, it is fading. There are 3 or 4 different Infos fading.
Main Forum: SMF 2.0.6
Co-Forum: SMF 2.0.6

Iron IC

It is???? I don`t understand, it doesn`t when I try it. Which browser are you using? I`ll will check it once again.

Iron IC

Nope, no fading! I tried it both with IE 7.0 and Opera 9.10...

Kettu

Quote from: Iron IC on February 27, 2007, 09:09:24 AM
Nope, no fading! I tried it both with IE 7.0 and Opera 9.10...
I am working with Firefox and it still fades for me. It takes a while, you have a long time added, I think around 6.000 like I have, too.
Main Forum: SMF 2.0.6
Co-Forum: SMF 2.0.6

Iron IC

I set the fader to 10.000. I have many different themes installed. I have not enabled the fader on all of them, but on the ones I have enbled it on it is working well.

Enterprise is my board default theme, and the only mod I have installed on it si View_only_boards_1.0. I think the fader didn`t work before I installed the mod though, so I don`t think that`s the problem.

What file do I have to edit to make this work? Can anyone tell me what code I must edit and with what code?

Kettu

With IE there is the error that "smfFadeContent.length" is no object.
Main Forum: SMF 2.0.6
Co-Forum: SMF 2.0.6

Iron IC

Meaning what? (You have to spoonfeed me on this, as I am not a php-expert I am afraid).

Thanx

Kettu

Quote from: Iron IC on February 27, 2007, 07:01:36 PM
Meaning what? (You have to spoonfeed me on this, as I am not a php-expert I am afraid).

Thanx
That means IE is missing a definition for that object. But I don't know how to change it. It was just an advice for others.
Main Forum: SMF 2.0.6
Co-Forum: SMF 2.0.6

robotman321

hey bloc is there anyway the theme is intigratable with the "Ad Management mod" ?  if so can you help me please.
whats a signature without text, WOOT!

bloc

Check the ad management mod instructions on what it changes in a theme - I am not familiar with that mod.

Advertisement: