I just finished a theme called Themis, and would like to share it with you. Its less graphic-intensive this time and perhaps more "allround". You get the option of putting a logo (picture) on the top of the board - check "current themes settings" in admin panel.
This one doesnt have buttons with text. It can be just the icons - or icons with text-strings next to it/below it. There is a line on the front that says "most users online ever" and "most users online today"- and the main buttons on top can have labels.(shown in the screenshot). Configurable in the admin section along with the logo. The linktree is "boxes-only" inline style and has hover-effect.(should work in both mozilla/opera along with IE).
Graphics may only be used in a SMF enviroment.
demo:
http://www.tinyportal.net/smf/index.php?action=forum;theme=12
As always - comments are welcome. :)
The theme has three extra fields in "current Themes settings":
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.mammakroken.net%2Fyabbse%2FThemes%2Fdefault%2Fimages%2Fbullet.gif&hash=1f051ad24e3c6feb440a3351e01ccb253bd95b7a) Sidebar..put your HTML code in here and it will show upp on the left. If empty, sidebar will not be visible.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.mammakroken.net%2Fyabbse%2FThemes%2Fdefault%2Fimages%2Fbullet.gif&hash=1f051ad24e3c6feb440a3351e01ccb253bd95b7a) Sidebar width.. set the width of it in pixels.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.mammakroken.net%2Fyabbse%2FThemes%2Fdefault%2Fimages%2Fbullet.gif&hash=1f051ad24e3c6feb440a3351e01ccb253bd95b7a) Topbar..put your HTML code in here and it will show upp on the top - above the upshrink. If empty, topbar will not be visible.
Download:
- for SMF v1.1RC2:
http://www.tinyportal.net/files/download.php?file=themis11rc2.zip
- for SMF v1.1RC1:
http://www.tinyportal.net/files/download.php?file=themis11rc1.zip
- for SMF v1.1beta3:
http://www.tinyportal.net/files/download.php?file=themis11.zip (http://www.tinyportal.net/files/download.php?file=themis11.zip)
http://www.tinyportal.net/files/download.php?file=themis11.tar.gz (http://www.tinyportal.net/files/download.php?file=themis11.tar.gz)
- for SMF v1.0.1-1.0.5:
http://www.tinyportal.net/files/download.php?file=themis.zip (http://www.tinyportal.net/files/download.php?file=themis.zip)
http://www.tinyportal.net/files/download.php?file=themis.tar.gz (http://www.tinyportal.net/files/download.php?file=themis.tar.gz)
- preconfigured color-sets that can be set in "current theme settings".
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.tinyportal.net%2Fsmf%2FThemes%2Fthemis%2Fimages%2Fmycolors0.gif&hash=356508b5fbc134199b21a540f6bf74a0becfc082) (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.tinyportal.net%2Fsmf%2FThemes%2Fthemis%2Fimages%2Fmycolors1.gif&hash=3ae639caac07bd92de3ef5818e81dd77dad16fe8) (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.tinyportal.net%2Fsmf%2FThemes%2Fthemis%2Fimages%2Fmycolors2.gif&hash=139ba2680c58c23cd658f320c3d7f0018e82b394)
In addition you now have 3 upshrinks - the userinfo/newsbox ( default one) , one for the sidebar ( it it is visible) and one for labels under the main buttons. All three remember their settings until next login.See screenshots below.
Language packs just copy the contents of english folder to *** (language) folders.
(https://www.simplemachines.org/community/Themes/simple/images/post/thumbup.gif) thanx to Danel D,Owdy, Ap2 ,[Darksteel] and de3jeh for help with translations.
Screenshots:
Main view with sidebar and topbar:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.tinyportal.net%2Ffiles%2Fthemis%2Fthemis-main.jpg&hash=0f257522f75bda9bd53f33fcf1d086b447caabdf)
Main view all upshrinks:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.tinyportal.net%2Ffiles%2Fthemis%2Fthemis-main2.jpg&hash=cf8dc06cbdb281a2f1335e9441858bb52cf2f3c3)
Display view:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.tinyportal.net%2Ffiles%2Fthemis%2Fthemis-display.jpg&hash=eabe86146580182c5972f1e4742790797e9dc32f)
Nice theme!
Looks very nice... the only thing I noticed was that the "PHP" and "MySQL logos look a bit misaligned on your site...
-[Unknown]
Yes...planning to put in the validation buttons. Scratching my head in finding those invalid errors right now. :)
...ouch, saw it now. That was a bit more misaligned than planned...cleaned it up. Thanks for the tip.
:o Great theme :) I really like it.
Nice addition to your great themes.
LOL Very nice ;D
Specialy this theme :
http://www.bloczone.net/smf/index.php?theme=5
Have fun ;)
Nice job, another quality theme! Nice and simple, I like the big icons at the top of the index page like an IE style toolbar. I'm not so sure about the "quote" and "reply" type buttons not having text, but I'm sure I'd get used to it pretty quickly!
Would you mind sharing the bit of code that adds the "most online today" and "most online ever" sections as I would like to add that on my forum. I don't recall seeing how to do that in the Tips & Tricks section, perhaps you should post it!
PS Do those most online bits include unregistered guests?
Most users online does include guests....
Members = people registered on your forum.
Guests = people not registered on your forum.
Users = Members and/or Guests.
-[Unknown]
It is as simple as just using the variable $modSettings['mostOnline'] and $modSettings['mostOnlineToday'] - they both hold the numbers. ( big plus to the developers for including those.. ;D ) Adding a text to it and you have it.If you want the date when "mostonline" happened , the $modSettings['mostDate'] must be included inside the timeformat function.
Actual code is:
<hr />
'.$txt['mostOnlineToday'].' '.$modSettings['mostOnlineToday'].'
'.$txt['mostOnline'].' <b>'.$modSettings['mostOnline'].'</b> ( '.timeformat($modSettings['mostDate']).' )
You could just replace the $txt variable with your own text if you want , like this:
<hr />
Most online today : '.$modSettings['mostOnlineToday'].'
Most online ever : <b>'.$modSettings['mostOnline'].'</b> ( '.timeformat($modSettings['mostDate']).' )
Note that this is just taken out from the code in BoardIndex.template.php from the Themis theme. It is part of the whole "echo" statement for the online users etc.
That is a very nice theme. :D I seriously think it is one of the nicest I have ever seen. It is easy to read and has a very nice 'sleek' feeling to it. I like what you have going with the images. It is not just another theme, but a rather original one in mind. I look foward to any new themes you make. As this one is now set to my boards default theme. :)
Thanks. :) I am working on a enhanced version of it, mostly thanks to [Unknown] for upgrading the files to allow for more text in theme variables. ;)
Nice work :D
Ofcourse the usual comments:
- The title of your forum ("the Bloc Zone") isn't at the most logical place. The most logical place to put that would be up top. I know its'a nice way to fill that open space, but it just doesn't seem to make sense to put it where it is right now.
- The little arrow for expanding the upper block of your theme just doesn't make much sense. It looks like it's meant for the bar with all the buttons in it, but it affects the top block.
- If I were you I'd try to put those menu buttons (Home, help, etc) in a table or something. It would seriously decrease the amount that that menu bar gets messed up in case people decide to add buttons or in case *something* is changed in the font settings.
- The "reply" buttons and other such buttons look good, but they are just not clear enough without seeing a text underneath them. You might want to try adding some tiny text underneath those things so people will actually know what to click on.
- When viewing your calendar (http://www.bloczone.net/smf/index.php?action=calendar) there's a slight bug there. The breadcrumb up top is at the same height as the calendar template. I think adding a simple <br /> would suffice, right?
- No, the place to put the title is very deliberate, I wanted a new look and have a clean cut space above to put a logo. And it balances the space where the buttons are. In my opinion.
- Yes, the arrow there was a compromise. I started up with just unfolding the text on buttons..but since I did not find a way to add another upshrink ( that remembers state next time), i went for folding the whole top. Texts on/off went into theme settings instead..but I think I will try to add the option to the profile instead. Not sure yet.
- no, it is meant to be like that, not having the text directly aligned under the main buttons. It now looks similar when texts are on and off and that is what I wanted.
- its a challenge you know..:) to see if you remember the labels.. 8) seriously, hover over them and texts appear. In the right language every time. To add text there again will disturb the look I was after..since I did not want to make buttons with text inside. Sure, not for newbies maybe...but not too difficult for the seasoned user I am sure. ;)
- mm, not sure what you mean by that. "breadcrumb" - you mean the place where linktree is at? Probably could use a small padding on top there..to get pixel-perfect.
One of the most beautiful themes I've found available here...
Does it happen to be available in italian too?
Thanks
It does not really need any new buttons, since it uses the language strings when hovering etc. But a couple of italian words is needed for the admin section. I will set it up.
what about all the new graphics I see?
Quote from: marcnyc on October 06, 2004, 08:27:48 PM
what about all the new graphics I see?
but still with no text in them .. the links are displayed as a text so whatever language you choose will work with the same graphics without the need to modify any of them.
call me crazy but I see "the bloc zone", "general", "news" and other things that look like buttons with text in them...
Nice Theme I Like One ! ajaj!
Quote from: marcnyc on October 06, 2004, 08:50:51 PM
call me crazy but I see "the bloc zone", "general", "news" and other things that look like buttons with text in them...
you mean the link tree ! .. it is only text with Css which make them look like buttons.
wow cool... well in that case let me know when you have added that admin text you were talking about so I can download it and test it out
Very nice theme.
-Jazhawk
i onley got a error
Notice: Undefined index: mostOnlineToday in /www/htdocs/interneh/forum/Sources/Load.php(1090) : eval()'d code on line 352
Notice: Undefined index: mostOnline in /www/htdocs/interneh/forum/Sources/Load.php(1090) : eval()'d code on line 353
what to do about it ???
What language do you use? That error is caused by Themis not having the right language strings, currently only english available. But that will change soon.
ow okay Thanx i use dutch so that would be the problem ;)
What did u change in the enliish file so i can change it in ducht
i fixed it thanx ;D
Updated the theme with fields for your own HTML code + extra language packs. See first post for details.
de3jeh : could you share the translated strings - if you translated them that is ;) - I want to have a dutch language pack available as well....
Yes i have done it for all pepole it is Here (http://www.internet-forum.nl/downloads/Translated_to_dutch.zip)
Enjoy ;D
comments send PM
Or give me replies here ;)
Great theme! ^_^
Still entering this in the contest ;)?
-[Unknown]
Yes. Wanted to validate it first, and it now seems to be fine...
Themes are looking great!
Do you plan to make them also available for RC2?
Yes, when I have my hands on it :) But I think I has been said that themes that work in RC1 also work in RC2. There could be added features that I might include though... ;)
Quote from: de3jeh on October 10, 2004, 11:27:32 AM
Yes i have done it for all pepole it is Here (http://www.internet-forum.nl/downloads/Translated_to_dutch.zip)
Enjoy ;D
comments send PM
Or give me replies here ;)
I have included your strings in the dutch language files. Thanks, de3jeh. :)
You are welcome ;D
Bloc- I'm afraid I need your help:
Here:
http://spadunderground.biz (Apologies for the temporary redirect)
I was trying to add a script via the admin panel in the side table. Now All I see is the footer. I can't go back to undo these changes, please help me find where it inserted that information.
heres is what was inserted via add links to the left:
<script language="JavaScript" src="menu.js"></script>
<script language="JavaScript" src="menu_items.js"></script>
<script language="JavaScript" src="menu_tpl.js"></script>
<script language="JavaScript">
<!--//
new menu (MENU_ITEMS, MENU_POS, MENU_STYLES);
//-->
</script>
Anyone? :S I reinstalled all the files as well, and Can't find it :(
http://www.spadunderground.biz/forum/index.php?theme=3
(at least it works ;).)
-[Unknown]
LOL - thanks I need a hammer on my head smiley- :S I will still need to know how to remove my problem with Themis :S - if anyone can help me locate wheer it inserts the information, I would appreciate it.
You have to be careful when putting other stuff than pure html - just adding functions from other scripts for instance WILL probably produce errors...! :o
Alright , with that out of the way, just upload this file, ( it will not use the sidebar data), go to admin section and edit out the offending bits, and just reupload your original Themis file(of the same name).
http://www.bloczone.net/files/themis/themis-fix.zip
Thank you Bloc -I really appreciate it.
Bloc is Awesome that way!
A personal thanks for the fantastic work you do! (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fdreamquest.to%2FForum%2FSmileys%2Fdefault%2Fafro.gif&hash=b7d5a2a424176e488e5d7d025643ee98c4de7efc)
Updated the theme for use with RC2.
New is 3 pre-configured color-sets , easy set in the admin section. See first post for details.
There is a problem with the "Themis" theme (at least it's a problem on my site)
While in theme settings, (Theme Settings - Themis) I was getting error accessing the following 2 links
- Modify the index template. (the main template)
- Modify the style.css file. (colors, fonts, etc.)
The error is
An Error Has Occurred!
The file you are trying to edit... can't even be found!
the code is trying to specify theme id using variabe "theme" but I changed it to "id" to fix it.
broke: http://www.<url>/smf/index.php?action=theme;sa=edit;theme=3;style;sesc=1blahblah
works: http://www.<url>/smf/index.php?action=theme;sa=edit;id=3;style;sesc=18de6blahblah
I tried searching to see if it is known problem but could not find any mention of it.
Themis doesn't include a copy of the Themes template, does it?
-[Unknown]
Hm, I thought I changed those. Its one of the changes from RC1 to RC2 and its mentioned in changelog-themes.txt - you will find it in your forum directory (if you have upgraded to RC2).
Thanks for letting me know.
Quote from: [Unknown] on November 11, 2004, 07:23:27 PM
Themis doesn't include a copy of the Themes template, does it?
-[Unknown]
Yes, it does. Its merely cosmetic changes though and the sidebar thing...I will implement them on the RC2 themes-template instead of changing the RC1 one.
yes it does. I changed only 5 entries still referring to "theme" in Themes.template.php.
lines 211, 246, 276, 317, 318.
Hmm... Bloc, perhaps you should add a title= tag with the same text as the alt tag for each of the buttons at the bottom of the display template.
When you're using FireFox, nothing pops up when you hover over those buttons.
Quite right! Thanks for the heads-up. :) I will change those as soon as possible.
I see now it affects all the buttons really. Is it like this in default theme also? Have to check, but then again the buttons HAVE strings there, where Themis is just icons.
I have looked at the link anfdthe theme looks very very good.
can you explane to me how i can install the theme on my forum.
Regards,
patrick
:)
Quote from: patkas on November 18, 2004, 01:53:17 AM
I have looked at the link anfdthe theme looks very very good.
can you explane to me how i can install the theme on my forum.
Regards,
patrick
:)
Just unzip the contents in the themis.zip into a folder inside the Themes folder . Then go to admin section, and choose "install theme from folder" - put the name of the folder at the end and erase the name in the last textfield. then say "yes" to "install new theme?"
Update.
Firefox now displays correctly the "alt" text when hovering over the buttons.
Thanks to Burpee for pointing it out. :)
BTW, I am now using Firefox - love the extras, especially the BBcode helper..! ;)
Did you install the Web Developer Toolbar yet? :D
Yup. :)
LOVE the theme, but I need to know how to made it fixed width....
Currently I'm using Curve, but that's only a place-holder while I work with Themis behind the scenes...
Anyways - I would really love to have it match my front page (http://www.zanthria.com), but all I can get it to do is slide all the way over to the left side of the screen. :P
This is what I inserted in the CSS to do that:
body
{
align: center;
margin: 20px auto;
width: 760px;
padding: 0px;
}
Bah! I'm stuck!!!
You can see the result here: http://community.zanthria.com/index.php?theme=7
What am I doing wrong/not doing at all?
Use the original Themis files again, and find this in index.template.php:
echo '
</head>
<body style="margin-left: 20px; margin-right: 20px;"><table width="100%" cellpadding="0" cellspacing="0">';
Replace with this (change 800 to your preference) :
echo '
</head>
<body style="margin-left: 20px; margin-right: 20px;"><table width="800" cellpadding="0" cellspacing="0" align="center">';
just a note...if you use the sidebar, it will be included in the total width, making the forum even smaller. So if you want it to stay centered and same width, just dont use the sidebar at all.
Awesome....One step closer to getting them matching. ;)
Thank you.
Actually, if anyone would be willing to help me match the .CSS files (both of the scripts [WordPress and SMF 1.0 preview] run off of CSS mainly), I would be grateful beyond belief.
I could take a small look at it...which one do you prefer then - in terms of color/fonts - Wordpress one or Themis?
Actually, the Themis has some wierd greenish effect that throws me off....
This is the CSS of my WordPress journal:
/*
Kubrick v1.2.5 for WordPress 1.2
http://binarybonsai.com/kubrick/
This theme was designed and built by Michael Heilemann,
whose blog you will find at http://binarybonsai.com/
The CSS, XHTML and design is released under GPL:
http://www.opensource.org/licenses/gpl-license.php
*** REGARDING IMAGES ***
All CSS that involves the use of images, can be found in the 'index.php' file.
This is to ease installation inside subdirectories of a server.
Have fun, and don't be afraid to contact me if you have questions.
*/
/* Begin Typography & Colors */
body {
font-size: 62.5%; /* Resets 1em to 10px */
font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
background-color: #d5d6d7;
color: #333;
text-align: center;
}
#page {
background-color: white;
border: 1px solid #959596;
text-align: left;
}
#header {
background-color: #73a0c5;
}
#content {
font-size: 1.2em
}
.widecolumn .entry p {
font-size: 1.05em;
}
.narrowcolumn .entry, .widecolumn .entry {
line-height: 1.4em;
}
.widecolumn {
line-height: 1.6em;
}
.narrowcolumn .postmetadata {
text-align: center;
}
.graybox {
background-color: #f8f8f8;
border-top: 1px solid #ddd;
border-bottom: 1px solid #ddd;
}
#footer {
background-color: #eee;
}
small {
font-family: Arial, Helvetica, Sans-Serif;
font-size: 0.9em;
line-height: 1.5em;
}
h1, h2, h3 {
font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
font-weight: bold;
}
h1 {
font-size: 4em;
text-align: center;
}
.description {
font-size: 1.2em;
text-align: center;
}
h2 {
font-size: 1.6em;
}
h2.pagetitle {
font-size: 1.6em;
}
#sidebar h2 {
font-family: 'Lucida Grande', Verdana, Sans-Serif;
font-size: 1.2em;
}
h3 {
font-size: 1.3em;
}
h1, h1 a, h1 a:hover, h1 a:visited, .description {
text-decoration: none;
color: white;
}
h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited {
color: #333;
}
h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar h2, #wp-calendar caption, cite {
text-decoration: none;
}
.entry p a:visited {
color: #b85b5a;
}
.commentlist li, #commentform input, #commentform textarea {
font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;
}
.commentlist li {
font-weight: bold;
}
.commentlist cite, .commentlist cite a {
font-weight: bold;
font-style: normal;
font-size: 1.1em;
}
.commentlist p {
font-weight: normal;
line-height: 1.5em;
text-transform: none;
}
#commentform p {
font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
}
.commentmetadata {
font-weight: normal;
}
#sidebar {
font: 1em 'Lucida Grande', Verdana, Arial, Sans-Serif;
}
small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike {
color: #777;
}
code {
font: 1.1em 'Courier New', Courier, Fixed;
}
acronym, abbr, span.caps
{
font-size: 0.9em;
letter-spacing: .07em;
}
a, h2 a:hover, h3 a:hover {
color: #06c;
text-decoration: none;
}
a:hover {
color: #147;
text-decoration: underline;
}
#wp-calendar #prev a {
font-size: 9pt;
}
#wp-calendar a {
text-decoration: none;
}
#wp-calendar caption {
font: bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif;
text-align: center;
}
#wp-calendar th {
font-style: normal;
text-transform: capitalize;
}
/* End Typography & Colors */
/* Begin Structure */
body {
margin: 0;
padding: 0;
}
#page {
background-color: white;
margin: 20px auto;
padding: 0;
width: 760px;
border: 1px solid #959596;
}
#header {
padding: 0;
margin: 0 auto;
height: 200px;
width: 100%;
background-color: #73a0c5;
}
#headerimg {
margin: 0;
height: 200px;
width: 100%;
}
.narrowcolumn {
float: left;
padding: 0 0 20px 45px;
margin: 0px 0 0;
width: 450px;
}
.widecolumn {
padding: 10px 0 20px 0;
margin: 5px 0 0 150px;
width: 450px;
}
.post {
margin: 0 0 40px;
text-align: justify;
}
.widecolumn .post {
margin: 0;
}
.narrowcolumn .postmetadata {
padding-top: 5px;
}
.widecolumn .postmetadata {
margin: 30px 0;
}
#footer {
padding: 0;
margin: 0 auto;
width: 760px;
clear: both;
}
#footer p {
margin: 0;
padding: 20px 0;
text-align: center;
}
/* End Structure */
/* Begin Headers */
h1 {
padding-top: 70px;
margin: 0;
}
.description {
text-align: center;
}
h2 {
margin: 30px 0 0;
}
h2.pagetitle {
margin-top: 30px;
text-align: center;
}
#sidebar h2 {
margin: 5px 0 0;
padding: 0;
}
h3 {
padding: 0;
margin: 30px 0 0;
}
h3.comments {
padding: 0;
margin: 40px auto 20px ;
}
/* End Headers */
/* Begin Images */
p img {
padding: 0;
max-width: 100%;
}
/* Using 'class="alignright"' on an image will (who would've
thought?!) align the image to the right. And using 'class="centered',
will of course center the image. This is much better than using
align="center", being much more futureproof (and valid) */
img.centered {
display: block;
margin-left: auto;
margin-right: auto;
}
img.alignright {
padding: 4px;
margin: 0 0 2px 7px;
display: inline;
}
img.alignleft {
padding: 4px;
margin: 0 7px 2px 0;
display: inline;
}
.alignright {
float: right;
}
.alignleft {
float: left
}
/* End Images */
/* Begin Lists
Special stylized non-IE bullets
Do not work in Internet Explorer, which merely default to normal bullets. */
html>body .entry ul {
margin-left: 0px;
padding: 0 0 0 30px;
list-style: none;
padding-left: 10px;
text-indent: -10px;
}
html>body .entry li {
margin: 7px 0 8px 10px;
}
.entry ul li:before, #sidebar ul ul li:before {
content: "\00BB \0020";
}
.entry ol {
padding: 0 0 0 35px;
margin: 0;
}
.entry ol li {
margin: 0;
padding: 0;
}
.postmetadata ul, .postmetadata li {
display: inline;
list-style-type: none;
list-style-image: none;
}
#sidebar ul, #sidebar ul ol {
margin: 0;
padding: 0;
}
#sidebar ul li {
list-style-type: none;
list-style-image: none;
margin-bottom: 15px;
}
#sidebar ul p, #sidebar ul select {
margin: 5px 0 8px;
}
#sidebar ul ul, #sidebar ul ol {
margin: 5px 0 0 10px;
}
#sidebar ul ul ul, #sidebar ul ol {
margin: 0 0 0 10px;
}
ol li, #sidebar ul ol li {
list-style: decimal outside;
}
#sidebar ul ul li, #sidebar ul ol li {
margin: 3px 0 0;
padding: 0;
}
/* End Entry Lists */
/* Begin Form Elements */
#searchform {
margin: 10px auto;
padding: 5px 3px;
text-align: center;
}
#sidebar #searchform #s {
width: 130px;
padding: 2px;
}
#sidebar #searchsubmit {
padding: 1px;
}
.entry form { /* This is mainly for password protected posts, makes them look better. */
text-align:center;
}
select {
width: 130px;
}
#commentform input {
width: 170px;
padding: 2px;
margin: 5px 5px 1px 0;
}
#commentform textarea {
width: 100%;
padding: 2px;
}
#commentform #submit {
margin: 0;
float: right;
}
/* End Form Elements */
/* Begin Comments*/
.graybox {
margin: 0;
padding: 10px;
}
.commentlist {
padding: 0;
text-align: justify;
}
.commentlist li {
margin: 15px 0 3px;
padding: 5px 10px 3px;
list-style: none;
}
.commentlist p {
margin: 10px 5px 10px 0;
}
#commentform p {
margin: 5px 0;
}
.nocomments {
text-align: center;
margin: 0;
padding: 0;
}
.commentmetadata {
margin: 0;
display: block;
}
/* End Comments */
/* Begin Sidebar */
#sidebar
{
padding: 20px 0 10px 0;
margin-left: 545px;
width: 190px;
}
#sidebar form {
margin: 0;
}
/* End Sidebar */
/* Begin Calendar */
#wp-calendar {
empty-cells: show;
margin: 10px auto 0;
width: 155px;
}
#wp-calendar #next a {
padding-right: 10px;
text-align: right;
}
#wp-calendar #prev a {
padding-left: 10px;
text-align: left;
}
#wp-calendar a {
display: block;
}
#wp-calendar caption {
text-align: center;
width: 100%;
}
#wp-calendar td {
padding: 3px 0;
text-align: center;
}
#wp-calendar td.pad:hover { /* Doesn't work in IE */
background-color: #fff; }
/* End Calendar */
/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
cursor: help;
}
acronym, abbr {
border-bottom: 1px dashed #999;
}
blockquote {
margin: 15px 30px 0 10px;
padding-left: 20px;
border-left: 5px solid #ddd;
}
blockquote cite {
margin: 5px 0 0;
display: block;
}
.center {
text-align: center;
}
hr {
display: none;
}
a img {
border: none;
}
.navigation {
display: block;
text-align: center;
margin-top: 10px;
margin-bottom: 60px;
}
/* End Various Tags & Classes*/
/* "Daisy, Daisy, give me your answer do. I'm half crazy all for the love of you.
It won't be a stylish marriage, I can't afford a carriage.
But you'll look sweet upon the seat of a bicycle built for two." */
I actually like the plainess and simplicity of the wordpress template.
But, the colors and lines of the Themis template are better.
Just white and lines. If there was a way to make it even *less* graphics intesive and simplistic (with my capabilities....I'm not so good at layouts on the web - Graphics are my forte), then I would.
What would be the simplest way for me to add a new color scheme to the Themis theme ? I am interested in using red, white and black.
If you use the latest version(see first post), take a look at the index.template.php file. There 3 color-sets is defined. Just use different values there and see what suits you best. Note that it use hex values for the color codes...
the code to look for:
// pre-configured colorsets
$mycolors_back=array('#ededed','#ededf3','#d8d0c8');
$mycolors_win1=array('#e1e1e1','#e1e1e8','#d0c8c0');
$mycolors_win2=array('#eaeaea','#e6e6ea','#e0d8d0');
$mycolors_title=array('#909590','#909097','#888078');
$mycolors_cat=array('#d0d5d0','#d0d0d9','#c8c0b8');
$mycolors_body=array('#f8f8f8','#f8f8ff','#f4f0ea');
$mycolors_user=array('#e0e3e0','#e0e0e6','#d6d0c6');
$mycolors_unread=array('#f0f4f0','#f0f0f6','#eae4e0');
$mycolors_news=array('#f8f8f8','#f8f8fb','#f8f4f0');
$mycolors_search=array('#d8dbd9','#d0d0d8','#d8d4d0');
$mycolors_topbox=array('#f0f0f0','#f0f0f5','#f0eae8');
2 Small, but important updates on the theme:
- fixed wrong display of the layout on Who and Calendar templates in Firefox.
- edit stylesheet/template dont produce errors anymore.
The archive is updated.
But if you just want the modified files then look for Who.template.php , Themes.template.php and Calendar.template.php in the archive and update just those.
I'm having a small problem with Themis.
I am using it on a Mambo-SMF bridged site. (test-site on my home PC for the moment).
When Viewed in stand-alone in SMF, themis looks good.
When viewed in the mambl-smf bridge with Firefox, themis looks good.
But when viewed in the mambl-smf bridge with Internet Explorer, themis cuts away some of the right side of the screen.
In the default template, I believe this is corrected with the following code in index.template.php:
// Because of the way width/padding are calculated, we have to tell Internet Explorer 4 and 5 that the content should be 100% wide. (or else it will assume about 108%!)
echo '
<div id="headerarea" style="padding: 12px 30px 4px 30px;', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' width: 100%;' : '', '">';
I could not find this in themis, so I wasnt able to fix it myself.
Any good ideas?
Quote from: Bloc on October 03, 2004, 03:24:05 AM
Important note
Easiest way is perhaps just setting the type of the "value" field in the xxxx_themes to TEXT instead ( allowing for 65536 charachters
Could you give me a few pointers on how this is done?
Thanks
Mike
Quote from: jorgen on December 15, 2004, 03:31:19 PM
I'm having a small problem with Themis.
I am using it on a Mambo-SMF bridged site. (test-site on my home PC for the moment).
When Viewed in stand-alone in SMF, themis looks good.
When viewed in the mambl-smf bridge with Firefox, themis looks good.
But when viewed in the mambl-smf bridge with Internet Explorer, themis cuts away some of the right side of the screen.
In the default template, I believe this is corrected with the following code in index.template.php:
// Because of the way width/padding are calculated, we have to tell Internet Explorer 4 and 5 that the content should be 100% wide. (or else it will assume about 108%!)
echo '
<div id="headerarea" style="padding: 12px 30px 4px 30px;', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' width: 100%;' : '', '">';
I could not find this in themis, so I wasnt able to fix it myself.
Any good ideas?
I am not sure..although the same problem has been seen on MKPortal with its integration of SMF->Themis. The solution there was to set the tables up a bit different. The version of Themis used there is available in the downloads section of http://mkportal.it/
The code you refer to deals with <div> - if the page starts with it. But Themis starts with a table so it should not be a problem really.
Quote from: traxxas on December 17, 2004, 02:09:40 PM
Quote from: Bloc on October 03, 2004, 03:24:05 AM
Important note
Easiest way is perhaps just setting the type of the "value" field in the xxxx_themes to TEXT instead ( allowing for 65536 characters
Could you give me a few pointers on how this is done?
Thanks
Mike
Yes. If you know PhpMyAdmin just log in, find the smf_themes table, click on properties for it. then properties for the "value" field. In the default installation this is set to type "TINYTEXT". That is, it allows only 255 characters. Setting this as "TEXT" give you much bigger space.
You could also try to update SMF with the latest version here on this site. I think [Unknown] has put in the needed change in this table.
yeah very nice theme ;)
very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very great theme!!! thank you Bloc... :)
Quote from: Bloc on December 17, 2004, 04:49:28 PM
Quote from: traxxas on December 17, 2004, 02:09:40 PM
Quote from: Bloc on October 03, 2004, 03:24:05 AM
Important note
Easiest way is perhaps just setting the type of the "value" field in the xxxx_themes to TEXT instead ( allowing for 65536 characters
Could you give me a few pointers on how this is done?
Thanks
Mike
Yes. If you know PhpMyAdmin just log in, find the smf_themes table, click on properties for it. then properties for the "value" field. In the default installation this is set to type "TINYTEXT". That is, it allows only 255 characters. Setting this as "TEXT" give you much bigger space.
You could also try to update SMF with the latest version here on this site. I think [Unknown] has put in the needed change in this table.
Installed phpmyadmin and altered the required table value, but the amount of characters for the header still appears to be limited to 255
And you are sure the field named "value" is the one you set to TEXT? It should work then.
Hey Bloc, I really like this theme, is it possible to add php stuff into the 'topbar' section as it is would be perfect for my phpAdsNew powered advert banner :)
Yes. But I recommend checking first..it could break everything. It was meant more for pure html, but its possible.
I would like to get this code in but it just displays as text (excuse my lack of coding skill :-[ )
<?php
if (@include(getenv('DOCUMENT_ROOT').'/advertising/phpadsnew.inc.php')) {
if (!isset($phpAds_context)) $phpAds_context = array();
$phpAds_raw = view_raw ('zone:1', 0, '', '', '0', $phpAds_context);
echo $phpAds_raw['html'];
}
?>
Hm..I am sorry. It seems to not accept PHP. Probably since it is in the template files, it doesn't get interpreted as PHP but as HTML. I have not tested it before, therefore I assumed it would work.
You would be off just inserting this in the template file itself really. Index.template.php.
I want to delete the user info box and the search box from the top of this theme (as I am using the SMF bridge for Mambo, the data in the user info box is already displayed in a login module on the left of the page, so there is no point in duplicating it). Can somebody please point me towards the relevant code to delete in index.template.php (trial and error hasn't quite worked so far :-[ ).
Just the user-info and search? You want to keep news section?
Quote from: Bloc on January 06, 2005, 05:47:17 PM
Just the user-info and search? You want to keep news section?
Probably not, as I have it disabled anyway. Also, being embedded within a CMS makes it kind of redundant.
This is the file you can use, removed all the upper things apart from time.
Quote from: Bloc on January 06, 2005, 06:16:50 PM
This is the file you can use, removed all the upper things apart from time.
Many thanks for that ... much appreciated 8)
Bloc - the "Themis" preview on your site doesn't work quite right... You get the top stuff (menu icons, etc.), but then this:
Fatal error: Call to undefined function: tportal_leftbar() in /.../smf/Sources/Load.php(1036) : eval()'d code on line 441
thanks for letting me know!
..I made several updates on the portal script, and forgot to update Themis.. ::)
Bloc, if it matters, is Themis fully compatible with the SMF 1.0.1 upgrade?
Does it matter if I add the theme before or after I install the upgrade?
Any hopes for having it in Cream/Gold tones soon?
Thanks. Its a beautiful theme.
- It should work fine with v1.0.1, I use on my installation without problems..but I am going over all my themes to update them properly. Its mainly language strings and such that needs updating.
- No, it should not matter which way you install it.
- Cream/gold? Its in greenish, bluish and beige..sort of. I will see if I can do those too. :)
- Thank you. Its one of the themes I most happy with.
Work at 1.0.1 ?
Look up...I just said yes. :)
Quote from: Bloc on January 19, 2005, 04:31:10 AM
Look up...I just said yes. :)
Thank you Bloc, I'll try now...
Thanks for the reply Bloc, I'm SO NEW to all this.
I'll be using the beige, to start. They are all nice.
The upgrade is most important, so will do that first.
Thanks again. :D
Just stumbled across this and am very impressed! i like it a lot :)
Glad you like it. ;D
Updated Themis to work with SMF v1.0.1.
Archive in first post are updated with the changes.
Hi Bloc. I'm really fond of your Themis theme. It works great standalone, however when I attempt to use it wrapped in Mambo, the link shows up nothing but a blank page instead of the forum. Any pointers on which file/setting can I edit to fix this issue. Thanks
I need help with arcade. How do i put up a arcade link on the menu. I am new to this theme
You should look into the index.template.php file , under function template_menu().
There all the buttons are defined. But if thats all greek to you :)....what link do you need it to be? ...index.php?action=arcade or something?
How can I change the the userinfo/newsbox to just show a paragraph of text in the news area? I want to use the news fader for something else.....
Thanks for a great theme...
You will need to look at the index.template.php file , search for "news", and you will find the part where the news is shown.
Quote from: Bloc on February 27, 2005, 11:30:21 AM
You will need to look at the index.template.php file , search for "news", and you will find the part where the news is shown.
I think this is the relevent section, but when I replace the content (the $context...) I get a parse error.
if (!empty($settings['enable_news']))
echo '<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr><td style="width: 100%; background-color: ' .$mycolors_search[$set_mycol]. '; padding: 5px 5px 5px 5px; font-size: 8pt; text-align: left; font-color: #000000;">
', $context['random_news_line'], '</td></tr></table>';
What am I doing wrong?
If you just use:
echo '<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr><td style="width: 100%; background-color: ' .$mycolors_search[$set_mycol]. '; padding: 5px 5px 5px 5px; font-size: 8pt; text-align: left; font-color: #000000;">';
echo 'yourcontenthere';
echo '</td></tr></table>';
....you should be fine. The top line in that code chunk say "only display this IF there are any news". You probably want it to show all the time, therefore I removed the line..
Thanks! Works like a charm. If you want to see it in action .... dapfaq.com (http://dapfaq.com)
Very nice. :)
I'm using Forum version: SMF 1.0.2 with with Themis UPDATE II for SMF v1.0.1
Everything is working well, but I have found one odd oops:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.ejweb.com%2Foops.jpg&hash=9db4c11505f863604daf9852c15f07d010b15f9d)
Where I have the arrow pointing, shouldn't that say "Total Members" or something similiar? It's probably just a changed number on a txt call, but I don't know where to look to fix it.
Where do I change that?
Thanks. (Oh, and one hell of a nice theme BTW)
Good call VanGogh. I noticed that too and can't find where this can be fixed.
Bloc, I really like the Themis theme. *tips hat to you*
I found it, a number was wrong. I have updated the archive - but the change is only in Boardindex.template.php.
Anything I can change in BoardIndex.template.php to fix it?
yes, search for this:
<td width="32%" class="smalltext" valign="top">
', $txt[490], ': <b><a href="', $scripturl, '?action=mlist">', $modSettings['memberCount'], '</a></b><br />
', $txt[656], ': <b>', $context['latest_member']['link'], '</b><br />';
// If they are logged in, show their unread message count, etc..
if ($context['user']['is_logged'])
and change this line: ', $txt[490], to: ', $txt[310], .
As you can see, change 490 to 310 and it should be right. A small mix-up on my part there.
Ahh... okay, I was looking in the wrong place.
Oh, and if you would like it to be capitalized, like the rest of the listings down there, change it from ', $txt[490], to: ', $txt[488], .
Many Thanks!
Indeed! thanks for the tip.
That kicked arse! Thanks!
Bloc, this is a great theme. It took me awhile but I was able to integrate it with the rest of my site. I can't locate where to change the color of the borders for the board. I changed the color in the "style.css" but it's still white.
Can you point me in the right direction? TIA :)
Look at the top in index.tempalte.php, some styles are redefined there according to chosen color-set.
Well Done...
Quote from: Bloc on April 16, 2005, 08:49:01 PM
Look at the top in index.tempalte.php, some styles are redefined there according to chosen color-set.
Still having a hard time finding the border settings colors. I set all of the preconfigured settings but I do not see anything that applies to the border there unless I overlooked it. 8) I am talking about the white in the border in between the boards.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.sfboarders.com%2Fuserimages%2Fwtborder.jpg&hash=98a66c1b5ad757f7ac75313215eaa3cfc5d5d12c)
Please forgive my ignorance, but how do I insert my logo? TIA!
Looks great :D. Though, will there be a Swedish pack?
Themis does not need langauge packs, just use the folder named swedish, and copy all buttons from the english folder. It just uses icons, all strings are taken from the existing language files instead.
or..
Themis trenger ikke språkpakker/knapper, bare bruk mappa "swedish" og kopier alle knapper fra "english" mappa over dit. Temaet bruker kun ikoner, tekstene er hentet fra dine eksistrerende språkfiler.
This is nice theme as all Bloc themes is :D
Where is the place to make dark border around a theme that is smaller that screen and you use a bg color, for example in apollo theme? Can someone help to find this plase with small text copy of the right place? Small border as here is around put in text now.
BMW
Will there be a 1.0.4 Version for this Theme?
thx
;D
It should work fine with 1.0.4..but I will check if changes are needed.
I was about to give up on SMF since I was having trouble integrating it with mambo and the themes, I'm used to VB's wysiwyg built-in template editor with hundreds of themes to choose from. Luckily, I found Themis. :D
Just one question: I want to make Themis 100% in the browser. I got rid of the 25px margins on both sides in index.template.php. but there's still that space that I can't figure out how to rid of.
<body style="margin-left: 0px; margin-right: 0px;"><table width="100%" align="center" cellpadding="0" cellspacing="0">';
Glad you like it. :)
There is some code that creates some space..the sidebar for example. Are you using that at all..? If not, it could be removed.
Found it:
echo ' <div style="margin-top: 0px; padding-top: 5px; padding-left: 5px; padding-right: 5px;
background-color: #ffffff; margin-left: 0px; margin-right: 0px; border-left: solid 0px black;
border-top: solid 0px black; border-right: solid 0px black;
margin-bottom: 0px; border-bottom: solid 1px black;"> ;
red represents the changes I made. I didn't want to delete the codes since I might change my design in the future.
Here's my wishlist:
Make member, who's online, and users online collapsible.
Thanks for this great theme, bloc
Updated to work in SMF 1.1beta3. See first post for download link.
Bloc, I'm using the new version of Themis with My 1.1 Beta3. I've got about 85 pages of this error in my error logs:
8: Undefined index: topbottomEnable
File: /my/web/directory/forum/Themes/themis11/Display.template.php (eval?)
Line: 535
How can I fix that?
Themis for SMF1.1beta3 had a small bug in Display.template. You could just exchange that one from the current archive - as they have been udated with the change now. Then the errors should disappear.
Worked great! Thanks! :D
Hey Bloc, could you please read this thread:
http://www.simplemachines.org/community/index.php?topic=43686.0
Unknown says I have mixed templates... I'm just trying to figure out what that means. Is there any chance the newest version of Themis wasn't updated correctly in the registration template?
Thanks!
Probably..I will go over it once more.
Updated and fixed it.
Indeed , the same error I had in Simplicty theme.
Thank you for the fast response!
Thank you so much for this theme; it is so spiffy! I wish I could do something as great as this. You made it so easy for us to implement with the color schemes and side bar and everything.
By the way is there anyway to remove the function to shrink the side bar? Could I possibly request a maroon and grey color scheme? I love the professional look of your works and I can't even come close to them in quality :/
thanks. :)
Sure, I can add grey and maroon colors. Maroon..as in deep red, right?
Yup
Thank you very much. This is the best theme I have seen in ages.
Is there anyway to make it so that the side bar doesn't shrink? I was looking but wasnt sure where to change it.
You mean to NOT have the upshrink button there?
Yup; I want to have the side bar there.. just no option to shrink it.
ah..then you need to remove this from index.template.php:
<a href="#" onclick="shrinkHeaderside(!current_headerside); return false;"><img align="right" id="upshrinkside" src="', $settings['images_url'], '/', empty($options['collapse_headerside']) ? 'upshrink.gif' : 'upshrink2.gif', '" alt="*" title="', $txt['upshrink_description'], '" style="margin-top: 10px;" border="0" /></a><img align="top" id="upshrinkTempside" src="', $settings['images_url'], '/blank.gif" alt="" />
And change this...:
<div id="upshrinkHeaderside" style="', empty($options['collapse_headerside']) ? '' : 'display: none;' , 'padding-top: 20px; width:' ,(isset($settings['sidebar_width']) && !empty($settings['sidebar_width'])) ? $settings['sidebar_width'] : '100' , 'px;">'.$settings['sidebar'].'</div></td><td width="100%" valign="top" style="padding-left: 10px;">';
to this:
<div style="padding-top: 20px; width:' ,(isset($settings['sidebar_width']) && !empty($settings['sidebar_width'])) ? $settings['sidebar_width'] : '100' , 'px;">'.$settings['sidebar'].'</div></td><td width="100%" valign="top" style="padding-left: 10px;">';
that should remove the option of upshrink and always display it.
thank you... and it would be nice to see the color scheme [with the maroon/dark red] whenever you get them done.. you are the best :D
Bloc,
Have you been able to update the integrated-in-a-portal version of Themis yet?
I downloaded the 1.0-version from MKportal a while back and use it on my mambo-site. I'd LOVE to upgrade to 1.1 now, and like Themis so well I'd like to keep it :P
SMF 1.0.3
Have just looked at http://www.spadunderground.biz/forum/index.php?theme=3
How can I get that really great fading, alternating News layout on my site??
If any1 is prepared to advise me, my site is www.asxstocktalk.com
Many thanks ... there's really great help in this place - thank you for the time you spend.
dar
The news that changes is called "newsfader" and you can turn it on in "admin" / "current theme settings".
Bloc,
Found another problem that might be theme related.
When trying to add a member to a usergroup, I go to their account related settings under modify profile. It takes me somewhere like this:
/index.php?action=profile;u=6;sa=account
There is no submit button on the page. And when I put the cursor in one of the fields and hit enter, it errors out and tells me I'm trying to change a profile that does not exist.
very many thanks!
dar
Quote from: VanGogh on August 02, 2005, 10:06:28 PM
Bloc,
Found another problem that might be theme related.
When trying to add a member to a usergroup, I go to their account related settings under modify profile. It takes me somewhere like this:
/index.php?action=profile;u=6;sa=account
There is no submit button on the page. And when I put the cursor in one of the fields and hit enter, it errors out and tells me I'm trying to change a profile that does not exist.
I will check that out.
EDIT:It was an error in Profile.template.php that only showed up in IE. I have changed the archives, so you could just use the new Profile.template.php from them.
Bloc,
Many thanks!
Re the fading news - is there any way of isolating its content from the News Box or deleting the news box or keeping the news box static - fading is great but duplicates what is already showing (I have three news items). Or am I misunderstanding something?
Many thanks.
dar
www.asxstocktalk.com
If you turn off the newsfader in "admin" / "current theme settings" it won't show..leaving you with just the random news box. You can also turn off that one on the same screen. So both can be shown, just one of them or none.
Newsfader show all news items after each other , just on the frontpage. Newsbox show random news on all pages. Thats the difference between them.
Got it!
Thanks - and your support is extremely appreciated.
dar
Thought I had it ...
When I log in as administrator I get news box and fader on main page, news box only on all other pages.
_but_ when I login in as a user I get fader on all pages without News Box and Stats.
In admin>forum news, ticking the Preview box does nothing.
So may I ask, how for example would I set it so:
1. all users only get news fader
2. all users get News Box and fader on front page and News Box on all other pages?
Many thanks.
dar
www.asxstocktalk.com (http://www.asxstocktalk.com)
Bloc, your website appears to be down.
-Dan The Man
Quote from: dar on August 04, 2005, 11:03:16 PM
Thought I had it ...
When I log in as administrator I get news box and fader on main page, news box only on all other pages.
_but_ when I login in as a user I get fader on all pages without News Box and Stats.
In admin>forum news, ticking the Preview box does nothing.
So may I ask, how for example would I set it so:
1. all users only get news fader
2. all users get News Box and fader on front page and News Box on all other pages?
Many thanks.
dar
www.asxstocktalk.com (http://www.asxstocktalk.com)
It should behave like the last scenario there already...make sure "enable news" and "show newsfader" are set in "current theme settings".
Quote from: OIDanTheManIO on August 05, 2005, 12:02:06 AM
Bloc, your website appears to be down.
-Dan The Man
Yeah, it does sometimes..usually when I am asleep...but of course thats when people around the word is awake. :P
Probably going to switch host soon though.
any chance of the maroon any time soon ?
Just wanted to make sure you didn't forget...
Bloc,
I installed DanTheMan's IRC mod, and did a manual install on the Themis 1.1beta3. The mod itself works perfectly, but my attempt to add the chat button to the top menu is generating errors everywhere.
Here is the original code from the index.template.php:
// Show the menu up top. Something like [home] [help] [profile] [logout]...
function template_menu()
{
global $context, $settings, $options, $scripturl, $txt;
// Show the [home] and [help] buttons.
$menu1 = '
<a href="'. $scripturl. '"><img src="' . $settings['images_url'] . '/gnome/home.gif" alt="' . $txt[103] . '" style="margin: 2px 0;" border="0" /></a>
<a href="'. $scripturl. '?action=help" target="_blank"><img src="' . $settings['images_url'] . '/gnome/help.gif" alt="' . $txt[119] . '" style="margin: 2px 0;" border="0" /></a>';
$menu2='<a href="'.$scripturl. '">'.$txt[103]. '</a> |
<a href="'. $scripturl. '?action=help" target="_blank">'.$txt[119]. '</a>';
Here is MY version of code. I have deleted nothing, only added a few pieces of code:
// Show the menu up top. Something like [home] [help] [profile] [logout]...
function template_menu()
{
global $context, $settings, $options, $scripturl, $boardurl, $txt;
// Show the [home] and [help] buttons.
$menu1 = '
<a href="'. $scripturl. '"><img src="' . $settings['images_url'] . '/gnome/home.gif" alt="' . $txt[103] . '" style="margin: 2px 0;" border="0" /></a>
<a href="'. $boardurl. '/chat.php"><img src="' . $settings['images_url'] . '/english/chat.gif" alt="' . $txt[chat] . '" style="margin: 2px 0;" border="0" /></a>
<a href="'. $scripturl. '?action=help" target="_blank"><img src="' . $settings['images_url'] . '/gnome/help.gif" alt="' . $txt[119] . '" style="margin: 2px 0;" border="0" /></a>';
$menu2='<a href="'.$scripturl. '">'.$txt[103]. '</a> |
[b]<a href="'. $boardurl. '/chat.php">'.$txt[chat]. '</a> |[/b]
<a href="'. $scripturl. '?action=help" target="_blank">'.$txt[119]. '</a>';
// How about the [search] button?
Just to highlight the changes:
- I added $boardurl to the global list
- I inserted both an image and text link to the chat.php file.
- The only other change I made was to add an entry for $txt[chat] to the last line of the index.english.php file in the language folder. It looks like this:
$txt['split_selected_posts_desc'] = 'The posts below will form a new topic after splitting.';
$txt['split_reset_selection'] = 'reset selection';
// strings for Themis theme
$txt['mostOnline'] = 'Most users online ever: ';
$txt['mostOnlineToday'] = 'Most users online today: ';
$txt['chat'] = 'Chat';
?>
If I use the original index.template.php file, I get no errors, and if I type in the chat.php url, it loads and works perfectly. But if I use my version of the index.template.php file, I get these error in my log:
8: Use of undefined constant chat - assumed 'chat'
File: /web/sites/my/url/forum/Themes/themis11/BoardIndex.template.php (eval?)
Line: 564
8: Use of undefined constant chat - assumed 'chat'
File: /web/sites/my/url/forum/Themes/themis11/BoardIndex.template.php (eval?)
Line: 548
I get them with every page on the forum. And on the chat.php page, they actually show up between the top search bar and the buttons.
Can you spot what I've fluxored up with this?
Yes. You need to use $txt['chat'] ....not $txt[chat] :)
Bloc.. I want to have your love children.
That fixed it right up!
@BLoc,
In the Themis, when you go to public a Post Event in calendar, the theme not have a months.
Please verify.
In the header or the bottom of calendar?
see the attachment
I can't find anything wrong..but does it happen if you simply remove Calendar.template from Themis folder? You will then be using the default theme one...and if the problem persists, its language string problem. If not, its the Themis theme.
I set the Default SMF Theme whit Spanish language and work fine, but Themis whit English and Spanish language persist the error.
darksteel-
What version of SMF is that? Remember, $months changed to $txt['months'].
-[Unknown]
I use smf beta 4
// There are 12 months per year - ensure that they all get listed.
for ($month = 1; $month <= 12; $month++)
echo '
<option value="', $month, '"', $month == $context['event']['month'] ? ' selected="selected"' : '', '>', $months[$month], '</option>';
echo '
</select>
', $txt['calendar11'], '
<select name="day" id="day">';
This code to fixed...
Yes, i will update this.
I making a buttons with Themis style :D.
cool..I like that one. :)
Quote from: Bloc on August 30, 2005, 01:29:28 PM
cool..I like that one. :)
http://www.simplemachines.org/community/index.php?topic=47485.0
hey bloc,
i just recently installed SMF and i chose THemis as the theme. I really like it - simple yet very elegant! nice job! 8)
anyway, i tried changing the default color scheme to blue. however, the theme reverts back to the default theme of SMF. why is this so? and if i click the 'Modify the style.css file.' link, i get an error (The file you are trying to edit... can't even be found!) even if the file is really present in the directory.
thanks and keep up the good work ;)
Did you install the Themis11 on a SMF 1.0.5 installation? In that case it will give this error. Themis.zip/tar.gz is for 1.0.5 and Themis11.zip/tar.gz is for 1.1beta3.
Quote from: Bloc on September 01, 2005, 05:05:31 AM
Did you install the Themis11 on a SMF 1.0.5 installation? In that case it will give this error. Themis.zip/tar.gz is for 1.0.5 and Themis11.zip/tar.gz is for 1.1beta3.
yikes! i completely overlooked that. its working fine now.
thanks
Hi Bloc,
I posted somewhere - and lost where :-[, a q about where to enter the html (xhtml?) code for the side column.
Sorry, but I have found where after a reinstall of the whole forum.
Apologies for wasting your time
sincerely
dar :-[ :-[
Quote from: dar on September 07, 2005, 03:42:49 AM
Hi Bloc,
I posted somewhere - and lost where :-[, a q about where to enter the html (xhtml?) code for the side column.
Sorry, but I have found where after a reinstall of the whole forum.
Apologies for wasting your time
sincerely
dar :-[ :-[
In Current Theme you can view the Box to enter a HTML to show in sidebar...
Thanks darksteel
that's where I found it adter reinstalling
thanks for your help
dar
Hi all
bloc, thanks for this cool theme. I installed it on 1.1b3 and it really looks great. I just noted a small problem with polls. I wanted to add a 6th poll option and instead of saying "Option 6" it went to "Option 1" and consequently overwrote my previous option there.
Kind regards,
Monk
@Bloc,
Using a Smf beta 4, The Themis not show the *select avatar from directory.
darksteel-
Yeah, its probably something that needs changing. I haven't done it yet, since there aren't too many that use beta4 I suspect.
Quote from: Monk on September 08, 2005, 04:10:31 PM
Hi all
bloc, thanks for this cool theme. I installed it on 1.1b3 and it really looks great. I just noted a small problem with polls. I wanted to add a 6th poll option and instead of saying "Option 6" it went to "Option 1" and consequently overwrote my previous option there.
Kind regards,
Monk
I am not sure what cause this, maybe some of the javascript is wrong. Did you try the it again, to see if it happens again? And does it work alright on default theme?
Bloc,
What file I need edit to show PHP code in SideBar?
I haven't tried it, but try open index.template.php and find:
'.$settings['sidebar'].'
and exchange that with:
'.eval($settings['sidebar']).'
Remember that anything now will be php, html code HAVE to be inside echo statements for example.
Quote from: Bloc on September 09, 2005, 05:56:04 PM
Quote from: Monk on September 08, 2005, 04:10:31 PM
Hi all
bloc, thanks for this cool theme. I installed it on 1.1b3 and it really looks great. I just noted a small problem with polls. I wanted to add a 6th poll option and instead of saying "Option 6" it went to "Option 1" and consequently overwrote my previous option there.
Kind regards,
Monk
I am not sure what cause this, maybe some of the javascript is wrong. Did you try the it again, to see if it happens again? And does it work alright on default theme?
Hi Bloc,
this issue is reproducible with the Themis theme, regardless how I change to this theme. Be it default or in profile preferences. This also does not happend in the default theme or for example in your Apollo theme, that I have installed, too.
Kind regards,
Monk
I have found the error - it was a wrong line in Poll.template. I have updated the archive, so if you download and overwrite that file, it should work as intended.
I didn't understand very well how to change the language to spanish.. i understood that the files are included in the zip so the images are right?? anyway.. if i have the psd i can make the spanish images
:) You don't need to..the images in "english" folder can just be copied into a "spanish" folder inside "images" folder. Just so the script finds them. Its just icons, no text anyway.
The actual spanish language files are in default theme folder - Themis just use those for its texts(which you get when hovering over the icons).
Updated to work with SMF 1.1RC1.
Very Good Theme :D
Error after recent upgrade when attempting to use Admin -> Features and Options
Unable to load the 'show_settings' template.
I might need to upload a newer version of themis??
Yes, you do. I assume you upgraded to SMF1.1RC1?
Beautiful theme!
I wonder why when viewed with Explorer (but not with Mozilla) in my case it "stretches" and part of it is beyond the right side of the screen and the fonts appear extra big...
http://www.nonsmokersclub.com/forum/
Edit: I upgraded to RC2 and I will have to test this again when the theme is updated for RC2.
Quote from: Bloc on December 26, 2005, 07:16:54 PM
Yes, you do. I assume you upgraded to SMF1.1RC1?
Seems to be some confusion, at least on my part. If I use the default theme in RC2 I get part of the themis theme used in some sections/pages.
Is themis ok to use in RC2 or not yet??
thanks in advance.
Its not.
Themis needs a lot of updating of javascripts etc, so hold on until I get to it.
We are all eagerly awaiting its release Bloc - in my opinion this is the best theme ever!
Good work!
Bloc, I was wondering if you could make me a chat button? Like the home, help and search ones... Or maybe tell me where I could find one that would fit. Thanks. :D
Updated for use with SMF 1.1RC2. See first post for download link.
Will there be a version for the TinyPortal?
Yes, the TP version will ready soon.
What html code do you put for the sidebar to show?
Like if I want to put google ads or move the news and loggin there etc.
Look in index.template.php. Its commented.
Heya Bloc,
I'm getting this bugs, and i don't know what to do with it:
8: Undefined index: mostOnline
***forum\Themes\Themis\BoardIndex.template.php (eval?)
Line: 405
8: Undefined index: mostOnlineToday
888\forum\Themes\Themis\BoardIndex.template.php (eval?)
Line: 404
8: Undefined index: sidebar_width
***\forum\Themes\Themis\Themes.template.php (eval?)
Line: 387
?action=theme;sa=settings;th=3;sesc
8: Undefined index: sidebar
***\forum\Themes\Themis\Themes.template.php (eval?)
Line: 383
?action=theme;sa=settings;th=3;sesc
8: Undefined index: topbar
***\forum\Themes\Themis\Themes.template.php (eval?)
Line: 379
?action=theme;sa=settings;th=3;sesc
I'm using 1.1 RC2, no mods on it, just a new forum, and completely up-to-date
You might be able to help me,
thank you :)
Those are language strings missing. Do you use another language than english?
Quote from: Bloc on April 04, 2006, 06:31:13 PM
Those are language strings missing. Do you use another language than english?
English, Dutch and Deutsch
Then you will need to add the Themis strings to a dutch/german version of the language file inside Themis folder as well. Thats what causing the errors.
Bloc,
This is a great theme. The sidebar is the main feature that lured me in to using it. I'm having some difficulty getting a sidebar with a height sized the way I would like it to be (one that matches the rest of the site). While the code I used in the sidebar works and sizes properly in a page by itself, it's too small in the forum.
Here's the code entered in the sidebar form:
<link rel="stylesheet" type="text/css" href="../untfc.css">
<div align="left" style="margin: 0; padding-bottom: 5; border: none">
<script type="text/javascript">
/***********************************************
* Switch Menu script- by Martial B of http://getElementById.com/
* Modified by Dynamic Drive for format & NS4/IE4 compatibility
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/
var persistmenu="yes" //"yes" or "no". Make sure each SPAN content contains an incrementing ID starting at 1 (id="sub1", id="sub2", etc)
var persisttype="sitewide" //enter "sitewide" for menu to persist across site, "local" for this page only
if (document.getElementById){ //DynamicDrive.com change
document.write('<style type="text/css">\n')
document.write('.submenu{display: none;}\n')
document.write('<\/style>\n')
}
function SwitchMenu(obj){
if(document.getElementById){
var el = document.getElementById(obj);
var ar = document.getElementById("masterdiv").getElementsByTagName("span"); //DynamicDrive.com change
if(el.style.display != "block"){ //DynamicDrive.com change
for (var i=0; i<ar.length; i++){
if (ar[i].className=="submenu") //DynamicDrive.com change
ar[i].style.display = "none";
}
el.style.display = "block";
}else{
el.style.display = "none";
}
}
}
function get_cookie(Name) {
var search = Name + "="
var returnvalue = "";
if (document.cookie.length > 0) {
offset = document.cookie.indexOf(search)
if (offset != -1) {
offset += search.length
end = document.cookie.indexOf(";", offset);
if (end == -1) end = document.cookie.length;
returnvalue=unescape(document.cookie.substring(offset, end))
}
}
return returnvalue;
}
function onloadfunction(){
if (persistmenu=="yes"){
var cookiename=(persisttype=="sitewide")? "switchmenu" : window.location.pathname
var cookievalue=get_cookie(cookiename)
if (cookievalue!="")
document.getElementById(cookievalue).style.display="block"
}
}
function savemenustate(){
var inc=1, blockid=""
while (document.getElementById("sub"+inc)){
if (document.getElementById("sub"+inc).style.display=="block"){
blockid="sub"+inc
break
}
inc++
}
var cookiename=(persisttype=="sitewide")? "switchmenu" : window.location.pathname
var cookievalue=(persisttype=="sitewide")? blockid+";path=/" : blockid
document.cookie=cookiename+"="+cookievalue
}
if (window.addEventListener)
window.addEventListener("load", onloadfunction, false)
else if (window.attachEvent)
window.attachEvent("onload", onloadfunction)
else if (document.getElementById)
window.onload=onloadfunction
if (persistmenu=="yes" && document.getElementById)
window.onunload=savemenustate
</script>
<script type="text/javascript" src="../oodomimagerollover.js">
/***********************************************
* DOM Image Rollover II- By Adam Smith (http://www.codevendor.com)
* Script featured on and available at Dynamic Drive (http://www.dynamicdrive.com)
* Keep this notice intact for usage please
***********************************************/
</script>
<!-- Main Table -->
<table style="position: relative; border-collapse: collapse; width: 150; height: 900; padding: 0" id="table3">
<tr>
<td class="TableRoundedBlackTL">
<img border="0" src="../../images/outerTL.gif" alt="" title="" width="5" height="5">
</td>
<td class="TableRoundedBlackSideT"></td>
<td class="TableRoundedBlackTR">
<img border="0" src="../../images/outerTR.gif" alt="" title="" width="5" height="5">
</td>
</tr>
<tr>
<td class="TableRoundedBlackSideL"></td>
<td style="width: 140; height: 150; padding: 0; text-align: center; vertical-align: middle; background-color: #000000">
<a id="Home" href="../../index.htm">
<img border="0" src="../../images/Old%20UNTFC%20logo.gif" alt="UNTFC Logo" title="UNTFC Logo" width="100" height="137">
</a>
</td>
<td class="TableRoundedBlackSideR"></td>
</tr>
<tr>
<td class="TableRoundedBlackSideL"></td>
<td style="width: 140; height: 540; padding: 0; text-align: left; vertical-align: top; background-color: #000000">
<!-- This is the container div for the drop down menu -->
<div id="masterdiv" style="cursor: pointer">
<img src="../../images/About.gif" srcover="../../images/AboutR.gif" onclick="SwitchMenu('AboutSubmenu')" alt="About" title="About" width="140" height="15"><br>
<!-- About Seubmenu -->
<span class="submenu" id="AboutSubmenu">
<a id="History" href="../history.htm">
<img border="0" src="../../images/History.gif" srcover="../../images/HistoryR.gif" alt="History" title="History" width="140" height="15"></a><br>
<a id="Officers" href="../officers.htm">
<img border="0" src="../../images/OfficerBios.gif" srcover="../../images/OfficerBiosR.gif" alt="Officer Bios" title="Officer Bios" width="140" height="15"></a><br>
<a id="Meetings" href="../meetings.htm">
<img border="0" src="../../images/MeetingInfo.gif" srcover="../../images/MeetingInfoR.gif" alt="Meeting Info" title="Meeting Info" width="140" height="15"></a><br>
<a id="Ratings" href="../ratings.htm">
<img border="0" src="../../images/USFARatings.gif" srcover="../../images/USFARatingsR.gif" alt="USFA Ratings" title="USFA Ratings" width="140" height="15"></a><br>
</span>
<!-- End of About Submenu -->
<a id="MessageBoard" href="../msgboard.htm">
<img src="../../images/MsgBoard.gif" srcover="../../images/MsgBoardR.gif" onclick="SwitchMenu('MsgBoardSubmenu')" alt="Message Board" title="Message Board" border="0" width="140" height="15"></a><br>
<!-- Message Board Submenu -->
<span class="submenu" id="MsgBoardSubmenu">
<!-- No Submenu Listings -->
</span>
<!-- End of Message Board Submenu -->
<img src="../../images/Photos_Files.gif" srcover="../../images/Photos_FilesR.gif" onclick="SwitchMenu('PhotosDocsSubmenu')" alt="Photos, Files, & Docs" title="Photos, Files, & Docs" width="140" height="15"><br>
<!-- Photos, Docs & Files Submenu -->
<span class="submenu" id="PhotosDocsSubmenu">
<a id="PhotoAlbums" href="../../photoalbums.htm">
<img border="0" src="../../images/PhotoAlbums.gif" srcover="../../images/PhotoAlbumsR.gif" alt="Photo Albums" title="Photo Albums" width="140" height="15"></a><br>
<a id="Forms_Docs" href="../forms_docs.htm">
<img border="0" src="../../images/FormsDocs.gif" srcover="../../images/FormsDocsR.gif" alt="Forms & Docs" title="Forms & Docs" width="140" height="15"></a><br>
<a id="Files" href="../files.htm">
<img border="0" src="../../images/Files.gif" srcover="../../images/FilesR.gif" alt="Files" title="Files" width="140" height="15"></a><br>
</span>
<!-- End of Photos, Docs & Files Submenu -->
<a id="Calendar" href="../calendar.htm">
<img src="../../images/Calendar.gif" srcover="../../images/CalendarR.gif" onclick="SwitchMenu('CalendarSubmenu')" alt="Calendar" title="Calendar" border="0" width="140" height="15"></a><br>
<!-- Calendar Submenu -->
<span class="submenu" id="CalendarSubmenu">
<!-- No Submenu Listings -->
</span>
<!-- End of Calendar Submenu -->
<a id="Armoury" href="../armoury.htm">
<img src="../../images/Armoury.gif" srcover="../../images/ArmouryR.gif" onclick="SwitchMenu('ArmourySubmenu')" alt="Armoury" title="Armoury" border="0" width="140" height="15"></a><br>
<!-- Armoury Submenu -->
<span class="submenu" id="ArmourySubmenu">
<!-- No Submenu Listings -->
</span>
<!-- End of Armoury Submenu -->
<img src="../../images/Links.gif" srcover="../../images/LinksR.gif" onclick="SwitchMenu('LinksSubmenu')" alt="Links" title="Links" width="140" height="15"><br>
<!-- Links Submenu -->
<span class="submenu" id="LinksSubmenu">
<a id="Articles" href="../articles.htm">
<img border="0" src="../../images/Articles.gif" srcover="../../images/ArticlesR.gif" alt="Articles" title="Articles" width="140" height="15"></a><br>
<a id="Vendors" href="../vendors.htm">
<img border="0" src="../../images/Vendors.gif" srcover="../../images/VendorsR.gif" alt="Vendors" title="Vendors" width="140" height="15"></a><br>
<a id="UNTLinks" href="../untlinks.htm">
<img border="0" src="../../images/UNTLinks.gif" srcover="../../images/UNTLinksR.gif" alt="UNT Links" title="UNT Links" width="140" height="15"></a><br>
<a id="USFALinks" href="../usfalinks.htm">
<img border="0" src="../../images/USFALinks.gif" srcover="../../images/USFALinksR.gif" alt="USFA Links" title="USFA Links" width="140" height="15"></a><br>
<a id="OtherLinks" href="../otherlinks.htm">
<img border="0" src="../../images/OtherLinks.gif" srcover="../../images/OtherLinksR.gif" alt="Other Links" title="Other Links" width="140" height="15"></a>
</span>
<!-- End of Links Submenu -->
</div>
<!-- This is the end of the container div for the drop down menu -->
</td>
<td class="TableRoundedBlackSideR"></td>
</tr>
<tr>
<td class="TableRoundedBlackSideL"></td>
<td style="width: 140; height: 200; padding-left: 5; padding-bottom: 5; text-align: left; vertical-align: bottom; background-color: #000000">
<!-- Search UNTFC Form -->
<form method="GET" action="http://www.google.com/u/unorthtexas" target="_blank">
<label for="SearchTerms" id="SearchLabel">Search this site:</label>
<input type="text" name="SearchText4" size="15" value=" " onFocus="this.select();" id="SearchTerms">
<input type="hidden" value="inurl:student.orgs.unt.edu/orgs/untfc">
<input type="submit" value="Search UNTFC" class="SearchUNT">
</form>
<!-- End of Search UNTFC Form -->
<!-- Rec Sports Logo -->
<p>
<a target="_blank" href="http://www.unt.edu/recsports/">
<img border="0" src="../../images/RecSportsLogo.PNG" width="130" height="35" align="bottom" alt="Recreational Sports logo" title="Recreational Sports logo">
</a>
</p>
<!-- End of Rec Sports Logo -->
</td>
<td class="TableRoundedBlackSideR"></td>
</tr>
<tr>
<td class="TableRoundedBlackBL">
<img border="0" src="../../images/outerBL.gif" alt="" title="" width="5" height="5">
</td>
<td class="TableRoundedBlackSideB"></td>
<td class="TableRoundedBlackBR">
<img border="0" src="../../images/outerBR.gif" alt="" title="" width="5" height="5">
</td>
</tr>
</table>
</div>
This is a screenshot of the forum inserted in an inline frame so the sidebar can be shown in comparison to the desired size (left most table):
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fstudent.orgs.unt.edu%2Funtfc%2Fimages%2Fthemis-untfc2.JPG&hash=8dd38aab30314ab1f367a8f7cafd3d98d7a69bc0)
Thanks for any input with this.
How can i make this theme whole face or forum narrow, let say to 80% or simialr, any idea?
i installed this theme
and when i aply theme got this error
Unable to load the 'main_above' template.
smf 1.0.7
any suggestion? thanks
Dear Bloc,
I am using 1.1 RC2 and upgraded some files to RC2-1 today.
Still I see error messages in the Errorlogs:
First:
8: Undefined index: mostOnline
...\forum\Themes\themis11rc2\BoardIndex.template.php (eval?)
Second:
8: Undefined index: mostOnlineToday
...\forum\Themes\themis11rc2\BoardIndex.template.php (eval?)
I tried to find it through the forums, but sorry, this subject is not easy to find or not well enough explained.
I understood it had something to do with the language strings of the theme?
Thanks in advance...
Love the theme, but when I entered in my banner link it won't display. The image file is in PNG format, but should that matter?
Quote from: mchristianim on July 24, 2006, 02:31:13 PM
Dear Bloc,
I am using 1.1 RC2 and upgraded some files to RC2-1 today.
Still I see error messages in the Errorlogs:
First:
8: Undefined index: mostOnline
...\forum\Themes\themis11rc2\BoardIndex.template.php (eval?)
Second:
8: Undefined index: mostOnlineToday
...\forum\Themes\themis11rc2\BoardIndex.template.php (eval?)
I tried to find it through the forums, but sorry, this subject is not easy to find or not well enough explained.
I understood it had something to do with the language strings of the theme?
Thanks in advance...
Yes, it has. if you use another language than english you need to add those strings in your language as well. They are located in Themes/(Themis)/languages/index.english.php.
Quote from: Karrit on August 04, 2006, 11:05:25 AM
Love the theme, but when I entered in my banner link it won't display. The image file is in PNG format, but should that matter?
Using IE perhaps? Also, if the PNG is 24-bit it won't display, only 8-bit.
Excellent Theme, installed. 8)
Nice. I like this theme.
can we get an update for rc3, please?
I installed it on RC3, and works fine so far except that on the calendar page there is no page to post events to the calendar :[
I will start conversion on all themes shortly, then these issues and similar should be sorted out.
I really like this theme. Very nice.
But I would like to use it without the Icons (Graphics) over the Main Menu.
Would like the Main menu to appear - Just as the text -
Home | Help | Search | Admin | Profile | Logout
I'm not sure of a way of deleting the appropriate coding to do this. (If delete Graphics links - the alternative text appears.)
Or is there another Theme based on this that I cannot find?
Has this theme been updated for latest version?
The theme site has this wonderful tool called the search. :)
http://custom.simplemachines.org/themes/index.php?lemma=13
Thanks DuBist™!
However, I can see:
QuoteCompatible With: 1.0.6, 1.0.7, 1.0.8, 1.1 RC2, 1.1 RC3, 1.1, 1.1.1
Does that mean it runs on 1.1.4 too?
yes, it does. I haven't got around to actually update all items with that info.
Topic is now locked please refer to:
http://www.simplemachines.org/community/index.php?topic=77758.0