News:

Want to get involved in developing SMF, then why not lend a hand on our github!

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

Villesa

Thank you that worked just fine :D You're great. Thank you.
You'll get the idea

I'm all ok.

Jan.S.

#61
Can i add a logo in or next to the first box ??
or replace the avatar ?

Mystica

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

Jan.S.


Villesa

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).
You'll get the idea

I'm all ok.

Gary

Yeah, it's missing on my board too, and mines in English.
Gary M. Gadsdon
Do NOT PM me unless I say so
War of the Simpsons
Bongo Comics Fan Forum
Youtube Let's Plays

^ YT is changing monetisation policy, help reach 1000 sub threshold.

Mystica

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

Villesa

Thank you again. Really great support you give :)
You'll get the idea

I'm all ok.

Jan.S.

where can place in this line sitra thema
<img src='http://www.topforums.be/toplijst/index.php?hit=61' width='0' height='0'>
thanks

Mystica

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

Jan.S.

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




Mystica

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

KittKnits

Love the idea but when I d/l the zip, it's empty  :(
Always,
Kitt

Mystica

weird... it works fine for me.
if you pm me your email address i could mail the zip file to you.
~ there's nothing wrong with me, this is how I'm supposed to be ~

Woof

Mystica, nice theme. Is there anyway to change the default color from the red to one of the other colors? Thanks.

Gary

Yeah, go: Admin Panel > Current Theme's Settings > Default Theme color select the colour you want.
Gary M. Gadsdon
Do NOT PM me unless I say so
War of the Simpsons
Bongo Comics Fan Forum
Youtube Let's Plays

^ YT is changing monetisation policy, help reach 1000 sub threshold.

Woof

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.

Gary

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.
Gary M. Gadsdon
Do NOT PM me unless I say so
War of the Simpsons
Bongo Comics Fan Forum
Youtube Let's Plays

^ YT is changing monetisation policy, help reach 1000 sub threshold.

Mystica

you could also email me the file and i'll have a look at it
~ there's nothing wrong with me, this is how I'm supposed to be ~

djw2

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

Advertisement: