Advertisement:

Author Topic: [Theme] BlackDay [SMF 1.0.5 & 1.1]  (Read 114371 times)

Offline n1kki6

  • Jr. Member
  • **
  • Posts: 193
Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
« Reply #100 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.

Offline raiderray

  • Semi-Newbie
  • *
  • Posts: 21
Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
« Reply #101 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!

Offline Skuggi

  • Semi-Newbie
  • *
  • Posts: 20
Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
« Reply #102 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.

Offline crazystu

  • Jr. Member
  • **
  • Posts: 372
  • Gender: Male
  • Previously nesianstyles
Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
« Reply #103 on: February 26, 2006, 01:28:39 PM »
make sure you have the right version of this theme on the right version of smf...

Offline AmyB

  • Newbie
  • *
  • Posts: 1
Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
« Reply #104 on: February 26, 2006, 09:48:47 PM »
Hi Nesianstyles!

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

just thanks!

hxxp:www.shockingjesus.com/forum [nonactive]
« Last Edit: February 26, 2006, 10:11:06 PM by AmyB »

Offline Jiveturkey

  • Jr. Member
  • **
  • Posts: 184
Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
« Reply #105 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.

Offline ghazz

  • Newbie
  • *
  • Posts: 2
Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
« Reply #106 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.

Offline Jiveturkey

  • Jr. Member
  • **
  • Posts: 184
Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
« Reply #107 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.


Offline Jettero

  • Newbie
  • *
  • Posts: 5
  • Gender: Male
How to change sticky topic background?
« Reply #108 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

Offline crazystu

  • Jr. Member
  • **
  • Posts: 372
  • Gender: Male
  • Previously nesianstyles
Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
« Reply #109 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.

Offline Johnnybdesign

  • Newbie
  • *
  • Posts: 6
Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
« Reply #110 on: July 10, 2006, 05:22:37 PM »
Hi, I am using the BlackDay theme (which I love by the way!) on my website hxxp:johnnybdesign.com [nonactive]

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.

Offline Johnnybdesign

  • Newbie
  • *
  • Posts: 6
Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
« Reply #111 on: July 10, 2006, 11:42:10 PM »
Problem solved. I was working BlackDay 1.1 with the outdated SMF 1.0.5 version.

Offline ismile

  • Semi-Newbie
  • *
  • Posts: 22
Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
« Reply #112 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

Offline Steffen

  • Semi-Newbie
  • *
  • Posts: 11
Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
« Reply #113 on: August 05, 2006, 09:36:28 AM »
hmm download doesn't work ^^

Offline SN95Forums

  • Jr. Member
  • **
  • Posts: 234
Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
« Reply #114 on: August 24, 2006, 08:54:05 PM »

Offline DaleJr8

  • Semi-Newbie
  • *
  • Posts: 17
Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
« Reply #115 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?

Offline kirra1

  • Newbie
  • *
  • Posts: 8
Re: [Theme] BlackDay [SMF 1.0.5 & 1.1]
« Reply #116 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:  hxxp:www.yoursite.com/yourSMFdirectory/yourimagefolder/LOGO.jpg [nonactive] 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.

« Last Edit: October 06, 2006, 02:14:45 PM by kirra1 »

Offline kirra1

  • Newbie
  • *
  • Posts: 8
Re: [Theme] BlackDay [SMF 1.0.5 & 1.1] Calendar and Index Menu
« Reply #117 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.

Offline kirra1

  • Newbie
  • *
  • Posts: 8
Re: [Theme] BlackDay [SMF 1.0.5 & 1.1] Events/Calendar Mods
« Reply #118 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.

Offline kirra1

  • Newbie
  • *
  • Posts: 8
Re: [Theme] BlackDay [SMF1.1] Javascript PopUp Code (open new window)
« Reply #119 on: October 06, 2006, 02:44:44 PM »
I wanted to add a Flash Mp3 (for use with the hxxp:www.jeroenwijering.com/?item=Flash_MP3_Player [nonactive]) 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.
« Last Edit: October 06, 2006, 02:48:27 PM by kirra1 »