All files have been moved to the themes site:
http://themes.simplemachines.org/index.php?lemma=19
Another great theme Bloc. I like this one very much.
Just a suggestion, maybe you could create versions which don't include the avatar in the header. I say this because it looks awkward to have a repeated avatar in MK Portal
I will look into it.
nice layout ;)
Very nice theme. Has a nice taste in it. :)
ive removed the calendar file and it still displays as a list.... could it be my cache needs updating?
Probably. If the calendar.template.php is gone , the default one should be used.
If you have a link, I can check it.
ive been told it works, just see if it takes a while for mine to work properly
I try'd to add an arcade butten but it only shows this.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.theconspiratorsplace.hiya-host.com%2Fimages%2FClipboard01.png&hash=cf1ed228a11e64a640299ae8f5be88c608a51961)
What did you put in the boxes..and which ones?
EDIT:
I just realised..you might be trying to insert the button into the code..is that the case?
If it is, perhaps you could use the admin option of adding buttons instead?
QuoteI just realised..you might be trying to insert the button into the code..is that the case?
Yeah. I copyed the code from another butten and changed some parts of it (e.g action=calendet to action=arcade)
// The [calendar]!
if ($context['allow_calendar'])
echo $bef.'
<a href="', $scripturl, '?action=calendar">', strtoupper($txt['calendar24']), '</a></td>';
// The [arcade]!
echo $bef.'
<a href="', $scripturl, '?action=arcade">', strtoupper($txt['arcade']), '</a></td>';
// If the user is a guest, show [login] and [register] buttons.
if ($context['user']['is_guest'])
QuoteIf it is, perhaps you could use the admin option of adding buttons instead?
Huh?
Well done Bloc, as usual. Excellent job you did to the display.
If you go into admin section/current theme settings, inserting the link in buttonlink 1 box , and a label("arcade"?) in the buttonlink1 label box the button will show up automatically.
Quote from: The Conspirator on April 10, 2005, 04:27:43 AM
QuoteIf it is, perhaps you could use the admin option of adding buttons instead?
Huh?
Quote from: A.M.A on April 10, 2005, 04:40:18 AM
Well done Bloc, as usual. Excellent job you did to the display.
Thank you. :) Not sure everyone likes the calendar though, its more an experiment.
Oh .. how did I miss that. With lots of events/birthdays it will be perfect. Maybe reducing the font size a bit or dividing the weeks into blocks tow/three per a row.
Yeah, I thought of dividing it, but kept the current, since it would then look good in any width.
But it probably could benefit from 2 columns at least.
Ok got it, thanks.
I like the theme, best one I've seen.
Thanks. :)
Looks good Bloc... I'm wondering how I missed this theme (I browse this section at least once a week to keep up with the themes)... :)
Nice CSS :)
Love this theme.
I only have one tiny little gripe. (a miracle that I only have one...)
The icons for topics are a little hard to differentiate at high res. In particular the shadow on the sticky one is tough.
More color or shape differences would be great!
Buzz
Yeah, they are copies of the default/classic theme actually, I just toned them down a bit to suit the "atmosphere" of the theme. You could try to just exchange them with the originals if you like. ;)
best theme for me - but a little buggy if the board language is set to german. i think mostly caused by special character handling... the top menu and the "index" link show up crippled.
would someone be so helpful and check that out? i don't know where to look for... :(
thx! ;)
Do you have a link?
sure, sorry:
http://mailman.ma.funpic.de/PS/
dont care about the board name ;)
e: woosh! what a reply-time! :D
this is from my error log:
Filter hinzufügen: Zeige nur Fehlermeldungen dieses Mitgliedes mAiLmAn Heute um 11:40:20 AM
Filter hinzufügen: Zeige nur Fehlermeldungen dieser IP Adresse 85.74.23.194 Filter hinzufügen: Zeige nur Fehlermeldungen dieser Sitzung 0f7dae1ed7f8ca8b50d853db76cd2313
Filter hinzufügen: Zeige nur Fehlermeldungen dieser URL http://mailman.ma.funpic.de/PS/index.php?action=viewErrorLog
Filter hinzufügen: Zeige nur Fehlermeldungen mit der gleichen Nachricht
8: Undefined index: bl22-pm
Datei: /usr/export/www/vhosts/funnetwork/hosting/mailman/PS/Themes/default/Errors.template.php (eval?)
Zeile: 157
Filter hinzufügen: Zeige nur Fehlermeldungen dieses Mitgliedes mAiLmAn Heute um 11:40:20 AM
Filter hinzufügen: Zeige nur Fehlermeldungen dieser IP Adresse 85.74.23.194 Filter hinzufügen: Zeige nur Fehlermeldungen dieser Sitzung 0f7dae1ed7f8ca8b50d853db76cd2313
Filter hinzufügen: Zeige nur Fehlermeldungen dieser URL http://mailman.ma.funpic.de/PS/index.php?action=viewErrorLog
Filter hinzufügen: Zeige nur Fehlermeldungen mit der gleichen Nachricht
8: Undefined index: bl22-maintenance
Datei: /usr/export/www/vhosts/funnetwork/hosting/mailman/PS/Themes/default/Errors.template.php (eval?)
Zeile: 162
Filter hinzufügen: Zeige nur Fehlermeldungen dieses Mitgliedes mAiLmAn Heute um 11:40:20 AM
Filter hinzufügen: Zeige nur Fehlermeldungen dieser IP Adresse 85.74.23.194 Filter hinzufügen: Zeige nur Fehlermeldungen dieser Sitzung 0f7dae1ed7f8ca8b50d853db76cd2313
Filter hinzufügen: Zeige nur Fehlermeldungen dieser URL http://mailman.ma.funpic.de/PS/index.php?action=viewErrorLog
Filter hinzufügen: Zeige nur Fehlermeldungen mit der gleichen Nachricht
8: Undefined index: bl22-loggedin
Datei: /usr/export/www/vhosts/funnetwork/hosting/mailman/PS/Themes/default/Errors.template.php (eval?)
Zeile: 172
Filter hinzufügen: Zeige nur Fehlermeldungen dieses Mitgliedes mAiLmAn Heute um 11:40:20 AM
Filter hinzufügen: Zeige nur Fehlermeldungen dieser IP Adresse 85.74.23.194 Filter hinzufügen: Zeige nur Fehlermeldungen dieser Sitzung 0f7dae1ed7f8ca8b50d853db76cd2313
Filter hinzufügen: Zeige nur Fehlermeldungen dieser URL http://mailman.ma.funpic.de/PS/index.php?action=viewErrorLog
Filter hinzufügen: Zeige nur Fehlermeldungen mit der gleichen Nachricht
8: Undefined index: bl22-unread
Datei: /usr/export/www/vhosts/funnetwork/hosting/mailman/PS/Themes/default/Errors.template.php (eval?)
Zeile: 186
Filter hinzufügen: Zeige nur Fehlermeldungen dieses Mitgliedes mAiLmAn Heute um 11:40:20 AM
Filter hinzufügen: Zeige nur Fehlermeldungen dieser IP Adresse 85.74.23.194 Filter hinzufügen: Zeige nur Fehlermeldungen dieser Sitzung 0f7dae1ed7f8ca8b50d853db76cd2313
Filter hinzufügen: Zeige nur Fehlermeldungen dieser URL http://mailman.ma.funpic.de/PS/index.php?action=viewErrorLog
Filter hinzufügen: Zeige nur Fehlermeldungen mit der gleichen Nachricht
8: Undefined index: bl22-replies
Datei: /usr/export/www/vhosts/funnetwork/hosting/mailman/PS/Themes/default/Errors.template.php (eval?)
Zeile: 187
ah, I think you must define some text-strings meant for the theme..thats the "bl22-xxx" stuff you see in the log.
Try to open index.english.php in Themes/black22/languages and copy the bottom parts that start with "bl22-" over to your index.german.php file, and of course translating them if you want - to german.
Then the errors from that should disppear.
thanx
Thanks, I may try exchanging the images.
BTW, I just noticed that the link to your site is broken in the version I downloaded 3 days ago...
it's blocozne instead of bloczone, might want to fix that! ;)
Thanks for the awesome work.
Already fixed in current version. But thanks for the heads up. :)
Hey another great theme Bloc. I'm trying to get it to work on the Beta version.
To make it work I added :
$GLOBALS['modSettings']['memberCount'] = isset($GLOBALS['modSettings']['memberCount']) ? $GLOBALS['modSettings']['memberCount'] : $GLOBALS['modSettings']['totalMembers'];
to the top of index.template.php because I was getting an undefined index error.
The main problem I'm having is the table itself seems a little off:
Link: www.mikemill.org/board/?theme=3
Any ideas?
Try it on with some posts..I think it moves a little when there are no items in the "last post" column.
btw, the link you gave is not the Black22 theme, it showed some experimental theme of yours I reckon. :)
Opps put the wrong domain down
www.mikemill.com/board/?theme=3
Ok putting in posts did clear it up
Yes. :) Its because I use several tables instead just new rows(for the layout I have there), so when its empty it gets squashed.
But most people don't have empty baords though. ;D
Well I'm still creating it so :P
i want that i did insatll it on my forum SMF but wish to use that too in my Site to fit together but i cant figure out how use them into php simple file
Its possible to use the code on other pages than the forum, but it means removing quite a bit of code I am afraid.
Missing thi text from first row : 0 (0) : OFF : 2d 12m | It's the PM, time in form etc. when run in finnish language, how to fix this?
BMW
You need to add these texts in the index.finnish.php file inside the "language" folder:
(and of course translate them if you want)
// texts from Black22 theme
$txt['bl22-pm']='PM';
$txt['bl22-maintenance']='MAINTENANCE';
$txt['bl22-unapproved']='UNAPPROVED';
$txt['bl22-loggedin']='LOGGED IN';
$txt['bl22-replies']='REPLIES';
$txt['bl22-unread']='UNREAD';
Thanks Bloc, worked fine :)
This is the closest thing I can find to the Hardwired theme for Coppermine, so I'm using it (with a few tweaks). Very nice theme. Thanks. :)
I currently have this theme (modified), and it doesn't display my buttons, just text/css.
How do I enable my buttons?
http://www.mp3ringtones4u.com/smf
It doesn't use buttons at all..it simply takes the texts and place them on top of a background graphic.
I got your theme to work with buttons. ;) Just had to do some code modifying. Not too bad, but took couple of hours.
Thanks for the theme.
http://www.mp3ringtones4u.com/smf
That looks great! Seems those buttons blend in well. :)
Thank you, and yeah, took some work... it helps knowing CSS/design. I use the hardwired theme for my coppermine gallery, and your theme was the closest to match that. I just had to change some of the CSS to match it completely.
Here is a brief tutorial on how to replace text with buttons for this theme:
1) Open the file 'index.english.php' located in \smf\Themes\black22\languages
2) Find the text you want to replace with a button ( for example, $txt[34] = 'Login'; )
Here you want to replace the text 'Login' with a login button. Write down $txt[34] and search for it in all the php files located in \smf\Themes\black22\languages folder.
3) There are 2 types of replacements you can make. I called them 'Periods' and 'Commas'
Example of 'Periods': You will see code that looks like this:
. $context['start'] . ';num_replies=' . $context['num_replies'] . '">' . $txt[34] . '</a></td>';
You will replace $txt[34] with this code:
'<img src="'. $settings['images_url']. '/english/login.gif" border="0" />'
Notice that both the original code and the insertion code have periods.
Example of 'Commas': You will see code that looks like this:
else window.location.href = this.href; return false;">', $txt[34] , '</a></div></td>';
You will replace $txt[34] with this code:
'<img src="', $settings['images_url'], '/english/login.gif" border="0" />'
Some places in the code might say '$txt[400]', but there will not be a corresponding text for that number in the index.english.php, then you just do the same thing and just figure out what the button there should be and use the appropriate code.
If you get a parse error after making a substitution, then you used the wrong code. Like if you used 'periods', try using the 'commas' instead or vise versa.
Here's a screenshot of my current layout with buttons.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.supertekie.com%2Falex%2Flayout1.jpg&hash=34941b961506c5e7d19c570602a0257bc5ae65eb)
Although it might be done like this, its better to use the template files and change back to using image files. A major task I know, since it took some time to filter them out in the first place. :)
Updated to work with SMF 1.1RC1
Bloc, your demo URL does not work.
Thanks Dan. Updated it. :) after the move its juggled. I need to update all themes with correct demo links really..
Quote from: Bloc on October 07, 2005, 08:39:23 PM
Thanks Dan. Updated it. :) after the move its juggled. I need to update all themes with correct demo links really..
No problem...yeah, works for me now.
Very beauthifull theme!
I wil use it for my new forum (instead of phpbb)
Only a few questions...
In dutch the first rule is not nice...
: 8 (0) : OFF : 2h 33m |
How do I easyli ad a header and footer?
Thanks in advence!
The URL is: http://www.cadsite.be/smf/
You are missing some language strings:
http://www.simplemachines.org/community/index.php?topic=32729.msg279928#msg279928
As for header/footer..the easiest way would be to look for <body> and </body> in index.tmplate of Black22, and just insert the html code there.
Quote from: Bloc on October 14, 2005, 08:05:29 PM
You are missing some language strings:
http://www.simplemachines.org/community/index.php?topic=32729.msg279928#msg279928
As for header/footer..the easiest way would be to look for <body> and </body> in index.tmplate of Black22, and just insert the html code there.
Thanks, I'll look at ik tomorrow! 8)
BTW, really nice theme!
[edit]Thanks, I didn't made that modification, now everithing works perfect!
I got a problem. The Website, PM, Profile, and Email buttons arnt comming up, they just show as text.
Thats intentional.
how about matching it with the pjirc chat
You will need to add a button - "chat" - I reckon, but otherwise it should be ok. Just use the built-in button spots in "admin" / "current theme settings".
Updated for use with SMF1.1RC2. See first post for download link.
Wow... my english is poor but only can say that this is fantastic...
hi bloc ,
can u insert the chat link ,button and so on,4 the everywhere chat.
If you use "current theme settings" in Black22, there are already textboxes you can use, just insert a link and name for a button and it will show up on the main menu.
ahhh
great thing sory , i hav´nt seen it . is it posible to insert these "insert field"to every theme?
No, they are per-theme specific. Although the routine can be copied to other themes , the values will not.
Hi, got one question!
"Users Online Today Mod", there's no that mod in this theme , can I put it somehow ?
And where?
Tnx.
You need to check the help file for the mod and apply the changes to BoardIndex.template.php of Black22.
Is it the mod from Fasan?
Quote from: Bloc on March 30, 2006, 03:49:24 AM
If you use "current theme settings" in Black22, there are already textboxes you can use, just insert a link and name for a button and it will show up on the main menu.
I created a button named "EMAIL" that goes to our webmail. Looks and works great but I would like it to open in a new window/tab rather than take me away from the forum to check my email then I have to hit the back button to get back to the forum.
Another words...how do I make the URL for the button use _blank?
Hey man I have an urgent problem with your template. It seems that the mod SMFShop 2.2 don't show up on members post. I really want you to at least fix it or give me instructions on to fix it (it seems like an easy solution to fix it for you...but I'm not in that catagory), becuase I LOVE this template and it matches with my site. I don't want to let it go becuase of this mod (which I really need for my Project PSP-RPG (http://boardsus.playstation.com/playstation/board/message?board.id=pspgames&message.id=303717)..which is pretty famed upcomming project for the PSP).
I hope you get this soon....or I'll email you. ;)
The mod needs 2 things to work in all themes - add a button and adding some code in topic view.
First you can use the extra buttons in Black22 and simply add one that says "Shop" or whatever, then add the link to the shop in it. The second you need to open Display.template of Black22 and find this:
// Show how many posts they have made.
echo '
', $txt[26], ': ', $message['member']['posts'], '<br />
<br />';
Then replace it with this code:
// Show how many posts they have made.
// echo '
// ', $txt[26], ': ', $message['member']['posts'], '<br />
// <br />';
//BEGIN Shop MOD 0.2 Code
echo '
', $txt[26], ': ', $message['member']['posts'], '<br />
';
//I couldn't find where all these $message['member'][whatever] variables
//are set, so I just send an extra database query to get the member's
//money. Can someone tell me where (file and line) the $message variables
//are set?
global $ID_MEMBER, $db_prefix;
$result_money = db_query("SELECT money
FROM {$db_prefix}members
WHERE ID_MEMBER = {$message['member']['id']}
LIMIT 1", __FILE__, __LINE__);
$row_money = mysql_fetch_array($result_money, MYSQL_ASSOC);
echo $modSettings['shopCurrencyPrefix'].$row_money['money'].$modSettings['shopCurrencySuffix']."<br><br>";
//END SHOP MOD
//BEGIN SMFShop MOD 1.31 (Build 7) CODE
echo "<a href='$scripturl?action=shop;do=invother2;member={$message['member']['username']}'>View Inventory</a><br>";
//END SMFShop MOD 1.31 code
//BEGIN SMFShop MOD New Version (Build 10) code
echo "<a href='$scripturl?action=shop;do=sendmoney;member={$message['member']['username']}'>Send Money to {$message['member']['name']}</a><br />";
//END SMFShop code
This is just right out the mod's code, so I can't verify it any further - I am not using it myself.
It works like a charm bro. Thanks! ;)
I'm trying to change the font colors in the headings and the role over links to be more in line with the colors on my main site. when I try to do this in the admin>Current Theme's Settings>Edit Theme I get this message
This file cannot be saved because it is not writable! Please make sure the following file is 777 or has the proper permissions: .../Themes/Black22/style.css
Can I make changes in this window to see if I'm changing the right sections?
Also how can I move the users online up to the top inplace of the random news box?
And can I add my own logo to the top?
1. If you can't write to the style.css, use ftp instead and upload any changes. A bit harder, but that should at least work.
2. No, moving online users from bottom means moving that code from BoardIndex.template to index.template - but the online information is ONLY available on forum frontpage, not elsewhere. One possibility is using SSI.php..but thats rather more complex to setup.
3. Logo on the top can be added..one way is too simply open index.template and search for <body>, then insert any <img> tag right after it.
I was able to move the users online up to the top of the forum and really like how it looks :) on this theme.
I was able to add the logo to the top of the page as well but would like it to link back to my home page in a new window and can't seem to get it to work. this is what I have.
Quoteecho '<table width="100%" cellpadding="0" cellspacing="0" style="background-image: url('.$settings['images_url'].'/topbarmid.gif); background-repeat: repeat-x;"><tr><td class="forum_name" width="50%"><a href="http://www.madcity.org/"><img align="center" src="'.$settings['images_url'].'/thumb_GreyLogo.jpg" alt="" /> '.
I've also added a flashing mail gif to the IM
Quote//kvo081406 Show Flashy icon if user has new messages and it not a guest
if (!$context['user']['is_guest'] && $context['user']['unread_messages'])
echo '
<a href="' . $scripturl . '?action=pm"><img src="' . $settings['images_url'] . '/newim.gif" border="0" />(' . $context['user']['unread_messages'] . ')</a> ' . $context['menu_separator'] . '';
Is there a way to remove the current (#) new messages and have it replaced with the above.
I would like to have a column along side the forum similar to your examplehttp://www.tinyportal.net/smf/index.php?action=forum;theme=4 (http://www.tinyportal.net/smf/index.php?action=forum;theme=4) so that I could add the Ultimate Shoutbox Mod and some of the stat boxes like you have but can't figure out how to keep the shoutbox fixed to the top just under the buttons?
To open a link in a new window, use <a target="_blank". To have a column along the side, find the main table and add a <td> to it, thats what I use on tinyportal.net.
For flash icon you could locate <a href="' . $scripturl . '?action=pm"> and simply exchange whats after it with the <img> tag pointing to newim.gif.
Bloc I've tried adding the column but each time I think I have it I get an error is this where I need to place something???
Quote// --></script>
</head>
<body>';
echo '<table align="center" width="', (isset($settings['forumwidth']) && !empty($settings['forumwidth'])) ? $settings['forumwidth'] : '85%' ,'" cellspacing="0" cellpadding="0" border="0"><tr><td style="width: 6px; background-image: url('.$settings['images_url'].'/leftback.gif); background-repeat: repeat-y;" valign="top"><img src="'.$settings['images_url'].'/leftback.gif" alt="" /></td>';
echo '<td width="100%" style="background-color: #000000" valign="top">
<div style="width: 100%; background-color: #3E3C3C">';
This is what I have for the flashing gif
Quoteecho '<a href="', $scripturl, '?action=pm">'.$txt['bl22-pm'].': ', $context['user']['messages'], ' (', $context['user']['unread_messages']>0 ? '<span style="color: #ffa0a0;font-weight: bold;">'.$context['user']['unread_messages'].'</span>' : $context['user']['unread_messages'] ,')</a>';
//kvo081406 Show Flashy icon if user has new messages and it not a guest
if (!$context['user']['is_guest'] && $context['user']['unread_messages'])
echo '
<a href="' . $scripturl . '?action=pm"><img src="' . $settings['images_url'] . '/newim.gif" border="0" />(' . $context['user']['unread_messages'] . ')</a> ' . $context['menu_separator'] . '';
What can I delete without messing everything up
Thanks for your help
topic now locked please refer to:
http://www.simplemachines.org/community/index.php?topic=77774.0