News:

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

Main Menu

Sitra Theme for 1.0.x and 1.1

Started by Mystica, April 08, 2005, 05:21:42 AM

Previous topic - Next topic

on4ya

Hello Mystica.

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

Robert   8) :D

Mystica

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.
~ there's nothing wrong with me, this is how I'm supposed to be ~

on4ya

#142
Yes , he is in    Themes/Sitra/*.*    but I see that there is no  print.gif  in Themes/Sitra/images/post/


8) :)

Mystica

It shouldn't look for a print image with the new file.
~ there's nothing wrong with me, this is how I'm supposed to be ~

Menni

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?

Mystica

Sorry, I forgot adding the session code to the messageindex file. Here's the fix.
~ there's nothing wrong with me, this is how I'm supposed to be ~

Menni

#146
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.

Jerry Jingles

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


   

    

Mystica

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?
~ there's nothing wrong with me, this is how I'm supposed to be ~

Owdy

#149
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. 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
Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

Jerry Jingles

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.
   

    

Mystica

Ok, let's see.
To add a logo, use the description here.

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 to get the mark as read function for every board.

Hope I didn't miss anything :)
~ there's nothing wrong with me, this is how I'm supposed to be ~

Jerry Jingles

Quote from: Mystica on October 13, 2005, 03:55:18 PM
Ok, let's see.
To add a logo, use the description here.

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.

   

    

Mystica

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.
~ there's nothing wrong with me, this is how I'm supposed to be ~

Jerry Jingles

Thank you for your help.  The link worked, i rebooted and it was ok.  The fixes worked great.  Thanks for a great theme!
   

    

Menni

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" />';


   

Mystica

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" />';
~ there's nothing wrong with me, this is how I'm supposed to be ~

Menni

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  >:( :-[

Mystica

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" />';
~ there's nothing wrong with me, this is how I'm supposed to be ~

Menni

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 />';



Advertisement: