The SMF team is happy to announce our long awaited Curve for Mediawiki theme is finally ready for release to the public. The theme is licensed GPL and some images are licensed BSD in accordance with the SMF license. If you would like to help improve the theme for others feel free to send a pull request with the changes and they will be considered for merging into the repository.
The code can be found here (https://github.com/SimpleMachines/smfcurve).
- If you are using MediaWiki version 1.22.x or earlier you can find the latest version here (https://github.com/SimpleMachines/smfcurve/archive/master.zip),
- If you are using version 1.23.x you can find the latest version here (https://github.com/SimpleMachines/smfcurve/archive/1.1.zip) in zip format from the "Download as Zip" link provided by github.
- If you are using version 1.25 or later, you can find latest version here (https://github.com/SimpleMachines/smfcurve/releases/download/1.2/smfCurve-1.2.zip)
How to Install (https://github.com/SimpleMachines/smfcurve/wiki/Installing) - How to Upgrade (https://github.com/SimpleMachines/smfcurve/wiki/Upgrading)
Nice, and thanks for sharing :)
Thanks Illori.
Hopefully, SMF users will take advantage of this, and make use of the theme.
Ooo yeah. Thanks Illori! ;D ;D ;D
Good Job ;)
Awesome news ! Thanks :)
Super cool! Thanks!
Awesome! Big thanks to Matt and anyone else who worked on it :)
/me knows SMF is one step closer to world domination >:D
congrats
Nice :)
Awesome, thank to all the contributors. :)
working for SMF 2.0.4 with MW 1.16
GREAT!!!
How can i show my Forum Header (Avatar, Main-Menu, last Post...) inside this Template?
Any suggestions?
Thank you!
i dont think by default that can easily be done. even the theme we use here does not have the same header as the forum. it would take a lot of work to add that.
Good job.
now it is possible to deliver wiki an engine and users at all won't understand that they on other engine
https://github.com/SimpleMachines/smf-mw-auth
ummm.... what?
Illori, what is the link to your forum? I bet it has all these tools you speak of. lol.
a link to my forum has nothing to do with this thread and i dont "store" tools on my forum.
nichlaus, you continue to babble... please stop
Quote from: Illori on June 30, 2013, 08:10:47 AM
i dont think by default that can easily be done. even the theme we use here does not have the same header as the forum. it would take a lot of work to add that.
Actually shouldn't be too hard. In fact looking at the file I see some of the code is still there for our site menu. Just needs the proper calls and it should show up.
but the person was asking for the forums menu to show on the theme, on our current theme the forum menu does not show at all, just our custom menu at the top of the page.
thanks for catching that extra code, i have removed it.
i did some research and it is possible to easily add the forums menu to the wiki skin
smfcurve.php
echo '
<div id="wrapper">
<div id="header">
<div class="frame">
<div id="top_section">
</div>
require("path/to/SSI.php");
echo '
<div id="wrapper">
<div id="header">
<div class="frame">
<div id="top_section">
', ssi_menubar(), '
</div>
in main.css
#top_section
{
min-height: 65px;
overflow: hidden;
margin-bottom: 3px;
}
#top_section
{
min-height: 65px;
margin-bottom: 3px;
}
this is with the newest version that is on github that has the site_menu removed
[edit] new version on github has above changes and comments for adding SSI.php and the menu
thanks for trying to helping me out.
but the changes in the code not working... :'(
did you put in the correct path to your SSI.php? i tested it and it worked fine for me.
i think so...
(using XAMPP for testing purposes)
require("F:\xampp\htdocs\aktuell\SSI.php");
that should work as long as the file is actually there. i tested on wamp this morning and it worked fine.
i think if you have further questions about this you should open a separate thread in the coding board and see if others can help you out.
OK.
thank you so much!
Is this a standalone theme or does SMF need to be bridged to it?
Edit: Just tried it, it looks really nice!
I`m using the Default SMF2 Theme "Curve".
Can help this posting:
http://www.simplemachines.org/community/index.php?topic=490111.msg3434829#msg3434829
that the wiki looks like the other Forum-Pages?
If yes, where exactly i need to edit the "smfcurve.php" ???
The answer is: yes...!
I was able to fix almost all the problems alone, calling the SSI.php (WOW!!!)
after:
$this->html('headelement');
in the file smfcurve.php i add:
require_once("..\SSI.php");
template_html_above();
template_body_above();
Only when i click inside the wiki => Edit Page, the Icons for page-editing from the wiki (bold, italic,...) appear directly under the Forum-main-menu.
That looks a little ... ugly
Please, can somebody have a look?
probably conflicting CSS
i tested again the code i posted and it works fine without anything else added. you dont need the above or below html templates to make this work and that is what is causing your problems.
if you need further help with ssi please open a separate thread this thread is not for support.
I see now, there are no Footerlinks inside, where i need to put this?
http://www.mediawiki.org/wiki/Manual:Footer
you would be best asking mediawiki for support, we are just providing the theme as is.
Quote from: Draffi on October 14, 2013, 02:54:44 PM
I see now, there are no Footerlinks inside, where i need to put this?
http://www.mediawiki.org/wiki/Manual:Footer
Looking at MonoBook, I think you may have to add something like this:
<?php
$validFooterIcons = $this->getFooterIcons( "icononly" );
$validFooterLinks = $this->getFooterLinks( "flat" ); // Additional footer links
if ( count( $validFooterIcons ) + count( $validFooterLinks ) > 0 ) { ?>
<div id="footer"<?php $this->html('userlangattributes') ?>>
<?php
$footerEnd = '</div>';
} else {
$footerEnd = '';
}
foreach ( $validFooterIcons as $blockName => $footerIcons ) { ?>
<div id="f-<?php echo htmlspecialchars($blockName); ?>ico">
<?php foreach ( $footerIcons as $icon ) { ?>
<?php echo $this->getSkin()->makeFooterIcon( $icon ); ?>
<?php }
?>
</div>
<?php }
if ( count( $validFooterLinks ) > 0 ) {
?> <ul id="f-list">
<?php
foreach( $validFooterLinks as $aLink ) { ?>
<li id="<?php echo $aLink ?>"><?php $this->html($aLink) ?></li>
<?php
}
?>
</ul>
<?php }
echo $footerEnd;
?>
Where?...well, good question...
You may try just before:
', $this->html('bottomscripts') /* JS call to runBodyOnloadHook */ , '
Pay attention to php opening and closing tags and echo statements. ;)
Thank you Illori :D :D
I know this topc is a little bit old, but maybe someone have an idea.
Wikicode, on a new page:
((image:pucture.jpg|left)), okay
((image:pucture.jpg|right)) picture is somewhere in the middle and text not flow around it.
Someone know a fix for this?
Tested with IE 11 and Chrome 37, mediawiki 1.23.2,smfcurve 1.1.
It not happens if I select Monobook, modern or vector as a wiki style in the user settings.
example http://wiki.simplemachines.org/smf/User:Lastwebpage
--------
and another one
The search box in the left menu is too wide.
the search box does not change size depending on screen size and that is the issue. i doubt that will be fixed.
i am not sure what the issue is with the right image, we are not mediawiki experts, we just use it.
Quote from: Lastwebpage on August 10, 2014, 10:33:22 AM
I know this topc is a little bit old, but maybe someone have an idea.
Wikicode, on a new page:
((image:pucture.jpg|left)), okay
((image:pucture.jpg|right)) picture is somewhere in the middle and text not flow around it.
Someone know a fix for this?
Tested with IE 11 and Chrome 37, mediawiki 1.23.2,smfcurve 1.1.
It not happens if I select Monobook, modern or vector as a wiki style in the user settings.
example http://wiki.simplemachines.org/smf/User:Lastwebpage
--------
and another one
The search box in the left menu is too wide.
You can always report bugs: https://github.com/SimpleMachines/smfcurve
I'll gladly work on them.
Quote from: Illori on August 10, 2014, 11:40:18 AM
the search box does not change size depending on screen size and that is the issue. i doubt that will be fixed.
i am not sure what the issue is with the right image, we are not mediawiki experts, we just use it.
I can do some trick :)
I reported both
https://github.com/SimpleMachines/smfcurve/issues/5
https://github.com/SimpleMachines/smfcurve/issues/6
It would be very nice if someone search for the issue with the right imagines.
I can maybe fix it for one wiki site with <div> <table> or whatever, but the wiki contains too many sites already. ;)
How can I get the theme?
Please see the information found in the first post (http://www.simplemachines.org/community/index.php?topic=506649.msg3567719#msg3567719) of this topic.
Actually that depends on which version of MediaWiki you are using.
If you are using MediaWiki 1.23.x (or later) download this (https://github.com/SimpleMachines/smfcurve/archive/1.1.zip).
If you are using MediaWiki 1.22.x (or before) download this (https://github.com/SimpleMachines/smfcurve/archive/master.zip).
A bit off-topic, but does a MediaWiki support forum exist? I wish I could ask my questions about the software like I do on here...
Made some updates on first post since (my bad) to link the download for different versions for 1.22 (or earlier) or 1.23 (or later) MediaWiki releases.
Can't really remember if I posted this before but a little bonus :)
Great job. Thanks. But the search box does not change size depending on screen size and that is the issue. i doubt that will be fixed. It would be very nice if someone search for the issue with the right imagines.
Since skin loading changed in MediaWiki 1.25, we updated our skin as well. Please take a peek at first post and use v1.2 on your MW1.25 or later versions (till they change it again :P).
Awesome. Was pretty easy to install. Few catches along the way, but overall looks great. Well done :)