Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => Classic Themes => Topic started by: crazystu on May 25, 2005, 10:03:59 PM

Title: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: crazystu on May 25, 2005, 10:03:59 PM
(http://dev.nsf.mher.org/Themes/BlackDay/images/thumbnail.gif)
My Second Theme. As you can tell by the name and thumb it is a dark black theme.
It uses Andrea's Black Mini buttons so if you want your language, then see here:
http://www.simplemachines.org/community/index.php?topic=6981.0

Live Demo (http://dev.nsf.mher.org/index.php?action=forum;theme=4)
Download (SMF 1.0.5) (http://dev.nsf.mher.org/Downloads/SMF Themes/BlackDay(SMF1.0.5).zip)
Download (SMF 1.1) (http://dev.nsf.mher.org/Downloads/SMF Themes/BlackDay(SMF1.1).zip)
Game & Shop Buttons (http://www.simplemachines.org/community/index.php?topic=37870.0)
Enjoy :D
Title: Re: [Theme] BlackDay
Post by: bledsian on May 25, 2005, 10:48:38 PM
much like the theme I made from another template on my forums (www.mansionofmetal.com/forum).  A few things I dont like about your theme is the text font in the header and the font colour on things like calender.  otherwise good start. 
Title: Re: [Theme] BlackDay
Post by: crazystu on May 25, 2005, 10:56:21 PM
Thanks for your comments.
I personally like the text at the top the way it is, because it is the same size as the rest of the forum.
I'll try fixing the calendar though ;)
Title: Re: [Theme] BlackDay
Post by: crazystu on May 25, 2005, 11:08:47 PM
Calendar has been changed. Zip updated :)
Title: Re: [Theme] BlackDay
Post by: forsakenlad on May 26, 2005, 09:47:34 AM
Good work! I love dark themes  ;)
Title: Re: [Theme] BlackDay
Post by: JewelCG on May 26, 2005, 02:49:49 PM
Ooooo.... I like this a lot..  Good work.
Title: Re: [Theme] BlackDay
Post by: crazystu on May 26, 2005, 03:38:30 PM
Thanks JewelCG and forsakenlad.
Title: Re: [Theme] BlackDay
Post by: PopLife on May 27, 2005, 09:48:24 AM
I'm a bit sick of black themes, but great job nonetheless
Title: Re: [Theme] BlackDay
Post by: klumy on May 27, 2005, 02:03:58 PM
Cool ;)
Title: Re: [Theme] BlackDay
Post by: mfresco on May 27, 2005, 06:43:00 PM
Hey Nesianstyles,

By far the one of the best themes avaible. Really love it.

Thanks,

Michael
Title: Re: [Theme] BlackDay
Post by: crazystu on May 27, 2005, 07:01:01 PM
Thanks mfresi, klumy and giba_choo.
I've found a small bug in BoardIndex.template.php
This has been fixed and the zip has been updated
Title: Re: [Theme] BlackDay
Post by: Dem0n on May 27, 2005, 07:25:11 PM
Good theme. Since it uses andreas buttons it would be nice to include a copyright smf black buttons, or w/e she named it to Andrea in the copyrights.
Title: Re: [Theme] BlackDay
Post by: crazystu on May 27, 2005, 10:15:52 PM
Thanks, I'll put some credit in next time I modify it ;)
Title: Re: [Theme] BlackDay
Post by: codenaught on May 27, 2005, 10:27:57 PM
Nice dark theme.  :)
Title: Re: [Theme] BlackDay
Post by: crazystu on May 28, 2005, 02:55:04 AM
Updated once again. Added credit for andera's buttons and fixed another small bug
Hopefully this will be the last ;)
Title: Re: [Theme] BlackDay
Post by: dustrho on May 29, 2005, 09:50:05 AM
This is a pretty cool theme, but I have a few requests/questions...

1) How do I get rid of the "My Community" text at the top of the page.

2) How do I make the font size smaller for the User Info, News Box and Key Stats boxes, so that it's the same size as the rest of the font throughout the forum?  I played around with the CSS file, but everytime I make a change it seems to effect the rest of the forum.

Thanks!
Title: Re: [Theme] BlackDay
Post by: crazystu on May 29, 2005, 04:04:57 PM
Open themes/BlackDay/inde.template.php
Remove
Code: [Select]
// This part is the logo and forum name.  You should be able to change this to whatever you want...
echo '
<span style="font-family: Georgia, sans-serif; font-size: xx-large;">', $context['forum_name'], '</span>';
Find
Code: [Select]
echo '<td width="100%" valign="top" class="windowbg2" style="font-family: verdana, arial, sans-serif;">';Replace with
Code: [Select]
echo '<td width="100%" valign="top" class="windowbg2" style="font-size: small; font-family: verdana, arial, sans-serif;">';Find
Code: [Select]
<td class="windowbg2" width="100%">', Replace with
Code: [Select]
<td class="windowbg2" width="100%" style="font-size: small">', Find
Code: [Select]
<td class="windowbg2" width="100%"><b>',Replace with
Code: [Select]
<td class="windowbg2" width="100%" style="font-size: small"><b>',
Title: Re: [Theme] BlackDay
Post by: crazystu on June 04, 2005, 03:26:51 AM
Theme has been updated again.
A few small fixes and tweaks have been done to make it look nicer.
Most noticable ones are quotes and the boxes at the top.
Title: Re: [Theme] BlackDay
Post by: Rajasingh on June 12, 2005, 04:09:14 PM
thanks for the great link . really great.and very nice to see
thanks
Title: removing User Info & ket status
Post by: Rajasingh on June 17, 2005, 11:13:09 PM
hello any one know how to remove User Info & ket status in Black day theme
pls help me
Title: Re: [Theme] BlackDay
Post by: dtm.exe on June 17, 2005, 11:38:40 PM
hello any one know how to remove User Info & ket status in Black day theme
pls help me

Post merged with the appropriate topic.

-Dan The Man
Title: Re: [Theme] BlackDay
Post by: kerux4 on June 19, 2005, 11:19:04 AM
How do I add my logo to the top?
Title: Re: [Theme] BlackDay
Post by: 1MileCrash on June 19, 2005, 11:23:55 AM
to replace the name?

find

Code: [Select]
', $context['forum_name'], '

replace with
Code: [Select]
<img src="', $settings['images_url'], '/yo image.gif" border="0">

after uploading the logo to your images folder under "BlackDay"
Title: Re: [Theme] BlackDay
Post by: vdubbia on July 05, 2005, 10:03:13 AM
You misspelled Andrea's name for the button credits.  Should be 'Andrea', not 'Andera'.
Title: Re: [Theme] BlackDay
Post by: Irakli on July 13, 2005, 01:40:03 PM
is there any chance that this theme will be updated to 1.1 beta 3?
Title: Re: [Theme] BlackDay
Post by: vdubbia on August 02, 2005, 01:05:10 AM
How do I change the font color in the News Fader... it's currently black on black... kinda hard to read!  :D
Title: Re: [Theme] BlackDay
Post by: crazystu on August 02, 2005, 04:20:37 AM
Open BoardIndex.template.php and change:
Code: [Select]
<div id="smfFadeScroller" style="width: 90%; padding: 2px; color: #000000;"><b>', $context['news_lines'][0], '</b></div>To:
Code: [Select]
<div id="smfFadeScroller" style="width: 90%; padding: 2px; color: #FFFFFF;"><b>', $context['news_lines'][0], '</b></div>
Title: Re: [Theme] BlackDay
Post by: RachelHS on August 02, 2005, 06:19:53 AM
Ahh, thanks for updating the template, I have several users who will be glad to see this back!
Title: Re: [Theme] BlackDay
Post by: vdubbia on August 02, 2005, 11:51:44 PM
Open BoardIndex.template.php and change:
Code: [Select]
<div id="smfFadeScroller" style="width: 90%; padding: 2px; color: #000000;"><b>', $context['news_lines'][0], '</b></div>To:
Code: [Select]
<div id="smfFadeScroller" style="width: 90%; padding: 2px; color: #FFFFFF;"><b>', $context['news_lines'][0], '</b></div>

Thanks Nesian!  This is a great theme.  One more quick change I'd like to make but not sure how.  On the news fader the word 'News' is not in bold, how would I make that bold?  Also, I'm assuming where I would change the font style is also where I would change what it says, i.e. MySite News...
Title: Re: [Theme] BlackDay
Post by: dustrho on August 03, 2005, 09:09:41 AM
When I click on "Show unread posts since last visit" it shows all the posts that have been replied to already, which is working just fine.  However, in the default and other themes it would have an icon to the far right of the thread, where if you clicked on it you would be taken to the very last post.  In this theme that is not present.  Why isn't it or am I missing something here?

Also, how do I change the overall width of the forum?  I would like it to be 800 pixels wide if possible.

Thanks.
Title: Re: [Theme] BlackDay
Post by: crazystu on August 03, 2005, 03:58:29 PM
Click on the New button?
And wowzer open BoardIndex.template.php and change:
Code: [Select]
<tr class="titlebg" align="center">
<td>', $txt[102], '</td>
</tr>
to
Code: [Select]
<tr class="titlebg" align="center">
<td><b>', $txt[102], '</b></td>
</tr>
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: vdubbia on August 04, 2005, 09:18:41 AM
Another newsfader question...

When I load the main page to the forum, the first news item appears in the newsfader box, then disappears and the next item that fades in is the same exact news item, then that disappears and the second news item fades in.  Is there any way for that first item to not repeat twice at the beginning of the newsfader cycle?

Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: crazystu on August 06, 2005, 05:10:37 AM
this is nothing to do with the theme.
You probably have a duplicate news item
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: Benqo on August 11, 2005, 09:51:01 AM
I was looking for such a dark theme and your's actually exactly the one I was searching for. Neet images (thx to Andrea), great composition of the layout and not too much graphic stuff there.  And dark (grey, black).

Maybe I only would modify the color of links to a darker orange/yellow to have more contrast also, but thanks a lot for your awsome work!
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: crazystu on August 11, 2005, 04:30:59 PM
Thankyou for your comments.
Fell free to do some modifications to the css.
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: jasidog on August 11, 2005, 04:43:22 PM
I never was very good at very dark themes. So I apreciate how well you got the contrasting shades Nesian. I like. :)
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: 1MileCrash on August 11, 2005, 04:43:42 PM
(http://img.photobucket.com/albums/v338/fearthetoothfairy/MWOA.jpg)

I dont know what it is....but something about the color scheme makes it so.....flawless. It's like the perfect mixture of grays and blacks.
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: crazystu on August 12, 2005, 04:41:58 AM
I never was very good at very dark themes. So I apreciate how well you got the contrasting shades Nesian. I like. :)
Thanks jasidog, I've always been a fan of your themes.
And thanks Tippmaster. I like the small hat on the walrus!
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: vdubbia on August 13, 2005, 10:50:41 AM
this is nothing to do with the theme.
You probably have a duplicate news item

no duplicate news items....
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: 1MileCrash on August 13, 2005, 11:41:38 AM
it still has absolutely nothing to do with the theme
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: vdubbia on August 13, 2005, 01:09:47 PM
it still has absolutely nothing to do with the theme

probably a browser issue at this point...
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: NineseveN on August 17, 2005, 06:15:07 PM
I am sure there's a reason why the chat portion of the software does not show up under this theme...can I ask what it is?
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: 1MileCrash on August 18, 2005, 09:38:53 PM
I am sure there's a reason why the chat portion of the software does not show up under this theme...can I ask what it is?

huh? Chat portion? What are you talking about?

You need to manually install mods on new themes.
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: vdubbia on September 05, 2005, 01:20:45 AM
Okay, I've installed the Spiders mod and can see the option to activate this via the admin board and have checked the appropriate boxes, but do not see the spider heading under my users online section?

Is this just because I'm not online when my site is getting crawled or do I need to mod another .php page?

I know I'm being crawled because I'm all over google and I know I'm online enough that I should see the spiders on my site.

Please let me know.

Thx.
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: 1MileCrash on September 05, 2005, 10:23:40 AM
Okay, I've installed the Spiders mod and can see the option to activate this via the admin board and have checked the appropriate boxes, but do not see the spider heading under my users online section?

Is this just because I'm not online when my site is getting crawled or do I need to mod another .php page?

I know I'm being crawled because I'm all over google and I know I'm online enough that I should see the spiders on my site.

Please let me know.

Thx.

How to make mods work with themes? (http://www.simplemachines.org/community/index.php?topic=34526.0)
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: vdubbia on September 06, 2005, 06:58:34 PM
Okay, I've installed the Spiders mod and can see the option to activate this via the admin board and have checked the appropriate boxes, but do not see the spider heading under my users online section?

Is this just because I'm not online when my site is getting crawled or do I need to mod another .php page?

I know I'm being crawled because I'm all over google and I know I'm online enough that I should see the spiders on my site.

Please let me know.

Thx.

How to make mods work with themes? (http://www.simplemachines.org/community/index.php?topic=34526.0)

Okay, I read that, but there is no .mod file with the Googlebot mod, just the .xml file which reads:

Quote
<?xml version="1.0"?>
<!DOCTYPE package-info SYSTEM "http://www.simplemachines.org/xml/package-info">
<package-info xmlns="http://www.simplemachines.org/xml/package-info" xmlns:smf="http://www.simplemachines.org/">
   <name>Googlebot & Spiders Mod</name>
   <id>obazavil:googlebot</id>
   <type>modification</type>
   <version>1.0.4</version>

   <install for="1.0.3, 1.0.4, 1.0.5, 1.1 Beta 2">
      <readme>install.txt</readme>
      <modification>install.xml</modification>
      <code>install.php</code>
   </install>
   
   <uninstall>
      <modification reverse="true">install.xml</modification>
   </uninstall>
</package-info>
None of the instructions in the link you provided describe what to do here... can you clarify?

Thx.

John
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: crazystu on September 06, 2005, 07:16:52 PM
instead of the .mod look in the install.xml
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: n1kki6 on September 07, 2005, 03:23:42 AM
what file controls the text size for class smalltext and nav and everything, i want to make everything a couple points bigger.
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: crazystu on September 07, 2005, 05:18:42 AM
styles.css at the very bottom (I think)
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: djsid on September 12, 2005, 12:17:46 PM
hi, 

i really really like your theme is fits perfectly in my site and works fine as standalone but included in mambo i got servaral of the following error.

Warning: Cannot modify header information - headers already sent by (output started at xxx/www/oor/forum/Sources/Load.php(1040) : eval()'d code:455) in xxx/www/oor/index.php on line 214

the only theme that perfectly fits and error  i searched for simmilar problems  but can't find anything

please help  could it be that there is a file missing ?
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: crazystu on September 12, 2005, 08:17:54 PM
that problem has nothing to do with this theme
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: djsid on September 13, 2005, 01:44:34 AM
ok but why do i got these errors only when specialy this theme is activated.. i've tried many others and they work fine.  Only when i activate this theme i got this errors...   If it is an other problem could you help me out how to fix this.....  Thanks for your reply
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: crazystu on September 13, 2005, 03:59:34 AM
it might be some sort of reaction to the modified index.template.php
but it all works on a normal smf so I can't really see a problem with it...
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: trenchteam on September 13, 2005, 07:39:40 AM
your server is down Nev?
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: djsid on September 13, 2005, 08:13:37 AM
k thanks i'm near a solution something or some script writes a header in my mambo index file right in the middle  for no caching i commented it out get a little less errors....  i'll hope it'll work properly after my newbie actions  ::)..

Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: crazystu on September 13, 2005, 11:32:51 PM
your server is down Nev?
At the mo it is, but I am setting it back up on http://dev.nsf.mher.org I had some trouble with the nesian.info domain...
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: exrace on September 14, 2005, 09:56:45 PM
I would like to get a copy of this theme...does anyone have a recent zip of this theme they would like to share?
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: crazystu on September 14, 2005, 11:57:33 PM
I need to update the first post, but for now use these:

SMF 1.0.5 (http://dev.nsf.mher.org/Downloads/SMF Themes/BlackDay(SMF1.0.5).zip)
SMF 1.1 (http://dev.nsf.mher.org/Downloads/SMF Themes/BlackDay(SMF1.1).zip)
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: exrace on September 15, 2005, 09:59:32 AM
Thanks!  :)
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: Beldin on September 25, 2005, 04:02:48 AM
Hey great theme but when I install the 1.1 version it installs as 1.0 and is missing the last_post button.  All I really need is the button.  Thanks
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: David79 on October 02, 2005, 12:41:17 PM
Yeah I was missing the icon too
however once I manually uploaded the icon it works nicely. Still the 1.0 though
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: David79 on October 02, 2005, 09:26:20 PM
I have noticed that the Mark as Read option does not work with this them using the RC1.
Could someone help me out on what I need to change in order for it to work? I like this theme because it works nicely with the theme of my site.

Thanks in advance....
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: Cottelletje on October 05, 2005, 12:31:05 PM
i have two questions about this theme
1.how/where can I adjust the width size?because it's to large for me?
2.how can I ad a logo on top of the page?and where do I have to change things in what file?
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: 1MileCrash on October 05, 2005, 09:17:54 PM
adjust the size? as in width?

if so, you could just find the body tag in index.template.php, and add a margin attribute.

ex : <body style="margin: 0 40px 0 40px;">
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: Benqo on October 07, 2005, 04:17:35 AM
How to get an other language work together with this amazing theme?
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: ingels on October 12, 2005, 07:33:10 PM
I love this theme !!!

It's black, stylish and works very well within my "Los Angeles, 2019" website (devoted to the movie "Blade Runner").
I'll hope that this theme will be continued to be upgraded, I will try and tweak and finetune it so it fits my website the best it can.

I do hope that my visitors find the forum fun and usefull.. that's the most important thing

Once again, thanks for a great theme  :-*
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: crazystu on October 13, 2005, 03:10:17 AM
How to get an other language work together with this amazing theme?
Put the language images into Themes/BlackDay/images/*language name*/
There are many in the buttons topic...
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: David79 on November 02, 2005, 05:19:45 PM
Is there something I can change on the theme to get the "Mark As Read" button to work? It keeps asking me to try logging in again when using it on RC1.
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: n1kki6 on November 12, 2005, 12:17:07 AM
I am using this theme with 1.0.5 and am upgrading to rc1.  I have actually changed some things and am using different black day themes for each of my forum sections and am wondering if their is a way i can go though and mod the 1.0.5 theme to work properly with rc1 rather than reinstalling and modding it again.  As far as i can tell i havent ran into anything that isnt working with the 1.0.5 themes but their obviously has to be some differences.
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: 1MileCrash on November 12, 2005, 12:18:13 AM
check your error log.  :P
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: n1kki6 on November 12, 2005, 12:44:54 AM
I dont have the error log on right now, i was receiving an error from the arcade being installed and the joomla bridge and it was causing problem so i turned it off.  Whatever error the arcade was having was a joomla live site not recognised or something and it wasnt really a priority at the time since it wasnt causing any funtion problems that i could tell.
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: Hamsterpants on November 15, 2005, 05:16:00 PM
Hi there,

Will this theme work with ver 1.1 RC1? I installed it everything seems ok except the month drop down on the calender is empty? Any help suggestions would be appreciated.

Thanks
Dill
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: redone on November 15, 2005, 05:33:27 PM
Versions are supplied for 1.05 and 1.1rc see here:

http://dev.nsf.mher.org/index.php?topic=31.0

Nice theme nessian!  ;)

~redone

Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: crazystu on November 15, 2005, 09:56:28 PM
oddly enough i never ported it fully to 1.1, and I will look at redoing this port as I am not very happy with it.
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: ybyap on December 01, 2005, 12:23:44 AM
nice  :)
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: crazystu on December 01, 2005, 09:33:45 PM
thanks ;)
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: crazystu on December 14, 2005, 05:24:52 PM
I've finally updated BlackDay for better 1.1 support.
I've re-built it from ground up, and it should work with no problems.
The zip has been updated.
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: David79 on December 18, 2005, 06:50:54 PM
awesome...been looking forward to this update

thanks
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: deros on December 30, 2005, 11:16:33 AM
excellent, ty
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: BuLeRoBuL on December 31, 2005, 05:53:05 AM
thanks,Very nice
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: Dazed on January 01, 2006, 03:48:25 PM
First, very nice theme. I have been looking for a dark one for some time that I liked.

I do have a problem: when I check the error logs I fing this...   8: Undefined index: memberCount
File: .................................................................../forum/Themes/default/Errors.template.php (eval?)
Line: 270


It makes an error for each button click. This is something to do with RC2. The default themes don't create these errors. I can update it myself If I am told what needs to be done. Little noobish at this... :)


BTW it doesn't really seem to affect the operation of the board otherwise.
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: crazystu on January 02, 2006, 06:13:34 PM
apologies, i've been away for the past week but I can't answer you now as I am off again for another 1/2 week...
will answer you when I get back ;)
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: Jerry Jingles on January 09, 2006, 05:08:42 PM
Great theme. 

Can you tell me how to add a logo at the top of the screen for 1.0.5?

Thanks
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: crazystu on January 10, 2006, 07:46:44 PM
open Themes/default/BlackDay/index.template.php and find
Code: [Select]
<span style="font-family: Georgia, sans-serif; font-size: xx-large;">', $context['forum_name'], '</span>and replace with
Code: [Select]
<img src="URL TO LOGO" />
oh and to all you rc2 users out there this theme will be updated VERY soon...
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: exrace on January 15, 2006, 07:25:46 PM
Thanks.
Waiting for your update!
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: boogiedown on January 16, 2006, 02:57:02 PM
running rc2 and get this error

Quote
8: Undefined index: newtime
File: /home/xxxxxxx/public_html/boards/Themes/xxxxxxOriginal_2006/Recent.template.php (eval?)
Line: 245

must be because rc2
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: crazystu on January 17, 2006, 03:15:06 PM
yes it is...
I've got this theme ready but I want to have them all updated first.
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: crazystu on January 20, 2006, 03:04:02 AM
updated for rc2
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: n1kki6 on January 20, 2006, 12:09:11 PM
Quick question, i was using the 1.0.5 themes and then upgraded to 1.1 but modded my themes to work myself because i have made previous modifications i didnt want to lose.  I don't know if it worked before but i just tried using the send html and it wont send as html. I have checked on many different accounts and they all just come through normal text.  I am on rc2 right now. COuld this be something theme related?
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: crazystu on January 20, 2006, 03:53:53 PM
does it work on the other themes? if yes, then it is theme related.
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: n1kki6 on January 20, 2006, 09:37:22 PM
yep works on the default, do you know what file i should edit and make changes to?
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: crazystu on January 21, 2006, 03:39:09 AM
post.template.php I think
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: boogiedown on January 23, 2006, 01:47:08 AM
I did my own modifications to the template. can you tell me what you changed from RC1 to RC2 so i can change them manually?
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: crazystu on January 23, 2006, 03:25:10 AM
http://www.simplemachines.org/community/index.php?topic=64744.0
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: Diante on January 23, 2006, 04:18:00 AM
First of all...outstanding theme.  It looks fantastic and works perfectly with my site and my members love it.
Now that I have sufficiently kissed up...can I ask where in the code do I add my domain link so that the banner image I loaded points to the main site?
I have looked around and maybe I missed it, but nothing I have tried has worked so far.

Thanks in advance
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: crazystu on January 23, 2006, 02:44:35 PM
thanks diante, this is most certainly my most popular theme (and it was only my second!).
To do that, you would need something like this:
Code: [Select]
<a href="MAIN SITE URL"><img src="BANNER URL" alt="" /></a>
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: Diante on January 24, 2006, 02:45:41 PM
I did add the <a href=> tag to the index.template.php file where I loaded my banner.  I wrapped it around the <img src> code

Code: [Select]
// This part is the logo and forum name.  You should be able to change this to whatever you want...
   echo '
               <span style="font-family: Georgia, sans-serif; font-size: xx-large;"><img src="', $settings['/SMF/Themes/BlackDaySMF1/images'], '/SMF/Themes/BlackDaySMF1/images/mot_smf_logo.jpg" align="middle" border="0"></span>';

and it errored out the entire section.  Is there another file I am supposed to put the <a href=> code into?  If so, will having the img src in two places cause an error?  Am I just going about this all wrong?

I am using rc2 and the template for that SMF version.  You can check it out at Moons of Teramor Forums (http://moonsofteramor.com/index.php?option=com_smf&Itemid=46)
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: crazystu on January 24, 2006, 03:01:20 PM
try this instead.
Code: [Select]
// This part is the logo and forum name.  You should be able to change this to whatever you want...
   echo '
               <span style="font-family: Georgia, sans-serif; font-size: xx-large;"><a href="/index.php"><img src="' . $settings['images_url'] . '/mot_smf_logo.jpg" align="middle" border="0" alt="" /></a></span>';
I've fixed the xhtml validation in it aswell... There may not be a link at the bottom but it still validates!
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: Diante on January 24, 2006, 05:39:13 PM
Thank you for the assistance.  I did have to modify your code posted a bit.

Code: [Select]
               <span style="font-family: Georgia, sans-serif; font-size: xx-large;"><a href="/index.php"><img src="' . $settings['/SMF/Themes/BlackDaySMF1/images'] . '/SMF/Themes/BlackDaySMF1/images/mot_smf_logo.jpg" align="middle" border="0" alt="" /></a></span>';
without the entire path in both locations, the image would not display.  I did play with the settings, and nothing other than exactly what is posted here works.  However, it does work and it does link back to my main site. 
Thank you for your help.  Just another reason to love this template.
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: hefesto on January 26, 2006, 09:28:53 PM
Great theme! I've just started with SMF  and it's great to know that you can create something really spectacular at your second attempt... altough I think I'll need at least 20! Congratulations.

I'm having some problems with avatars and Internet Explorer. It can't display them. It's able to upload them, and I can see those uploaded themes from Firefox, but never from IE. Any ideas about what can be happening? (I've got the latest version of the theme with SMF 1.1 RC2).

Thanx.
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: n1kki6 on January 31, 2006, 03:13:30 PM
If anyone else was having a problem with the send html newsletters, i had to copy managenews.template.php from the default directory to tmy blackday directory.
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: raiderray on February 16, 2006, 05:13:12 PM
I added the "Quick Upload" plugin, and I've noticed that Firefox users have to open and close the "Additional Options" twice to see the Quick Upload link. Anyone else have this problem?
I added
Quote
iframe  name="qupload" src="/forum/Upload.html" valign="middle" frameborder="0" scrolling="no" height="80" width="800" ></iframe>
under the
Quote
<div id="postMoreOptions"><

area like posted on another thread in this forum.

Any help would be appreciated, love this theme!
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: Skuggi on February 26, 2006, 10:16:39 AM
ok, have a small problem only with this template, besides I need buttons for chat and shop lol.

When I go to Karma someone on the forum I'm getting this error.

Quote
Session verification failed. Please try logging out and back in again, and then try again.

It's not happening with any other template so... I dunno lol.
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: crazystu on February 26, 2006, 01:28:39 PM
make sure you have the right version of this theme on the right version of smf...
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: AmyB on February 26, 2006, 09:48:47 PM
Hi Nesianstyles!

Great theme!  I had a problem but I fixed it so now...

just thanks!

www.shockingjesus.com/forum
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: Jiveturkey on February 27, 2006, 06:48:40 PM
I know that this was just talked about but I'm not sure I understand.

I want to have the header be a direct link to the home page.  Where do I start?

BTW, this is a great template.  I shopped around for hours and as soon as I saw it I downloaded it.
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: ghazz on March 04, 2006, 09:28:07 PM
I just installed this theme and its working great, however I had the AD mod installed so I could place adsense on the top and bottom of each page.  Now that no longer works.  How can I manually add an ad on the top and bottom of each page?  Where would I place the code?  Thanks.
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: Jiveturkey on March 06, 2006, 03:52:40 PM
Any ideas on the banner pic/home link?

I have the jpg loaded in my images folder but I can't figure out where to put the code without it taking my forum down.

Title: How to change sticky topic background?
Post by: Jettero on April 05, 2006, 01:24:04 AM
Hi all,

Sorry if this has already been answered but I've really tried searching for the answer here before posting.

I'm using the latest version of BlackDay from Nesianstyles (great theme!) but I'm trying to make the background color of sticky topics a little different from all the rest so it's easier to find the first new post.

I've searched both the default theme style.css and the css in the BlackDay theme directory, and nothing appears to address this specific background, yet the default theme does have a different sticky background color than the rest of the topics.

Any help would be greatly appreciated!

Thanks,
Jett
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: crazystu on April 07, 2006, 12:21:41 AM
New support topic is in the Themes site board, please use that or my site.
I recommend when asking for support to post on my site, as I don't look here much.
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: Johnnybdesign on July 10, 2006, 05:22:37 PM
Hi, I am using the BlackDay theme (which I love by the way!) on my website http://johnnybdesign.com

However, I get a ton of error logs and I do not have enough knowledge to troubleshoot it. I run the latest SMF 1.0.7 with 1.1RC2

Please find below the three most common and redundant error logs:

[Wed Jul  5 19:55:58 2006] [error] [client ipaddress removed] File does not exist: /xxx/xxxx/xxxxxx/forum/Themes/default/xml_topic.js
[Wed Jul  5 19:55:58 2006] [error] [client ipaddress removed] File does not exist: /xxx/xxxx/xxxxxx/forum/Themes/default/print.css
[Wed Jul  5 19:55:54 2006] [error] [client ipaddress removed] File does not exist: /xxx/xxxx/xxxxxx/forum/Themes/default/xml_board.js

It looks like there are some files missing since there are no "xml_topic.js" nor "print.css" or "xml_board.jf" files in the default folder... This translates into ugly red X's on many pages... (I guess where the print button should be)

Does that ring a bell? Your help would be highly appreciated.
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: Johnnybdesign on July 10, 2006, 11:42:10 PM
Problem solved. I was working BlackDay 1.1 with the outdated SMF 1.0.5 version.
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: ismile on July 31, 2006, 07:14:16 AM
I have a site that has been using Blackday for a long time. We just upgraded our boards and would like to reinstall the newer version but the links are down. Does anyone know where I can obtain the newest version of this theme? 1.1 rc2

Thanks
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: Steffen on August 05, 2006, 09:36:28 AM
hmm download doesn't work ^^
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: SN95Forums on August 24, 2006, 08:54:05 PM
hmm download doesn't work ^^

 :-[
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: DaleJr8 on August 25, 2006, 07:41:44 PM
i tried adding the pic up top, i deleted the <span....code and replaced it with

Code: [Select]
http://<img src="http://img246.imageshack.us/ etc....gif />
when i replaced it the .php file it screwed the them up and i had to replace the .php file with a original,

i was getting an error something about index parse or something, what dod i do wrong?
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: kirra1 on October 06, 2006, 01:13:21 PM
when you post a logo for this theme, you have to make sure the formatting agrees with PHP.

in the section of index.template.php where you post an image logo, it says this:

Code: [Select]
// This part is the logo and forum name.  You should be able to change this to whatever you want...
echo '
<span style="font-family: Georgia, sans-serif; font-size: large;">', '$context['forum_name']', '</span>';

you have to change it to something like this:

Code: [Select]
// This part is the logo and forum name.  You should be able to change this to whatever you want...
echo '
<span style="font-family: Georgia, sans-serif; font-size: large;">','<img src="http://www.yoursite.com/yourSMFdirectory/yourimagefolder/LOGO.jpg" alt="yoursite.com">', '</span>';

this line:  http://www.yoursite.com/yourSMFdirectory/yourimagefolder/LOGO.jpg is just a directive to where your logo is stored on your server.  You can change it to whatever you want (this is just a sample).

as long as you keep the ', ' between the html codes, you should be fine.  I even threw an Alt tag in there for ya.

Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1] Calendar and Index Menu
Post by: kirra1 on October 06, 2006, 01:23:02 PM
Hi,

I've been messing with this theme quite a bit and have gotten to know the ins and outs fairly well, but there is one thing I just cannot figure out.

And that is how to add additional buttons to the menu on the index template.  I have no clue?

Also, I would like to know how to display the calendar directly on the main page (preferably, in the section where the Upcoming Events are displayed within the Info Center...just replace all of the event listings with the calendar).  I wish there was a checkbox you could click to do this...but I'll take the coded way too.

This is the best template I have come across for use on a rock website forum.  With some tweaking, you can make the smfcalendar module post events/rockshows through SSI onto just about any page on your site, make it easy to post shows, easy to keep things organized.  It's pretty great (but could be even better with some more tweaking).

Anyway, I'll post my mods and tweaks after this.  If you can answer any of my questions, that would be great.
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1] Events/Calendar Mods
Post by: kirra1 on October 06, 2006, 02:04:50 PM
If you're like me, you hate the way the events display in the standard Calendar module.  They're all jumbled together in one big line, with hardly enough textarea to post any information.

Here is a quick fix for both problems, but first the textarea problem.

The standard length for two boxes are fairly short (I can't remember what the values are offhand, but basically they truncate valuable info from your event title/subject title lines when you submit a new event.

My solution to this problem is as follows:

Enter the BlackDay theme folder on your server, and find the Post.template.php file. 

Open this file in Wordpad (since this fix is only going to take a second)

Hit CTRL+F (find on this page) and search for the match phrase maxlength.

The first hit should put you in the tag next to "evtitle"

Change the value of "maxlength" to 600 , but also change the value of "size" to 100 so the line looks like this.

Code: [Select]
<input type="text" name="evtitle" maxlength="600" size="100" value="', $context['event']['title'], '" tabindex="', $context['tabindex']++, '" />
Press CTRL+F again, to find the next hit on "maxlength".

Again, change the values of "maxlength" to 600 and "size" to 100, so the line will look like this:

Code: [Select]
<input type="text" name="subject"', $context['subject'] == '' ? '' : ' value="' . $context['subject'] . '"', ' tabindex="', $context['tabindex']++, '" size="100" maxlength="600" />
Save the file, reload it onto your server, and you should now see that you have extended the forms for your Subject and Event boxes across your site (which now means that you can have longer Subjects for new posts).



The next fix has to do with the way events display on the front page of the BlackDay theme.  It's fairly simple once you realize why they display the way they do (there aren't any line breaks!).

What you want to do (again, since this fix will be easy with this code) is open BoardIndex.template.php in something simple like Wordpad.

Press CTRL+F and search for the phrase "together" (it only occurs once in this file, and is the simplest way to find your place in the code).

You will come to a line that says //events like community get togethers

Replace the entire block of code (from //events like community get togethers to //Show a little help text...) with this new one:

Code: [Select]
// Events like community get-togethers.
if (!empty($context['calendar_events']))
{
echo '
<span style="color: #', $modSettings['cal_eventcolor'], ';">', $context['calendar_only_today'] ? $txt['calendar4'] : $txt['calendar4b'], '</span> ';
/* Each event in calendar_events should have:
title, href, is_last, can_edit (are they allowed?), modify_href, and is_today. */
foreach ($context['calendar_events'] as $event)
echo '
', $event['can_edit'] ? '<a href="' . $event['modify_href'] . '" style="color: #FF0000;">*</a> ' : '', $event['href'] == '' ? '' : '<a href="' . $event['href'] . '">', $event['is_today'] ?'<b>' . $event['title'] . '</b>' : $event['title'], $event['href'] == '' ? '' : '</a>', $event['is_last'] ?'<br />': ', <br />';

Just cut and paste it (the easiest way).

Save the file, and reload it onto your server.  Also, be sure you have "posting events on the frontpage" enabled.

This piece of code will post your events in a single column, instead of the paragraph long event jumble (which is standard).  All it does is add line breaks where they should be.
Title: Re: [Theme] BlackDay [SMF1.1] Javascript PopUp Code (open new window)
Post by: kirra1 on October 06, 2006, 02:44:44 PM
I wanted to add a Flash Mp3 (for use with the http://www.jeroenwijering.com/?item=Flash_MP3_Player) player to the BlackDay Theme for use on my website, so users could browse the site and listen to music at the same time.

The problem is that when you browse the site, if the player is encoded into the actual theme, the player will restart every time the page is changed.

The most efficient way to add a Flash Mp3 player is to enable BlackDay to open a new Javascript window that users can minimize while browsing your site.

To add a javascript code (available on any page) you must do two things:  embed a Javascript code to the index.template.php file before you come to the </head> tag, and then add a link to your new window (which I put conveniently in the NewsBox).

Here's how to do it:

1. Open index.template.php (again, I use Wordpad because this is going to be quick)

2. Press CTRL+F and search for </head>.

Here you will come to the end of another script (marked by the </script> tag, followed by </head>).

Put your cursor behind the </script> tag and hit enter a few times to give yourself a little space to work in.

3. Here you will enter the code for your Javascript PopUp window (which opens a new window) between </script> and </head>.  Enter this code (and obviously, change what you need to change to suit your needs)

Code: [Select]
<script>function launch() { mp3player=window.open("http://www.yoursite.com/flash_mp3_player/mp3player.html","mp3","width=300,height=300,top=10,left=20,resizable=no,scrollbars=no,menubar=no,toolbar=no,status=no,location=no") }
</script>

Please note:  You must have your Flash Mp3 Player loaded into the correct directory at this time...in the code above I loaded the player in this directory...you may use a different one (but I would try and use this one just for the sake of getting it to work right away).  Since the MP3 players default size is 300 wide by 300 high, I used those sizes for the popup window size as well (to keep it looking clean).

4.  Save the file, and reload it onto your server.

/end of step one.



Step Two:  Adding your popup link

It doesn't get much easier than this part.   For the sake of convenience, I added the link which will pop up the player window to the BlackDay theme Newsbox (since it is available on every page...I suppose you could also add it to the Footer if you want).

Yeah, so basically all you need to do is add a link to the Javascript, which would be this:

Code: [Select]
<a href="javascript:launch()">and then type in something, or use a picture or whatever</a>
/end of step two



Step Three:  editing the HTML page (mp3player.html)

Again, fairly straightforward.  Find the page mp3player.html and change the code to this (and only this, because I've already stripped out all the margins for you, so it should look perfect right away):

Code: [Select]
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>YOUR SITE TITLE</title>

</head>

<body style="margin:0px; background-color:#000000;">
<!--
Here starts the code you can to copy to your website. You can change the 'width'
and 'height' parameters to whatever dimensions you want the player to be. Note
that these parameters appear twice, so you need to set them twice!
 -->

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="300" height="300" id="mp3player"
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" >
    <param name="movie" value="mp3player.swf" />
    <embed src="mp3player.swf" width="300" height="300" name="mp3player"
    type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>

<!-- this is the end of the code you need -->
</body>
</html>

Save the page, and reload it on your server.

That's pretty much it.  There are some things you will wish to do on your own (like add a new background to the Flash Player, which will be a 300 by 300 image of whatever you would like), change the playlist.xml, and add your own songs (be sure to edit the playlist.xml file after you add original music to your /mp3 directory to incorporate new titles, files, etc.
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: Malek on August 27, 2007, 04:05:42 PM
I wanted to add Users online Today (http://www.simplemachines.org/community/index.php?topic=55513.0) mod but I when It came to modyfing BlackDay's BoardIndex.template.php I couldn't find lines to which the code refered to. Anyone know where to add it (assuming it is possible). Problematic code part below:

Code: [Select]
<file name="$themedir/BoardIndex.template.php">
<operation>
<search position="before"><![CDATA[ ', $txt['most_online_ever'], ': ', $modSettings['mostOnline'], ' (' , timeformat($modSettings['mostDate']), ')
</span>
</td>
</tr>';
]]></search>
<add><![CDATA[
// Users online today

echo '
<tr>
<td class="titlebg" colspan="2">', $txt['uot_users_online_today'], '</td>
</tr><tr>
<td class="windowbg" width="20" valign="middle" align="center">
<img src="', $settings['images_url'], '/icons/online.gif" alt="', $txt['uot_users_online_today'], '" border="0" />
</td>
<td class="windowbg2" width="100%">';

echo '
<div class="smalltext">';

  echo $txt['uot_total'], ': <b>', $context['num_users_online_today'], '</b>';
  if (!$context['user']['is_guest'])
  echo ' (', $txt['uot_visible'], ': ', ($context['num_users_online_today'] - $context['num_hidden_users_online_today']), ', ', $txt['uot_hidden'], ': ', $context['num_hidden_users_online_today'], ')';

// Assuming there ARE users online... each user in users_online has an id, username, name, group, href, and link.
if (!empty($context['users_online_today']) && !$context['user']['is_guest'])
echo '<br />', implode(', ', $context['list_users_online_today']);

echo '
<br />', $context['show_stats'] && !$settings['show_sp1_info'] ? '
<a href="' . $scripturl . '?action=stats">' . $txt['smf223'] . '</a>' : '', '
</div>
</td>
</tr>';]]>
</add>
</operation>
</file>
Title: Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
Post by: Deaks on January 10, 2008, 09:51:52 AM
topic is now locked please refer to:

http://www.simplemachines.org/community/index.php?topic=79393.0