Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => Classic Themes => Topic started by: Mystica on April 08, 2005, 05:21:42 AM

Title: Sitra Theme for 1.0.x and 1.1
Post by: Mystica on April 08, 2005, 05:21:42 AM
Here's my "Sitra" theme. It includes 6 colors (selectable from a dropdown on the mainpage) and can be used with any language (since it uses mostly textlinks instead of buttons).

Previews (in blue):
Index (http://img.photobucket.com/albums/v448/MysticaMisery/pics/sitra1.jpg)
Message Overview (http://img.photobucket.com/albums/v448/MysticaMisery/pics/sitra2.jpg)
Posts (http://img.photobucket.com/albums/v448/MysticaMisery/pics/sitra3.jpg)

Colors:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg.photobucket.com%2Falbums%2Fv448%2FMysticaMisery%2Fpics%2Fsitrablue.gif&hash=bbaf7fd5dc58c205a1f8df3b4c9c90e4126d75ac) (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg.photobucket.com%2Falbums%2Fv448%2FMysticaMisery%2Fpics%2Fsitrared.gif&hash=438c846b63fd8033409ce3422212b25b45f0b040) (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg.photobucket.com%2Falbums%2Fv448%2FMysticaMisery%2Fpics%2Fsitrapurple.gif&hash=98db7e3d8273be1aea65dda9ea16c8f41ef8d76b) (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg.photobucket.com%2Falbums%2Fv448%2FMysticaMisery%2Fpics%2Fsitragreen.gif&hash=2e34ec38cd727f986f07097267b92be990dd65a9) (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg.photobucket.com%2Falbums%2Fv448%2FMysticaMisery%2Fpics%2Fsitrayellow.gif&hash=229c8f31484acc399a71f779a62d82ca48e0df4f) (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg.photobucket.com%2Falbums%2Fv448%2FMysticaMisery%2Fpics%2Fsitrabrown.gif&hash=b5d7f3d7081b9db25f65c3844fff35a702be3fca)

For help with the color chooser, many thanks to [unknown], bloc and my brother :)

Attached to this post it the theme for SMF 1.0.x

You can download the theme version for SMF 1.1 RC1 here (http://www.simplemachines.org/community/index.php?topic=32628.msg368062#msg368062).
Downloads for SMF 1.1 RC2 are attached to this post (http://www.simplemachines.org/community/index.php?topic=32628.msg447036#msg447036)
Title: Re: Sitra Theme for 1.0.3
Post by: Miraenda on April 08, 2005, 05:42:49 AM
Looks pretty good.  I'll wait until I see a site demo, though, from Oldiesmann or someone who installs it before being fully sure how awesome it is :)

Also, I like the theme name.
Title: Re: Sitra Theme for 1.0.3
Post by: bloc on April 08, 2005, 08:08:20 AM
Looks fine. :) Its a no-buttons theme..?
Title: Re: Sitra Theme for 1.0.3
Post by: A.M.A on April 08, 2005, 10:06:32 AM
looking great .. well done Mystica
Title: Re: Sitra Theme for 1.0.3
Post by: [darksteel] on April 08, 2005, 10:40:36 AM
good colors ;)
Title: Re: Sitra Theme for 1.0.3
Post by: Mystica on April 08, 2005, 12:25:05 PM
thanks :)

Quote from: Bloc on April 08, 2005, 08:08:20 AM
Its a no-buttons theme..?

all text-buttons have been changed to text-links, so you could say it's a no-buttons theme. far from a no-graphics theme though ;)
Title: Re: Sitra Theme for 1.0.3
Post by: bloc on April 08, 2005, 12:36:06 PM
;D Nice.
Title: Re: Sitra Theme for 1.0.3
Post by: Source on April 08, 2005, 12:39:03 PM
Good work, I'll try out that theme sometime today.  :)
Title: Re: Sitra Theme for 1.0.3
Post by: klumy on April 08, 2005, 12:50:22 PM
nice one ;)
Title: Re: Sitra Theme for 1.0.3
Post by: Trekkie101 on April 10, 2005, 03:12:56 PM
Very nice !  ;)
Title: Re: Sitra Theme for 1.0.3
Post by: cnpldotca on April 10, 2005, 04:27:15 PM
I don't understand, where is the option to use the red skin?
Title: Re: Sitra Theme for 1.0.3
Post by: FikretAkın on April 10, 2005, 10:54:43 PM
Very Nice
Title: Re: Sitra Theme for 1.0.3
Post by: Mystica on April 11, 2005, 03:08:53 AM
Quote from: cnpldotca on April 10, 2005, 04:27:15 PM
I don't understand, where is the option to use the red skin?

when the theme is installed, in the top right corner you'll have a dropdown with all the colors, so every user can choose the color that they like best.
Title: Re: Sitra Theme for 1.0.3
Post by: Thunderace on April 11, 2005, 11:58:03 AM
Thanks for the theme Mystica it's very nice.

Could you tell me how to set the default colour please.

Thanks
Title: Re: Sitra Theme for 1.0.3
Post by: Mystica on April 11, 2005, 12:30:09 PM
just add this file, you can choose default theme color in the theme settings then. (totally forgot to add the file in the first place  ::) , updated the zip file)
Title: Re: Sitra Theme for 1.0.3
Post by: Thunderace on April 11, 2005, 01:12:54 PM
Thanks .. your theme is here (http://www.babygurgles.com/devzone) btw it's a bit squished but nice nevertheless
Title: Re: Sitra Theme for 1.0.3
Post by: forsakenlad on April 11, 2005, 03:09:57 PM
A clean brilliant work which may suit different tastes, thanx...  :)
Title: Re: Sitra Theme for 1.0.3
Post by: HoTmetal on April 11, 2005, 03:39:58 PM
Very clean... I can't wait to D/L
Title: Re: Sitra Theme for 1.0.3
Post by: Kindred on April 11, 2005, 04:47:58 PM
Mystica, this is GREAT!  I love it...

I have taken the liberty of attempting a port to make this theme compatable with Bloc's TinyPortal...  I'll give you a link when I have something working correctly. :)
Title: Re: Sitra Theme for 1.0.3
Post by: def9 on April 11, 2005, 11:40:22 PM
I wanted to post a very well done on this theme. I'm currently working on it as it may end up as my main the colors are just a great touch.

One thing though. When I installed this theme last night it oddly didn't have a new.gif image. Upon investigation I discovered that a directory it's calling for in the theme is missing. http://yoursite/smf/Themes/sitra/images/brown/english/new.gif. It seems to be missing for all colors. I just added the SMF default themes dir in place. Just a bug report if you hadn't spotted it it yet.
Title: Re: Sitra Theme for 1.0.3
Post by: Mystica on April 12, 2005, 02:55:06 AM
i missed the new.gif image and thus forgot to remove it. i removed the english folders to make the theme work with all languages. here's the updates messageindex file without the new.gif image (and a text-link instead). will update the zip in a second. thanks for reporting :)
Title: Re: Sitra Theme for 1.0.3
Post by: neusiok on April 12, 2005, 10:18:23 AM
Mystica,
Great theme!! My members love being able to change color.

Have found a small bug similar to the above, when viewing in General Info at bottom of index page,
"View the 10 most recent post in the forum", it is trying to find an image in the post for Remove message, Reply, Reply with Quote, etc.
Title: Re: Sitra Theme for 1.0.3
Post by: Kindred on April 12, 2005, 12:44:06 PM
yup... those icons are indeed being looked for in the xxx/images/COLOR/english directory....
Title: Re: Sitra Theme for 1.0.3
Post by: Mystica on April 12, 2005, 12:45:44 PM
eek, that's what you get from never even using those pages  :-[
sorry, will fix this tomorrow.
Title: Re: Sitra Theme for 1.0.3
Post by: smooth_jake on April 13, 2005, 03:25:55 AM
wow, very nice theme...  i got to use this one.. thanks...
Title: Re: Sitra Theme for 1.0.3
Post by: Mystica on April 13, 2005, 11:35:44 AM
i went through all files again and found some more buttons that i didn't remove already. added some files and updated the zip file (in the first post). please use the new version, all errors should be fixed now! if you spot any further errors, just let me know! :)
Title: Re: Sitra Theme for 1.0.3
Post by: Oldiesmann on April 13, 2005, 08:53:45 PM
Give me a few minutes and I'll add them to my test board. I still have two other themes that I have to add first.
Title: Re: Sitra Theme for 1.0.3
Post by: Oldiesmann on April 13, 2005, 09:46:02 PM
http://smf.oldiesmann.us/index.php?theme=86

Enjoy :)
Title: Re: Sitra Theme for 1.0.3
Post by: ryanbsoftware on April 14, 2005, 12:47:08 AM
i would like to see diffrent buttons.
Title: Re: Sitra Theme for 1.0.3
Post by: Mystica on April 14, 2005, 02:52:39 AM
Quote from: RyanB on April 14, 2005, 12:47:08 AM
i would like to see diffrent buttons.

buttons?? there are no buttons in this theme really ???
Title: Re: Sitra Theme for 1.0.3
Post by: smooth_jake on April 14, 2005, 04:56:10 AM
Quote from: Mystica on April 14, 2005, 02:52:39 AM
Quote from: RyanB on April 14, 2005, 12:47:08 AM
i would like to see diffrent buttons.

buttons?? there are no buttons in this theme really ???

can you check the test board of oldiesman and go to the "View the 10 most recent post" , i think there is an error...
Title: Re: Sitra Theme for 1.0.3
Post by: Mystica on April 14, 2005, 05:21:40 AM
the error seems to be in his forum though, i tested other themes there and the error stays. recent posts work fine with sitra theme on my test forum.
Title: Re: Sitra Theme for 1.0.3
Post by: smooth_jake on April 14, 2005, 06:03:08 AM
Quote from: Mystica on April 14, 2005, 05:21:40 AM
the error seems to be in his forum though, i tested other themes there and the error stays. recent posts work fine with sitra theme on my test forum.

ok, thanks.. i will download your themes and test it on my forum..  :)
Title: Re: Sitra Theme for 1.0.3
Post by: ryanbsoftware on April 14, 2005, 12:22:54 PM
Quote from: Mystica on April 14, 2005, 02:52:39 AM

buttons?? there are no buttons in this theme really ???

i know, thats what i am saying, i want buttons....
Title: Re: Sitra Theme for 1.0.3
Post by: Mystica on April 14, 2005, 01:05:18 PM
well, if you want buttons, then you'll have to use an other theme ;D i won't make buttons for this one, it's supposed to be different than the other themes that i've made so far ;)
Title: Re: Sitra Theme for 1.0.3
Post by: Miraenda on April 14, 2005, 01:41:18 PM
I like it not having buttons myself :D
Title: Re: Sitra Theme for 1.0.3
Post by: rgarrison on April 17, 2005, 02:31:48 PM
I am not the best with code and such however I am trying to add another link in the theme for the chat feature and I go into the main templete in the admin section for this and add another link like the reste and it doesn't work.  Any idea what I am doing wrong?  BTW I love the theme.
Title: Re: Sitra Theme for 1.0.3
Post by: Mystica on April 17, 2005, 03:54:11 PM
i don't know what code exactly you are trying to add, but this should work:


echo '
            <a href="', $scripturl, 'LINK">Chat</a><img src="' . $settings['images_url'] . '/mensep.gif" border="0" />';


where LINK is whatever stands after the "index.php" part of the url.

if it doesn't work, please post the code you are trying to add, or pm me.
Title: Re: Sitra Theme for 1.0.3
Post by: Chab on April 18, 2005, 03:15:26 AM
Hello,

It is a super theme, big big thank's, i love it color selector are so fun to use,
great idée :d

I have 2 questions:
I modify it (http://www.alsamania.net/index.php?option=com_smf&Itemid=26&expv=0&) a little, but the only thing which I miss, is the retractable upshrink zone
because I put the shoutbox in this place ;)
it there a easy way to do this zone back ?

If I wish to add more colors by duplicating the color directory and the adequate file css
and rename it, it is possible?
How to make it visible in the selection box ?

Once again, tank's for share this cool theme  :D 
Title: Re: Sitra Theme for 1.0.3
Post by: Mystica on April 18, 2005, 05:08:32 AM
should work easily... to add the upshrink zone back, just add

id="upshrinkHeader"', empty($options['collapse_header']) ? '' : ' style="display: none;"', '

to the element you want to be collapsible and put

<a href="#" onclick="shrinkHeader(!current_header); return false;"><img id="upshrink" src="', $settings['images_url'], '/', empty($options['collapse_header']) ? 'upshrink.gif' : 'upshrink2.gif', '" alt="*" title="', $txt['upshrink_description'], '" style="margin: 2px 0;" border="0" /></a><img id="upshrinkTemp" src="', $settings['images_url'], '/blank.gif" alt="" style="margin-right: 2ex;" />

whereever you want the arrow to appear!

to add more colors, just make sure you have a copy of the images folder and the css for that color and then add it to the other colors in the dropdown code in index.template (starts line 227) and settings.template (starts line 110). and if you use the newsfader, don't forget to add the colors in boardindex.template. shouldn't be a problem to add as many colors as you wish.

btw, nice modifications on your forum, looks very clean and nice :)
Title: Re: Sitra Theme for 1.0.3
Post by: PopLife on April 18, 2005, 06:12:07 AM
Fantastic job Mystica!  ;D
I like most of your themes. This one is just great. Keep them coming :)

The ammount of themes on SMF is increasing. When I switched to SMF, my first impression was that SMF was pretty lenient in terms of themes. Now there is a new one almost every week.
Title: Re: Sitra Theme for 1.0.3
Post by: Chab on April 18, 2005, 09:27:36 AM
Quote from: Mystica on April 18, 2005, 05:08:32 AM
btw, nice modifications on your forum, looks very clean and nice :)

Thank's for your help, upshrink work good,  and for color add i have understood the way 8)
An thank's for compliment, i hop a day come how i can make clean theme (properly code)
and not juste copy and stick...when this day com sure i share my work  :)
Title: Re: Sitra Theme for 1.0.3
Post by: Oldiesmann on April 18, 2005, 03:39:07 PM
Quote from: Mystica on April 14, 2005, 05:21:40 AM
the error seems to be in his forum though, i tested other themes there and the error stays. recent posts work fine with sitra theme on my test forum.

/me goes to check his error log
Title: Re: Sitra Theme for 1.0.3
Post by: Oldiesmann on April 18, 2005, 03:43:28 PM
What error were you referring to? My forum error log was 365 pages long due to a couple of different issues (mostly undefined index errors), so I didn't actually look at all of them.
Title: Re: Sitra Theme for 1.0.3
Post by: Kindred on April 18, 2005, 04:07:24 PM
Hi Mystica!

I love this theme. I've actually been looking for something like this (hot-switchable colours) for a while.

As I mentioned a few weeks ago, I've ported the theme over to work with Bloc's Tiny Portal.
(to do this, I added tiny portal code and moved the color switch choice box down into the menu row.)

I wanted to check with you first...  but I would like to make the TinyPortal activated version of your theme available to other users of TinyPortal. I still credit you with the theme and authorship. The only detail I changed in the XML was to rename it Sitra theme for TinyPortal.

Please let me know if you have any issues with redistributing the theme or if you're cool with it.

thanks!
Title: Re: Sitra Theme for 1.0.3
Post by: andrzej on April 18, 2005, 04:24:32 PM
Thanks for this wonderful theme! I have chosen it for my forum at http://www.sieciogrod.com/forum/ (forum is in Polish).
Title: Re: Sitra Theme for 1.0.3
Post by: Mystica on April 19, 2005, 02:41:59 AM
Quote from: Oldiesmann on April 18, 2005, 03:43:28 PM
What error were you referring to? My forum error log was 365 pages long due to a couple of different issues (mostly undefined index errors), so I didn't actually look at all of them.

the error was on the recent posts page, it looked all messed up, might have been the code of one of the posts though... i checked again and now it looks fine, no error anymore :P

Quote from: kindred on April 18, 2005, 04:07:24 PM
Please let me know if you have any issues with redistributing the theme or if you're cool with it.

as long as i'm still credited as the author of the theme i have absolutely no problem with this. :)
Title: Re: Sitra Theme for 1.0.3
Post by: xenovanis on April 20, 2005, 04:58:02 AM
Great theme Mystica, thanks.
Title: Re: Sitra Theme for 1.0.3
Post by: dpmagyari on April 20, 2005, 03:36:50 PM
Awesome theme! Love the color change ability for my users. I am not a coder by any measures, I'm rather code ignorant honestly. I am currently trying to integrate my Coppermine Gallery with SMF. It says I must place a link to the Gallery from SMF since SMF does not redirect to the gallery. I was able to get the "Gallery" link to be shown. But I have tried many variations of making this link by adding it under the close of  // The [calendar]! on index.template.php  last attempt was adding this:

    // The [Gallery]!
    echo '
            <a href="www.magyari.us/galleries/index.php?cat=">Gallery</a><img src="' . $settings['images_url'] . '/mensep.gif" border="0" />';

The problem I have is that no matter what I have tried the actual link automatically ties itself to my /smf directory so I always end up with the actual link pointing to:

http://magyari.us/smf/www.magyari.us/galleries/index.php?cat=

instead of just the:  www.magyari.us/galleries/index.php?cat=  which is where I think Coppermine is asking me to make my link point to.

Any help would be appreciated.
If a test account is needed you can use test/test
www.magyari.us/smf (http://www.magyari.us/smf)
Title: Re: Sitra Theme for 1.0.3
Post by: Owdy on April 20, 2005, 03:38:35 PM
// The [Gallery]!
    echo '
            <a href="http://www.magyari.us/galleries/index.php?cat=">Gallery</a><img src="' . $settings['images_url'] . '/mensep.gif" border="0" />';
  ?
Title: Re: Sitra Theme for 1.0.3
Post by: dpmagyari on April 20, 2005, 03:45:39 PM
Thanks a ton Owdy! That did it for me! I appreciate the fast response  :)
Title: Re: Sitra Theme for 1.0.3
Post by: Gary on April 20, 2005, 03:48:24 PM
I love the theme to bits, but I would like the Donate mod, Expirience Bar and Visual Warning mod to work with this theme too, I had a go at coding myself, but being a newbie at PHP I totally screwed up.
Title: Re: Sitra Theme for 1.0.3
Post by: Kindred on April 20, 2005, 04:14:23 PM
those will all work just fine with this theme. However, they will require you to do the edits by hand... (as will ANY theme, except for the default)
Title: Re: Sitra Theme for 1.0.3
Post by: Gary on April 20, 2005, 04:23:16 PM
Yeah, I know. Thats what I screwed up with.
Title: Re: Sitra Theme for 1.0.3
Post by: Mystica on April 21, 2005, 02:47:37 AM
i'll see what i can do and will pm you later about integrating the mods :)
Title: Re: Sitra Theme for 1.0.3
Post by: Gary on April 21, 2005, 12:46:47 PM
I got the PM and everything works honkey-dorry.

Below is what you should do if you want these three mods to work on your forum, I think that its only fair that people know how.

in index.template.php:

find:

function template_menu()
{
global $context, $settings, $options, $scripturl, $txt;


replace with:

function template_menu()
{
global $context, $settings, $options, $scripturl, $txt;
global $modSettings;





find:

// If the user is a guest, show [login] and [register] buttons.


add above it:

if (!$context['user']['is_guest'] && $modSettings['don_title'])
echo'
<a href="', $scripturl, '?action=donations">', ($txt['don_send']), '</a><img src="' . $settings['images_url'] . '/mensep.gif" border="0" />';






find:

// Is the forum in maintenance mode?
if ($context['in_maintenance'] && $context['user']['is_admin'])
echo '<br />
<b>', $txt[616], '</b>';


add after it:

if (isset($context['user']['awaiting_mod']))
echo '<br />' . $context['user']['awaiting_mod'];







in Display.template.php:

find:

// Show the anchor for the top and for the first message.  If the first message is new, say so.


add above it:

global $bar_exps, $bar_posts;





find:

}
// Otherwise, show the guest's email.


add above it:

//Bar of Experience Mod

$bar_posts = $message['member']['posts'];

barExp();

if (!empty($modSettings['bar_exp_enabled']))
$bar_exper = '<br /><br />' . $bar_exps . '<br />';
else
$bar_exper = '';

echo '
<br /><br />', $bar_exper, '<br />';





find:

if ($message['can_remove'])
echo '
<a href="', $scripturl, '?action=deletemsg;topic=', $context['current_topic'], '.', $context['start'], ';msg=', $message['id'], ';sesc=', $context['session_id'], '" onclick="return confirm(\'', $txt[154], '?\');">', ($txt[31]), '</a><img src="' . $settings['images_url'] . '/mensep2.gif" border="0" />';


add after it:

if ($context['can_warn'])
echo '
<a href="', $scripturl, '?action=warnadd;topic=', $context['current_topic'], ';start=', $context['start'], ';user=', $message['member']['id'], ';msg=', $message['id'], '">', ($txt['visual_warn']), '</a><img src="' . $settings['images_url'] . '/mensep2.gif" border="0" />';





find:

if (isset($message['member']['group']) && $message['member']['group'] != '')
echo '
', $message['member']['group'], '<br />';


add after it:

if (isset($message['member']['warning']['link']) && $message['member']['warning']['link'] != '')
echo'
', $message['member']['warning']['link'];







in Profile.template.php:

find:

<i>', $context['can_send_pm'] ? '<a href="' . $context['member']['online']['href'] . '" title="' . $context['member']['online']['label'] . '">' : '', $settings['use_image_buttons'] ? '<img src="' . $context['member']['online']['image_href'] . '" alt="' . $context['member']['online']['text'] . '" border="0" align="middle" />' : $context['member']['online']['text'], $context['can_send_pm'] ? '</a>' : '', $settings['use_image_buttons'] ? '<span class="smalltext"> ' . $context['member']['online']['text'] . '</span>' : '', '</i>
</td>
</tr><tr>


add after it:

';
if ($context['member']['warning']['link'] != '')
echo'
<td><b>' . $txt['visual_current_level'] . ' </b></td>
<td>' . $context['member']['warning']['link'] . '</td>
</tr><tr>
';
echo'


Once all of that is done, upload the contents of this folder (http://babysimpson.co.uk/smf/exp.zip) (the exp bar), to every images folder in each colour folder (forum/themes/sitra/images/colour), and the contents of this folder (http://babysimpson.co.uk/smf/warn.zip) (the visual warning mod) to the main images folder for the theme (forum/themes/sitra/images)
Title: Re: Sitra Theme for 1.0.3
Post by: Villesa on April 21, 2005, 10:13:51 PM
Thank you Mystica for this great theme. I have got few problems.

1: I'm using 2 extra buttons in my forum. I have got their text to show up, but i can't get mensep.gif to show up between them

2: Where or what should i edit if i want to and my forum logo.gif to top of the page?

Thank you again for you GREAT work.
Title: Re: Sitra Theme for 1.0.3
Post by: Mystica on April 22, 2005, 03:29:21 AM
look at the other buttons codes, they have the img code for the seperator, place the seperator directly behind the closing tag of each link, it should show up then. if it doesn't work, please post your code so i can have a look at it (or pm it to me if you want to).

it depends on where you want to add a logo. if you want it above the first box, add the code above this code:

<div class="box">
<div class="windowbg2" style="margin-bottom: 2px;">


if the logo should be inside the box but above the user info, add it after the above code. the code to add the logo is this:

<img src="', $settings['images_url'], '/logo.gif" alt="" />

make sure that you have a logo.gif in each colors folder though!
Title: Re: Sitra Theme for 1.0.3
Post by: Villesa on April 22, 2005, 03:55:27 AM
Here is the buttons code


// How about the [chat] button?
if ($context['user']['is_logged'])
   
echo '
        <a href="http://www.xxonkforia.net/yabbse/index.php?action=chat" target="blank_">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/mensep.gif" alt="' . $txt[801] . '" style="margin: 2px 0;" border="0" />' : $txt[801]), '</a>', $context['menu_separator'];

// How about the [gsm] button?

echo '
        <a href="http://www.xxonkforia.net/gsm/" target="blank_">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/mensep.gif" alt="' . $txt[802] . '" style="margin: 2px 0;" border="0" />' : $txt[802]), '</a>', $context['menu_separator'];



Thank you for your help. :D :)
Title: Re: Sitra Theme for 1.0.3
Post by: Mystica on April 22, 2005, 05:16:53 AM
try this instead:

// How about the [chat] button?
if ($context['user']['is_logged'])

echo '
        <a href="http://www.xxonkforia.net/yabbse/index.php?action=chat" target="blank_">',$txt[801],'</a><img src="' . $settings['images_url'] . '/mensep.gif" border="0" />';

// How about the [gsm] button?

echo '
        <a href="http://www.xxonkforia.net/gsm/" target="blank_">',$txt[802],'</a><img src="' . $settings['images_url'] . '/mensep.gif" border="0" />';
Title: Re: Sitra Theme for 1.0.3
Post by: Villesa on April 22, 2005, 08:58:30 AM
Thank you that worked just fine :D You're great. Thank you.
Title: Re: Sitra Theme for 1.0.3
Post by: Jan.S. on April 22, 2005, 11:06:33 AM
Can i add a logo in or next to the first box ??
or replace the avatar ?
Title: Re: Sitra Theme for 1.0.3
Post by: Mystica on April 22, 2005, 12:15:03 PM
to replace the avatar with a logo, in index.template, find this code:


if (!empty($context['user']['avatar']))
echo '<td valign="middle" class="windowbg" width="1">', $context['user']['avatar']['image'], '</td>';


and replace with this:

echo '
<td><img src="url to your logo" alt="" /></td>';


or you could just add the code in front of the avatar code, should work too!
Title: Re: Sitra Theme for 1.0.3
Post by: Jan.S. on April 22, 2005, 01:16:22 PM
thanks
Title: Re: Sitra Theme for 1.0.3
Post by: Villesa on April 23, 2005, 03:38:26 AM
Hi again, i seem to be missing "mark as read" link in each "forum". Is it missing from your theme or is it language based thing(i'm using finnish).
Title: Re: Sitra Theme for 1.0.3
Post by: Gary on April 23, 2005, 04:34:06 AM
Yeah, it's missing on my board too, and mines in English.
Title: Re: Sitra Theme for 1.0.3
Post by: Mystica on April 23, 2005, 07:23:28 AM
yes, it's not in the theme. if you want to add it back, in messageindex.template.php, add this in line 341:


// If they are logged in, and the mark read buttons are enabled..
if ($context['user']['is_logged'] && $settings['show_mark_read'])
$buttonArray[] = '<a href="' . $scripturl . '?action=markasread;sa=board;board=' . $context['current_board'] . '.0">' . ($txt[300]) . '</a><img src="' . $settings['images_url'] . '/mensep2.gif" border="0" />';
Title: Re: Sitra Theme for 1.0.3
Post by: Villesa on April 23, 2005, 08:37:21 AM
Thank you again. Really great support you give :)
Title: Re: Sitra Theme for 1.0.3
Post by: Jan.S. on April 24, 2005, 10:54:56 AM
where can place in this line sitra thema
<img src='http://www.topforums.be/toplijst/index.php?hit=61' width='0' height='0'>
thanks
Title: Re: Sitra Theme for 1.0.3
Post by: Mystica on April 25, 2005, 03:59:44 AM
i don't know where you want to place this or what it does, but try it like this:
echo '<img src="http://www.topforums.be/toplijst/index.php?hit=61" width="0" height="0" />';
Title: Re: Sitra Theme for 1.0.3
Post by: Jan.S. on April 25, 2005, 11:41:11 AM
Thank you
i was a little bit in a hurry yesterday
but it do this
when members visit our forum this line send a hit to this site

http://www.topforums.be/toplijst/index.php



Title: Re: Sitra Theme for 1.0.3
Post by: Mystica on April 25, 2005, 12:06:20 PM
try adding the above code right under the copyright code (around line 303) in index.template if you want a hit for every forum page, or in line 73 in boardindex.template for just index page hits. should work.
Title: Re: Sitra Theme for 1.0.3
Post by: KittKnits on May 01, 2005, 02:01:02 AM
Love the idea but when I d/l the zip, it's empty  :(
Always,
Kitt
Title: Re: Sitra Theme for 1.0.3
Post by: Mystica on May 01, 2005, 05:13:36 AM
weird... it works fine for me.
if you pm me your email address i could mail the zip file to you.
Title: Re: Sitra Theme for 1.0.3
Post by: Woof on May 06, 2005, 08:08:16 PM
Mystica, nice theme. Is there anyway to change the default color from the red to one of the other colors? Thanks.
Title: Re: Sitra Theme for 1.0.3
Post by: Gary on May 06, 2005, 08:30:35 PM
Yeah, go: Admin Panel > Current Theme's Settings > Default Theme color select the colour you want.
Title: Re: Sitra Theme for 1.0.3
Post by: Woof on May 07, 2005, 07:37:04 PM
Thanks, that makes perfect sense. However when I do click on Current theme settings I get this message:

Template Parse Error!
There was a problem loading the /Themes/sitra/Settings.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.

I am new at this stuff. Any idea whats going on here. This is the default install of Sitra. I havent chnaged anything.
Title: Re: Sitra Theme for 1.0.3
Post by: Gary on May 08, 2005, 09:36:17 AM
Access the file directly to find out what line the problem is on, then use Dreamweaver and find the problem thats on the line that it said, and fix it, then upload it over the current one.
Title: Re: Sitra Theme for 1.0.3
Post by: Mystica on May 08, 2005, 01:17:41 PM
you could also email me the file and i'll have a look at it
Title: Re: Sitra Theme for 1.0.3
Post by: djw2 on May 15, 2005, 02:23:19 AM
Hey, great theme, I'm looking forward to using it.

But...

I'm told it's an "Unknown file format or is damaged."

I'f I try to manually unzip it it I'm "Archive not found."


Can I set it to red and not allow my users to change it?


peace
Title: Re: Sitra Theme for 1.0.3
Post by: Mystica on May 15, 2005, 05:08:06 AM
Quote from: djw2 on May 15, 2005, 02:23:19 AM
Can I set it to red and not allow my users to change it?

no, that's not possible. but i could take out the color chooser and the other colors and just send you the red version via email if you'd want that.
Title: Re: Sitra Theme for 1.0.3
Post by: djw2 on May 15, 2005, 11:21:18 PM
Cool, that would be great. Thanks for the extra effort I really appreciate it.

The whole site is red, it's really the only one I need.


Thanks again.
Title: Re: Sitra Theme for 1.0.3
Post by: Mystica on May 16, 2005, 07:29:38 AM
ok, sent the red-only verion to you.
Title: Re: Sitra Theme for 1.0.3
Post by: Minsc on May 30, 2005, 11:43:24 AM
Hi, great theme.  It's nice and easy on the eyes, which is something I look for in a theme.  I did notice one problem though.  No seperator appears between the "Reply with quote" and "Modify" links.

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi6.photobucket.com%2Falbums%2Fy233%2FMinscTFA%2Fnoseperator.jpg&hash=d77cc776ecfa284cfba7f797387fcbe943ee1935)
Title: Re: Sitra Theme for 1.0.3
Post by: chardi on June 09, 2005, 06:49:02 AM
I don't want the client to change the theme's color, how can I do?
Title: Re: Sitra Theme for 1.0.3
Post by: Mystica on June 09, 2005, 07:10:59 AM
Quote from: Minsc on May 30, 2005, 11:43:24 AM
I did notice one problem though.  No seperator appears between the "Reply with quote" and "Modify" links.

the seperator are does show up for me. could you email me your display.template file so i could check what's wrong?

Quote from: chardi on June 09, 2005, 06:49:02 AM
I don't want the client to change the theme's color, how can I do?

you'd have to remove the color changer. if you just want to have one color version on your forum, send me a pm, i can email you the theme in a one-color version. just let me know which color you want :)
Title: Re: Sitra Theme for 1.0.3
Post by: Mystica on June 09, 2005, 07:12:18 AM
to update to version 1.0.4, overwrite the old profile.template file with the attached one.
Title: Re: Sitra Theme for 1.0.3 + 1.0.4
Post by: dolly on June 20, 2005, 02:46:45 AM
If a person wanted to be able to add small pictures infront the board names how would it be done while using your theme, which BTW is awsome :)

I am new to using this board and just don't want to muck about till I am more familiar with things

thanks
Title: Re: Sitra Theme for 1.0.3 + 1.0.4
Post by: Mystica on June 20, 2005, 04:30:44 AM
do you mean the pictures that indicate if new posts have been made in a board?? that would be on.gif, on2.gif and off.gif (plus new_some.gif and new_none.gif). you could replace those with your own pictures.
Title: Re: Sitra Theme for 1.0.x
Post by: dolly on June 28, 2005, 04:04:27 PM
I mean how some forums have images next to the board title. Not the new post one but just a small image with the board title and the discription of the board its on
Title: Re: Sitra Theme for 1.0.x
Post by: Gary on June 28, 2005, 04:28:29 PM
You mean like (https://www.simplemachines.org/community/Themes/simple/images/topic/veryhot_post.gif)?
Title: Re: Sitra Theme for 1.0.x
Post by: rbdesign on July 02, 2005, 03:12:10 PM
How would I make the "downloads" and "Member Map"  mods work with this theme?
I'm sure I'd have to change some files.. but i'm very stupid when it comes to that...


Thanks,
Martin
Title: Re: Sitra Theme for 1.0.x
Post by: Mystica on July 02, 2005, 07:18:42 PM
i'm not sure what exactly the files change, but if you email me the mods, i'll have a look and let you know what needs to be changed in the theme.
Title: Re: Sitra Theme for 1.0.x
Post by: jazz on July 17, 2005, 11:32:36 PM
Is this theme still available?  The download is corrupt.
Title: Re: Sitra Theme for 1.0.x
Post by: Mystica on July 18, 2005, 02:31:40 AM
the download works fine for me. you might want to try downloading it again. if it still doesn't work i could email the files to you.
Title: Re: Sitra Theme for 1.0.x
Post by: tigerfaerie on July 26, 2005, 03:02:12 AM
I totally love this theme.  Especially the non-buttoness of it.

Cept I've got two problems.

1. I don't have the divider between quote and Modify

2. In the PM screen it still tries to pull up images.  Meaning my members are getting red Xs instead of text links.

Title: Re: Sitra Theme for 1.0.x
Post by: Mystica on August 04, 2005, 03:02:27 PM
I thought I fixed those two issues long ago... will take a look at it again and fix it with the next update!
Title: Re: Sitra Theme for 1.0.x - Logo Insertion?
Post by: SaveDepot on August 05, 2005, 07:06:00 PM
Hi, we're trying out this theme for our site, and so far we're impressed with the ease and simplicity of it!

We have one question for the designer...

We want to insert our logo on the top to keep the forum area standardized to the rest of our site, and have no idea which line/code to edit in the index.template.php file.

Our forum is at http://wehost4u.net/forums (http://wehost4u.net/forums)

Want to put this logo as a header logo...

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwehost4u.net%2Fimages%2Fwhlogo.gif&hash=5b8b33f1550162ac882c6750b12280a833cb373c)

Could you let us know which line of code to insert this logo into?

Thanks much!
Kim Brown
Title: Re: Sitra Theme for 1.0.x
Post by: Mystica on August 06, 2005, 11:50:39 AM
If you want the logo at the top, above the whole forum, just open index.template.php, go to line 163 and add this code:

echo '
<img src="http://wehost4u.net/images/whlogo.gif" height="65" width="600" alt="wehost4u.net logo" />';
Title: Re: Sitra Theme for 1.0.x
Post by: SaveDepot on August 06, 2005, 12:01:30 PM
Thanks, Mystica!!! Appreciate it! Anywhere I can make a donation for your theme? I'd like to use it.

:)
Title: Re: Sitra Theme for 1.0.x
Post by: Jan.S. on August 23, 2005, 02:23:17 PM
Can we upgrade to 1.0.5 wiht this theme?
Title: Re: Sitra Theme for 1.0.x
Post by: Mystica on August 23, 2005, 04:43:39 PM
The theme should work fine with 1.0.5
Title: Re: Sitra Theme for 1.0.x
Post by: rbdesign on August 27, 2005, 06:02:36 PM
hum.. me again.
I'm now trying to get the "integrated chat" mod to work. It's installed, but I can't see the "Chat" option in the menu.

thanks!
Martin
Title: Re: Sitra Theme for 1.0.x
Post by: rbdesign on August 27, 2005, 07:46:03 PM
After many hours, I managed to get the Chat thing in there, but there's no separator.
This is the code I had to enter in index.template.php

// Integrated Chat Mod Icon
   if (!$context['user']['is_guest'])
      echo '
            <a href="', $scripturl, '?action=chat" target="_blank">', ($settings['use_image_buttons'] ? ' <img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/chat.gif" alt="' . $txt['chatAlt'] . '" target="_blank" style="margin: 2px 0;" border="0" />' : $txt['chatAlt']), '</a>', $context['menu_separator'];
         
   
I'm thinking it might have to do with the "menu_seperator thing not being right, but clueless as I am with all this, I'm just extatic I actually managed to get "menu" to appear at all! :)

Martin
Title: Re: Sitra Theme for 1.0.x
Post by: Mystica on August 28, 2005, 05:36:58 AM
Great that you got the button to show up :)
I'm using a different seperator in this theme, just use this and it'll work:


// Integrated Chat Mod Icon
if (!$context['user']['is_guest'])
echo '
<a href="', $scripturl, '?action=chat" target="_blank">', ($settings['use_image_buttons'] ? ' <img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/chat.gif" alt="' . $txt['chatAlt'] . '" target="_blank" style="margin: 2px 0;" border="0" />' : $txt['chatAlt']), '</a><img src="' . $settings['images_url'] . '/mensep.gif" border="0" />';
Title: Re: Sitra Theme for 1.0.x
Post by: rbdesign on August 28, 2005, 09:08:32 AM
Great!! thank you very much!
Title: Re: Sitra Theme for 1.0.x
Post by: Vi31 on September 09, 2005, 02:40:48 AM
WOuld you be able to help me make some mods work in this theme?  Specifically the shop, enhanced quick reply, zodiac signs and location.  Please let me know, I would greatly appreciate the help.
Title: Re: Sitra Theme for 1.0.3
Post by: Menni on September 09, 2005, 10:44:24 AM
Quote from: Mystica on April 23, 2005, 07:23:28 AM
yes, it's not in the theme. if you want to add it back, in messageindex.template.php, add this in line 341:


// If they are logged in, and the mark read buttons are enabled..
if ($context['user']['is_logged'] && $settings['show_mark_read'])
$buttonArray[] = '<a href="' . $scripturl . '?action=markasread;sa=board;board=' . $context['current_board'] . '.0">' . ($txt[300]) . '</a><img src="' . $settings['images_url'] . '/mensep2.gif" border="0" />';

when I do this all messages come new.
I want to put "mark as read" in every category.How I do that? What Am I doing wrong?
Title: Re: Sitra Theme for 1.0.x
Post by: Mystica on September 09, 2005, 01:41:14 PM
Quote from: Vi31 on September 09, 2005, 02:40:48 AM
WOuld you be able to help me make some mods work in this theme?  Specifically the shop, enhanced quick reply, zodiac signs and location.  Please let me know, I would greatly appreciate the help.

Could you email me the .mod or .xml files of these mods? I'll have a look at them and see what has to be changed to make them work with the theme.
Title: Re: Sitra Theme for 1.0.3
Post by: Mystica on September 09, 2005, 01:44:20 PM
Quote from: Menni on September 09, 2005, 10:44:24 AM
when I do this all messages come new.
I want to put "mark as read" in every category.How I do that? What Am I doing wrong?

It works fine for me. I've attached the messageindex file with these changes, try if it works with this.
Title: Re: Sitra Theme for 1.0.x
Post by: Menni on September 11, 2005, 06:36:25 AM
Now it is working great. I did something wrong earlier. :-\

Would you tell me what I should do if I want to remove [help]-button from main?
Title: Re: Sitra Theme for 1.0.x
Post by: Mystica on September 11, 2005, 03:23:38 PM
The buttons are in the index.template.php, right down at the bottom of the file.
Just remove this line to remove the help button:

<a href="', $scripturl, '?action=help" target="_blank">',$txt[119],'</a><img src="' . $settings['images_url'] . '/mensep.gif" border="0" />
Title: Re: Sitra Theme for 1.0.x
Post by: Menni on September 13, 2005, 04:45:51 AM
How about the Chat? What should I do to get chat on sitra?
Title: Re: Sitra Theme for 1.0.x
Post by: Menni on September 13, 2005, 04:55:29 AM
I installed the Pjirc integrated chat mod, but nothing seems to "happen".
Title: Re: Sitra Theme for 1.0.x
Post by: Mystica on September 13, 2005, 08:58:15 AM
You will have to modify the theme files to include the mod. Try adding this to the navigation buttons at the end of index.template.php


echo '
<a href="', $scripturl, '?action=chat">Chat</a><img src="' . $settings['images_url'] . '/mensep.gif" border="0" />';
Title: Re: Sitra Theme for 1.0.x
Post by: Menni on September 13, 2005, 11:01:34 AM
When i go to address http://www.mychatboard.net/forum/chat.php the chat is working, but I'm "guest" . I need "button" too for chat. How I do that?
Title: Re: Sitra Theme for 1.0.x
Post by: Menni on September 13, 2005, 11:07:42 AM
This is the end on index.template. What should I do?
// Edit Profile... [profile]
if ($context['allow_edit_profile'])
echo '
<a href="', $scripturl, '?action=profile">',$txt[79],'</a><img src="' . $settings['images_url'] . '/mensep.gif" border="0" />';

// The [calendar]!
if ($context['allow_calendar'])
echo '
<a href="', $scripturl, '?action=calendar">',$txt['calendar24'],'</a><img src="' . $settings['images_url'] . '/mensep.gif" border="0" />';

// The [Gallery]!
    echo '
            <a href="http://www.***********.net/galleria/index.php?cat=">Galleria</a><img src="' . $settings['images_url'] . '/mensep.gif" border="0" />';

// If the user is a guest, show [login] and [register] buttons.
if ($context['user']['is_guest'])
{
echo '
<a href="', $scripturl, '?action=login">',$txt[34],'</a><img src="' . $settings['images_url'] . '/mensep.gif" border="0" />
<a href="', $scripturl, '?action=register">',$txt[97],'</a>';
}
// Otherwise, they might want to [logout]...
else
echo '
<a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '">', $txt[108], '</a>';
echo '
</div>';
}

?>
Title: Re: Sitra Theme for 1.0.x
Post by: Mystica on September 13, 2005, 11:29:27 AM
I took a look at the chat mod, you'll have to do these changes:
Copy the chatIcon.gif into the images folder of the sitra theme.
Open boardindex.template.php, go to line 392 and add this:

// Chat Stats
echo '
<tr>
<td class="catbg" colspan="2">', $txt['chatStats'], '</td>
</tr><tr>
<td class="windowbg" width="20" valign="middle" align="center">
<a href="', $scripturl, '?action=chat">
<img src="', $settings['images_url'], '/chatIcon.gif" alt="', $txt['chatAlt'], '" border="0" /></a>
</td>
<td class="windowbg2" width="100%">
<BR>There are currently <script src="http://www.everywherechat.com/users.asp?room=', $modSettings['chatRoomName'], '"></script> people talking in the chat room.<BR>
<script src="http://www.everywherechat.com/members.asp?room=', $modSettings['chatRoomName'], '"></script>
<span class="smalltext">';


Open index.template.php, go to line 428 and add this:


// Integrated Chat Mod Icon
if (!$context['user']['is_guest'])
echo '
<a href="', $scripturl, '?action=chat" target="_blank">', ($txt['chatAlt']), '</a><img src="' . $settings['images_url'] . '/mensep.gif" border="0" />';


These are the instructions from the chat mod, so it should work.
Title: Re: Sitra Theme for 1.0.x
Post by: Menni on September 13, 2005, 11:35:26 AM
Thanks Mystica. Your the best. :D
Title: Re: Sitra Theme for 1.0.x
Post by: Vi31 on September 13, 2005, 12:14:40 PM
Mystica,
I e-mailed you the mods I wanted to implement on my forum with your fabulous theme.  Did you receive it?  Just checking if you did, no rush on the help :)

Vi
Title: Re: Sitra Theme for 1.0.x
Post by: Menni on September 13, 2005, 12:19:01 PM
"There are currently ERROR - No room specified people talking in the chat room."
and In top of the board there is nothin between two mensep.gif. I mean no text "chat". What's wrong?
Title: Re: Sitra Theme for 1.0.x
Post by: Menni on September 13, 2005, 12:28:08 PM
 when I go to address www.mysmf.net/forum/chat.php theres text:
"Notice: Undefined index: chatAlt in /home/*****/public_html/forum/Sources/Load.php(1040) : eval()'d code on line 431"
Otherwice it seems to be working.
Title: Re: Sitra Theme for 1.0.x
Post by: Mystica on September 13, 2005, 01:41:52 PM
Quote from: Vi31 on September 13, 2005, 12:14:40 PM
Mystica,
I e-mailed you the mods I wanted to implement on my forum with your fabulous theme.  Did you receive it?  Just checking if you did, no rush on the help :)

Vi

Sorry, I didn't recieve an email from you. Could you send it again please?
Title: Re: Sitra Theme for 1.0.x
Post by: Vi31 on September 13, 2005, 02:00:40 PM
I just sent it again Mystica.  It was sent to [email protected]

Thanks
Title: Re: Sitra Theme for 1.0.x
Post by: Mystica on September 13, 2005, 03:47:13 PM
Thanks, I got it this time. Will have a look at it within the next few days.
Title: Re: Sitra Theme for 1.0.3
Post by: Menni on September 18, 2005, 04:03:01 AM
Quote from: Mystica on April 18, 2005, 05:08:32 AM
should work easily... to add the upshrink zone back, just add

id="upshrinkHeader"', empty($options['collapse_header']) ? '' : ' style="display: none;"', '

to the element you want to be collapsible and put

<a href="#" onclick="shrinkHeader(!current_header); return false;"><img id="upshrink" src="', $settings['images_url'], '/', empty($options['collapse_header']) ? 'upshrink.gif' : 'upshrink2.gif', '" alt="*" title="', $txt['upshrink_description'], '" style="margin: 2px 0;" border="0" /></a><img id="upshrinkTemp" src="', $settings['images_url'], '/blank.gif" alt="" style="margin-right: 2ex;" />

whereever you want the arrow to appear!

to add more colors, just make sure you have a copy of the images folder and the css for that color and then add it to the other colors in the dropdown code in index.template (starts line 227) and settings.template (starts line 110). and if you use the newsfader, don't forget to add the colors in boardindex.template. shouldn't be a problem to add as many colors as you wish.

btw, nice modifications on your forum, looks very clean and nice :)
Can you tell me exactly where I should put these to get upshrinkzone?
Title: Re: Sitra Theme for 1.0.x
Post by: Menni on September 18, 2005, 04:26:50 AM
How can I make pm's show up as pop-ups?
Title: Re: Sitra Theme for 1.0.3
Post by: Mystica on September 18, 2005, 05:51:47 AM
Quote from: Menni on September 18, 2005, 04:03:01 AM
Quote from: Mystica on April 18, 2005, 05:08:32 AM
should work easily... to add the upshrink zone back, just add

id="upshrinkHeader"', empty($options['collapse_header']) ? '' : ' style="display: none;"', '

to the element you want to be collapsible and put

<a href="#" onclick="shrinkHeader(!current_header); return false;"><img id="upshrink" src="', $settings['images_url'], '/', empty($options['collapse_header']) ? 'upshrink.gif' : 'upshrink2.gif', '" alt="*" title="', $txt['upshrink_description'], '" style="margin: 2px 0;" border="0" /></a><img id="upshrinkTemp" src="', $settings['images_url'], '/blank.gif" alt="" style="margin-right: 2ex;" />

whereever you want the arrow to appear!
Can you tell me exactly where I should put these to get upshrinkzone?

Like I said in the quoted post, place it whereever you want the upshrinkzone to be. Just add it to the element, that you want to be collapsible (a div or a tr or a whole table for example) and place the second code-part where you want the arrow to be.

Quote from: Menni on September 18, 2005, 04:26:50 AM
How can I make pm's show up as pop-ups?

Sorry, can't help you with that.
Title: Re: Sitra Theme for 1.0.x
Post by: tigerfaerie on September 23, 2005, 07:54:13 PM
Chances of the theme being updated to work with the updated SMF soon?  Please?  :-*
Title: Re: Sitra Theme for 1.0.x
Post by: Mystica on September 24, 2005, 07:17:33 AM
I'll try to update my themes to the latest 1.1 version beginning of next month, when I'll hopefully have more time than I do have right now. :)
Title: Re: Sitra Theme for 1.0.x
Post by: tigerfaerie on September 25, 2005, 07:13:57 PM
that would be great. i really love this theme.   :-*



i had to re-download it to fix some files.  and upon re-uploading it to my site, i can no longer change avatar in the theme.  i have to switch to another one to change my avatar and back again.  just something i thought i would point out.

(plus the attached zip to this thread still is missing that divider and has the image problems, just a fyi).
Title: Re: Sitra Theme for 1.0.x
Post by: Mystica on October 06, 2005, 12:42:20 PM
Here's the updated version of Sitra for SMF 1.1 RC1
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: on4ya on October 07, 2005, 02:14:22 PM

Thanks Mystica for the upgrade of Sitra for SMF 1.1 RC1.

Great job , everything's works fine.

It's my default style , I love it.

Greatings 

Robert  8) :D
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: tigerfaerie on October 09, 2005, 01:28:55 AM
Now when I go to the 'Unread posts' or 'New replies' link, it tries to call up those non-existant images in the non-existant english folder......
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: on4ya on October 09, 2005, 03:54:06 AM
Here's the same error , there is no link to   Themes/Sitra/blue/dutch/new.gif    and also no link  for Themes/Sitra/images/post/xx.gif   


8) :D


Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Mystica on October 09, 2005, 07:49:49 AM
Thanks, must have missed those! Replace the current recent.template.php with the one attached to this post. I've also updated the zip file.
Let me know if there are any other errors so I can fix them :)
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: on4ya on October 09, 2005, 07:59:04 AM
Hello Mystica.


The two errors are fixed.

Now I find a other error.   Themes/Sitra/images/blue/dutch/print.gif

Please see what is wrong there.

Thanks.

Robert  8) :D
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Mystica on October 09, 2005, 08:07:17 AM
On which page is that? Normal Topics?
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: on4ya on October 09, 2005, 03:05:53 PM
Admin --> Generate reports --> Boards      on the right uppersite "print"


8) :D

Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Mystica on October 09, 2005, 03:12:35 PM
Ah, that file wasn't there in the previous version and I didn't even look at it. Here's the fix. Zip file is also updated.
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: on4ya on October 09, 2005, 03:37:37 PM
Hello Mystica.

The image "Print" still not showing , only a  x  

Robert   8) :D
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Mystica on October 09, 2005, 04:16:42 PM
Did you place the Reports.template.php in your Sitra folder? It doesn't show a red x for me with the new file, just the textlink.
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: on4ya on October 09, 2005, 04:51:49 PM
Yes , he is in    Themes/Sitra/*.*    but I see that there is no  print.gif  in Themes/Sitra/images/post/


8) :)
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Mystica on October 10, 2005, 03:37:56 AM
It shouldn't look for a print image with the new file.
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Menni on October 13, 2005, 06:14:00 AM
Upgrading was success but now "mark as read" button in every gathegory in NOT working:

QuoteSession verification failed. Please try logging out and back in again, and then try again.

What can I do to fix this?
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Mystica on October 13, 2005, 08:06:57 AM
Sorry, I forgot adding the session code to the messageindex file. Here's the fix.
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Menni on October 13, 2005, 08:32:07 AM
Messages won't  come read when I use "mark as read" now. Nothing happens. :o
I mean there is no error message anymore, but messages are still new.
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Jerry Jingles on October 13, 2005, 08:51:42 AM
Mystica...  I love the theme, and my users love it as well.  I was wondering if you could help me with a few things. 

First i would like to have a banner, my logo, on the very top of the screen before anything else, how would i do that? 

Also the seperator between  Reply with quote and  Modify is not there in each post.  How would i get it to appear? 

Also how do i have a certain color for the default color, how would i change it? 

And i would like the mark all read in each board to show, is that possible?

Thanks


Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Mystica on October 13, 2005, 10:00:23 AM
Quote from: Menni on October 13, 2005, 08:32:07 AM
Messages won't  come read when I use "mark as read" now. Nothing happens. :o
I mean there is no error message anymore, but messages are still new.

It works fine for me. Could you give me a link to your board and a test account?


Jerry Jingles, are you using 1.0.5 or 1.1 RC1?
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Owdy on October 13, 2005, 01:27:52 PM
Quote from: Menni on October 13, 2005, 08:32:07 AM
Messages won't  come read when I use "mark as read" now. Nothing happens. :o
I mean there is no error message anymore, but messages are still new.
Stop double posting please. (http://www.simplemachines.org/community/index.php?topic=52847.msg373111#msg373111) And if you must do it, please say it. Now 2 team members has working on your problem and didnt know about it. Its wasting resources and time. Here are lots of support reguests and its polite to think others aswell. Thank you.


Mystica, its all yours :P
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Jerry Jingles on October 13, 2005, 03:35:44 PM
Quote from: Mystica on October 13, 2005, 10:00:23 AM

Jerry Jingles, are you using 1.0.5 or 1.1 RC1?

I'm sorry, i'm using 1.0.5.
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Mystica on October 13, 2005, 03:55:18 PM
Ok, let's see.
To add a logo, use the description here (http://www.simplemachines.org/community/index.php?topic=32628.msg251815#msg251815).

To get the seperator between reply and quote, use the file attached to this post.

To set the default color, go to Admin Panel > Current Theme's Settings > Default Theme color, just select the color you want and save.

Download the file attached to this post (http://www.simplemachines.org/community/index.php?topic=32628.msg347440#msg347440) to get the mark as read function for every board.

Hope I didn't miss anything :)
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Jerry Jingles on October 13, 2005, 04:37:38 PM
Quote from: Mystica on October 13, 2005, 03:55:18 PM
Ok, let's see.
To add a logo, use the description here (http://www.simplemachines.org/community/index.php?topic=32628.msg251815#msg251815).

To get the seperator between reply and quote, use the file attached to this post.


Thanks.

For the logo, what's the file name of the file i edit?

Also the download on this post doesn't seem to work, i hit save and it just sits.

Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Mystica on October 13, 2005, 04:52:44 PM
For the logo you need to edit index.template.php

The download works fine for me, please try again, if it still doesn't work, just send me a pm with your email address and I'll email the file to you.
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Jerry Jingles on October 13, 2005, 05:39:11 PM
Thank you for your help.  The link worked, i rebooted and it was ok.  The fixes worked great.  Thanks for a great theme!
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Menni on October 15, 2005, 04:33:00 AM
Sorry for doubleposting, but i first thought the problem was in new smf version, not in something missing from sitra :(

Can you tell me how I can add "button" for example to link http://webchat.xs4all.nl/cgi-bin/ircnet/irc.cgi to my forum between calendar and gallery?
Like that: Calendar I IRC# I Gallery
// The [calendar]!

if ($context['allow_calendar'])

echo '

<a href="', $scripturl, '?action=calendar">',$txt['calendar24'],'</a><img src="' . $settings['images_url'] . '/mensep.gif" border="0" />';

// The [Gallery]!
    echo '
            <a href="http://www.mysite.net/galleria/index.php?cat=">Galleria</a><img src="' . $settings['images_url'] . '/mensep.gif" border="0" />';


   
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Mystica on October 15, 2005, 06:30:53 AM
Just copy one of the link codes and change to your needs:

// The [calendar]!

if ($context['allow_calendar'])

echo '

<a href="', $scripturl, '?action=calendar">',$txt['calendar24'],'</a><img src="' . $settings['images_url'] . '/mensep.gif" border="0" />';

// IRC Link
    echo '
            <a href="http://webchat.xs4all.nl/cgi-bin/ircnet/irc.cgi">IRC</a><img src="' . $settings['images_url'] . '/mensep.gif" border="0" />';

// The [Gallery]!
    echo '
            <a href="http://www.mysite.net/galleria/index.php?cat=">Galleria</a><img src="' . $settings['images_url'] . '/mensep.gif" border="0" />';
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Menni on October 15, 2005, 10:04:34 AM
Thank you Mystica for helping me so much! :D
How should I change code to make it open in new window?

// IRC Link
    echo '
            <a href="http://webchat.xs4all.nl/cgi-bin/ircnet/irc.cgi">IRC</a><img src="' . $settings['images_url'] . '/mensep.gif" border="0" />';


I tried to the add something like "" target="_blank"" to code by my self but the result was a mess  >:( :-[
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Mystica on October 15, 2005, 10:08:53 AM
Enter the target tag after the href tag:
// IRC Link
    echo '
            <a href="http://webchat.xs4all.nl/cgi-bin/ircnet/irc.cgi" target="_blank">IRC</a><img src="' . $settings['images_url'] . '/mensep.gif" border="0" />';
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Menni on November 06, 2005, 04:54:33 AM
Hello again. I have problems with placing the logo.
How should I modify the script to place logo to these positions:
http://img355.imageshack.us/my.php?image=etusivu4nh.gif
// The logo and the three info boxes

echo '

<div class="box">
<div class="windowbg2" style="margin-bottom: 2px;">
<img src="', $settings['images_url'], '/logo.gif" alt="" />
<table width="100%" cellpadding="5" cellspacing="0" border="0"><tr>';



if (!empty($context['user']['avatar']))

echo '<td valign="middle" class="windowbg" width="1">', $context['user']['avatar']['image'], '</td>';



echo '<td valign="top">';



// If the user is logged in, display stuff like their name, new messages, etc.

if ($context['user']['is_logged'])

{

echo '

', $txt['hello_member'], ' <b>', $context['user']['name'], '</b>!<br />';



// Only tell them about their messages if they can read their messages!

if ($context['allow_pm'])

echo '', $txt[152], ' <a href="', $scripturl, '?action=pm">', $context['user']['messages'], ' ', $context['user']['messages'] != 1 ? $txt[153] : $txt[471], '</a>', $txt['newmessages4'], ' ', $context['user']['unread_messages'], ' ', $context['user']['unread_messages'] == 1 ? $txt['newmessages0'] : $txt['newmessages1'];

echo '.<br />';


Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Mystica on November 06, 2005, 08:06:34 AM
Try this:


// The logo and the three info boxes
echo '
<div class="box">
<div class="windowbg2" style="margin-bottom: 2px;">
<table width="100%" cellpadding="5" cellspacing="0" border="0"><tr>';

if (!empty($context['user']['avatar']))
echo '<td valign="middle" class="windowbg" width="1">', $context['user']['avatar']['image'], '</td>';

echo '<td valign="top">';

// If the user is logged in, display stuff like their name, new messages, etc.
if ($context['user']['is_logged'])
{
echo '
', $txt['hello_member'], ' <b>', $context['user']['name'], '</b>!<br />';

// Only tell them about their messages if they can read their messages!
if ($context['allow_pm'])
echo '', $txt[152], ' <a href="', $scripturl, '?action=pm">', $context['user']['messages'], ' ', $context['user']['messages'] != 1 ? $txt[153] : $txt[471], '</a>', $txt['newmessages4'], ' ', $context['user']['unread_messages'], ' ', $context['user']['unread_messages'] == 1 ? $txt['newmessages0'] : $txt['newmessages1'];
echo '.<br />';

// Is the forum in maintenance mode?
if ($context['in_maintenance'] && $context['user']['is_admin'])
echo '
<b>', $txt[616], '</b><br />';

// Are there any members waiting for approval?
if (!empty($context['unapproved_members']))
echo '
', $context['unapproved_members'] == 1 ? $txt['approve_thereis'] : $txt['approve_thereare'], ' <a href="', $scripturl, '?action=viewmembers;sa=browse;type=approve">', $context['unapproved_members'] == 1 ? $txt['approve_member'] : $context['unapproved_members'] . ' ' . $txt['approve_members'], '</a> ', $txt['approve_members_waiting'], '<br />';


echo '<br />
<a href="', $scripturl, '?action=unread">', $txt['unread_since_visit'], '</a><br />
<a href="', $scripturl, '?action=unreadreplies">', $txt['show_unread_replies'], '</a><br />';

}
// Otherwise they're a guest - so politely ask them to register or login.
else
{
echo '
', $txt['welcome_guest'], '<br /><br />

<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script>

<form action="', $scripturl, '?action=login2" method="post" style="margin: 3px 1ex 1px 0;"', empty($context['disable_login_hashing']) ? ' onsubmit="hashLoginPassword(this);"' : '', '>
<div style="text-align: right;">
<input type="text" name="user" size="10" /> <input type="password" name="passwrd" size="10" />
<select name="cookielength">
<option value="60">', $txt['smf53'], '</option>
<option value="1440">', $txt['smf47'], '</option>
<option value="10080">', $txt['smf48'], '</option>
<option value="302400">', $txt['smf49'], '</option>
<option value="-1" selected="selected">', $txt['smf50'], '</option>
</select>
<input type="submit" value="', $txt[34], '" /><br />
', $txt['smf52'], '
<input type="hidden" name="hash_passwrd" value="" />
</div>
</form>';
}

echo '
</td>

<td align="center">
<img src="', $settings['images_url'], '/logo.gif" alt="" />
</td>
<td valign="top" align="right">
', $context['current_time'], '<br /><br />
', $txt['change_color'], ':
<form action="', $scripturl, '" method="post" style="margin: 0px; padding: 0px;"><select name="options[theme_color]" onchange="this.form.submit();">
<option selected="selected" value="', $options['theme_color'], '">Current</option>
<option value="red">Red</option>
<option value="green">Green</option>
<option value="blue">Blue</option>
<option value="yellow">Yellow</option>
<option value="purple">Purple</option>
<option value="brown">Brown</option>
</select><noscript><input type="submit" value="Go!" /></noscript></form>
</td>
</tr>
</table>
</div>

<table width="100%" cellpadding="5" cellspacing="0" border="0" class="windowbg"><tr>';

if (!empty($settings['enable_news']))
echo '
<td class="largetext">
<b>', $txt[102], ':</b> ', $context['random_news_line'], '
</td>';
echo '
<td align="right">
<form action="', $scripturl, '?action=search2" method="post" style="margin: 0; margin-top: 7px;">
<b>', $txt[182], ': </b><input type="text" name="search" value="" style="width: 190px;" />&nbsp;
<input type="submit" name="submit" value="', $txt[182], '" style="width: 8ex;" />&nbsp;
<a href="', $scripturl, '?action=search;advanced">', $txt['smf298'], '</a>
<input type="hidden" name="advanced" value="0" />';

// If we're on a certain board, limit it to this board ;).
if (!empty($context['current_board']))
echo '
<input type="hidden" name="brd[', $context['current_board'], ']" value="', $context['current_board'], '" />';

echo '
</form>
</td>
</tr>
</table>';

// Show the menu here, according to the menu sub template.
template_menu();

echo '
</div>
</div>
<div style="text-align:center;"><img src="', $settings['images_url'], '/logo.gif" alt="" /></div>';
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Menni on November 06, 2005, 02:11:39 PM
Thanks M. Learned something new again. :D
Where can I find RGB numbers for theme colours(maincolor;green,red,blue etc.) ? Is it even possible? ::)
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Mystica on November 06, 2005, 02:37:17 PM
http://www.colorschemer.com/online.html
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: pieterj on November 10, 2005, 10:17:45 AM
Really nice theme!

I just wanted to let you know many people are very satisfied using it! I started with this theme, because my old template was not functioning right anymore after upgrading from SMF 1.0.5 to SMF 1.1. RC1....

There's only one point that quite a lot of my forummembers experience: The background color in which the text/title of the postings will appear are slightly too dark, or the text would better do in black, instead of the templatecolor. Also, the letterype is al littlebit smaller than in the default template, right? I guess that I can change these things in the CSS file? (Never done it before, I can try off course!)

Thanks for your explanation for putting the forumbanner in top of the page! I made 6 of them in my Dutch fora, everyone in another color!

www.hulpverleningsforum.nl (Dutch)
www.ziekenhuisforum.nl (Dutch)
www.international-ems.com (English)
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Mystica on November 10, 2005, 04:20:50 PM
Thanks, glad you and your users like the theme :)

To change the background or text colors in posts, just change the .windowbg classes in the css file. The most important font size settings are in the body, smalltext, normaltext and largetext classes in the css files. If you need help with this, just let me know.
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Menni on November 11, 2005, 05:55:03 AM
I'm Trying to add karma description mod to my forum.
->http://mods.simplemachines.org/index.php?mod=192
Tried 10 times allready in my test forum. Can't get it work :(.
Can you tell me what files and where should I modify to make mod work in sitra theme?
And How should I modify it more to make it show only for admins?
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Mystica on November 11, 2005, 08:22:20 AM
Have a look at the .xml file of the mod, it tells you which files it modifies and what exactly it does there. Questions about changing the way a mod works should be directed to the mod author, can't help with that.
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: pieterj on November 13, 2005, 06:01:22 AM
Quote from: Mystica on November 10, 2005, 04:20:50 PM
Thanks, glad you and your users like the theme :)

To change the background or text colors in posts, just change the .windowbg classes in the css file. The most important font size settings are in the body, smalltext, normaltext and largetext classes in the css files. If you need help with this, just let me know.
It worked very well, I'm a satisfied webmaster now  ;)

Another thing I tried to change is the text "new" for new postings. Some members find it hard to see between the other colors. I guess it is difficult to change to another color, because it's a hyperlink? Or is there a simple way to change the color of the word "new", without changing the colors of the whole template? Or is there any possibility to put an icon there instead of text?
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Mystica on November 13, 2005, 08:31:42 AM
You'll have to modify it in messageindex.template.php, profile.template.php and recent.template.php. Look for $txt[302] there.
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Reinno on December 03, 2005, 06:00:32 AM
Wow!!

Thanks a lot, Mystica, for this awesome template. Never seen anything so cool before like giving visitors the option of choosing between six different color themes just by installing one single template. Impressive!
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Reinno on December 05, 2005, 11:09:52 AM
It seems like there´s an issue with remembering passwords. I have to type in the password manually each time after I´ve logged out, it doesn´t remember the password in the input field. I´m using RC 1.1. What could be the problem?
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Mystica on December 05, 2005, 12:49:23 PM
As far as I know this is a browser-based feature and has not much to do with the websites you are using. Does the feature work with the default theme?
If you are the only one who is using your computer, you could just select "always stay logged in" and won't have to log out anymore.
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: B on December 05, 2005, 12:50:27 PM
Very nice theme, Mystica. *thumbs up*

B
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Reinno on December 05, 2005, 01:26:55 PM
Quote from: Mystica on December 05, 2005, 12:49:23 PM
Does the feature work with the default theme?
Yes, the feature worked with the default theme, both with Firefox and IE. Am I the only one with this problem?  :-\
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Reinno on December 08, 2005, 08:36:15 PM
Everything works fine now. I have absolutely no idea what happened with the cookie session, but it was probably my own fault to begin with anyway. :P

The Sitra theme rules!  :)
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Jerry Jingles on December 13, 2005, 09:38:14 AM
I have added a logo at the top above everything. My question is can i add an ad banner above my logo? So the ad banner would be at the very top then my logo below that.
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Mystica on December 14, 2005, 10:58:31 AM
Depends on the ad banner, but it should usually work ok, just add the code above your logo and try if it works.
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: missmaggoo on December 14, 2005, 01:14:35 PM
Hey, I am very new to this but I wanted you to know that this theme is absolutely stunning.  :D
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Menni on December 16, 2005, 05:46:09 AM
Hello again Mystica. :D

How should I modify this code to make it work with your theme? Mod is visualwarning.
<file name="$themedir/Display.template.php">
          <operation>
             <search position="before"><![CDATA[ if ($message['can_remove'])
echo '
<a href="', $scripturl, '?action=deletemsg;topic=', $context['current_topic'], '.', $context['start'], ';msg=', $message['id'], ';sesc=', $context['session_id'], '" onclick="return confirm(\'', $txt[154], '?\');">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/delete.gif" alt="' . $txt[121] . '" border="0" />' : $txt[31]), '</a>';
]]></search>
             <add><![CDATA[ if ($context['can_warn'])
echo '
<a href="', $scripturl, '?action=warnadd;topic=', $context['current_topic'], ';start=', $context['start'], ';user=', $message['member']['id'], ';msg=', $message['id'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/im_visualw.gif" alt="' . $txt['visual_raise'] . '" border="0" />' : $txt['visual_warn']), '</a>';

]]></add>
          </operation>
         
          <operation>
             <search position="before"><![CDATA[ if (isset($message['member']['group']) && $message['member']['group'] != '')
echo '
', $message['member']['group'], '<br />';
]]></search>
             <add><![CDATA[ if (isset($message['member']['warning']['link']) && $message['member']['warning']['link'] != '')
echo'
', $message['member']['warning']['link'];
]]></add>
           </operation>
        </file>

       
Problem solved.
Found the answer by my self from here ;)
http://www.simplemachines.org/community/index.php?topic=32628.45
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Menni on December 17, 2005, 02:31:29 AM
For this one, I havent found the answer. How should I modify this code to make to make |groups| show between profile and calendar?

// View Groups Interface... [groups]
if (allowedTo('view_groups'))
echo '
<a href="', $scripturl, '?action=groups">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/groups.gif" alt="' . $txt['elgm4'] . '" style="margin: 2px 0;" border="0" />' : $txt['elgm4']), '</a>', $context['menu_separator'];

Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Mystica on December 17, 2005, 09:19:16 AM
Try it like this:
// View Groups Interface... [groups]
if (allowedTo('view_groups'))
echo '
<a href="', $scripturl, '?action=groups">', $txt['elgm4'] , '</a><img src="' . $settings['images_url'] . '/mensep.gif" border="0" />';


You should only have to put this between the button codes for profile and calendar.
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: HNHF on December 29, 2005, 03:16:27 AM
Hi Mystica,

Thnks for the beautyful theme. ( smf 1.1 rc1 ) but i running RC2 is that a problem?

Second question,  i have no buttons at all, only text.

Greeting Martin

Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: HNHF on December 29, 2005, 11:05:45 AM
Don't border,  i have did't myzelf.  I have all the buttons back...

Greetings, Martin
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Menni on January 06, 2006, 11:20:05 AM
Hello M!
When we are going to have sitratheme compatible with 1.1RC2? :)
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Mystica on January 06, 2006, 12:11:27 PM
I'm working on it. Might still take some time though. I hope to finish updates this weekend, could take some days longer though.
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Mystica on January 07, 2006, 12:16:57 PM
Here's the updated version for SMF 1.1 RC2
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Wolfenrook on January 07, 2006, 01:49:42 PM
Great stuff Mystika, installing the new version now.
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: brnmllr on January 10, 2006, 05:54:14 PM
I just downloaded the RC.2 ver. I am showing that it is the RC1 ver in the index.template file. Did I get the wrong zip file or is it a typo?

Also I want to add a Gallery link in the menu, I am not sure where to add or even what. I have been given the task of adding this as the web master for the site quit before adding the photo gallery and bridging them, any help would be greatly appreciated. The gallery is Coppermine if that makes any difference.

Thanks.
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Mystica on January 10, 2006, 06:04:08 PM
Quote from: brnmllr on January 10, 2006, 05:54:14 PM
I just downloaded the RC.2 ver. I am showing that it is the RC1 ver in the index.template file. Did I get the wrong zip file or is it a typo?

Sorry, it was a mistake, I uploaded the wrong file  :-[  I just updated the zip file in the post.

The menu links are in index.template.php, down near the bottom of the file. To add a link, use this code:

echo '
            <a href="link url">link name</a><img src="' . $settings['images_url'] . '/mensep.gif" border="0" />';


Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: mixx941 on January 12, 2006, 01:12:58 PM
Hi. Thanks for your work on the theme :)

There is one bug that I'd like to report. On the post view, the "Go Up" and "Go Down" buttons are broken images. It's trying to point to "Themes/sitra-1-1RC2/images/color/english/go_up.gif" but that location does not exist (english does not even exist). I tried to search for that file in the archive but I don't see it any other place either.

Thanks in advance.

-Mark
SMF 1.1 RC2
Latest "Sitra" Theme Zip from Above
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Mystica on January 13, 2006, 08:50:03 AM
Please download the new zip and replace, I missed that one, sorry  :-[
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: brnmllr on January 13, 2006, 08:57:15 AM


The menu links are in index.template.php, down near the bottom of the file. To add a link, use this code:

echo '
            <a href="link url">link name</a><img src="' . $settings['images_url'] . '/mensep.gif" border="0" />';



[/quote]

Thanks for the quick response. I am just learning this and I appreciate all the help and work you and the others have done here, you guys make this easier for those of us that are just starting out.

Thanks again.

Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Menni on February 02, 2006, 04:19:26 AM
How should I mofify these to make it work in sitra theme? ::)
<add after>

//Add Thnak You Buttons :)
if (isset($context['thank_you']['premission'])) {
if ($context['thank_you']['premission']['post'])
echo '<a href="' . $scripturl . '?action=thankyoupost;topic=' . $context['current_topic'] . '.0">' . $thanks_button . '</a>';
elseif ($context['thank_you']['premission']['add'])
echo '<a href="' . $scripturl . '?action=thankyouadd;topic=' . $context['current_topic'] . '.0">' . $thanks_button . '</a>';
}
</add after>



<add before>
if (isset($context['thank_you']['premission']))
$mod_buttons += array(
'lock_thank_you' => array('test' => 'thank_you_lock', 'text' => 'd_thank_you_lock'.$context['ThankYouLockStatus'], 'image' => 'thank_you_lock'.$context['ThankYouLockStatus'].'.gif', 'lang' => true, 'custom' => '', 'url' => $scripturl . '?action=thankyoulock;topic=' . $context['current_topic'] . '.0'),
'remove_thank_you' => array('test' => 'thank_you_delete', 'text' => 'd_thank_you_remove', 'image' => 'thank_you_delete.gif', 'lang' => true, 'custom' => 'onclick="return confirm(\'' . $txt['d_thank_you_remove_warn'] . '\');"', 'url' => $scripturl . '?action=thankyouremove;topic=' . $context['current_topic'] . '.0'),
);
</add before>


<add after>
', $context['can_Thank_you'] && empty($context['isThank_You']) ? '
<tr>
<td class="smalltext"><label for="check_thank_you"><input type="checkbox" name="add_thank_you" id="add_thank_you"' . ($context['add_thank_you'] ? ' checked="checked"' : '') . ' value="1" class="check" /> '.$txt['thank_you_after2'].'</label></td>
<td class="smalltext"></td>
</tr>' : '', '
</add after>

Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: rbdesign on February 07, 2006, 08:25:54 PM
I installed the update for RC2, but still have a small problem

I have the options to show a thumbnail turned on, but it still doesn't show the thumbnails!!

any help with this would be greatly appreciated!


another thing I noticed. I installed the "integrated chat" mod. Now I know this isn't the chat place, but it messes up the way the header thing at the top looks. If you go here, you'll see what I mean http://cakes.r-bdesigns.com/smf/index.php  . For some reason, the column where the "chat" link is, above the full text menu, is attached to the column where the "news" are. So If I change the news to something long and the "chat" column at the left of the "there's so many ppl in the chat" is narrow, then the "news" column is narrow too and it looks stupid. I fixed this for now by making the "chat" column 50%, but now the word "chat" is in the middle of nowhere. Still looks stupid.

Also, anyone know why "mark all posts as read" doesn't work? I get an authentificatio error, even though I'm logged in.


Thanks,
Martin
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Mystica on February 08, 2006, 10:06:28 AM
Can you email me your index.template.php so I could have a look at the chat box problem? Shouldn't be too hard to fix.

The mark as read function works fine for me. Does this also happen in other themes or only with Sitra?
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: rbdesign on February 08, 2006, 11:33:16 AM
I'm sending you the file

The thumbnails work now. Stupid me forgot to change to Sitra for RC2, I was still using the other one. :P
The mark all read works fine too.

There's just the weird column thing at the top.
see what I mean here  http://cakes.r-bdesigns.com/smf/index.php


I also noticed that there's a delay in loading pages due to the chat stats. Instead of showing up the stats right away, it shows "there are currently" then it stops for a second or two, then it loads the number of people in the chat and everything else in the page.
Do you have any idea what might cause that?  I'm thinking it's the delay for the chat server to send the response on how many people are in the chat, but maybe not.

Thanks,
Martin
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Mystica on February 08, 2006, 12:13:30 PM
I sent you a modified version of your file. I changed the look of the chat stats to fit in better with the theme. Let me know if this works better.

The delay in loading is probably caused by contacting the chat server and waiting for a reply, at least that sounds logical ;)
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: rbdesign on February 08, 2006, 12:56:39 PM
It works fine now! Looks a lot better :)


thanks!
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Jan.S. on February 10, 2006, 11:30:12 AM
If have made some extra colours in sitra.
Now i have made 1 in black/gray.
I have changed almost all fonts to a different colour
But only the fonts in some moderator fucntions (support informatie)  post en topic counts on the boards  and the information next to quick replay these are still black
where can i change them only for this colour

smf version = 1.0.6
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Jan.S. on February 11, 2006, 02:03:44 PM
Quote from: Jan.S. on February 10, 2006, 11:30:12 AM
If have made some extra colours in sitra.
Now i have made 1 in black/gray.
I have changed almost all fonts to a different colour
But only the fonts in some moderator fucntions (support informatie)  post en topic counts on the boards  and the information next to quick replay these are still black
where can i change them only for this colour

smf version = 1.0.6

I all ready founded

test forum
www.januutebk.nl/forum
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: sirknight-lurk on March 02, 2006, 01:32:51 PM
Hi, haven't been able to find the answer in the thread.

Is it possible to disable the color selection option across all users? thanks
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Mystica on March 02, 2006, 03:14:32 PM
You will have to take the color selector out of the theme.
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: KUFCO on March 04, 2006, 05:10:13 PM
I am totally new to this whole process. I am running 1.0.6 via my website and there are a few areas that aren't working correctly also ones that I have no idea about so if you could take a peak I would appreciate it! The url is http://www.kufanscentraloffice.com/forum/ it says I am running a template for 1.0.5 so I don't know if there needs to be something updated in the template itself!
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Mystica on March 04, 2006, 05:17:11 PM
What exactly is not working?
The forum is user access only, can't see much as a guest.
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: KUFCO on March 04, 2006, 05:18:56 PM
I know for sure the WWW to use in profiles isn't working
I will make a test account and pm you the username and password!
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Mystica on March 04, 2006, 06:35:57 PM
Do you mean the homepage link in profiles? That does work on your forum.
If spellcheck works or not depends on your server's settings.
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: KUFCO on March 04, 2006, 06:59:50 PM
the link works but whatever icon is supposed to be there isn't loading for me! I have tried uploading it again and still it won't show! I also have no idea how to check the spell check settings! I didn't even know there was a chat until I read this thread and yet I still haven't figured that out either!
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Mystica on March 05, 2006, 06:02:28 AM
The Icon loads fine in thread view for me. As I said, spellcheck is a server thing and has nothing to do with the theme. And the chat is a mod, it's not a default feature of SMF.
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: KUFCO on March 05, 2006, 03:51:33 PM
I don't know what is going on but I am going to include a screen cap because it is doing it in every color!

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi13.photobucket.com%2Falbums%2Fa255%2FKUCountryRox05%2FErrorRedXMemberProfileURLButton.gif&hash=813524adae6caf6b5f379e4896ff913e878c948c)
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Mystica on March 05, 2006, 07:05:33 PM
www.gif has to be in the images folder of the sitra theme. Check if it's there, if it's not, just take it from one of the color directories and copy it in the images folder.
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: KUFCO on March 05, 2006, 08:42:59 PM
it is there! I even readded it by overwriting the file!
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Mystica on March 06, 2006, 08:10:28 AM
http://kufanscentraloffice.com/forum/Themes/sitra-1-0-5/images/www.gif
It doesn't seem to be there.
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: KUFCO on March 06, 2006, 01:41:27 PM
I uninstalled then reinstalled the theme via the theme installer and the files are there I am providing you screen cap to show you!
This is for the blue:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi13.photobucket.com%2Falbums%2Fa255%2FKUCountryRox05%2FBlueThemeScreenCap.gif&hash=ddcee679e042a571e01e56b35bddc5e8332d8ea9)
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Mystica on March 06, 2006, 01:53:40 PM
But the www.gif has to be in the images folder itself too, not only in the color subfolders.
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: KUFCO on March 06, 2006, 02:27:41 PM
Then it must not have been included in the zip because like I said I installed it via the zip file through the Theme Installer under Admin! So I should take a copy there from one of the color files?
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Mystica on March 06, 2006, 03:05:46 PM
Yes, take the image from one of the color folders, they should all look the same anyway.
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Northerner on March 08, 2006, 04:49:30 PM
first off, great job on this nice clean looking theme!

i only have one problem, i installed this for a friend and there is no main news section?
only a little news area in the upper left side. not like in your picture you have posted
i will send you a PM with his website addy so you can look and see what i mean!

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg.photobucket.com%2Falbums%2Fv448%2FMysticaMisery%2Fpics%2Fsitra1.jpg&hash=c1060e5375cdb84fd6b0ef7e2d86f1bf64da6fff)
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Mystica on March 08, 2006, 06:20:05 PM
In the theme settings, make sure that the news fader is on.
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Northerner on March 08, 2006, 06:33:44 PM
i wish all problems were that easy to fix!

thanks bud!  :D
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: VOdka1000 on March 08, 2006, 08:05:27 PM
Quote from: Northerner on March 08, 2006, 06:33:44 PM
i wish all problems were that easy to fix!

thanks bud!  :D

GOOD JOB Northerner thank you .
The news fader looks much better -
I hope I'm not streching your patience and all the members here but I have another question.
It is possible to change the color in for example site new items, or payment information etc and /or add an icon on my 4sale site.


Thanks,,, ;D
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: VOdka1000 on March 09, 2006, 08:40:16 AM
Quote from: Northerner on March 08, 2006, 04:49:30 PM
first off, great job on this nice clean looking theme!

i only have one problem, i installed this for a friend and there is no main news section?
only a little news area in the upper left side. not like in your picture you have posted
i will send you a PM with his website addy so you can look and see what i mean!

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg.photobucket.com%2Falbums%2Fv448%2FMysticaMisery%2Fpics%2Fsitra1.jpg&hash=c1060e5375cdb84fd6b0ef7e2d86f1bf64da6fff)

Hello again
It is possible to change the color/graphics in the  for example site new items, or payment information etc (left hand side in above set-up) and /or add an icon on my 4sale site.

Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Mystica on March 09, 2006, 09:13:36 AM
Do you mean boards in your forum? You can make a changed theme with new graphics/colors and assign it to one or more boards, if that is what you mean.
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: VOdka1000 on March 09, 2006, 04:29:52 PM
Quote from: Mystica on March 09, 2006, 09:13:36 AM
Do you mean boards in your forum? You can make a changed theme with new graphics/colors and assign it to one or more boards, if that is what you mean.

Yes this is exactly what I'm looking for I would like to change graphics/colors on the boards at my forum.
Thank you.
Just 1 more think I'm pretty much computer "stupid"  >:( still try to learn, so if you have any ideas how to do this changes described above PLEASE explain it to ma like I'm 5 years old  :D   
If you would like to look at my forum/for sale site pm me and I will be glad to give it to you.
Thanks and I hope to talk to you later.
:-*
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Mystica on March 09, 2006, 04:58:54 PM
Upload each changed theme in the admin panel, then go to the board settings, click on "modify" for the board you want to assign a different theme to. Then under "Board Theme" select the theme you want for that board, also check the "Override Member's Theme" checkbox and hit "modify" at the bottom.
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: VOdka1000 on March 09, 2006, 08:25:37 PM
Quote from: Mystica on March 09, 2006, 04:58:54 PM
Upload each changed theme in the admin panel, then go to the board settings, click on "modify" for the board you want to assign a different theme to. Then under "Board Theme" select the theme you want for that board, also check the "Override Member's Theme" checkbox and hit "modify" at the bottom.

SORRY BRO BUT ---- YGM !!!!

Talk to you soon I hope.
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: DaisyLumos on March 12, 2006, 07:12:35 PM
Hello Mystica,

First off, I really like your 6-colour sitra theme. It's simple and easy on the eye, congrats!
I'd like to use every feature, but for some reason the calendar shows an error message: 2: Invalid argument supplied for foreach()

And a folder seems to be missing where the IM icons should be. the problem is, that it's a Hungarian language forum, and I understand that I should create the Hungarian subfolder where it is reqired but I cannot find the corresponding .gifs in any of the folders.

for example:
The outbox icon should be this:
...Themes/sitra1-1RC2/images/blue/hungarian/im_outbox.gif
Creating a 'hungarian' folder wouldn't be the problem, but I don't find the im_outbox.gif file in any of the supplied folders.

Does this make sense?

Another problem:
For some reason, this persistent 'x' shows up in front of every single reply: http://forum.lumos.hu/index.php?topic=4.0

Do you think you could help?
Thanks in advance
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: rbdesign on March 28, 2006, 05:50:08 PM
Hi,
I get lots of error messages (in the log only).
Everything works fine, but my error log is full of this:

Undefined variable: current_action

Undefined index: www_r-bdesigns_com


8: Undefined index: www_r-bdesigns_com
File: /home/rbdesign/public_html/cakes/smf/Themes/sitra1-1RC2/BoardIndex.template.php (eval?)
Line: 287

and so on... I get it for pretty much all the files. It's really annoying. My "errors" page was 2000+ pages long when I cleaned it.

Is there a way to fix this?
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Mystica on March 29, 2006, 10:56:42 AM
Please make sure that you are using the right version for your forum.
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: rbdesign on March 30, 2006, 05:30:48 AM
I'm using version rc2 with the rc2 board.... anyway, it's not a big problem in itself, just bugging me that's all.

thanks!
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Twisted868 on April 09, 2006, 06:34:32 PM
Hi Mystica I love your theme, and I am currently using it. However I was wondering if it would be possible to get a green only version since that is the only color I want the members to use. I would really appreciate it! :) And two questions:
How can I add a link to the menu, like for example, I have the shop installed so I want to add that link :)?
And is there a way to only have the news fader show up instead of the news box & newsfader?
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Menni on April 11, 2006, 12:14:04 PM
Quote from: rbdesign on March 28, 2006, 05:50:08 PM
Hi,
I get lots of error messages (in the log only).
Everything works fine, but my error log is full of this:

Undefined variable: current_action

Undefined index: www_r-bdesigns_com


8: Undefined index: www_r-bdesigns_com
File: /home/rbdesign/public_html/cakes/smf/Themes/sitra1-1RC2/BoardIndex.template.php (eval?)
Line: 287

and so on... I get it for pretty much all the files. It's really annoying. My "errors" page was 2000+ pages long when I cleaned it.

Is there a way to fix this?
Igot same errors for hundrets of pages, so I shut off errorlog. Im sure that I installed sitra 1.1RC2. but my adminpanel says it is old theme(1.1RC1).
Theme is otherwise working perfect. Errors are only annoying me. :D
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: pieterj on September 26, 2006, 05:13:07 AM
Hi Mystica!

I upgraded 3 sites of me to RC3, and your template seems to work OK, only the Calender function is not working properly, I guess it has something to do with "event_post" template.

What do I have to change to make it work again?
Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Jan.S. on January 28, 2007, 09:29:27 AM
Board version 1.1.1
Sitra version 1.1 rc2
Is theme working whit 1.1.1 because
I get servals errors in Admin
in features and options   cannot load 'show_settings' template
8: Undefined index: months_short
Bestand: ...../testforum/forum/Sources/Subs.php
Regel: 879

serversettings Cannot load 'show_settings'  template
8: Undefined index: months_short
Bestand: ..../testforum/forum/Sources/Subs.php
Regel: 879

News and news letters is loading at all (blank page)

Messages and topics  cannot load 'edit_post_settings'  template
8: Undefined index: months_short
Bestand: ..../html/testforum/forum/Sources/Subs.php
Regel: 879


Member regcenter  blank page

And when optimze tabels cannot load 'optimize'  template
8: Undefined index: months_short
Bestand: ...../html/testforum/forum/Sources/Subs.php
Regel: 879

is this to fix?


Title: Re: Sitra Theme for 1.0.x and 1.1
Post by: Deaks on April 25, 2008, 10:59:54 AM
This Theme can now be found on Theme Site at:

http://custom.simplemachines.org/themes/index.php?lemma=645