[Theme] Matrix for SMF 1.0x

Started by forsakenlad, April 22, 2005, 04:42:56 PM

Previous topic - Next topic

eddie43302

anyway you can post the psd files i need an icon that says chat and also i want to be able to change the smf  name to my own

charlottezweb


forsakenlad

Quote from: MichiganMinis on May 24, 2005, 07:39:29 PM
I want to get rid of the upper part of my forum. The area that has :
    Hey, Jason, you have 0 messages, 0 are new.
Total time logged in: 1 days, 10 hours and 53 minutes.
Show unread posts since last visit.
Show new replies to your posts.
May 24, 2005, 09:38:35 PM

I want this to be at the bottom of the page.

Here is what my page looks like. http://michiganminis.com/forum/index.php?action=forum Can anyone help me?

To get rid of this part remove (index.template.php):

<tr id="upshrinkHeader">
<td valign="top">
<div class="headerbodies">
<table width="100%" cellpadding="0" cellspacing="4" border="0"><tr>';

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

echo '<td width="70%" align="left" valign="top" class="smalltext" style="font-family: verdana, arial, sans-serif;">';

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

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

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

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

// Show the total time logged in?
if (!empty($context['user']['total_time_logged_in']))
{
echo '
<br />', $txt['totalTimeLogged1'];

// If days is just zero, don't bother to show it.
if ($context['user']['total_time_logged_in']['days'] > 0)
echo $context['user']['total_time_logged_in']['days'] . $txt['totalTimeLogged2'];

// Same with hours - only show it if it's above zero.
if ($context['user']['total_time_logged_in']['hours'] > 0)
echo $context['user']['total_time_logged_in']['hours'] . $txt['totalTimeLogged3'];

// But, let's always show minutes - Time wasted here: 0 minutes ;).
echo $context['user']['total_time_logged_in']['minutes'], $txt['totalTimeLogged4'];
}

echo '<br />
<a href="', $scripturl, '?action=unread">', $txt['unread_since_visit'], '</a><br />
<a href="', $scripturl, '?action=unreadreplies">', $txt['show_unread_replies'], '</a><br />
', $context['current_time'];
}
// Otherwise they're a guest - so politely ask them to register or login.
else
{
echo '
', $txt['welcome_guest'], '<br />
', $context['current_time'], '<br />

<form action="', $scripturl, '?action=login2" method="post" style="margin: 3px 1ex 1px 0; 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'], '
</form>';
}

echo '
</td>
                                                <td width="30%" align="right" class="smalltext" style="font-family: verdana, arial, sans-serif;">
                                                <div id="smfFadeScroller" style="width: 95%; padding: 0px; color: #000000;"><b>', $context['news_lines'][0], '</b></div>
<script language="JavaScript1.2" type="text/javascript"><!--
// The fading delay (in ms.)
var smfFadeDelay = ', empty($settings['newsfader_time']) ? 5000 : $settings['newsfader_time'], ';
// Fade from... what text color?  To which background color?
var smfFadeFrom = {"r": 0, "g": 153, "b": 0}, smfFadeTo = {"r": 0, "g": 0, "b": 0};
// Surround each item with... anything special?
var smfFadeBefore = "<b>", smfFadeAfter = "</b>";

// List all the lines of the news for display.
var smfFadeContent = new Array(
"', implode('",
"', $context['fader_news_lines']), '"
);
// --></script>
<script language="JavaScript1.2" type="text/javascript" src="', $settings['default_theme_url'], '/fader.js"></script>
                                                </td></tr></table>
</div>';



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

// Show a random news item? (or you could pick one from news_lines...)

        // Prepare all the javascript settings.



echo '


To make this part go into a place you want all you have to do is to copy and paste this code somewhere in the index.template.

Quote from: eddie43302 on May 30, 2005, 07:38:30 PM
anyway you can post the psd files i need an icon that says chat and also i want to be able to change the smf  name to my own

I don't have PSD files for the buttons. They are edited versions of the default ones if you can post here the chat button I can matrixize it. And about the logo, all you have to do is to delete the text and enter your own. I have added the font to the first post....

@charlottezweb

Thank you :) Glad that you have liked it...
Eren "forsakenlad" Yaşarkurt
SMF Friend & Former Team Member

UnrealKez

I was personally going to create a matrix theme myself, although this is a great starting base i could use.
Would it be ok if i enhance it, create new buttons, header, etc?
I will relese it to the public when done, and ofcourse, credit will be given. :)

forsakenlad

Yes of course, you can do whatever you want with it as long as the created content is used for SMF, and credit is given ;)
Eren "forsakenlad" Yaşarkurt
SMF Friend & Former Team Member

eddie43302

how in the heck do i modify it to where the logo says my forum name instead of simple machines name?dont know how to edit png files.

forsakenlad

Just post here the text that you want to convert into a logo and I will make it like the original logo. And also post here the default chat so I can modify it ;)
Eren "forsakenlad" Yaşarkurt
SMF Friend & Former Team Member

eddie43302

i want it to say     Sig-nation.com and the chat button i guess ill attach the original smf one that what you want right?


forsakenlad

Yeah these were the things I wanted, will create them now...  ;)
Eren "forsakenlad" Yaşarkurt
SMF Friend & Former Team Member

MichiganMinis

Yeah, can you add chat support, so allt he chat stuff shows up?

eddie43302


forsakenlad

Here you are, very sorry for the delay:

The Logo (you must rename it so it shows mylogo.png before uploading it):



The Icon:

Eren "forsakenlad" Yaşarkurt
SMF Friend & Former Team Member

eddie43302


forsakenlad

No problem, glad you've liked it ;)
Eren "forsakenlad" Yaşarkurt
SMF Friend & Former Team Member

dtm.exe

I've edited the "Experience Bar" mod to work with this theme.  Enjoy :).

www.oi-forums.com/files/MatrixExperienceBar.zip

-Dan The Man

forsakenlad

Thanks OIDanTheManIO, I apperciate your efforts ;) I have added the file to the first message in this topic :)
Eren "forsakenlad" Yaşarkurt
SMF Friend & Former Team Member

dtm.exe

Quote from: forsakenlad on June 08, 2005, 11:22:09 AM
Thanks OIDanTheManIO, I apperciate your efforts ;) I have added the file to the first message in this topic :)

No problem :).

-Dan The Man

MichiganMinis

This is what I get when I try to load the mod.

Quotenstalling this package will perform the following actions:
   Type    Action    Description
1.    Extract File    ./Themes/default/images/bar_empty.gif    
2.    Extract File    ./Themes/default/images/bar_fill.gif    
3.    Extract File    ./Themes/default/images/bar_full.gif    
4.    Extract File    ./Themes/default/images/bar_down.gif    
5.    Extract File    ./Themes/default/images/bar_up.gif    
6.    Extract File    ./Themes/default/images/bar_left.gif    
7.    Extract File    ./Themes/default/images/bar_right.gif    
8.    Execute Modification    Sources/Display.php    Success
9.    Execute Modification    Sources/ModSettings.php    Success
10.    Execute Modification    Themes/matrix/Display.template.php    File not found
11.    Execute Modification    Themes/matrix/languages/Modifications.english.php    File not found
12.    Execute Modification    Themes/matrix/languages/Modifications.italian.php    File not found
13.    Execute Modification    Themes/matrix/languages/Modifications.german.php    File not found

dtm.exe

Quote from: MichiganMinis on June 08, 2005, 12:44:47 PM
This is what I get when I try to load the mod.

Quotenstalling this package will perform the following actions:
   Type    Action    Description
1.    Extract File    ./Themes/default/images/bar_empty.gif    
2.    Extract File    ./Themes/default/images/bar_fill.gif    
3.    Extract File    ./Themes/default/images/bar_full.gif    
4.    Extract File    ./Themes/default/images/bar_down.gif    
5.    Extract File    ./Themes/default/images/bar_up.gif    
6.    Extract File    ./Themes/default/images/bar_left.gif    
7.    Extract File    ./Themes/default/images/bar_right.gif    
8.    Execute Modification    Sources/Display.php    Success
9.    Execute Modification    Sources/ModSettings.php    Success
10.    Execute Modification    Themes/matrix/Display.template.php    File not found
11.    Execute Modification    Themes/matrix/languages/Modifications.english.php    File not found
12.    Execute Modification    Themes/matrix/languages/Modifications.italian.php    File not found
13.    Execute Modification    Themes/matrix/languages/Modifications.german.php    File not found

That sould not be happening.  Give me one minute to figure out what's up.

-Dan The Man

dtm.exe

I'm sorry it took so long.  I ran into a lot of problems with this mod.  Here are the instructions as well as a link to the updated file.

1) Copy Display.template.php over from Themes/default/ and put it in Themes/matrix/.
2) Copy Modifications.[language].php over from Themes/default/languages/ and put it in Themes/matrix/languages/.
3) Download the Bar of Experience Bar for the Matrix Theme.
4) Go into Admin > Edit Features and Options > Layout and Options and check the box next to "Enable The Bar of Experience".

Enjoy :).

-Dan The Man

Advertisement: