[Theme] Loon Themes for SMF 1.0.x and 1.1 RC1 + RC2

Started by Mystica, January 02, 2005, 04:25:24 AM

Previous topic - Next topic

GGPassion

2 Forums SMF sous le coude:
SMF 1.0.5 | SMF 1.1 RC 1
GG Forum | DjDcube Web

steve k.

Great, Theme! 

Is there a way to remove everythign from the top portion and only leave the menu?  I am imbeding the forum in a mambo board and all user info will be ont he side, So i don't need the logo or the user info at the top of the board.

thanks,
steve k.

Mystica

in the index.template, remove this part:

// The logo and the three info boxes
echo '
<table cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="position: relative;">
<tr id="upshrinkHeader"', empty($options['collapse_header']) ? '' : ' style="display: none;"', '>
<td valign="top">
<div class="headerbodies" style="position: relative; margin-right: 5px;">
<table width="99%" cellpadding="0" cellspacing="5" border="0"><tr>';

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

echo '<td width="100%" 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'];

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


if (!empty($settings['enable_news']))
echo '
<tr>
<td colspan="2" height="24" style="padding-left: 1ex;">
<b>', $txt[102], ':</b> ', $context['random_news_line'], '
</td>
</tr>
</table>
</div>
</td>
<td width="440" style="padding-left: 5px;" valign="top">';

echo '
<div class="headerbodies" style="width: 440px; position: relative;">
<img src="', $settings['images_url'], '/logo.jpg" width="440" alt="" />
</div>
</td>
</tr>
</table>

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



that should work.
~ there's nothing wrong with me, this is how I'm supposed to be ~

Mystica

updated files for version 1.0.1 are attached (zip files only contain the updated boardindex.template files!)
~ there's nothing wrong with me, this is how I'm supposed to be ~

BlessedBe

These are great.. Is there anyway that for at least the purple theme we could get the two square's modified some to sorta tell the difference between the new and old post's. They are a little to close in colour and hard to tell.

If not that's ok. I love the theme's anyway.

junglecat

Ok.... what did I do wrong? I uploaded loonblue and now the bottom of my forum says

Sorry, the copyright must be in the template.
Please notify this forum's administrator that this site is using an ILLEGAL copy of SMF!

I didn't remove any copyrights, I don't know how to fix this. ???
PM me for affordable hosting. I will install your SMF forum with your choice of a theme for FREE.
~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~
Join us at Christian Discussions 
~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~

[Unknown]

Quote from: junglecat on January 29, 2005, 01:15:21 AM
Ok.... what did I do wrong? I uploaded loonblue and now the bottom of my forum says

Sorry, the copyright must be in the template.
Please notify this forum's administrator that this site is using an ILLEGAL copy of SMF!

I didn't remove any copyrights, I don't know how to fix this. ???

Are you using a version of SMF older than 1.0.1?

-[Unknown]

junglecat

Quote from: [Unknown] on January 29, 2005, 02:04:26 AM
Quote from: junglecat on January 29, 2005, 01:15:21 AM
Ok.... what did I do wrong? I uploaded loonblue and now the bottom of my forum says

Sorry, the copyright must be in the template.
Please notify this forum's administrator that this site is using an ILLEGAL copy of SMF!

I didn't remove any copyrights, I don't know how to fix this. ???

Are you using a version of SMF older than 1.0.1?

-[Unknown]

No, I downloaded 1.0.1 yesterday, it was a fresh install.
I'll probably need to delete and start over, I realised what may have gone wrong.
Earlier in the day I had uploaded a perl script to another server and I had my ftp client set to ascii and forgot to turn it back to auto
So initially I had uploaded the forum and the skin all in ascii. Then when I realised my mistake (which I realised when I saw the messed up graphics), I reuploaded but I overwrote the files when I probably should have deleted them first and then uploaded them fresh.
So anyhow, I'll go delete and start over and hope it works this time. ;)
PM me for affordable hosting. I will install your SMF forum with your choice of a theme for FREE.
~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~
Join us at Christian Discussions 
~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~

Mystica

also, make sure to include the new 1.0.1 files (a couple of posts above). the zips in the first post are still 1.0!
~ there's nothing wrong with me, this is how I'm supposed to be ~

GGPassion

Hi Mystica

Do you think you can do a new button I need for my forum?
The theme is loon green and I need a new button like this one (french version) but for made a link to my website. So a button in english (website) and one in french (site).
Thx
2 Forums SMF sous le coude:
SMF 1.0.5 | SMF 1.1 RC 1
GG Forum | DjDcube Web

Mystica

sure i can make the buttons for you, but i won't be able to do this before friday.
~ there's nothing wrong with me, this is how I'm supposed to be ~

GGPassion

Thx very much Mystica, and no problem, I can wait some days  ;)
2 Forums SMF sous le coude:
SMF 1.0.5 | SMF 1.1 RC 1
GG Forum | DjDcube Web

Mystica

~ there's nothing wrong with me, this is how I'm supposed to be ~

mediman

@mystica looks absolutely great as usual ...  :)

mediman

My Projects: http://ticker-oase.de 
Please do not PM me with support requests.

GGPassion

2 Forums SMF sous le coude:
SMF 1.0.5 | SMF 1.1 RC 1
GG Forum | DjDcube Web

Mungkumu

Mystica--

Beautiful work! I have installed the peach theme, and it looks great--however, I am trying to get our logo banner centered at the top of the page, above the user info box, and I can't quite figure out how to do it. I have figured out how to replace the SMF logo, but it's still sitting on the right of the user panel.

I'm fairly new to coding, and while I was able to get the banner positioned correctly with the default theme thanks to some tips here, I can't find the same coding in the index.template.php file that came with loon.

Any help would be appreciated.

Thanks--and thanks again for the great theme!

Mystica

delete this code, starting from line 218:

<td width="440" style="padding-left: 5px;" valign="top">';

echo '
<div class="headerbodies" style="border:0px; width: 440px; position: relative;">
<img src="', $settings['images_url'], '/logo.jpg" width="440" alt="" />
</div>
</td>


and add this:

<div style="text-align: center; margin: auto;">
<img src="', $settings['images_url'], '/logo.jpg" width="440" alt="" /><br />
</div>

in line 141, right before

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


that should do the trick. didn't test it though as i'm pretty busy currently. let me know if it works :)
~ there's nothing wrong with me, this is how I'm supposed to be ~

Mungkumu

Worked like a charm. Thank you so very much!!!!!

† ÐëepÇuT¹ †

Quote from: [Unknown] on January 02, 2005, 06:05:45 PM
Even if it weren't for the sheer number of different colors, I would still thinks these themes were great.

Thanks for making them.

-[Unknown]

Frekin` grabbed the words right outta my thorat.



Personal Website
x3Generation - gaming
graphics and anime.
 

Favorite Forums
> SimpleMachines Forum
> GamerzPlanet Forums


RGSMDNR

can you make a Forum button for Loon Green?


Advertisement: