News:

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

Main Menu

BlackRain V3

Started by Crip, June 13, 2010, 12:02:46 PM

Previous topic - Next topic

Crip

Or possibly >>Admin>>ConFig>>Current Theme>>
  • Forum width:
  • Set the forum width. Examples: 950px, 80%, 1240px.    [ WIDTH-HERE ]  Click  [Save]
I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -



TOTM Winner. | Demo Site1on1 Theme Support

FightToTheDeath

Quote from: MadVelvet on August 23, 2010, 11:28:45 AM
Hmmm...that codes not in my style sheet no #wrapper at all.  I did a ctl f search as well.  Ok, well I'll keep plugging away, I'll eventually find where to change that.  Thanks!

Fight to the death this is the code I found that changes the width:

Quote#mainframe
{
   width: 950px;
   margin: 0 auto;


Yeap found it already. Thanks anyway. :)

Crip

Version 1,1.12 Added ------ Updated for RC4
I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -



TOTM Winner. | Demo Site1on1 Theme Support

Carotio

Anywhere else than here to download this theme?
The themes section seems to be offline. I just get a white page.
Version adjusted for RC4, naturally.

Taler dansk, speak English, spreche Deutsch, parle français, forstår svenska/norsk, comprendo español
Using SMF 2.0 RC5

Crip

..no sir , or at-leaset it shouldn't be.
I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -



TOTM Winner. | Demo Site1on1 Theme Support

Carotio

Ah, found out what the problem was. Switching browser did the trick...
Anyway thanks for your skin, I like it, both v2 and v3  ;)

Taler dansk, speak English, spreche Deutsch, parle français, forstår svenska/norsk, comprendo español
Using SMF 2.0 RC5

Crip

I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -



TOTM Winner. | Demo Site1on1 Theme Support

ignaciolibre

Unlike MadVelvet Im can not figure out how to change the orange, white navigation button color. Thank you ahead of time for replying with the answer.
Great theme btw

khamseen

Hey, love the theme, been using BlackRain V2 for the last year and a half so whilst updating to RC5, I thought I'd try out the updated theme too.

Got most of it working the way I want now (with icons and css changes) but I'm curious, the dark 'block' for lack of a better word, under where the banner sits at the top of the page... How the heck do I get rid of it? Our logo is transparent and works best against the darker background because of it's colours, but I've hunted through the images folder, removed a load of them and edited the css and I still can't seem to get shot of it.  :)
"In hope we find despair and in despair we find truth." - Myself

Crip

#29
a single <Table /> within the [index.template.php] is where it is located ... make your changes there .. no .CSS changes are nessasary ..
----------------------

<table width="100%" cellpadding="0" cellspacing="0" border="0" id="content" class="content_wrap">
<tr>
<td align="center"><a href=".../index.php" title="Demo Site"><img src=".../Themes/blackrainV3/images/logo.png" style="margin: 2px;" alt="Demo Site" /></a>
</td>
</tr>

</table>
I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -



TOTM Winner. | Demo Site1on1 Theme Support

khamseen

#30
Quote from: Crip on May 28, 2011, 07:03:03 PM
a single <Table /> within the [index.template.php] is where it is located ... make your changes there .. no .CSS changes are nessasary ..

Thank you!! That was driving me crazy, I didn't even notice the change in there since V2 other than it now calling a png logo, which suited me fine as our logo was already png so when I saw that I pretty much just closed the window haha.

I wonder if you could help me with another little problem I've been having? I've managed to get all my mods reinstalled on RC5 with the exception of one for adding extra statistics about daily and weekly top 10s. The coding it expects in one of the theme files is different to what you've used so it can't make the changes automatically and manual parsing isn't any more help. If you could even point me in the right direction it may help.

The changes are to the blackrainV3205/Stats.template.php

Code (what it's looking for) Select

</div>
<div class="flow_hidden">
<div id="top_topics_starter">


Code (what it wants to replace that with) Select

</div>';

/* The Top 10 Posters and Topic Starters Stats mod starts here. */
foreach ($context['top10_sort'] as $time)
{
// This is needed first for the data.
$top10_posters = 'top10_posters_' . $time;
$top10_topic_starters = 'top10_topic_starters_' . $time;

echo '
<div class="flow_hidden">
<div id="', $top10_posters, '">
<div class="title_bar">
<h4 class="titlebg">
<span class="ie6_header floatleft">
<img src="', $settings['images_url'], '/stats_posters.gif" class="icon" alt="" /> ', $context['top10_txt']['posters'][$time], '
</span>
</h4>
</div>
<div class="windowbg2">
<span class="topslice"><span></span></span>
<div class="content">
<dl class="stats">';

foreach ($context[$top10_posters] as $id => $poster)
{
echo '
<dt>
', $poster['link'], '
</dt>
<dd class="statsbar">';
if (!empty($poster['post_percent']))
echo '
<span class="left"></span>
<div style="width: ', $poster['post_percent'], 'px" class="stats_bar"></div>
<span class="right"></span>';

echo '
<span class="righttext">', $poster['num_amount'], '</span>
</dd>';
}

if (count($context[$top10_posters]) == 0)
echo '
<dt>
', $txt['no'], ' ', $txt['members'], '
</dt>';

echo '
</dl>
<div class="clear"></div>
</div>
<span class="botslice"><span></span></span>
</div>
</div>
<div id="', $top10_topic_starters, '">
<div class="title_bar">
<h4 class="titlebg">
<span class="ie6_header floatleft">
<img src="', $settings['images_url'], '/stats_posters.gif" class="icon" alt="" /> ', $context['top10_txt']['topic_starters'][$time], '
</span>
</h4>
</div>
<div class="windowbg2">
<span class="topslice"><span></span></span>
<div class="content">
<dl class="stats">';

foreach ($context[$top10_topic_starters] as $id => $poster)
{
echo '
<dt>
', $poster['link'], '
</dt>
<dd class="statsbar">';
if (!empty($poster['post_percent']))
echo '
<span class="left"></span>
<div style="width: ', $poster['post_percent'], 'px" class="stats_bar"></div>
<span class="right"></span>';

echo '
<span class="righttext">', $poster['num_amount'], '</span>
</dd>';
}

if (count($context[$top10_topic_starters]) == 0)
echo '
<dt>
', $txt['no'], ' ', $txt['members'], '
</dt>';

echo '
</dl>
<div class="clear"></div>
</div>
<span class="botslice"><span></span></span>
</div>
</div>
</div>';
}
/* The Top 10 Posters and Topic Starters Stats mod ends here. */

echo '
<div class="flow_hidden">
<div id="top_topics_starter">


Thanks again. :)

EDIT: Never mind, I managed to redo it on my own.

Code (what you actually need to find) Select

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


Code (what I replaced that with (May not be elegant, but it works)) Select

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

foreach ($context['top10_sort'] as $time)
{
// This is needed first for the data.
$top10_posters = 'top10_posters_' . $time;
$top10_topic_starters = 'top10_topic_starters_' . $time;

echo '
<td class="catbg" colspan="2" width="50%"><b>', $context['top10_txt']['posters'][$time], '</b></td>
<td class="catbg" colspan="2" width="50%"><b>', $context['top10_txt']['topic_starters'][$time], '</b></td>
</tr><tr>
<td class="windowbg" width="20" valign="middle" align="center"><img src="', $settings['images_url'], '/stats_posters.gif" width="20" height="20" alt="" /></td>
<td class="windowbg2" width="50%" valign="top">
<table border="0" cellpadding="1" cellspacing="0" width="100%">';
foreach ($context[$top10_posters] as $id => $poster)
echo '
<tr>
<td width="60%" valign="top">', $poster['link'], '</td>
<td width="20%" align="left" valign="top">', $poster['num_amount'] > 0 ? '<img src="' . $settings['images_url'] . '/bar.gif" width="' . $poster['post_percent'] . '" height="15" alt="" />' : '&nbsp;', '</td>
<td width="20%" align="right" valign="top">', $poster['num_amount'], '</td>
</tr>';
echo '
</table>
</td>
<td class="windowbg" width="20" valign="middle" align="center" nowrap="nowrap"><img src="', $settings['images_url'], '/stats_posters.gif" width="20" height="20" alt="" /></td>
<td class="windowbg2" width="50%" valign="top">
<table border="0" cellpadding="1" cellspacing="0" width="100%">';
foreach ($context[$top10_topic_starters] as $id => $poster)
echo '
<tr>
<td width="60%" valign="top">', $poster['link'], '</td>
<td width="20%" align="left" valign="top">', $poster['num_amount'] > 0 ? '<img src="' . $settings['images_url'] . '/bar.gif" width="' . $poster['post_percent'] . '" height="15" alt="" />' : '&nbsp;', '</td>
<td width="20%" align="right" valign="top">', $poster['num_amount'], '</td>
</tr>';
echo '
</table>
</td>
</tr><tr>';
}

echo '
"In hope we find despair and in despair we find truth." - Myself

Crip

there is a new updated Zip.
I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -



TOTM Winner. | Demo Site1on1 Theme Support

khamseen

Has anything changed in the updated zip? Like is it worth updating?
"In hope we find despair and in despair we find truth." - Myself

Crip

I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -



TOTM Winner. | Demo Site1on1 Theme Support

khamseen

Ok, I assume it's just coding changes, not physical changes, because I can't really see a difference after updating it and reinstalling all the plugins.

However, it is have a strange problem (both 3_2_0 and 3205), perhaps you can help? I've removed all my plugins to see if it was them causing the issue, but it was not, so it's something in the skin.

I've attached two screencaps, one is the skin running on RC5 and you'll see it orders its self as it should, leaving enough room for things then entering a new area. The second shot is running on 2.0 and as you can see, it seems to be holding the top section until the side bar ends, it's doing this on many pages throughout the forums where there is a side menu open.
"In hope we find despair and in despair we find truth." - Myself

Crip

#35
i will investigate asap.

.. however my 2.0 demo-site doesn't show that...
I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -



TOTM Winner. | Demo Site1on1 Theme Support

khamseen

Quote from: Crip on June 14, 2011, 03:01:55 PM
.. however my 2.0 demo-site doesn't show that...

You have the menu set to go along the top, it works fine like that, but when you toggle to the sidebar menu (which I personally prefer) that's when it gets the layout wrong. I've now checked it on three separate install locations and all of them have the same issue. Thanks for the reply though, hopefully you'll be able to find what's causing it. I'm going to put off updating to 2.0 on my main forum until it's sorted out. :)
"In hope we find despair and in despair we find truth." - Myself

Crip

i found and fixed the error , look for a new zip file asap!
I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -



TOTM Winner. | Demo Site1on1 Theme Support

khamseen

Haha that was quick! Excellent news, thanks for the quick response! It just wouldn't be the same without the BlackRain theme. :)
"In hope we find despair and in despair we find truth." - Myself

khamseen

Hey, sorry for the double post, will the new zip show up as updated? I'm not sure if it's been loaded yet or not. :)
"In hope we find despair and in despair we find truth." - Myself

Advertisement: