News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

[Theme] Simply White (SMF 1.0 / SMF 1.1)

Started by codenaught, June 14, 2005, 10:43:01 PM

Previous topic - Next topic

mirigoyen

No, that's all I did.  I didn't save it before I edited it though.  Can you email me a copy of the original? 

codenaught

I have sent you a pm with a modified version of index.template that includes the logo.

Hopefully it will work.
Dev Consultant
Former SMF Doc Coordinator

mirigoyen

#42
That worked   :)  THank you!!!  How can I make the top part of the page even up with the bottom?  The top of the board is a lot wider than the bottom forum part.

codenaught

Do you mean the News box and the User CP box?

You can adjust their widths in the style.css:

.headerbodies
{

width: 730px;

}

decrease that to whatever you like. But not too much.

Dev Consultant
Former SMF Doc Coordinator

mirigoyen

Cool,  that worked!!  Ok, I just have 2 more questions for you then I will leave you alone  ;D  on top of my header is the words beyondpaper.net  can that be removed?   Also on the buttons where it says home, help, search, etc.  how do I remove the red x in the white box?    THanks so much!!!!!

codenaught

Find and Remove:    <span style="font-family: Georgia,

sans-serif;

font-size: xx-large;">', $context['forum_name'],

'</span>';


To remove the forum name.

As for the red boxes where the buttons are, just go to your admin cp and go to "Current Theme Settings" and uncheck the box that says something like "Show buttons as images instead of text".

I was thinking for some reason when I released the theme that it would already have the box unchecked. I guess in a future version I will just remove all the references to the images. Firefox doesn't show missing images, so I didn't quite realize it until now.
Dev Consultant
Former SMF Doc Coordinator

mirigoyen

I did exactly what you said to remove the name and it gave me another parse error   :'(

Template Parse Error!
There was a problem loading the /Themes/simplywhite/index.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.

You may want to try to refresh this page or use the default theme

mirigoyen

nevermind, I found it.   There was an extra echo in there. :D

Thank you so much for all your help!!!!!

mirigoyen

#48
I went back to my forum today and made a post and then after I hit enter.  The forum went back to the bigger size that it was before I edited it.    How do I resize the top part to fit the rest of the page?

look at it here:  www.beyondpaper.net

codenaught

I am not so sure I know what you mean.

Are you talking about the headerbodies? With the forum news and user info boxes?
Dev Consultant
Former SMF Doc Coordinator

mirigoyen

Yeah that is the part I am talking about.  On my  screen it is almost double the size of what the forum part is.  Is there a way to take the forum news out?

codenaught

To remove the forum news box in Simply White,
Find:
if (!empty($settings['enable_news']))
echo '
<div class="newsinfo">', $txt['forum_news'],'</div>
<div class="forumnews">
', $context['random_news_line'],'
</div>';


and erase it.
Dev Consultant
Former SMF Doc Coordinator

d3v

I by no means want to rush things but I have to ask, how far are you from a stable release?
I would love to use this theme on my LIVE web site.

If you need any help/beta testing/hosting for the theme...you know where to ask

codenaught

For the most part the theme is fine from what I can see. I believe there are a few problems in IE that I will work on fixing along with it not relying on having the "Show buttons as images instead of text" unchecked.

Dev Consultant
Former SMF Doc Coordinator

spottedhog

Hi,

I love the potential of this theme, especially along the lines of use for multiple languages.

I have a question though....  I want to change the "New" and "No New" to graphics, and I have done that changing 3 lines (lines 120 to 130) of the BoardIndex.template.php   It works fine, except when I go to Child boards, to the left of Child boards it still displays the gray box with "No New" in it.  I cannot find another line in any of the code that displays this.

Can you tell me where it might be?

thanks....

codenaught

The code you changed for BoardIndex.template.php just needs to also be changed in MessageIndex.template.php to show Child Boards with No and No New posts images.
Dev Consultant
Former SMF Doc Coordinator

spottedhog

ahhhhhhhh.....  I  did not look there.....  Thanks!!!!!!!

nameless

This is a very clean and simple theme. I like it. :)

Skate, Snow, and Surf - SF Boarders - Bringing San Francisco Bay Area boarders together.

Minsc

Quote from: nameless on July 15, 2005, 01:09:26 PM
This is a very clean and simple theme. I like it. :)

I second that post. : )

One thing I did notice though, you theme still seems to be looking for the images that would be in the english folder (as indicated by the huge list of errors in the cPanel error log.

For example, in index.template I see:

Line 451  <a class="button" href="', $scripturl, '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/home.gif" alt="' . $txt[103] . '" style="margin: 2px 0;" border="0" />' : $txt[103]), '</a>

Since I don't know PHP I have no idea what to remove to prevent it from looking for home.gif.

mi_amigo

I love this, especially the ease of modding it with the CSS file. However, I'm getting lots of error messages like the one below. Any ideas how I can cure this? Using the 1.0 version with SMF 1.05



Use of undefined constant no_new - assumed 'no_new'
File: /home/cactus/public_html/board/Themes/Test Theme/BoardIndex.template.php (eval?)
Line: 101


Advertisement: