PitchBlack for 1.0.5 is now availible!
best viewed in a 1024 x 768 res.
Live Demo (http://model98.org/forum/index.php?;theme=11)
Thumbnail (thumbnail taken by xenovanis :P):
(http://model98.org/forum/Themes/NightFell2/images/thumbnail.gif)
Screenshot (http://img228.imageshack.us/img228/2466/pitchblacktheme8gr.png)
1.1 vesion coming soon.
It has an 'html box' similar to helios. You can add your own html content to the header of the forum.
It also has a custom copyright function, and a built-in rules page.
Looks good :).
looks cool, so basicaly your saying its Nightfell v2
yeah. But i decided to pull a Bloc... :P (Helios and Cerberus)
Wow looks really nice. :)
One of my favorite themes I have seen, great job. ;)
Wow, you have outdone yourself with this theme Tippmaster, one of the best dark themes I have seen ;)
glad you guys like it :)
Tipp, can we get a RC1 version as well? that would be pure sickness!
i might need help updating it. I dont feel like bothering bloc to help me again.
Quote from: Tippmaster on September 24, 2005, 10:40:21 PM
i might need help updating it. I dont feel like bothering bloc to help me again.
Use WinMerge.
RC 1.1 would be a great addition :)
If I could download this, it would be tremendous
nope. Still underconstruction.
To do-
A. ) change the images to link off the images directory url setting, not just http://model98.org/forum/Themes/blah etc....
No bandwidth for yoo!
B.) validate it.
C.) fix the width of every other template [/long time]
D.) finish the footer menu.
E.) finish the meta keywords manager [/new feature]
and stuff.
Im depressed now. I pretty much need to upgrade it to 1.1 to see widespread use. :(
(even though i think ill stick with 1.0 on my site forever)
Why do you have to change the width? What's wrong with it being at 100%? Also, check your PMs.
it's a bit hard to explain.
The main background of the forum includes the two gradients on the side (Click Here if that didnt make sense) (http://model98.org/forum/Themes/NightFell2/images/mainbg.gif)
I dont want the templates hanging over those gradients, so i have to fix the widths of them.
(go to the message index. I didnt do it there yet, go see how bad it looks)
[update]
added "custom header" option.
You can put anything here, a description, images, etc. Editable throught the admincp under current themes settings.
See it (http://model98.org/forum/index.php?;theme=11)
man, this theme is tha bomb! Hope someone will help tip with the upgrade! 8)
ill try and do it myself.
The best black template I've seen yet. Good job and when will it be ready! :)
-Jazhawk
Thanks.
I cant really say when it will be released. It WILL be released, and as soon as possible, but i do have...a life. ;D
In progress:
Feature which allows you to hide post count and post-count rank.
Feature which shows a users registration-date on posts.
Im expecting it to all be done and packaged up by the end of this week.
Quote from: Tippmaster on September 27, 2005, 04:19:05 PM
Thanks.
I cant really say when it will be released. It WILL be released, and as soon as possible, but i do have...a life. ;D
In progress:
Feature which allows you to hide post count and post-count rank.
Feature which shows a users registration-date on posts.
Im expecting it to all be done and packaged up by the end of this week.
Hey, this is a nice theme. Don't rush it out before it's time. Monday is cool. :)
-Jazhawk
now availible for download. :) see first post.
1.1 coming soon.
Users Online Today doesn't show up with this theme. :( Can this be tweaked?
-Jazhawk
did you actually modify the files to make it show up?
Quote from: Tippmaster on October 04, 2005, 04:01:25 PM
did you actually modify the files to make it show up?
No. Not manually that is. Some templates see this automatically and some don't. Usually the template developer builds in some way to detect for it. It DID detect the mod I installed for streaming. I have another template (WINDOWS XP) that doesn't.
I'm using it now and it's really nice. It looks good on the screen.
-Jazhawk
im pretty sure the only way for mods to display on other themes is if it does not use the templates modified on it's own - meaning it uses the defaults, which are modified by the package manager. no mods can modify other themes through the package manager.
you may be thinking of helios, which had a mod "preinstalled"..errmm something. But other than that, they cant really "detect" anything.
Glad you like it. :)
You are probably right. I need to check to see if I need to turn something on in the admin section of this template. I'll let you know what happens.
-Jazhawk
I really enjoy this skin, thanks for making it - my users are all very happy with it also.
I am waiting to update to 1.1 just so I have your skin when I do so.
Thanks Again!
This theme is hot...once it is out for RC1 i am 100% sure this theme will be install in my forum...this theme remind me of a IPB theme...GJ... ;)
Quote from: xd3vilx on October 05, 2005, 08:13:11 AM
This theme is hot...once it is out for RC1 i am 100% sure this theme will be install in my forum...this theme remind me of a IPB theme...GJ... ;)
Isn't it a beautiful theme?? I need it for my RC 1.1 board so whenever it's ready...
-Jazhawk
thanks guys.
will be updated as soon as possible. Im working on a new theme...
if any of you guys need a theme banner or extra buttons, just let me know.
cant wait to see this on 1.1rc1, looks awsome man!
What an amazing theme! Shows that you've put alot of work in it.
one of the best themes i've seen so far ^_^
thanks gaia. :)
Very nice indeed!
thanks.
I found a few alignment problems with the theme in certain browsers. will update asap.
Some additional buttons attatched to first post. If any more are needed, post here and ill make them asap.
Tipp when you making this for RC 1
or are you waiting for the next release
is great!! i need spanish buttons please!
post here, the source
thanks!
you want the button png, is what you're saying?
A question. I am getting this error in the log, but it does not seem to have any direct visual or operational effect. Should I just ignore it? It occurs everytime a thread is viewed.
8: Undefined index: current_FFic
File: /home/alaerth/public_html/forum/Themes/Pitchblack10/Display.template.php (eval?)
Line: 110
Thanks again for a great theme. I would change it over to 1.1 myself, but I assume it would take too long since I would have to learn what to change.
Quote from: Tippmaster on October 23, 2005, 06:19:12 PM
you want the button png, is what you're saying?
yes please! the .png for create with spanish text... is posible?
sorry for my english
sure, i appreciate it. ill pm it to you.
Quote from: Cyphran on October 26, 2005, 01:20:45 PM
A question. I am getting this error in the log, but it does not seem to have any direct visual or operational effect. Should I just ignore it? It occurs everytime a thread is viewed.
8: Undefined index: current_FFic
File: /home/alaerth/public_html/forum/Themes/Pitchblack10/Display.template.php (eval?)
Line: 110
Thanks again for a great theme. I would change it over to 1.1 myself, but I assume it would take too long since I would have to learn what to change.
i really dont know what the problem is. i dont even know what current_FFic is. Im sure someone knows.
hello, do you think you'll create french buttons ?
ok.
ANy chance Tip on this going rC1?
It's going to be updated to 1.1 final, when it's availible.
Cool, that makes me happy. I tried to convert it myself, but I was having some problems with a few table calls.
just to let u know i am adding your theme to my site!
Tippmaster, as requested. :)
<?php
// Version: 1.0; index
/* This template is, perhaps, the most important template in the theme. It
contains the main template layer that displays the header and footer of
the forum, namely with main_above and main_below. It also contains the
menu sub template, which appropriately displays the menu; the init sub
template, which is there to set the theme up; (init can be missing.) and
the linktree sub template, which sorts out the link tree.
The init sub template should load any data and set any hardcoded options.
The main_above sub template is what is shown above the main content, and
should contain anything that should be shown up there.
The main_below sub template, conversely, is shown after the main content.
It should probably contain the copyright statement and some other things.
The linktree sub template should display the link tree, using the data
in the $context['linktree'] variable.
The menu sub template should display all the relevant buttons the user
wants and or needs.
For more information on the templating system, please see the site at:
http://www.simplemachines.org/
*/
// Initialize the template... mainly little settings.
function template_init()
{
global $context, $settings, $options, $txt;
/* Use images from default theme when using templates from the default theme?
if this is 'always', images from the default theme will be used.
if this is 'defaults', images from the default theme will only be used with default templates.
if this is 'never' or isn't set at all, images from the default theme will not be used. */
$settings['use_default_images'] = 'never';
/* What document type definition is being used? (for font size and other issues.)
'xhtml' for an XHTML 1.0 document type definition.
'html' for an HTML 4.01 document type definition. */
$settings['doctype'] = 'xhtml';
$settings['catch_action'] = array('sub_template' => 'action_wrap');
}
function template_action_wrap()
{
global $context, $settings, $options, $scripturl, $txt;
if (@$_REQUEST['action'] == 'tos')
echo doUBBC(file_get_contents('agreement.txt'));
else
echo '
<h4>404 Error</h4>
<p>Sorry, the page you were looking for does not exist.<br>
Please go <a href="javascript:history.go(-1);">back</a> or
view the <a href="', $scripturl, '">forum index</a>. If you followed a valid link, please contact the forum administrator.';
}
// The main sub template above the content.
function template_main_above()
{
global $context, $settings, $options, $scripturl, $txt, $modSettings;
// Show right to left and the character set for ease of translating.
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html', $context['right_to_left'] ? ' dir="rtl"' : '', '><head>
<meta http-equiv="Content-Type" content="text/html; charset=', $context['character_set'], '" />
<meta name="description" content="', $context['page_title'], '" />
<meta name="keywords" content="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />
<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/script.js"></script>
<script language="JavaScript" type="text/javascript"><!--
var smf_theme_url = "', $settings['theme_url'], '";
var smf_images_url = "', $settings['images_url'], '";
// --></script>
<title>', $context['page_title'], '</title>';
// This is here because Gecko browsers properly support white-space....
if ($context['browser']['is_gecko'])
echo '
<style type="text/css"><!--
.code
{
white-space: pre;
}
--></style>';
echo '
<link rel="stylesheet" type="text/css" href="', $settings['theme_url'], '/style.css" />';
/* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)
Thus, in Internet Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.
Note that this is affected by whether IE 6 is in standards compliance mode.. if not, it will also be big.
Standards compliance mode happens when you use xhtml... */
if ($context['browser']['needs_size_fix'])
echo '
<link rel="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';
// Show all the relative links, such as help, search, contents, and the like.
echo '
<link rel="help" href="', $scripturl, '?action=help" target="_blank" />
<link rel="search" href="' . $scripturl . '?action=search" />
<link rel="contents" href="', $scripturl, '" />';
// If we're viewing a topic, these should be the previous and next topics, respectively.
if (!empty($context['current_topic']))
echo '
<link rel="prev" href="' . $scripturl . '?action=;topic=' . $context['current_topic'] . '.0;prev_next=prev" />
<link rel="next" href="' . $scripturl . '?action=;topic=' . $context['current_topic'] . '.0;prev_next=next" />';
// If we're in a board, or a topic for that matter, the index will be the board's index.
if (!empty($context['current_board']))
echo '
<link rel="index" href="' . $scripturl . '?action=;board=' . $context['current_board'] . '.0" />';
// We'll have to use the cookie to remember the header...
if ($context['user']['is_guest'])
$options['collapse_header'] = !empty($_COOKIE['upshrink']);
// Output any remaining HTML headers. (from mods, maybe?)
echo $context['html_headers'], '
<script language="JavaScript" type="text/javascript"><!--
var current_header = ', empty($options['collapse_header']) ? 'false' : 'true', ';
function shrinkHeader(mode)
{';
// Guests don't have theme options!!
if ($context['user']['is_guest'])
echo '
document.cookie = "upshrink=" + (mode ? 1 : 0);';
else
echo '
document.getElementById("upshrinkTemp").src = "', $scripturl, '?action=jsoption;var=collapse_header;val=" + (mode ? 1 : 0) + ";sesc=', $context['session_id'], ';" + (new Date().getTime());';
echo '
document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/upshrink.gif");
document.getElementById("upshrinkHeader").style.display = mode ? "none" : "";
current_header = mode;
}
// --></script>
<script type="text/javascript" src="', $settings['theme_url'], '/rollover.js">
/***********************************************
* DOM Image Rollover II- By Adam Smith (http://www.codevendor.com)
* Script featured on and available at Dynamic Drive (http://www.dynamicdrive.com)
* Keep this notice intact for usage please
***********************************************/
</script>
</head>
<body><center><table width="803" cellspacing="0" style="border: 1px solid black"><tr><td width="100%" align="left">';
// Because of the way width/padding are calculated, we have to tell Internet Explorer 4 and 5 that the content should be 100% wide. (or else it will assume about 108%!)
echo '
<div id="headerarea" style="padding: 12px 30px 4px 30px;', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' width: 100%;' : '', '">';
// The logo and the three info boxes.
echo '
<table cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="position: relative;">
<tr>
<td colspan="2" valign="bottom" style="padding: 5px; white-space: nowrap;">';
// The header, with the logo, news, menu, and user info
echo '
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="170" height="26" align="left" valign="top"><img src="' . $settings['images_url'] . '/topleft.gif" width="170" height="27" alt=" " border="0" /></td>
<td width="100%" style="background-image:url(' . $settings['images_url'] . '/topgrad.gif)" align="center" valign="middle"><b>',$context['forum_name'],'</b></td>
<td width="170" height="27" align="right" valign="top"><img src="' . $settings['images_url'] . '/topright.gif" width="170" height="27" alt=" " border="0" /></td>
</tr>
</table>
<table width="100%" cellspacing="0" style="border 1px solid black" cellpadding="0"><tr><td width="100%" height="50" style="border: 1px solid black;" valign="bottom" align="right"><img src="' . $settings['images_url'] . '/logopitchblack.gif" height="101" width="600" style="float: left"/></td></tr><tr><td height="25" width="100%" background="' . $settings['images_url'] . '/titlebg.jpg" style="border: 1px solid black; padding-right: 2px;" align="right" valign="center"><img src="' . $settings['images_url'] . '/navbg2.gif" height="25" width="130" style="float: left"/><a href="#collapse" 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'], '" border="0" /></a><img id="upshrinkTemp" src="', $settings['images_url'], '/blank.gif" alt="" style="margin-right: 2ex;" />';
template_menu();
echo'</td></tr><tr id="upshrinkHeader"><td style="border: 1px solid black; padding-left: 15px; padding-right: 15px;">';
// 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>', $context['allow_pm'] ? ', ' . $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']) : '', '.';
// 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'];
// Is the forum in maintenance mode?
if ($context['in_maintenance'] && $context['user']['is_admin'])
echo '<br />
<b>', $txt[616], '</b>';
}
// Otherwise they're a guest - so rudely ask them to register or login.
else
echo '
', $txt['welcome_guest'];
echo '
' , $context['user']['is_logged'] ? '<br/><a href="index.php?action=unread">Show new posts.</a> <a href="index.php?action=unreadreplies">Show new replies.</a> <a href="index.php?action=unread;all">Show all unread.</a>' : '' , '<font style="float: right">News: ', $context['random_news_line'], '</font></td></tr></table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="170" height="17" align="left" valign="top"><img src="' . $settings['images_url'] . '/botleft.gif" width="170" height="17" alt="" border="0" /></td>
<td width="100%" style="background-image:url(' . $settings['images_url'] . '/bot.gif)" align="center" valign="middle"></td>
<td width="170" height="17" align="right" valign="top"><img src="' . $settings['images_url'] . '/botright.gif" width="170" height="17" alt="" border="0" /></td>
</tr>
</table>';
echo '
</td>
</tr>
</table>
';
// The Custom Content
echo '', $settings['forum_about'], '<p/>';
// The guest login panel. only show it if the user is a guest.duh?
echo' ' , $context['user']['is_guest'] ? '<table class="windowbg" align="right"><tr><td><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" /><input type="submit" value="'. $txt[34]. '" /><br /></form></td></tr></table>' : '' , '
</div>';
// The main content should go here. A table is used because IE 6 just can't handle a div.
echo '
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr>
<td id="bodyarea" style="padding: 1ex 20px 2ex 20px;">';
}
function template_main_below()
{
global $context, $settings, $options, $scripturl, $txt;
echo '</td>
</tr></table>';
// Show the miscellanious links, as well as the copyright. Remeber, the copyright must be visible.
echo '
<div align="center">
<table border="1" width="701" height="30" bordercolor="#000107" bgcolor="#252F38" style="border-collapse: collapse; margin-bottom: 1px; margin-top: 1px;" >
<tr>
<td>
<marquee behavior=scroll direction="left" align="center" onmouseover="this.stop()" onmouseout="this.start()" width="100%" height="30">
<a href="http://www.zabaware.com/" target="_blank"><img src="http:/72.240.116.125/dg/dgforum/AffiliateBanners/zabaware.gif" width="88" height="31" border="0" alt="Zabaware - The home of UltraHal"></a>
<a> </a>
<a href="http://www.regnow.com/softsell/nph-softsell.cgi?item=10335-1&affiliate=48642/" target="_blank"><img src="http:/72.240.116.125/dg/dgforum/AffiliateBanners/buyhal.gif" width="88" height="31" border="0" alt="Buy Ultrahal6 Through DigitalGirl"></a>
<a> </a>
<a href="http://www.haptek.com/" target="_blank"><img src="http://http:/72.240.116.125/dg/dgforum/AffiliateBanners/haptek.gif" width="88" height="31" border="0" alt="Haptek & PeoplePutty"></a>
<a> </a>
<a href="http://knytetrypper.com/index.html/" target="_blank"><img src="http:/72.240.116.125/dg/dgforum/AffiliateBanners/knytetrypper.gif" width="88" height="31" border="0" alt="KnyteTrypper Home"></a>
<a> </a>
<a href="http://fuzziedice.com/ai/" target="_blank"><img src="http:/72.240.116.125/dg/dgforum/AffiliateBanners/fdlogo.gif" width="88" height="31" border="0" alt="Fuzzie Dice - AI & KITT"></a>
<a> </a>
<a href="http://www.alicebot.org/" target="_blank"><img src="http:/72.240.116.125/dg/dgforum/AffiliateBanners/alice.gif" width="88" height="31" border="0" alt="A.L.I.C.E. - Artificial Intelligence Foundation"></a>
<a> </a>
<a href="http://www.worldchatterbots.com/" target="_blank"><img src="http:/72.240.116.125/dg/dgforum/AffiliateBanners/worldchatterbots.gif" width="88" height="31" border="0" alt="Bot Central"></a>
<a> </a>
<a href="http://knytetrypper.com/ain.html/" target="_blank"><img src="http:/72.240.116.125/dg/dgforum/AffiliateBanners/ainexus.gif" width="88" height="31" border="0" alt="The AI Nexus"></a>
<a> </a>
<a href="http://www.clone3d.com/" target="_blank"><img src="http:/72.240.116.125/dg/dgforum/AffiliateBanners/clone3dSML.gif" width="88" height="31" border="0" alt="The Home of Mr Mind"></a>
</a></marquee></td>
</tr>
</table>
<div id="footerarea" style="text-align: center; padding-bottom: 1ex;', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' width: 100%;' : '', '">
<script language="JavaScript" type="text/javascript"><!--
function smfFooterHighlight(element, value)
{
element.src = smf_images_url + "/" + (value ? "h_" : "") + element.id + ".gif";
}
// --></script>
<table cellspacing="0" cellpadding="3" border="0" align="center" width="90%">
<tr>
<td width="40%" valign="middle" align="left">
<font size="1">',$txt[9000],'</font>
</td>
<td width="28%" valign="middle" align="left">
</td><td valign="middle" align="center" style="white-space: nowrap;">
', theme_copyright(), ' <br><font size="1">', $settings['custom_copyright'], '</font>
</td>
</tr>
</table>';
// Show the load time?
if ($context['show_load_time'])
echo '
<span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $context['load_queries'], $txt['smf302b'], '</span>';
echo '
<center><table width="700"><tr><td width="100%" background="' . $settings['images_url'] . '/titlebg.jpg" align="center" style="border: 1px solid black"><a href="#"><img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/top.gif" border="0" style="float: left"/></a><font color="#333333"> ', $context['current_time'], '</font><a href="#back" onClick="history.go(-1)"><img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/goback.gif" border="0" style="float: right"/></a></td></tr></table></center><p/><center><a href="index.php?;action=tos">Terms of use</a></center></div>
';
// This is an interesting bug in Internet Explorer AND Safari. Rather annoying, it makes overflows just not tall enough.
if ($context['browser']['is_ie'] && !$context['browser']['is_ie4'] || $context['browser']['is_mac_ie'] || $context['browser']['is_safari'])
{
// The purpose of this code is to fix the height of overflow: auto div blocks, because IE can't figure it out for itself.
echo '
<script language="JavaScript" type="text/javascript"><!--';
// Unfortunately, Safari does not have a "getComputedStyle" implementation yet, so we have to just do it to code...
if ($context['browser']['is_safari'])
echo '
window.addEventListener("load", smf_codeFix, false);
function smf_codeFix()
{
var codeFix = document.getElementsByTagName ? document.getElementsByTagName("div") : document.all.tags("div");
for (var i = 0; i < codeFix.length; i++)
{
if (codeFix.className == "code" && codeFix.offsetHeight < 20)
codeFix.style.height = (codeFix.offsetHeight + 20) + "px";
}
}';
else
{
echo '
var window_oldOnload = window.onload;
window.onload = smf_codeFix;
function smf_codeFix()
{
var codeFix = document.getElementsByTagName ? document.getElementsByTagName("div") : document.all.tags("div");
for (var i = 0; i < codeFix.length; i++)
{
if (codeFix.currentStyle.overflow == "auto" && (codeFix.currentStyle.height == "" || codeFix.currentStyle.height == "auto") && (codeFix.scrollWidth > codeFix.clientWidth || codeFix.clientWidth == 0))
codeFix.style.height = (codeFix.offsetHeight + 36) + "px";
}
if (window_oldOnload)
window_oldOnload();
}';
}
echo '
// --></script>';
}
echo '
</td></tr></table></center></body>
</html>';
}
// Show a linktree. This is that thing that shows "My Community | General Category | General Discussion"..
function theme_linktree()
{
global $context, $settings, $options;
// Folder style or inline? Inline has a smaller font.
echo '<span class="nav"', $settings['linktree_inline'] ? ' style="font-size: smaller;"' : '', '>';
// Each tree item has a URL and name. Some may have extra_before and extra_after.
foreach ($context['linktree'] as $link_num => $tree)
{
// Show the | | |-[] Folders.
if (!$settings['linktree_inline'])
{
if ($link_num > 0)
echo str_repeat('<img src="' . $settings['images_url'] . '/icons/linktree_main.gif" alt="| " border="0" />', $link_num - 1), '<img src="' . $settings['images_url'] . '/icons/linktree_side.gif" alt="|-" border="0" />';
echo '<img src="' . $settings['images_url'] . '/icons/folder_open.gif" alt="+" border="0" /> ';
}
// Show something before the link?
if (isset($tree['extra_before']))
echo $tree['extra_before'];
// Show the link, including a URL if it should have one.
echo '<b>', $settings['linktree_link'] && isset($tree['url']) ? '<a href="' . $tree['url'] . '" class="nav">' . $tree['name'] . '</a>' : $tree['name'], '</b>';
// Show something after the link...?
if (isset($tree['extra_after']))
echo $tree['extra_after'];
// Don't show a separator for the last one.
if ($link_num != count($context['linktree']) - 1)
echo $settings['linktree_inline'] ? ' | ' : '<br />';
}
echo '</span>';
}
// Show the menu up top. Something like [home] [help] [profile] [logout]...
function template_menu()
{
global $context, $settings, $options, $scripturl, $txt;
// Show the [home] and [help] buttons.
echo '
<a href="', $scripturl, '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/home.gif" alt="' . $txt[103] . '" style="margin: 2px 0;" border="0" srcover="' . $settings['images_url'] . '/' . $context['user']['language'] . '/home_hov.gif""/>' : $txt[103]), '</a>', $context['menu_separator'], '
<a href="', $scripturl, '?action=help" target="_blank">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/help.gif" alt="' . $txt[119] . '" style="margin: 2px 0;" border="0" srcover="' . $settings['images_url'] . '/' . $context['user']['language'] . '/help_hov.gif"/>' : $txt[119]), '</a>', $context['menu_separator'];
// How about the [search] button?
if ($context['allow_search'])
echo '
<a href="', $scripturl, '?action=search">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/search.gif" alt="' . $txt[182] . '" style="margin: 2px 0;" border="0" srcover="' . $settings['images_url'] . '/' . $context['user']['language'] . '/search_hov.gif"/>' : $txt[182]), '</a>', $context['menu_separator'];
// Is the user allowed to administrate at all? ([admin])
if ($context['allow_admin'])
echo '
<a href="', $scripturl, '?action=admin">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/admin.gif" alt="' . $txt[2] . '" style="margin: 2px 0;" border="0" srcover="' . $settings['images_url'] . '/' . $context['user']['language'] . '/admin_hov.gif"/>' : $txt[2]), '</a>', $context['menu_separator'];
// Edit Profile... [profile]
if ($context['allow_edit_profile'])
echo '
<a href="', $scripturl, '?action=profile">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/profile.gif" alt="' . $txt[79] . '" style="margin: 2px 0;" border="0" srcover="' . $settings['images_url'] . '/' . $context['user']['language'] . '/profile_hov.gif"/>' : $txt[467]), '</a>', $context['menu_separator'];
// The [calendar]!
if ($context['allow_calendar'])
echo '
<a href="', $scripturl, '?action=calendar">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/calendar.gif" alt="' . $txt['calendar24'] . '" style="margin: 2px 0;" border="0" srcover="' . $settings['images_url'] . '/' . $context['user']['language'] . '/calendar_hov.gif"/>' : $txt['calendar24']), '</a>', $context['menu_separator'];
// If the user is a guest, show [login] and [register] buttons.
if ($context['user']['is_guest'])
{
echo '
<a href="', $scripturl, '?action=login">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/login.gif" alt="' . $txt[34] . '" style="margin: 2px 0;" border="0" srcover="' . $settings['images_url'] . '/' . $context['user']['language'] . '/login_hov.gif""/>' : $txt[34]), '</a>', $context['menu_separator'], '
<a href="', $scripturl, '?action=register">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/register.gif" alt="' . $txt[97] . '" style="margin: 2px 0;" border="0" srcover="' . $settings['images_url'] . '/' . $context['user']['language'] . '/register_hov.gif"/>' : $txt[97]), '</a>';
}
// Otherwise, they might want to [logout]...
else
echo '
<a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/logout.gif" alt="' . $txt[108] . '" style="margin: 2px 0;" border="0" srcover="' . $settings['images_url'] . '/' . $context['user']['language'] . '/logout_hov2.gif"/>' : $txt[108]), '</a>';
}
?>
Great job.. do you think you will make it with the update for 1.1rc1..
Although I do like this theme I don't think it really suits the title "Pitch Black"....
Because it's not really black :P
yeah, but it's dark.
IP follow mistake there
8: Undefined offset: 9000
Dosya: /home/cyber/public_html/forum/Themes/default/Themes.template.php (eval?)
satır: 260
?action=theme;sa=admin;sesc
8: Undefined offset: 9000
Dosya: /home/cyber/public_html/forum/Themes/Pitchblack/BoardIndex.template.php (eval?)
satır: 260
8: Undefined offset: 9000
Dosya: /home/cyber/public_html/forum/Themes/Pitchblack/Profile.template.php (eval?)
satır: 260
?action=profile;u=559
The Sale What I Used : 1.0.5 >:( >:(
That "Live Preview" is different. What is it?
it's my site's theme. it's overriding right now because im tuning it. a demo to pitchblack can found at..*googles* http://igniseus.com/forum/index.php?PHPSESSID=915dc9ecae822b064a272598df0946c7&
Ummm--- How do you add a banner to this templete?
And one other comment-- how come when you add a URL to Custom Content in url tags, it still wont let you click it?
Because I'm not sure how..........
Quotehow come when you add a URL to Custom Content in url tags, it still wont let you click it?
url tags? you mean <a> tags? it does...
QuoteUmmm--- How do you add a banner to this templete?
which template? more specific. i have no idea what you're asking for.
ohh-- I was using <url>
And I'm talking about the templete in the topic name...................(PitchBlack)
UPDATE: nope <a> didn't work either... Here's my code, and you can check it out for yourself here>>>>>>http://www.pspzone.mfhosting.com/smf/index.php
My Code is<a=www.psp.d4a.com>Old Site</a>
ok, your using different terminology, that's why i asked "what template"
Template - templates are files which contrtol certain parts of a theme, index.template.php controls the header and footer, boardindex.template is the board index, etc.
Theme - The whole thing..
you'll still have to be more specific. i dont know where (what template?), what kind of banner, or anything.
Quote from: PSPXavier on January 07, 2006, 05:56:35 PM
UPDATE: nope <a> didn't work either... Here's my code, and you can check it out for yourself here>>>>>>http://www.pspzone.mfhosting.com/smf/index.php
My Code is<a=www.psp.d4a.com>Old Site</a>
your code is wrong...you didnt specify a reference (url)
it should be
<a href="http://www.psp.d4a.com">Old Site</a>
take a look at html tutorials..
I'm so sorry-- I'm just an idiot...........I hope you have some patients!
Okay-- so as far as what template......Al I know is i want a banner at the top of each page........(do I make sense this time?)
ok, you're going to have to tell me where you want it. Do you just want it to replace the "simple machines" one? if so, you could just overwrite the file.
Okay-- thanks for your help! I think I get it.
Also a member of my forum asked if the names of the mods could be blue, names of the global mods could be green, and the admin's be red. Can I do this? ( this has to do with the templete right?)
I've seen it done on other sites, but I don't know how to edit the theme to get it to do that.
So anyone know?
Anyone...............anyone?
Quote from: PSPXavier on January 07, 2006, 07:29:07 PM
Okay-- thanks for your help! I think I get it.
Also a member of my forum asked if the names of the mods could be blue, names of the global mods could be green, and the admin's be red. Can I do this? ( this has to do with the templete right?)
Thats standard. Check your membergroups in the admin panel
How do you download? can you?
Amazing theme, when will this be up for download?
Is it possible to make the colours fit with www.ggc-network.co.uk
And would I be able to do that myself?
Quote from: trenchteam on January 12, 2006, 03:39:43 AM
Quote from: PSPXavier on January 07, 2006, 07:29:07 PM
Okay-- thanks for your help! I think I get it.
Also a member of my forum asked if the names of the mods could be blue, names of the global mods could be green, and the admin's be red. Can I do this? ( this has to do with the templete right?)
Thats standard. Check your membergroups in the admin panel
That's "Color in online list:" I'm talking about in every post a mod makes their name will be blue, and admin's would be red.
there is a mod for that. it doesnt have anything to do with this theme.
QuoteAmazing theme, when will this be up for download?
september 24, 2005. :P
Quote from: Tippmaster on January 12, 2006, 08:39:31 PM
there is a mod for that. it doesnt have anything to do with this theme.
QuoteAmazing theme, when will this be up for download?
september 24, 2005. :P
Does anyone have a name or URL for this mod... I can't find it anywhere....Thanks!
Look in the Mod packages. Its called Member color links. Its been updated for 1.1rc2. Im using it on my forums at shoyoroll.com
I'm having another problem with this templete... The banner doesn't show up. The old one came up only once, and then I replaced the banner.gif banner.png and banner2.png (all with same picture) and it stilll doesn't show up. Any thoughts? Check it out for yourself. www.pspzone.mfhosting.com/smf/index.php
i see some playstation banner..
did you refresh?
Quote from: Tippmaster on January 18, 2006, 04:19:34 PM
i see some playstation banner..
did you refresh?
Refresh what? You mean just the page? I have two computers and I don't see it on either. But you do?
nice....
How can I edit it so when you're veiwing a forum section the tread's are left alligned instead of center?
See what I mean: http://www.pspzone.mfhosting.com/smf/index.php?board=2.0
Doesn't anyone try to figure things out on their own anymore?
Quote from: Cyphran on January 29, 2006, 03:49:33 AM
Doesn't anyone try to figure things out on their own anymore?
Thanks for your help ::)
Nice Skin I like it
I didn't see a link providede anywhere to download this theme????
Quote from: Shawna on February 02, 2006, 10:47:51 PM
I didn't see a link providede anywhere to download this theme????
It's on the first post, first item to download..
Quote from: PSPXavier on January 28, 2006, 11:26:20 AM
How can I edit it so when you're veiwing a forum section the tread's are left alligned instead of center?
See what I mean: http://www.pspzone.mfhosting.com/smf/index.php?board=2.0
Can anyone help me?
Sorry-- I'm a little confused...
Will this work on 1.0.6
Quote from: PSPXavier on February 02, 2006, 11:29:41 PM
Quote from: Shawna on February 02, 2006, 10:47:51 PM
I didn't see a link providede anywhere to download this theme????
It's on the first post, first item to download..
Quote from: PSPXavier on January 28, 2006, 11:26:20 AM
How can I edit it so when you're veiwing a forum section the tread's are left alligned instead of center?
See what I mean: http://www.pspzone.mfhosting.com/smf/index.php?board=2.0
Can anyone help me?
Yes, I'm also lost on where that download link is. The only things on the first post are a live demo link which takes you to another forum board and a thumbnail image. Where's the download link :'(
Quote from: PSPXavier on February 06, 2006, 09:09:19 PM
Will this work on 1.0.6
yes.
Quote from: SypheR` on February 07, 2006, 06:41:03 AMYes, I'm also lost on where that download link is. The only things on the first post are a live demo link which takes you to another forum board and a thumbnail image. Where's the download link :'(
it is attatched to the first post
RIGHT HERE :)
______________________________________________________________________________________________________________
(http://img83.imageshack.us/img83/7922/untitled5iv.png)
Hi. I'll admit right off the bat, I'm still very new at setting boards but I am so pleased I found your theme to use with my first attempt. My question is regarding "child boards" and how to remove/replace the actual "child boards" wording. Thank for your assistance and the great theme.
Take care.. Twisted Tristen
Wow, this theme is so awesome. Amazing work as usual o.o; Do you think its possible for this to be made for smf 1.1 (rc1 or rc2)? Since i so wish to use this theme on my forums, though not possible since 1.1 gets errors with some pages with the theme.
im going to remake it for both versions when i find time. im finding layout screw ups with it, so ill revamp it for both versions soon.
Hey cool, thanks tippmaster! :)
Tippmaster, I have been asked to modify your theme.
The first fish was a translation to Hungarian language. It's OK, not problem.
But I got a second one: change the width snap to the browser's. Will you make a variable size version from the theme?
Thanks!
When can this be done for 1.1 RC2 please?
Could someone help me with a problem? http://webmasters-domain.net/forum/index.php
It doesn't show the middle bar (topgrad img)!
First, check to see if the actual banner.png is located in your folder Themes/main/images/banner.png
If it is, I would suggest uploading the file again since it may have become corrupted or something.
If you wouldn't mind I am having a couple of problems with the theme. I have made some changes to the banner et al, and they seem to be working fine. However, I have a problem with the login screen on Firefox. Here is what it looks like.
(http://trvlnman.no-ip.org/temp/fflogin.jpg)
as opposed to IE
(http://trvlnman.no-ip.org/temp/IElogin.jpg)
Any guidance that you could give me to fix this would be appreciated. I originally installed Pitchblack on SMF 1.0.5 but have migrated to SMF 1.1 RC2, but the problem has been there all along.
Also, on the Forum Profile Information screen, it is not showing the area where you update avatars. The personal information is there, and I looked at the code in Profile.Index.php and the code seems to be there...any suggestions? Here is a screen shot.
(http://trvlnman.no-ip.org/temp/profile_info.jpg)
Thanks so much for your help.
yeah. that's one of the problems that i was talking about. (why i am reworking the theme)
Quote from: Tippmaster on March 09, 2006, 09:27:31 PM
yeah. that's one of the problems that i was talking about. (why i am reworking the theme)
At least I am not crazy!! Thanks..
I am assuming that you are talking about the login page....
Any ideas on the avatars? When I switch to the default theme, thise fields show up.
Just so you know, I tried installing the Skype Name Mod...i had troble getting it to work and getting it unistalled correctly...I thought I replace the correct Profile.template.php and Display.template.php
Again...thanks for your help....
I am in major learning mode with all of this stuff..so please forgive the questions...
I hope this can be done for 1.1 RC2 soon
Please!! the version in spanish >:(.
Sorry for my english.
Tipp,
if you look at my previous post i did some additional testing and the problem i mention about not being able to get to the avatars is definately related to using pitchblack with SMF 1.1 rc2. i installed a version of smf 1.0.6 and this problem wasnt there. currently, no one using our board can get to the avatar area in the personal preferences in their profile. is there something that i can change that will fix this problem short of waiting for the rc2 version of this theme?
thanks again for all of your help
frank
hey tipp, thanks for making a great theme i am using it here at abusive.xergamehosting.com/TestForums/ but i can't get the shop button to show up, the default shop button shows up in the "classic" SMF theme, but i switch to Pitchblack i don't see arcade,forum,shop button, can you help me with this problem. can anyone?
Tipp this is the only theme I will probably reply to.
This theme is by far my favorite i run a cs clan website and everyone hates all the other stuff i put up (no offence)
Im running 1.1 RC2 now and a few of the features are messed up (Avatars mainly) but myself and my clan decided it stays, we can live withotu the features till you release 1.1
www.me.omuka.com I have changed the background gradient thats about it. so heres another live preview of PitchBlack and it will most likely stay this way.
Good job man, havent seen anythign that equals this, if you have somethin for 1.1 RC2 that looks as good as this let me know man, im impressed.
sapphire is similar, just blue-er.
http://www.simplemachines.org/community/index.php?topic=57867.0
if that would work untill the 1.1 version of pitchblack is done?
Glad you like it. :)
Ill check into it. If you need any hosting lemme know, currently have a unmetered deal, ill set u up a ftp with about 5gigs of space or so if you need it.
Edit: Sapphire is lookin kinda good, Ill uplaod it to my themes and see what I can do, dunno If I can edit the flash banenr to my liking though :)
lol as if you googled and found my site (www.igniseus.com - igniseus is my new nickname). using a different theme now though.
i just googled "pitchblack tippmaster" and found it.
hi nice one ,
i like to change the width ,but if you do ,there is a little bad in there(look screenshot)
http://mitglied.lycos.de/aufruhr/Neu Bitmap.PNG (http://mitglied.lycos.de/aufruhr/Neu%20Bitmap.PNG)
i want the pillar move to the rite side.but i dont know which part it is in the template
any update to 1.1rc2? :(
Can u post a link so I can download it?
Thanks
download is in the first post of the thread.
BTW, i have off all week. So ill probabally have this theme updated soon. Maybe even a new theme altogether. :)
I just found this theme.
I figured NO smf theme could beat any IPB theme, but I was wrong.
I liked sapphire, but it just didn't suit me completely.
You have outdone yourself, and have earned my complete resepect.
Your sir, are my favorite themer of SMF.
wow, thanks, that means a lot to me.
BTW, updateing this theme will be put on hold untill my next theme "hits the shelves"
here's a sneek peek...
(http://img61.imageshack.us/img61/6594/sneekpeek8ue.png)
Looks amazing, can't wait :-D!
Woah thats cool!
any chance of a bigger preview?
nope. ;D
it's coming soon... :)
hello tippmaster
i want an extra button
(ie) for Downloads for the pitchblack theme
can you make one
and also how to add it to the menu (plz dont give a link to another thread)
please help i use 1.1rc2
Tippmaster
(Sorry for my English:)
I'm install your nice PitchBlack skin on SMF 1.1.rc2 http://t-force.ru/forum/index.php
and stoped support avatars. And SMF 1.0.7 not support needed russian lang.
under SMF 1.1.rc2 all work is good but not avatars ( form "Edit profile" without field with avatars). What can made in this situation? :-[
Thanks.
anywy to make this theme not with a fixed width?
i see you have buttons in your first post, but none for mouse-over? i'd like to see that...
topic now locked please refer to:
http://www.simplemachines.org/community/index.php?topic=82724.0