All files have been moved to the themes site:
http://themes.simplemachines.org/index.php?lemma=9
Nice work :o I like it ;)
Looking great!
Great theme ;)
I like the sidebar... nice feature :D
Looks very nice! The sidebar is neat.
Nice work, Bloc :).
-Dan The Man
nice work ;)
Awesome work! ;D
Thank you for great work, Bloc! :D
It is simple, beautiful, and very well-balanced. Especially, the arrangement of colors caught my heart. I like them very much. :D
Thank you, Koni and everyone. :)
Very good, you always produce original work Bloc :)
Looks nice! I like the colors and sidebar! :D
I love this THEME!!!! It's the best. Thanks bloc for your continual exceptional work.
Wow, very nice, Bloc! I really like the colors!
Great idea...looks good! Might have to test drive this one :)
This is the best theme for SMF. ;) ****** the default SMF theme, this should be it! :D Great job, man.
Question though, what's the HTML to add new links? >> All I want is like new links to Shop, and two other links to my main site or something.
Thank you. ;D
Do you want those links together with "home,help" etc? If so you need to look and copy the buttons lines in index.template.php - template_menu().
But if you rather would like them on top in the sidebar, just put your regular html code for links in the first box( admin/ current theme ) and be sure to set "show on top". :)
If you are not sure about html code for a link, its like : <a href="your_link_path">your_link_name</a>
I love your theme, but whenever it is used on my forum, a bunch of these type of messages appear on the error log:
8: Undefined index: memberCount
File: /home/jjbcdnl/public_html/foro/Themes/neptune11/Themes.template.php (eval?)
Line: 612
For that file and various other files, including some in the /Themes/default folder. I'm not very php-savvy, however. Anyone have any ideas? (Some of these files don't even seem to have a line 612, and the others don't have memberCount on that line.
Excellent work as usual Bloc! After a few modifications it'll be my default.
YM
Love it :D
Quote from: platypus314 on July 01, 2005, 03:02:42 PM
I love your theme, but whenever it is used on my forum, a bunch of these type of messages appear on the error log:
8: Undefined index: memberCount
File: /home/jjbcdnl/public_html/foro/Themes/neptune11/Themes.template.php (eval?)
Line: 612
For that file and various other files, including some in the /Themes/default folder. I'm not very php-savvy, however. Anyone have any ideas? (Some of these files don't even seem to have a line 612, and the others don't have memberCount on that line.
What version of SMF do you use? And what version of Neptune?
If you mix the two you get errors like that. "membercount" is used in SMF 1.0.5 - but not in SMF 1.1beta. So it would seem you are using a Neptune 1.0.5 version on a SMF 1.1 - which will work mostly, but are not recommended for the same reason - errors in the log.
Hm...I used to have 1.0.5, and then I upgraded to 1.1 with the upgrade script. So something must not have upgraded right?
You now have SMF 1.1? And you used Neptune for 1.0.5 ? If so, just upload the other one instead.
Erm...I think I have all the versions right (neptune 11 and smf 1.1 beta 3), but when I look at the current version stuff in the admin center, a couple of stragling things are still 1.0 for some reason. In any case, I've just reverted to a backup so things should be working fine now. Thanks for your prompt assistance though :)!
Very cool colors, thanks Bloc!
For those who are using the 1.1 beta 3 public who want to correct some errors in this theme (Assume theme is not modified) (1.1 beta 3 theme only!):
index.template.php
Change Line 2
From:
Quote// Version: 1.1 Beta 3; index
To:
Quote// Version: 1.1 Beta 3 Public; index
Change Line 612
From:
Quote<b>', $modSettings['totalMessages'], '</b> ', $txt[95], ' ', $txt['smf88'], ' <b>', $modSettings['totalTopics'], '</b> ', $txt[64], ' ', $txt[525], ' <b>', $modSettings['memberCount'], '</b> ', $txt[19], '<br />
To:
Quote<b>', $modSettings['totalMessages'], '</b> ', $txt[95], ' ', $txt['smf88'], ' <b>', $modSettings['totalTopics'], '</b> ', $txt[64], ' ', $txt[525], ' <b>', $context['common_stats']['total_members'], '</b> ', $txt[19], '<br />
Themes.template.php
Change Line 2
From:
Quote// Version: 1.1 Beta 3; Themes
To:
Quote// Version: 1.1 Beta 3 Public; Themes
THX Softwareguy for being faster ;)
ah, the "memberCount" I had forgot. Thanks for pointing it out softwareguy. Its not really an error that the version are not "beta 3 public" though - the theme IS built when beta 3 was out, not beta3 public, and it works fine in both. ;)
Tercel, being faster than what?
Hello
First of all thanks to Bloc for this wonderfull Template. I have installed smf_1-1-beta3p_install.zip (June 28, 2005) and Theme Neptune http://www.bloczone.net/files/neptune/neptune11.zip.
I have a problem at index.php?action=trackip;searchip=
8: Undefined variable: title
Datei: /public_html/Themes/default/BoardIndex.template.php (eval?)
Zeile: 510
8: Undefined variable: title
Datei: /public_html/Themes/default/MessageIndex.template.php (eval?)
Zeile: 510
8: Undefined variable: title
Datei: /public_html/Themes/default/Display.template.php (eval?)
Zeile: 510
8: Undefined variable: title
Datei: /public_html/Themes/default/Display.template.php (eval?)
Zeile: 510
Can anyone help me out, because i am new with SMF.
Thanks, Fabian
Errors are corrected.
Fabian , you could just download the archive again and overwrite the index.template.php file, and the errors should be gone.
Hi Bloc
Thanks. I have downloaded the zip from http://www.bloczone.net/files/neptune/neptune11.zip again and overwrited the File index.template.php.
But i have still the same errors at index.php?action=trackip;searchip=
Any idea ?
Greetings, Fabian
Hi Bloc
The error is gone ...
Thanks, Fabian
IE sees this theme as 800X600? ( it just looks to darn big.. in IE )
firefox sees it normally
how do i fix this ?
I think its something with the html code you use in the extra boxes. Does it behave like that if you remove those?
no behaved like that before i added them
works 100% in both the same
ie before and after sees theme 800X600 and all is big
firefox
before and after
looks fine
Hm. If you look at my site http://www.bloczone.net/smf/index.php?action=forum in IE you will see that it doesn't show any different..so I am guessing it has to be something you added, maybe in the top of the theme? A stray <tr><td> or other non-closed tags can make that happen, but its hard to tell without actually seing the code you have now.
QuoteTercel, being faster than what?
@Bloc
Than me ;D I located the Prob... but he wrote faster ;)
I'm Just building a new Site, using 1.1beta3 puplic with Neptune & MKPortal for our Fan Projekt.
Think it´s gettin fine. Will post URL when ready. There´s still a Problem with the "Show on top?" Radio Buttons.
Can´t get them to "OFF". After saving they are allways on again. Don´t know why. Any Idea?
There are also some other minor Problems, but I´m not sure for now, if they are not a Problem of the Database.
THX for the fine Theme (as your´s are allways)
Tercel
echo '
<center><a href="http://www.basslurereviews.com" target="_blank"><img src="http://basslurereviews.com/themes/Sand_Journey/images/logonew.jpg" align="center" valign="middle" alt="basslurereviews" border="0"></a>';
for some reason that did it in IE?
my logo is only 480X60
alligned it center and it tore up the theme to 640X480?
got me
if i remove the top image its fine
if i re add it it messes it up
o well
Quote from: Tercel on July 06, 2005, 05:38:36 AM
QuoteTercel, being faster than what?
@Bloc
Than me ;D I located the Prob... but he wrote faster ;)
I'm Just building a new Site, using 1.1beta3 puplic with Neptune & MKPortal for our Fan Projekt.
Think it´s gettin fine. Will post URL when ready. There´s still a Problem with the "Show on top?" Radio Buttons.
Can´t get them to "OFF". After saving they are allways on again. Don´t know why. Any Idea?
There are also some other minor Problems, but I´m not sure for now, if they are not a Problem of the Database.
THX for the fine Theme (as your´s are allways)
Tercel
ah, I see.. :)
The radio buttons..I am not sure I understand but..are they part of a <form> up there?
Quote from: dave on July 06, 2005, 05:39:51 AM
echo '
<center><a href="http://www.basslurereviews.com" target="_blank"><img src="http://basslurereviews.com/themes/Sand_Journey/images/logonew.jpg" align="center" valign="middle" alt="basslurereviews" border="0"></a>';
for some reason that did it in IE?
my logo is only 480X60
alligned it center and it tore up the theme to 640X480?
got me
if i remove the top image its fine
if i re add it it messes it up
o well
Strange.It might have something to do with using a table up there..or did you use a div?
Nope i just used that code
here is my indextemplate.php
i ended up putting it on the bottom to fix the issue :)
----------------------------------------------------------------------
<?php
// Version: 1.1 Beta 3 Public; 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';
/* The version this template/theme is for.
This should probably be the version of SMF it was created for. */
$settings['theme_version'] = '1.1 Beta 3';
}
// 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="bass fishing forum, bass lure reviews, lure reviews, bass, smallmouth bass, largemouth bass" />
<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/script.js?beta1"></script>
<script language="JavaScript" type="text/javascript"><!--
var smf_theme_url = "', $settings['theme_url'], '";
var smf_images_url = "', $settings['images_url'], '";
var smf_scripturl = "', $scripturl, '";
var smf_session_id = "', $context['session_id'], '";
// --></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>';
// The ?rc1 part of this link is just here to make sure browsers don't cache it wrongly.
echo '
<link rel="stylesheet" type="text/css" href="', $settings['theme_url'], '/style.css?beta1" />';
/* 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 RSS feeds are enabled, advertise the presence of one.
if (!empty($modSettings['xmlnews_enable']))
echo '
<link rel="alternate" type="application/rss+xml" title="', $context['forum_name'], ' - RSS" href="', $scripturl, '?type=rss;action=.xml" />';
// 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, '?prev_next=prev;topic=', $context['current_topic'], '.0" />
<link rel="next" href="', $scripturl, '?prev_next=next;topic=', $context['current_topic'], '.0" />';
// 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_leftbar = ', empty($options['collapse_leftbar']) ? 'false' : 'true', ';
function shrinkHeaderLeftbar(mode)
{';
// Guests don't have theme options!!
if ($context['user']['is_guest'])
echo '
document.cookie = "upshrink=" + (mode ? 1 : 0);';
else
echo '
document.getElementById("upshrinkTempLeftbar").src = "', $scripturl, '?action=jsoption;var=collapse_leftbar;val=" + (mode ? 1 : 0) + ";sesc=', $context['session_id'], ';" + (new Date().getTime());';
echo '
document.getElementById("upshrinkLeftbar").src = smf_images_url + (mode ? "/upshrink2.gif" : "/upshrink.gif");
document.getElementById("leftbarHeader").style.display = mode ? "none" : "";
current_leftbar = mode;
}
// --></script>
<script language="JavaScript" type="text/javascript"><!--
var current_rightbar = ', empty($options['collapse_rightbar']) ? 'false' : 'true', ';
function shrinkHeaderRightbar(mode)
{';
// Guests don't have theme options!!
if ($context['user']['is_guest'])
echo '
document.cookie = "upshrink=" + (mode ? 1 : 0);';
else
echo '
document.getElementById("upshrinkTempRightbar").src = "', $scripturl, '?action=jsoption;var=collapse_rightbar;val=" + (mode ? 1 : 0) + ";sesc=', $context['session_id'], ';" + (new Date().getTime());';
echo '
document.getElementById("upshrinkRightbar").src = smf_images_url + (mode ? "/upshrink2.gif" : "/upshrink.gif");
document.getElementById("rightbarHeader").style.display = mode ? "none" : "";
current_rightbar = mode;
}
// --></script>
<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 '
smf_setThemeOption("collapse_header", mode ? 1 : 0);';
echo '
document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/upshrink.gif");
document.getElementById("upshrinkHeader").style.display = mode ? "none" : "";
current_header = mode;
}
// --></script>
</head>
<body>';
echo '<div id="mainarea">
<table style="border-left: solid 2px black; border-right: solid 2px black;" align="center" width="80%" cellpadding="0" cellspacing="0" border="0">
<tr><td colspan="2" id="headerarea" valign="bottom">';
template_menu();
echo '</td></tr>
<tr>
<td valign="top" id="leftarea" width="150">
<div style="width: 150px;">';
leftbar();
echo '</div></td>
<td valign="top" id="bodyarea">';
if (!empty($settings['enable_news']))
echo '<div style="background-color: #658090; ">' , centerbar() , '</div>';
else
echo '<div style="background-color: #658090; ">' , centerbar2() , '</div>';
echo '<div style="background-color: #B4C7D2;padding: 10px;">';
}
function template_main_below()
{
global $context, $settings, $options, $scripturl, $txt;
echo '</div></td></tr>
<tr><td colspan="2" id="footerarea">';
// Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere!
echo '
<div 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> <td valign="middle" align="center" cellspacing="0" cellpadding="3" border="0" align="center" width="100%">
<tr>
<td class="blockmain" width="80%" valign="middle" align="', !$context['right_to_left'] ? 'right' : 'left', '">
<a href="http://www.basslurereviews.com/" target="_blank"><img id="powered-mysql" src="', $settings['images_url'], '/logonew.jpg" alt="', $txt['basslurereviews homepage'], '" border="0" /></a>
</td></table>
<table> <td valign="middle" align="center" style="white-space: nowrap;" class="blockmain">
<span class="smalltext"> ', theme_copyright(), ' <br /><b>Neptune</b> design by <a href="http://www.bloczone.net" target="_blank">Bloc</a></span>
</td>
</tr>
</table>';
// Show the load time?
if ($context['show_load_time'])
echo '
<span class="blockmain" style="font-size: smaller;">', $txt['smf301'], $context['load_time'], $txt['smf302'], $context['load_queries'], $txt['smf302b'], '</span>';
echo '
</div>';
echo '</td></tr>
<tr><td colspan="2" id="bottomarea" valign="bottom"> </td></tr>
</table></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.className == "post" || codeFix.className == "signature") && 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 = codeFix.length - 1; i > 0; i--)
{
if (codeFix.currentStyle.overflow == "auto" && (codeFix.currentStyle.height == "" || codeFix.currentStyle.height == "auto") && (codeFix.scrollWidth > codeFix.clientWidth || codeFix.clientWidth == 0) && (codeFix.offsetHeight != 0 || codeFix.className == "code"))
codeFix.style.height = (codeFix.offsetHeight + 36) + "px";
}
if (window_oldOnload)
{
window_oldOnload();
window_oldOnload = null;
}
}';
}
echo '
// --></script>';
}
echo '
</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;
$tempe=$settings['use_image_buttons'];
$settings['use_image_buttons']=false;
$context['menu_separator']=' ';
// Show the [home] and [help] buttons.
echo '<div id="menuarea"><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" />' : $txt[103]), '</a>', $context['menu_separator'];
echo ' <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" />' : $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" />' : $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" />' : $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" />' : $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" />' : $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" />' : $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" />' : $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" />' : $txt[108]), '</a>';
$settings['use_image_buttons']=$tempe;
echo '</div>';
}
// search
function searchbox()
{
global $context, $settings, $options, $txt , $scripturl;
echo ' <form action="', $scripturl, '?action=search2" method="post" style="margin: 0; margin-bottom: 5px;">
<br /><input type="text" name="search" value="" style="width: 90%;" /><br />
<input type="submit" name="submit" value="', $txt[182], '" style="width: 8ex; margin: 4px;" /><br /><span class="smalltext">
<a href="', $scripturl, '?action=search;advanced">', $txt['smf298'], '</a></span>
<input type="hidden" name="advanced" value="0" />';
echo '</form>';
}
function sidebartop($title)
{
global $context , $scripturl , $txt;
echo '<div>';
echo '<div class="blocktitle" style="padding: 4px; font-weight: bold;"> ', $title, '</div>';
echo '<div class="blockmain" style="padding: 4px;">';
}
function sidebarbot()
{
global $context , $scripturl;
echo '</div></div>';
}
// leftblocks
function leftbar()
{
global $txt, $settings;
// check extra boxes
if(isset($settings['bar1']) && isset($settings['bar1title']) && $settings['bar1']!='' && isset($settings['bar1top'])){
sidebartop($settings['bar1title']);
echo '<div class="blockmain" style="padding: 4px;">'.$settings['bar1'].'</div>';
sidebarbot();
}
if(isset($settings['bar2']) && isset($settings['bar2title']) && $settings['bar2']!='' && isset($settings['bar2top'])){
sidebartop($settings['bar2title']);
echo '<div class="blockmain" style="padding: 4px;">'.$settings['bar2'].'</div>';
sidebarbot();
}
if(isset($settings['bar3']) && isset($settings['bar3title']) && $settings['bar3']!='' && isset($settings['bar3top'])){
sidebartop($settings['bar3title']);
echo '<div class="blockmain" style="padding: 4px;">'.$settings['bar3'].'</div>';
sidebarbot();
}
sidebartop('User');
userbox();
sidebarbot();
sidebartop('Search');
searchbox();
sidebarbot();
sidebartop('Stats');
statsbox();
sidebarbot();
// check extra boxes
if(isset($settings['bar1']) && isset($settings['bar1title']) && $settings['bar1']!='' && !isset($settings['bar1top'])){
sidebartop($settings['bar1title']);
echo '<div class="blockmain" style="padding: 4px;">'.$settings['bar1'].'</div>';
sidebarbot();
}
if(isset($settings['bar2']) && isset($settings['bar2title']) && $settings['bar2']!='' && !isset($settings['bar2top'])){
sidebartop($settings['bar2title']);
echo '<div class="blockmain" style="padding: 4px;">'.$settings['bar2'].'</div>';
sidebarbot();
}
if(isset($settings['bar3']) && isset($settings['bar3title']) && $settings['bar3']!='' && !isset($settings['bar3top'])){
sidebartop($settings['bar3title']);
echo '<div class="blockmain" style="padding: 4px;">'.$settings['bar3'].'</div>';
sidebarbot();
}
}
// centerbar
function centerbar()
{
global $txt;
sidebartop('News');
newsbox();
sidebarbot();
}
function centerbar2()
{
global $txt;
echo '<div class="blocktitle" style="padding: 4px; font-weight: bold;"> ', $title, '</div>';
}
// userbox
function userbox()
{
global $context, $settings, $options, $scripturl, $txt, $modSettings;
echo' <table width="99%" cellpadding="0" cellspacing="5" border="0"><tr>';
echo '<td width="100%" valign="top" class="smalltext" style="font-family: verdana, arial, sans-serif;">';
if (!empty($context['user']['avatar']))
echo $context['user']['avatar']['image'] . '<br />';
$bullet='<img src="'.$settings['images_url'].'/TPdivider2.gif" alt="" border="0" style="margin: 0 2px;" />';
$bullet2='<img src="'.$settings['images_url'].'/TPdivider.gif" alt="" border="0" style="margin: 0 2px;" />';
// If the user is logged in, display stuff like their name, new messages, etc.
if ($context['user']['is_logged'])
{
echo '<span class="normaltext">
', $txt['hello_member'], ' <b>', $context['user']['name'], '</b></span>';
echo '<div id="navcontainerb"><ul id="navlistb">';
// Only tell them about their messages if they can read their messages!
if ($context['allow_pm']){
echo '<li ><a href="', $scripturl, '?action=pm">' .$bullet.$txt['tp-pm'].' ', $context['user']['messages'], '</a></li>';
if($context['user']['unread_messages']>0)
echo '<li><a style="font-weight: bold; " href="', $scripturl, '?action=pm">' .$bullet2.$txt['tp-pm2'].' ',$context['user']['unread_messages'] , '</a></li>';
}
// Are there any members waiting for approval?
if (!empty($context['unapproved_members']))
echo '<li><a href="', $scripturl, '?action=regcenter">'.$bullet2.$txt['tp_unapproved_members'].'<b> '. $context['unapproved_members'] . '</b></a></li>';
echo '<li><a href="', $scripturl, '?action=unread">' .$bullet.$txt['tp-unread'].'</a></li>
<li><a href="', $scripturl, '?action=unreadreplies">'.$bullet.$txt['tp-replies'].'</a></li>';
// Is the forum in maintenance mode?
if ($context['in_maintenance'] && $context['user']['is_admin'])
echo '<li><b>' .$bullet2.$txt['tp_maintenace']. '</b></li>';
// Show the total time logged in?
if (!empty($context['user']['total_time_logged_in']) )
{
echo '<li>'.$bullet2.$txt['tp-loggedintime'] . ' ';
echo '<br /> '.$context['user']['total_time_logged_in']['days'] . 'd ';
echo $context['user']['total_time_logged_in']['hours'] . 'h ';
echo $context['user']['total_time_logged_in']['minutes'] . 'min</li>';
}
echo '<li>'.$bullet2. $context['current_time'].'</li>';
echo '</ul></div>';
}
// Otherwise they're a guest - so politely ask them to register or login.
else
{
echo ' <span class="blockmain">
', $txt['welcome_guest'], '<br />
', $context['current_time'], '<br /> </span>
<form class="blockmain" action="', $scripturl, '?action=login2" method="post" >
<input type="text" name="user" size="10" /> <input type="password" name="passwrd" size="10" />
<select name="cookielength">
<option value="60">', $txt['smf53'], '</option>
<option value="1440">', $txt['smf47'], '</option>
<option value="10080">', $txt['smf48'], '</option>
<option value="302400">', $txt['smf49'], '</option>
<option value="-1" selected="selected">', $txt['smf50'], '</option>
</select>
<input type="submit" value="', $txt[34], '" /><br />
', $txt['smf52'], '
</form>';
}
echo '
</td></tr></table>
';
}
function newsbox()
{
global $context, $settings, $options, $scripturl, $txt, $modSettings;
// Show a random news item? (or you could pick one from news_lines...)
if (!empty($settings['enable_news']))
echo ' <div style="padding: 5px;" >', $context['random_news_line'], '</div>
';
}
function statsbox()
{
global $context, $settings, $options, $scripturl, $txt, $modSettings;
echo '
<div style="padding: 5px;" class="smalltext">
<b>', $modSettings['totalMessages'], '</b> ', $txt[95], ' ', $txt['smf88'], ' <b>', $modSettings['totalTopics'], '</b> ', $txt[64], ' ', $txt[525], ' <b>', $context['common_stats']['total_members'], '</b> ', $txt[19], '<br />
', $txt[656], ': <b> <a href="', $scripturl, '?action=profile;u=', $modSettings['latestMember'], '">', $modSettings['latestRealName'], '</a></b>
</div>
';
}
?>
@bloc
I meant the Radio Buttons "Show on Top" for the 3 User Boxes on the left Table in Index.
The allwas shown "on Top". I changed the index.template.php for now. Maybe it´s a problem of the "MK Portal" integration. The Theme also don´t want to show the menu as Images. (? don't know why - but it´s all right like this)
(see it on www.fanprojekt-icedome.de ) Think this is a nice commercial for your theme ;)
THX & CU
Tercel
Very nice! The "MKPortal-look" is also less prominent here, I like it. :)
As for making the menu with images, I have "forced" it to only use links, but there is a easy "fallback". Simply open index.template.php and search for
$settings['use_image_buttons']=false;
Set it to true instead, and images will appear. I think the needed images are in the archive, if not let me know and I will update it with them.
@bloc
>:( :shame on me: should have seen this :P
I commented line out, but as i thought before - Text looks better for menu ;)
Now i´ll look for the line, where "Show on top" is defaulted "on" ;D
But its a wonderfull theme. I´m thinkin about changing my forums theme ( www.ihoc.de )
to one of yours or maybe make a sort of clone from both - if so i´ll let you know - and sure, your name will be in the footer too :) Hoping for some spare time...
Cu, Tercel
i want a banner at the top and bottom of the forum i tried adding the code i normaly use but with no luck
left brackets outs here to show my code
url=http://www.c....s.com/cachet/ img http://www.c....s.com/Animation1b.gif/img /url
is that the wrong code or am i adding to wrong line in index.template?
You can't use BBC code in the templates , only HTML.
i tried html kept crashing could you let me know what line to add the html for top and bottom please :D
ah, you need to enclose it like this:
echo 'htmlcodehere';
For the top and bottom, try to find <body>'; and just add the code like above there. Likewise, find echo '</body... and add same thing BEFORE that line, then you should be fine. You might need to adjust margins and such on your code though.
Thanks for the help i will give that a try tonight :)
Looks great. One suggestion though:
The "sidebox" stuff should be moved to the "Settings" template instead of being placed in the "Themes" template. This will make it much better because:
You can change that information without having to use the Neptune theme
When using the Neptune theme, this stuff will only show up for the Neptune theme and not for every theme you have installed
It should not show for every theme? It will just show it for Neptune..unless you overwrite the default Themes.template with it of course...reason for using Themes instead of Settings is that it allow more freedom in regards to default values as well as the layout.(i can use other form elements like textareas - its easier to read html code in that than in a single input box.)
And as I found out in the Simplicity thread, the language strings do not get transferred...so its still problematic to see what settings it is from another theme.
EDIT: ah, I see now really does show Neptune things if you are on any other theme..hm. Maybe I should expand the possible form elements in Themes instead...
Hi... I use theme in my site, but avatar show with scrollbars, check out in this link http://www.underzine.com.ve/foros/index.php?topic=27.0 (http://www.underzine.com.ve/foros/index.php?topic=27.0)... how i can resolve this?
I just installed this theme and it looks wonderful! The sidebar is fabilous thing. I have only one problem: whenever I try answer topics or create a new topic, none of the smilies will work or any of the text modification buttons. When I click on a smiley or for example the "bold" button, nothing happens. I'm using the SMF 1.1.beta3 board and I installed the right theme for it but still it won't work :/ What can I do to make it work?
That is a problem with your forum in general I think, because the Neptune theme does not have its own Post.template - it just use the default theme instead.
Do you use any mods?
Only few mods.. "Livejournal" and "Skype name" mods plus "Zodiac signs" and "Member Color link". Should I remove some of those to make the post template work?
I am not sure which one is causing trouble..or if its one of them even. Do you possibly have a link?
I do have a link but I don't know if it's any help since my board is in finnish.. http://midnight-passion.net/sohvaperuna
Ok new problem :) I'm using 100x100 pixel avatars at my board and now we all have annoying horizontal scroll under our avatars. How do I get rid of it? ::)
Have you set a bigger width + height allowed for avatars? In admin section?
Yes I have, I even tried to set it a bit bigger (150 pixels) but it didn't work :/
Ok, the problem is that you most likely need to change the Display.template.php in your default theme folder...but its not wise to alter default theme at all, since its fallback theme for all others. ;)
Here is way to do it though:
Copy Display.template.php from default theme over to Neptune folder, and open that instead.Look for this code:
// Show information about the poster of this message.
echo '
<table width="100%" cellpadding="5" cellspacing="0" style="table-layout: fixed;">
<tr>
<td valign="top" width="16%" rowspan="2" style="overflow: hidden;">
<b>', $message['member']['link'], '</b>
<div class="smalltext">';
and change it to:
// Show information about the poster of this message.
echo '
<table width="100%" cellpadding="5" cellspacing="0" style="table-layout: fixed;">
<tr>
<td valign="top" width="16%" rowspan="2">
<b>', $message['member']['link'], '</b>
<div class="smalltext">';
This way you will change just the Neptune theme, and not mess up the default(which when you update the forum will be overwritten).
i am having a problem with ultimate shoutbox...
it shows up on the left bar & shouts show up from my previous theme & they scroll
but
there is no box underneath for sending a shout & the shoutbox admin box doesn't apprear
in the admin section??
also, the buddy list doesn't show up in the profile (just a little period shows up)
& the stat section shows 0 with nothing next to it.
any help would be much appreciated :)
ok for future reference,
i just copied the modifications.english over from the default directory to the neptune directory
& merged it with the one already there.
this remedied my buddy list mod & my shoutbox.
should have thought of this sooner. ;)
Thanks, but that didn't help either I had to edit this bit
// Show avatars, images, etc.?
if (!empty($settings['show_user_images']) && empty($options['show_no_avatars']) && !empty($message['member']['avatar']['image']))
echo '
<div style="overflow: auto; width: 100%;">', $message['member']['avatar']['image'], '</div><br />';
and change the div style="overflow: auto" to "overflow: hidden" and that worked ^^,
sometimes the page will misalign & shift to the right about an inch....
not sure what is causing this...
it does it sometimes when i view the forum as a guest, try to access something i dont have access to, etcc
any help would be much appreciated.
Quote from: Lillie on August 14, 2005, 03:45:31 AM
Thanks, but that didn't help either I had to edit this bit
// Show avatars, images, etc.?
if (!empty($settings['show_user_images']) && empty($options['show_no_avatars']) && !empty($message['member']['avatar']['image']))
echo '
<div style="overflow: auto; width: 100%;">', $message['member']['avatar']['image'], '</div><br />';
and change the div style="overflow: auto" to "overflow: hidden" and that worked ^^,
ah, forgot that one.:) Glad you got it solved.
what is the font called that is in the top.psd for Simple Machine Forum?
"Neuropol" , and the one for the Neptune bit is called "Brooklyn Kid".
Quote from: ibisa on August 14, 2005, 04:29:02 AM
sometimes the page will misalign & shift to the right about an inch....
not sure what is causing this...
it does it sometimes when i view the forum as a guest, try to access something i dont have access to, etcc
any help would be much appreciated.
was my post invisible?
No..but I haven't found out whats causing this yet.
ok, sorry about that ..
thanks you
:) Thanks.
Yeah, its a major task to learn Photoshop. And the new logo you made works fine - in fact it suits the theme. :)
Excellent theme Bloc....One problem though. The additional sideboxes
I added Google Adsense to one and it worked spledidly putting the code where I wanted it under everything else. Then I got the bright idea to add another sidebox. Bad idea. Now, the radio button "on top" are checked for the Google box and the one below it which is empty. This knocks the Google box to the top of the sidebar. Unchecking and saving has no effect. They come back checked. Any ideas how to solve this problem? Theside boxes were tailor made for Adsense!
Hm, I need to see this I think. Do you have a link?
Thanks Bloc. The url is http://www.ladiesofnuevolaredo.com
I am sending you admin access in a separate PM
Sweet Theme,
Im a rookie/clueless php. Any pointers on making Jack's Phat Calendar Pack work with this theme.
Thanks
Is that a Calendar-only mod? If it is, it should work fine, since Neptune don't touch the calendar template at all.
Dont know if its only calendar. when you view an event you can see who is gonna attend. (RSVP) that part does not show in neptune event view
Hm..the mod modify BoardIndex.tempalte, Calendar.template, Display.template, Post.template and Settings.template. Neither is used in Neptune(or modified), so it will just use whats in default theme. It does work fine in default theme then?
Yes works in default but not in any other temps...that ive tried yet.
Just cruising the post for Jack's Phat Calendar Pack 1.0.4 and look like Kindred's workin on an update later this month.
Preciate the help... I'll ask kindred about additional temp support.
Thanks, if you do find anything lemme know
[slaps face] ...of course...Neptune modifies also Modifications.english.php in neptune/languages folder...and that one HAS to have these strings added:
$txt['vCal_title'] = 'vCal/iCal';
$txt['vCal_remove'] = 'Remove this event';
$txt['vCal_add'] = 'Add this event';
$txt['vCal_view'] = 'View List';
$txt['vCal_download'] = 'Download List';
$txt['vCal_empty'] = 'You have no events in your ' . $txt['vCal_title'] . ' list.';
$txt['cal_attendee_title'] = 'Attendees';
$txt['cal_attendees_no'] = 'No one is attending this event yet.';
$txt['cal_attendees_yes'] = 'Members planning to attend';
$txt['cal_attend_no'] = 'I\'ve changed my mind';
$txt['cal_attend_yes'] = 'I plan to attend this event';
$txt['enable_vCal'] = 'Enable vCal/iCal Downloads';
$txt['enable_attendees'] = 'Enable Attendee List';
$txt['cal_force_default'] = 'Force Default Board';
$txt['cal_allow_no_post'] = 'Allow Post No Topic';
$txt['cal_no_post'] = 'Post No Topic';
$txt['vCal_style'] = 'vCal/iCal download style:';
$txt['vCal_style1'] = 'Disable';
$txt['vCal_style2'] = 'vCal';
$txt['vCal_style3'] = 'iCal';
I suspect by adding these, the events will appear too.
I still havent figured out the Calendar attendee list yet but...moving on.
I have MK portal and would like to use the radio buttons (from MK) in forum (neptune) and add "home" as go to mk (index.php) and "forum" to go to forum home (/forum/index.php)
Thanks Again for the Help and the great themes
url -> www.clipdin.com (http://www.clipdin.com)
Bloc, Is any norwegian buttons/languagefile to Neptune available?
Bloc,
I got the Jack Phat calendar feature to work...your fix was the deal. Thank You.
New Problem.
Index.php loads backgroung and pauses a long time, IE6 shows done, then after the long pause...the page loads.
all other pages load fine just "home" is that a database problem or did I screw something else up.
www.clipdin.com (http://www.clipdin.com)
Quote from: jorgen on September 09, 2005, 07:43:33 AM
Bloc, Is any norwegian buttons/languagefile to Neptune available?
No, not currently. Language strings is just fetched from the language you have installed, but the buttons needs to be made of course.
Quote from: PhatTyres on September 09, 2005, 08:00:17 PM
Bloc,
I got the Jack Phat calendar feature to work...your fix was the deal. Thank You.
New Problem.
Index.php loads backgroung and pauses a long time, IE6 shows done, then after the long pause...the page loads.
all other pages load fine just "home" is that a database problem or did I screw something else up.
www.clipdin.com (http://www.clipdin.com)
I suspect the "everywherechat" part delays the page.
Was working fine with chat before...dunno...but its working fine now. Maybe sql server was overloaded!!!
hi, nice work. do you have the PSD or somethink than i make it to german images
I just noticed I have a problem with the width when using IE.
The site is http://televoip.bjornes.org
When viewing a post, the width is incorrect in IE. There is some additional space between the sidebar and the forum. I saw someone commented this earlier in this thread, but could not find a solution.
IS there a solution to this?
Great theme by the way. I was able to use it with virtually no customization at all.
I will check it over, I wasn't aware it behaved like that. Using mostly much Firefox/Deerpark :) (correction, using ONLY Deerpark ;D )
Corrected the error. It was a missing width attribute for a <td>...You can either download the archive again and update index.template.php - or open your existing one and look for:
echo '</div></td>
<td valign="top" id="bodyarea">';
And replace with:
echo '</div></td>
<td width="94%" valign="top" id="bodyarea">';
Great! that worked. Thanks
Using onjy firefox/opera myself, but a lot of users use IE, so I try to test with that crappy program as well.
By the way, there is a small problem in opera as well. The links in the right top is displayed in the wrong position. In Opera they are displayed at the very top, which makes thea a little harder to read because of less contrast. No biggi though ;)
Is that in the latest opera? I will test in all opera versions though - have installed opera 6,7 and 8 now.
Quote from: Bloc on September 11, 2005, 10:21:57 AM
Is that in the latest opera?
It happens with Opera8. I have not tried it with earlier releases.
Im trying to apply the mouseover mod (http://mods.simplemachines.org/index.php?mod=13) to neptune.
But nothing seems to happen. Any idea why, or how I can apply a mouseover effect?
First off, it will work fine on Neptune because Neptune doesn't change either boardindex.template or messageindex.template - so those are taken from default theme.
But Neptune's style.css need to be changed. There is a .windowbg class in it, but it hasn't a background-color! ;D So it won't change anything as it is. Just add a background-color: #yourcolor; to it, and it should work fine. I can't say if it looks great..because the graphic above fades into the background-color(thats why I removed it from that class in the first place), but try it out.
Ahhh. Thanks. I'll try it out, without expecting much ;D
The is a great them, is there any plans on 1.1 RC1 support.
PS: You are always doing a great job keeping your themes updated, thank you.
There will be updates. Just letting the dust settle a bit and then I will go over all of them. ;)
Quote from: Bloc on September 22, 2005, 04:45:49 AM
There will be updates. Just letting the dust settle a bit and then I will go over all of them. ;)
Good deal and I understand, keep up the good work :) I love all your themes BTW :P
I love this theme!
I am having a bit of a problem that didn't show up until I installed it:
From the forum error log
Apply Filter: Only show the errors with the same message
8: Undefined index: 158bis
File: /home/distinc/public_html/Themes/default/BoardIndex.template.php (eval?)
Line: 367
and this:
Apply Filter: Only show the errors with the same message
8: Undefined index: 158bis
File: /home/distinc/public_html/Themes/default/BoardIndex.template.php (eval?)
Line: 369
Could anyone help me?
Forum at www.distinctivemoms.com (http://www.distinctivemoms.com)
I am not sure what "158bis" means..its not something Neptune use...do you have any mods installed?
Theme is updated to work with SMF 1.1RC1.
Here is a list of the mods I have installed:
QuoteMod Name Version
1. Security Fix (PHP <= 4.3.9) 1.0 [ List Files ] [ Delete ]
2. Security Fix (PHP <= 4.3.9) 1.0 [ List Files ] [ Delete ]
3. SMF 1.0.1 Update Package 1.0.1 [ Apply Mod ] [ List Files ] [ Delete ]
4. OnLine Users Today 1.2 [ Uninstall ] [ List Files ] [ Delete ]
5. SMF 1.0.4 Update Package 1.0.4 [ Apply Mod ] [ List Files ] [ Delete ]
6. Spoiler Tag 1.03 [ Uninstall ] [ List Files ] [ Delete ]
7. Faster Parsecode 1.08 [ Uninstall ] [ List Files ] [ Delete ]
8. SMF 1.0.4 Update Package 1.0.4 [ Apply Mod ] [ List Files ] [ Delete
Its the Online Users today mod that needs a extra language string. Look in themes/default/languages/Modifications.english.php (or your language) for $txt['158bis'] and copy it over to Neptune's languages/Modifications.english.php.
Okay that is done and it looks that did the trick.
Thank you so much!! :D
This looks like a very cool theme!!
I would love to use Neptune on my new SMF forum, but unfortunately, something doesn't seem right.
When I downloaded and installed the Neptune theme...I actually got the "Cera" theme instead.
I used the download link for smf 1.05 thats on the first page of this thread...the zip file was called "Neptune"...but, thats not what was contained in it.
Did I miss something, or is there possibly a mix up with the zip files between those two themes??
THANKS!!! :)
That must have been a mixup..i will check it.
edit: there was... ;D Corrected now.
THANKS Bloc for the FAST attention and that did the trick!!!
Another question...
I noticed that with the "sidebar" theme in general...the avatars have limited space and I was wondering if there was a way to stretch the pages out to compensate??
THANKS AGAIN!!!!!
Try to open index.template and find this code:
echo '</td></tr>
<tr>
<td valign="top" id="leftarea" width="150">
<div style="width: 150px;">';
leftbar();
Changing 150 til something bigger might help.
Thanks again Bloc! :)
That did stretch out the main page via the left "side" table, but, had little to no effect on the avatars when viewing "posts".
Sorry, I failed to mention previously the avatars were fine on the main page, but get "scroll" resize bars when viewing posts.
So..I played around with the "mainarea" code...changed the width from 80% to 95% and no more scroll bars!! :)
echo '<div id="mainarea">
<table style="border-left: solid 2px black; border-right: solid 2px black;" align="center" width="95%" cellpadding="0" cellspacing="0" border="0">
<tr><td colspan="2" id="headerarea" valign="bottom">';
template_menu();
THANKS AGAIN!!
I hope not to bug ya too much, but its nice to see the fast response and helpful info here....nice change from the likes of phpbb2 Support Forum!! ;) ::)
Not to worry. Glad to be of help. :)
Hi Bloc. Another newby here. A few things, if you don't mind
1. I went with Neptune on my brand new 1.0.5 forum (www.tinytickets.com/forum (http://www.tinytickets.com/forum) ) even though I was going to change the colors to match the red and black in my logo, but I like it a lot better now that my logo is there and (given my inexperience) maybe I should leave well enough alone. Plus maybe there is something to be said for each part of the site having its own look and feel. You're the design pro, what do you think?
2. I followed your instructions earlier in this thread and made a new graphic in psp to replace the default Neptune image at top, but the right side (where is says 'theater forum') does not show. Is it too far over (the thing is 1600 pixels wide) or covered by the 'home, help, etc' buttons? It may not matter, I like the way it looks now and had not considered the home help etc buttons when I was doing it, but I don't want it to show up later looking strange.
3. I know how to make an href tag, but I don't know where to put the code to make my logo a link. I'm not familiar with php or dynamic pages. I found top.jpg in the css, but that's not the right place, is it? Or is this a lost cause because of the way I made the graphic?
4. I got a really strange error while trying to exit my profile edit page:
QuoteInvalid Date Registered value, valid example: 05 Nov 2005 13:47:16
I changed the time format but the error won't go away and I can't change the email address in the profile. Thoughts?
Hope this isn't too much. Thanx.
Bloc
Neptune is fantastic man! RC1 Just thought I'd give you a shout out and let you know you did a great job on this one.
I have a question, and maybe it was covered already, (I'm too lazy to look) but I created a "top" banner w/ same width and legnth as your top.jpg and replaced it. It looks great under IE/Maxthon and Firefox but under Opera the banner shows but the menu does not. iow: home, help, search, profile, admin and logout.
Any ideas?
-Jazhawk
Quote from: natcolley on November 05, 2005, 03:28:08 PM
Hi Bloc. Another newby here. A few things, if you don't mind
1. I went with Neptune on my brand new 1.0.5 forum (www.tinytickets.com/forum (http://www.tinytickets.com/forum) ) even though I was going to change the colors to match the red and black in my logo, but I like it a lot better now that my logo is there and (given my inexperience) maybe I should leave well enough alone. Plus maybe there is something to be said for each part of the site having its own look and feel. You're the design pro, what do you think?
It looks ok..but I think changing the blue hues to something more red would be better, even lighten up the colors abit to match the white in your logo.
Quote
2. I followed your instructions earlier in this thread and made a new graphic in psp to replace the default Neptune image at top, but the right side (where is says 'theater forum') does not show. Is it too far over (the thing is 1600 pixels wide) or covered by the 'home, help, etc' buttons? It may not matter, I like the way it looks now and had not considered the home help etc buttons when I was doing it, but I don't want it to show up later looking strange.
Since its a background-image, it will just be hidden. If a user with display set to 1600 comes along, he will see it...so just make sure it doesn't land right behind the home,help,search links.
Quote
3. I know how to make an href tag, but I don't know where to put the code to make my logo a link. I'm not familiar with php or dynamic pages. I found top.jpg in the css, but that's not the right place, is it? Or is this a lost cause because of the way I made the graphic?
hm..the logo picture can't be made a link easily I am afraid..since its a background-image, not a ordinary image.
Quote
4. I got a really strange error while trying to exit my profile edit page: QuoteInvalid Date Registered value, valid example: 05 Nov 2005 13:47:16
I changed the time format but the error won't go away and I can't change the email address in the profile. Thoughts?
Hope this isn't too much. Thanx.
I am not sure what kind of error this is...but try to change the format of you date...if you press the help symbol next to ti, you will see some valid codes to use.
Quote from: Jazhawk on November 05, 2005, 04:13:45 PM
Bloc
Neptune is fantastic man! RC1 Just thought I'd give you a shout out and let you know you did a great job on this one.
I have a question, and maybe it was covered already, (I'm too lazy to look) but I created a "top" banner w/ same width and legnth as your top.jpg and replaced it. It looks great under IE/Maxthon and Firefox but under Opera the banner shows but the menu does not. iow: home, help, search, profile, admin and logout.
Any ideas?
-Jazhawk
Doesn't it show at all?
Quote from: Bloc on November 06, 2005, 07:37:21 PM
Quote from: Jazhawk on November 05, 2005, 04:13:45 PM
Bloc
Neptune is fantastic man! RC1 Just thought I'd give you a shout out and let you know you did a great job on this one.
I have a question, and maybe it was covered already, (I'm too lazy to look) but I created a "top" banner w/ same width and legnth as your top.jpg and replaced it. It looks great under IE/Maxthon and Firefox but under Opera the banner shows but the menu does not. iow: home, help, search, profile, admin and logout.
Any ideas?
-Jazhawk
Doesn't it show at all?
No not at all. The banner I created is exactly the same width and height as the one that there and the menu doesn't show up on either of my computers.
-Jazhawk
Hm, I see what you mean. Its there, but for some reason it aligns up top instead. I will find out what cause this.
Quote from: Bloc on November 21, 2005, 08:27:52 AM
Hm, I see what you mean. Its there, but for some reason it aligns up top instead. I will find out what cause this.
Thanx. It may be an Opera issue. As much as I like Opera, it is unable to do a few very basic things correctly.
-Jazhawk
Has anyone tried this with 1.1RC2?
Updated to work with SMF1.1RC2.
What a star. Thanks Bloc.
Hi
I am trying to change some of the colour schemes in Neptune adn I have come to a brick wall on a couple of sections.
I simply can't fathom out how to change the colours for the news block on the Home page (#658090).
I also can't work out how to change the light blue (#B4C7D2) in the main/middle section (such as the background in this message and on the home page). Any help would be very much appreciated.
Thanks.
They should all be inside index.template....the inline css should be in the stylesheet really, but there you go.
Brilliant. That will do! Thanks Bloc.
I love this theme! Works great with 1.1RC2.
Does anyone know how to add the arcade to the index.template.php file? I'm totally lost here :(
Ah, nevermind the above question, I found it!
But I have another question..lol...how would I remove the "search form" in the left column? I tried commenting out the bit that I thought would do it, but that gave me some BAD errors.
Just remove this part:
sidebartop('Search');
searchbox();
sidebarbot();
I like this theme... were it not for the fact that it misbehaves in Opera, and the navigation is shoved up in the header image everywhere except on your own site. Due to that, this theme is rendered wholly unusable to me on 1.1RC2. As I said, it works fine on your site, but it's failed miserably everywhere else I tried, as far as the header goes.
This (http://img248.imageshack.us/img248/2359/problematictheme5oj.png) is what I'm referring to. Behaves in Firefox, sure, but not Opera (and I refuse to use Firefox due to all its problems, but that's a different topic entirely).
Nice work on the art, at least.
Quote from: duminas on February 08, 2006, 05:58:59 PM
I like this theme... were it not for the fact that it misbehaves in Opera, and the navigation is shoved up in the header image everywhere except on your own site. Due to that, this theme is rendered wholly unusable to me on 1.1RC2. As I said, it works fine on your site, but it's failed miserably everywhere else I tried, as far as the header goes.
This (http://img248.imageshack.us/img248/2359/problematictheme5oj.png) is what I'm referring to. Behaves in Firefox, sure, but not Opera (and I refuse to use Firefox due to all its problems, but that's a different topic entirely).
Nice work on the art, at least.
The fact that it looks ok in FF and IE - but not Opera - says something about the latter..but lets not get into that. This error I must have missed earlier, but removing the float attribute on the menu seems to make it show as it should. If you want to give it a shot, try exchanging index.template and style.css from the same archive now.
hi this is the theme i want to use. i have a problem and to be honest its doing my head in. Ive installed the theme neptune1.1rc2 and am running smf1.1rc2, so i thought it should work. What seems to be happening is that i get a mixture of the default theme and neptune which obviosly looks very strange. Ive tried reinstalling it all, checking the paths for each theme are correct trying different versions of neptune but it happens the same whatever i try. ANY IDEAS WOULD BE GREAT :D?
Eddie
Do you have a screenshot/link? I am not sure what this could be...
yeh sorry it looks like this:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.digitalstable.co.uk%2Fstable.bmp&hash=a4da69acab424f650384b25b125a5a0cfbdbd467)
and the url is www.digitalstable.co.uk/forum
cheers ;D
It would seem you got the index.template.php from default theme instead of the correct one from Neptune theme. Try uplaoding that one file again.
it appears to have worked but im a little confused to how that would happen. when i replaced the index.template.php the files were the same size indicating they were the same. But job done it appears to have solved it. If it happens again ill be sure to let you know.
THANKYOU :D
ps, just a thought could the index.template have become corrupt therefore reverting the default template?
ok spoke to soon. i was just going through every menu and it went back to how to was before when i clicked on calender and now it wont change. I have noticed one thing though if i go to themes and layout and select neptune again it will go back to normal untill i go through the menu's again.
ahhhhh >:(
lol any ideas?
The theme is cool though bloc! :D
Hm..what version of Neptune did you install?
i installed neptune1.1rc2 and i have smf1.1rc2.
Hi!! Thx for Neptune, but i do have a problem. Since i installed the Swedish languagepack and upgraded to RC2 i have a problem with the User box. The newest neptune for RC2 is also tested with same problem. See picture (text is missing).
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fras.atomvinternatt.se%2Fuserbug.jpg&hash=b49d1b9870c399eef505994b834ca8d8693c09f2)
I have asked in the Swedish translation thread, and they cant help me. I hope you can give me some clue.
You need to translate some strings that Neptune use for itself..they are just shorter versions of the ones normally used. Look in Neptune/languages folder and open Modifications.english.php. Translate the strings and save the file as Modifiations.swedish.php.
Believe it or not. I figured out that for myself. Thx anyway!! And ty for such a good theme!!! :D
Thanks for the great theme Neptune!
I'm having a little trouble turning off "Show On Top" option for the sideboxes. After I uncheck it and save, it is still checked. I tried to remove the contents of the box and then save it too, but that didn't help. Can anyone help me out? Thanks. :)
I'm using SMF 1.0.5
You are using the plain "neptune.zip" version, that is for SMF1.0.5?
I'm running the version for 1.0.5 on 1.0.6. Yeah, I'm using the zipped file.
EDIT: Also, I noticed that when enabling the news flasher and disabling the regular news thing, I get an undefined variable "title" in /library/neptune/themes.template.php, line 453. I disabled the regular news things because it and the news flasher seem redundant. Should I be able to do this? Thanks.
I notice a difference between IE and FF in the left column. There is an open line between 'Unread posts' and 'Unread replies' in IE, but in FF those two options follow each other immediately.
Is this possible??
I have added this link:
echo '<a target="_blank" <a href="http://ras.atomvinternatt.se/rules.html">De 10 RAS-buden</a>', $context['menu_separator'];
Is it possible to implement this rules.html, so it shows up just like the calendar do (in the middle of the page):
<a href="', $[b]scripturl, '?action=calendar[/b]">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/calendar.gif" alt="' . $txt['calendar24'] . '" style="margin: 2px 0;" border="0" />' : $txt['calendar24']), '</a>', $context['menu_separator'];
Adding the link to the buttons is easy enough..but to make it a separate page requires more than the theme can give you.
Thats what i guesed. Thx anyway. :)
Hey Bloc,
Some of my users are noticing an issue with the Tree-Menu at the top of the forums. It doesn't display unless they mouse-over it.
I've tested with IE 6, IE 6sp2, IE7 Beta 2, and FF 1.5 and I don't experience it.
I'll link to some screenshots so that you can understand what I'm talking about. Any thoughts??
Thanks.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fhome.comcast.net%2F%7Emimstore%2Fimg3.jpg&hash=3338251a6d9554d7e8ae1e53f40524432495f8f2)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fhome.comcast.net%2F%7Emimstore%2Fimg4.jpg&hash=bac585d0af0f986665b90bc7130fd0f17324a50a)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fhome.comcast.net%2F%7Emimstore%2Fimg5.jpg&hash=495c5046868ad3bdfab4b7b5b4b46db84ff3b6e5)
Bloc,
Is there a way to disable the whole left column?
Thanks!
By removing the <td> with the sidebar in index.template, yes.
Hi
I have just updated to the RC2 version from the 1.1 beta and I seem to be having problems with the home page / BoardIndex.template.php
For some reason the width will not reduce as the browser window is reduced. The rest of the forum is fine, just the home page.
Any ideas? :'(
Hmmmm.
It seems to be a problem with showing the most recent posts at the bottom. If I switch this feature off, then the board resizes fine.
Yes, Neptune just use the defaut theme boardindex.template - and if that one have the "nowrap" attribute set in one of the tables for recent posts, it will not shrink. Remove the nowrap there and you will be fine.
Quote from: tobehuman on February 27, 2006, 04:02:27 AM
Thanks for the great theme Neptune!
I'm having a little trouble turning off "Show On Top" option for the sideboxes. After I uncheck it and save, it is still checked. I tried to remove the contents of the box and then save it too, but that didn't help. Can anyone help me out? Thanks. :)
I'm using SMF 1.0.5
I use SMF 1.0.6 Norwegian
I wonder if there is an answer to that question.
My forum is pretty much just Norwegian now, but the part where the boxes for the sidebar is, it is in English. And I can't uncheck the box that says on top.
Copy Neptune/languages/Modifications.english.php to Neptune/languages/Modifications.norwegian.php and translate the strings inside.
Eller var det andre tekststrenger du tenkte på? ;)
Just installed Neptune - what a fantastic theme it works a treat and we are really pleased with it.
However I have just done something stupid and seem to have created havoc. In admin I was teaking the neptune theme. By adding html to the 3 boxes.
1st box worked fine but the 2nd - >:( I added my google adsense script to try to place google ads in the left column and the whole forum shifted to the left and it wont let me back into admin to delete the script.
I tried to find the script via ftp but to no avail. Anyone have any ideas or should I just delete neptune and then re-install via ftp
I'm running 1.07 which I have just upgraded to www.britishminiclub.co.uk/smf (http://www.britishminiclub.co.uk/smf)
This is a screenshot of what I see www.britishminiclub.co.uk/images/forumscreenshot.jpg (http://www.britishminiclub.co.uk/images/forumscreenshot.jpg)
Try to go into default theme by typing index.php?theme=1 and then erase the Neptune theme. Install it again as a new one, it will get a new ID number and not use the previous failure code you put in.
But do check the code first..before committing it. :)
I've managed to get in by using your suggestion - Thank you very much for that. I presume I erase the neptune theme via ftp. Whats the best way to install again via ftp or through admin ?
I certainly wont be adding my google adsense code again ;)
Admin. So you are sure to get a new theme ID number.
I deleted neptune via ftp then re-installed through admin "install a new theme" and the same thing happened again :(
the box that says "create a copy of default named" then in the box it says "theme 1" does this have to be deleted first ?
I'm very confused why it will not work correctly.
Hey Bloc I notice you have installed Joomla for your site. Its a very good CMS to work with
You do know which date it is today? ;D
As for the theme, that was strange. Did you locate the theme zip and pressed install?
I know its April fools ;D ;D Sorry I'm getting there. Just come back from an operation and the brain isn't functioning yet ;D ;D ;D
Sorted and re-installed - I can start again now and I promise I won't install any google adsense code in any of the sideboxes.
I placed some html into sidebox 1 to place 5 links back to the main site. But noticed it will only accept enough html for 2 links - is there a reason for this ?
Hi Bloc, this theme looks great but i need button psd file to translate it to Turkish.
I have downloaded and installed this theme .
1. My content is currently restricted from guests and only visible after login. However, with this theme, the side bar content is visible to guests and I don't want that to be the case.
Is there a way I can modify this theme to make the side bar and it's contents visible ONLY after log in?
wonderful theme, Bloc! really nice!
just a silly question, what size banner would take up the top banner area?
Sorry to double-post, but would 480 x 60 cover the area for the banner?
Nice work ! ;) ;)
is this theme likely to go RC3? Or what would I need to do to make it RC3 complient? I don't want to upgrade until I know the theme will work...
It will work fine with the RC2 version of the theme. But all my themes will be upgraded for RC3 too, in due time.
Great design Bloc!!!
I was wondering if the sidebar was able to handle any of the .ssi functions.
I want to integrate the top posters and recent posts into this side bar... I was wondering how the code would look if this is possible.
Thanks.
You can eaily hardcode the calls into index.template. The template is php, so its just a matter of calling SSI.php first - and then the function.
Thanks for the quick reply.
I will try that.
Sorry,
Double posting....
I had no luck in adding the ssi, i am noob at ssi and php.... forwarding me to some good tuts might help.....I love this theme, check my site at http://nextsite.org...........but i really need some help with SSI,,,I haven't had no luck...
But thanks for the overall,
Anub
You could always try TinyPortal (http://www.tinyportal.net/smf/index.php?page=32) ;) that has ssi function calls already there..but if not, try search on "ssi" on this site, there are numerous topics about it.
Thanks again.... ;)
Edit: You are the man! Thanks for the help... :)
TinyPortal installed so easily.
topic locked please refer to:
http://www.simplemachines.org/community/index.php?topic=76754.0