News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

[Theme] Simple Blue for 1.0.5

Started by 1MileCrash, August 17, 2005, 07:21:34 PM

Previous topic - Next topic

abinidi

Ohhhhhhh!!!! I found it!!! Gotcha. Thanks!!

Escobar

#21
Hello, something BAD has happened to my forum.

I installed this theme, then made it a default.


This is the error message I got ON EVERY PAGE:

Quote2: Cannot modify header information - headers already sent by (output started at /var/www/virtual/astralqueen.byethost5.com/htdocs/smf/Sources/Load.php(1040) : eval()'d code:614)
File: /var/www/virtual/astralqueen.byethost5.com/htdocs/smf/Sources/Subs.php
Line: 1704

I cannot change the skin. No matter what I click I get this message.
What's wrong?

(I'm deleting the contents of the skin via FTP. Then changing my default back to a safer skin. I'll try reinstalling again.)
I chose SMF because you get your questions answered.

1MileCrash

i dont know what could cause this...because it's saying that the error is in-
/var/www/virtual/astralqueen.byethost5.com/htdocs/smf/Sources/Subs.php
which is not part of the theme.
The only thing php can't do is tell you how much milk is left in the fridge.



Escobar

#23
I installed ElementX theme and it worked fine.

I will reinstall this one tomorrow morning, and I'll let you know what happened.

Thank you for letting me know that the error is not related to the theme.  :(
I chose SMF because you get your questions answered.

crazystu

This is really off topic...
I prefer tippmaster to JCody.
QuoteTippmaster- do not change your username, or terrible, terrible things will happen. This sig will now self destruct.
:P

1MileCrash

im known as jcody like everywhere else though. It's my first initial and middle name.
The only thing php can't do is tell you how much milk is left in the fridge.



JayBachatero

Quote from: ashoka1 on September 09, 2005, 09:25:36 PM
Hello, something BAD has happened to my forum.

I installed this theme, then made it a default.


This is the error message I got ON EVERY PAGE:

Quote2: Cannot modify header information - headers already sent by (output started at /var/www/virtual/astralqueen.byethost5.com/htdocs/smf/Sources/Load.php(1040) : eval()'d code:614)
File: /var/www/virtual/astralqueen.byethost5.com/htdocs/smf/Sources/Subs.php
Line: 1704

I cannot change the skin. No matter what I click I get this message.
What's wrong?

(I'm deleting the contents of the skin via FTP. Then changing my default back to a safer skin. I'll try reinstalling again.)

Did you install any mods?  No theme touches the Subs.php file.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Escobar

#27
No, I do not have any mods installed.

Before I deleted the Theme from my FTP, I saved this picture:

(Click on the pic at the imageshack website to see original size...
Or it will look choppy)

No matter what link I clicked...this error message came up.
I chose SMF because you get your questions answered.

Escobar

#28
Hello, I tried a fresh installation.
It continues to give me that error message.

>:(

Does anyone know why I'm the only one getting this?

I installed another theme named CoolMetal.
Like my other themes, it installed correctly.
No problems.

>:( >:( >:( >:(
I chose SMF because you get your questions answered.

Escobar

Really....no one's faced this issue?
I chose SMF because you get your questions answered.

1MileCrash

do you have any mods? are you running 1.1 beta 3? There has to be something different about your forum if your the only one with this problem... :(
The only thing php can't do is tell you how much milk is left in the fridge.



Escobar

Abosolutely not.
I installed SMF 1.05
I have no mods installed.
I've installed 3 themes successfully.

But whenever I test this theme, I get that error.  :'(
I chose SMF because you get your questions answered.

Escobar

#32
The problem was with my host.
I switched to another one and the theme loaded fine.

However, I noticed that the News Fader is really choppy.
Anyone else get this problem?

Basically it plays 2 new items at once...then fades and plays the next 2.

I also have the themes ElemenT and Helios installed.
They do not do this.
I chose SMF because you get your questions answered.

Mastkiller

I make download of SimpleBlue theme and start to modify the things I don't link in theme... But everytime I try to change the Welcome message inside the box in the image into the place i want i get Error... Anyone can help me with this ?

hxxp:img378.imageshack.us/img378/81/helpmeplz3bs.jpg [nonactive]

Soryy my bad English... ::)

Escobar

Hello,

I want to add the news-fader to the topics-page.
Currently, it only shows on the main page.

QuoteFind the very first </table>';

and add after that: // Show the news fader?  (assuming there are things to show...)
if ($settings['show_newsfader'] && !empty($context['fader_news_lines']))
{
echo '
<div class="tborder" style="margin-bottom: 2ex;">
<table border="0" width="100%" cellspacing="1" cellpadding="4">
<tr class="titlebg" align="center">
<td>', $txt[102], '</td>
</tr>
<tr>
<td valign="middle" align="center" height="60">';

// Prepare all the javascript settings.
echo '
<div id="smfFadeScroller" style="width: 90%; padding: 2px;"><b>', $context['news_lines'][0], '</b></div>
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
// The fading delay (in ms.)
var smfFadeDelay = ', empty($settings['newsfader_time']) ? 5000 : $settings['newsfader_time'], ';
// Fade from... what text color?  To which background color?
var smfFadeFrom = {"r": 0, "g": 0, "b": 0}, smfFadeTo = {"r": 255, "g": 255, "b": 255};
// Surround each item with... anything special?
var smfFadeBefore = "<b>", smfFadeAfter = "</b>";

var foreColor, backEl, backColor;

if (typeof(document.getElementById(\'smfFadeScroller\').currentStyle) != "undefined")
{
foreColor = document.getElementById(\'smfFadeScroller\').currentStyle.color.match(/#([\da-f][\da-f])([\da-f][\da-f])([\da-f][\da-f])/);
smfFadeFrom = {"r": parseInt(foreColor[1]), "g": parseInt(foreColor[2]), "b": parseInt(foreColor[3])};

backEl = document.getElementById(\'smfFadeScroller\');
while (backEl.currentStyle.backgroundColor == "transparent" && typeof(backEl.parentNode) != "undefined")
backEl = backEl.parentNode;

backColor = backEl.currentStyle.backgroundColor.match(/#([\da-f][\da-f])([\da-f][\da-f])([\da-f][\da-f])/);
smfFadeTo = {"r": eval("0x" + backColor[1]), "g": eval("0x" + backColor[2]), "b": eval("0x" + backColor[3])};
}
else if (typeof(window.opera) == "undefined" && typeof(document.defaultView) != "undefined")
{
foreColor = document.defaultView.getComputedStyle(document.getElementById(\'smfFadeScroller\'), null).color.match(/rgb\((\d+), (\d+), (\d+)\)/);
smfFadeFrom = {"r": parseInt(foreColor[1]), "g": parseInt(foreColor[2]), "b": parseInt(foreColor[3])};

backEl = document.getElementById(\'smfFadeScroller\');
while (document.defaultView.getComputedStyle(backEl, null).backgroundColor == "transparent" && typeof(backEl.parentNode) != "undefined" && typeof(backEl.parentNode.tagName) != "undefined")
backEl = backEl.parentNode;

backColor = document.defaultView.getComputedStyle(backEl, null).backgroundColor.match(/rgb\((\d+), (\d+), (\d+)\)/);
smfFadeTo = {"r": parseInt(backColor[1]), "g": parseInt(backColor[2]), "b": parseInt(backColor[3])};
}

// List all the lines of the news for display.
var smfFadeContent = new Array(
"', implode('",
"', $context['fader_news_lines']), '"
);
// ]]></script>
<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/fader.js"></script>
</td>
</tr>
</table>
</div>';
}

This code needs to be added to MessageIndex.template.php and Display.template.php

However, this theme does not have these files.
What can I do if I want the news fader on other parts of my forum?
I chose SMF because you get your questions answered.

1MileCrash

just copy the default files over to it.

I probabally messed up bad with news fader items, because i wasnt working on the theme with it on.

Mastkiller - it will probabally just involve putting it in the same div as the "new post links" are. But ill post some exact code after i work with it a while.
The only thing php can't do is tell you how much milk is left in the fridge.



Escobar

Quotejust copy the default files over to it.

Sorry...I don't understand what you mean.

Should I copy the contents of "index.template" and paste it into a dummy MessageIndex.template.php/Display.template.php ?

QuoteI probabally messed up bad with news fader items, because i wasnt working on the theme with it on.

I fixed the news fader by going to BoardIndex template and changing the R: B: G: values.

You had the text fade on blue to white. It should be blue to black since the background is black.
I chose SMF because you get your questions answered.

1MileCrash

Quote from: ashoka1 on September 20, 2005, 01:35:01 AM
Quotejust copy the default files over to it.

Sorry...I don't understand what you mean.

Should I copy the contents of "index.template" and paste it into a dummy MessageIndex.template.php/Display.template.php ?



no...

copy those files from the default theme to simple blue.
The only thing php can't do is tell you how much milk is left in the fridge.



Escobar

I chose SMF because you get your questions answered.

[os]

similar to the request by MASTKILLEr.

i have been trying to mod your theme.

the main area of the forum is in 2 columns.

3 info boxes on left and posts [main] on right.

i thought that i may merge the 2 cells to get the 3 info boxes above the posts.

but unfortunatelly a few hours later that has not worked.

should i be changing something elsewhere?

thtanks for the nice simple looking theme.

Advertisement: