Advertisement:

Author Topic: SMF Curve for Mediawiki theme release  (Read 1601670 times)

Offline Illori

  • Project Manager
  • SMF Master
  • *
  • Posts: 47,657
SMF Curve for Mediawiki theme release
« on: June 27, 2013, 07:14:46 AM »
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.
  • If you are using MediaWiki version 1.22.x or earlier you can find the latest version here,
  • If you are using version 1.23.x you can find the latest version here 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
How to Install - How to Upgrade
« Last Edit: May 30, 2016, 03:43:27 PM by Antes »

Offline NanoSector

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 10,471
  • Gender: Male
  • VC321xb47@aperture:~#
    • Yoshi2889 on GitHub
Re: SMF Curve for Mediawiki theme release
« Reply #1 on: June 27, 2013, 07:23:29 AM »
Nice, and thanks for sharing :)
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Offline Irisado

  • Doc Coordinator
  • SMF Hero
  • *
  • Posts: 8,897
  • Soñando debajo del arco iris
Re: SMF Curve for Mediawiki theme release
« Reply #2 on: June 27, 2013, 08:49:33 AM »
Thanks Illori.

Hopefully, SMF users will take advantage of this, and make use of the theme.
Soñando con una playa donde brilla el sol, un arco iris ilumina el cielo, y el mar espejea iridescentemente

Offline -=[Vyorel]=-

  • Sr. Member
  • ****
  • Posts: 739
  • Gender: Male
  • Web Hoster
    • ets2mpro on Facebook
    • Romanian Power Hosting
Re: SMF Curve for Mediawiki theme release
« Reply #3 on: June 27, 2013, 10:16:36 AM »
Ooo yeah. Thanks Illori!  ;D ;D ;D
My mods for SMF - [6].

Offline Alpay

  • Language Moderator
  • SMF Hero
  • *
  • Posts: 3,589
  • Gender: Male
  • test
    • Personal Web Page
Re: SMF Curve for Mediawiki theme release
« Reply #4 on: June 27, 2013, 01:10:32 PM »
Good Job ;)

Online Antes

  • Evil Black Cat
  • SMF Friend
  • SMF Hero
  • *
  • Posts: 8,642
  • Gender: Male
  • Black cat rulz!
    • Antes on GitHub
    • merta on LinkedIn
    • @antesistan on Twitter
    • Lunarfall
Re: SMF Curve for Mediawiki theme release
« Reply #5 on: June 27, 2013, 05:42:01 PM »
Awesome news ! Thanks :)
Active Project(s): [ SimpleDesk ] # [ Lunarfall ] # [ CoreStore ]

Past Project(s): [ ezPortal ]

Offline GravuTrad

  • Senior Translator
  • SMF Hero
  • *
  • Posts: 8,576
  • Gender: Male
  • One of the french SMF translators
Re: SMF Curve for Mediawiki theme release
« Reply #6 on: June 29, 2013, 03:53:50 AM »
Super cool! Thanks!
On a toujours besoin d'un plus petit que soi! (Petit!Petit!)


Think about Search function before posting.
Pensez à la fonction Recherche avant de poster.

Offline ѕησω

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,427
  • Gender: Male
  • Nisi credideritis, non intelligetis.
    • wade.poulsen93 on Facebook
    • acans on GitHub
    • https://www.linkedin.com/profile/view?id=145186638 on LinkedIn
    • @imacans on Twitter
    • Acans
Re: SMF Curve for Mediawiki theme release
« Reply #7 on: June 29, 2013, 04:08:30 AM »
Awesome! Big thanks to Matt and anyone else who worked on it :)

* ѕησω knows SMF is one step closer to world domination >:D
"The Book of Arantor, 17:3-5
  And I said unto him, thy database query shalt always be sent by the messenger of $smcFunc
  And $smcFunc shall protect you against injections and evil
  And so it came to pass that mysql_query was declared deprecated and even though he says he is not dead yet, the time was soon to come to pass when mysql_query shall be gone and no more."

Offline gisfreak

  • Senior Translator
  • Jr. Member
  • *
  • Posts: 329
  • Gender: Male
  • NO TRESPASSING
    • GIS Community
Re: SMF Curve for Mediawiki theme release
« Reply #8 on: June 29, 2013, 09:21:06 AM »
congrats
Me fail English? That’s unpossible.

Offline Nolt

  • Language Moderator
  • Full Member
  • *
  • Posts: 484
  • Gender: Male
  • /dev/null
    • smfpolska on Facebook
    • Wizzi
Re: SMF Curve for Mediawiki theme release
« Reply #9 on: June 29, 2013, 06:33:30 PM »
Nice :)

Neo_TE

  • Guest
Re: SMF Curve for Mediawiki theme release
« Reply #10 on: June 30, 2013, 06:45:20 AM »
Awesome, thank to all the contributors. :)

Offline Draffi

  • Jr. Member
  • **
  • Posts: 268
Re: SMF Curve for Mediawiki theme release
« Reply #11 on: June 30, 2013, 07:45:03 AM »
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!

Offline Illori

  • Project Manager
  • SMF Master
  • *
  • Posts: 47,657
Re: SMF Curve for Mediawiki theme release
« Reply #12 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.

Offline Nicholaus

  • Semi-Newbie
  • *
  • Posts: 27
Re: SMF Curve for Mediawiki theme release
« Reply #13 on: June 30, 2013, 01:02:30 PM »
Good job.

Offline inter

  • Jr. Member
  • **
  • Posts: 276
  • Gender: Male
    • interlab on GitHub
Re: SMF Curve for Mediawiki theme release
« Reply #14 on: July 02, 2013, 09:16:47 AM »
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
Sorry for my English

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 54,905
  • Gender: Male
    • Kindred-999 on GitHub
Re: SMF Curve for Mediawiki theme release
« Reply #15 on: July 02, 2013, 10:12:01 AM »
ummm.... what?
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline Nicholaus

  • Semi-Newbie
  • *
  • Posts: 27
Re: SMF Curve for Mediawiki theme release
« Reply #16 on: July 03, 2013, 09:05:36 PM »
Illori, what is the link to your forum? I bet it has all these tools you speak of. lol.

Offline Illori

  • Project Manager
  • SMF Master
  • *
  • Posts: 47,657
Re: SMF Curve for Mediawiki theme release
« Reply #17 on: July 03, 2013, 09:34:13 PM »
a link to my forum has nothing to do with this thread and i dont "store" tools on my forum.

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 54,905
  • Gender: Male
    • Kindred-999 on GitHub
Re: SMF Curve for Mediawiki theme release
« Reply #18 on: July 03, 2013, 10:39:22 PM »
nichlaus, you continue to babble... please stop
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline SleePy

  • Site Team Lead
  • SMF Master
  • *
  • Posts: 29,852
  • Gender: Male
  • Thats his happy face.
    • jdarwood007 on GitHub
    • @jdarwood on Twitter
    • SleePy Code - My personal site
Re: SMF Curve for Mediawiki theme release
« Reply #19 on: July 09, 2013, 12:09:38 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.
Jeremy D — Site Team / SMF Developer
Support the SMF Support team!
Profiles:
GitHub
G+

Offline Illori

  • Project Manager
  • SMF Master
  • *
  • Posts: 47,657
Re: SMF Curve for Mediawiki theme release
« Reply #20 on: July 09, 2013, 05:26:39 AM »
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.

Offline Illori

  • Project Manager
  • SMF Master
  • *
  • Posts: 47,657
Re: SMF Curve for Mediawiki theme release
« Reply #21 on: July 09, 2013, 07:43:49 AM »
i did some research and it is possible to easily add the forums menu to the wiki skin

smfcurve.php
Code: (find) [Select]
echo '
<div id="wrapper">
<div id="header">
<div class="frame">
<div id="top_section">
</div>

Code: (replace) [Select]
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

Code: (find) [Select]
#top_section
{
min-height: 65px;
overflow: hidden;
margin-bottom: 3px;
}

Code: (replace) [Select]
#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
« Last Edit: July 09, 2013, 08:07:50 AM by Illori »

Offline Draffi

  • Jr. Member
  • **
  • Posts: 268
Re: SMF Curve for Mediawiki theme release
« Reply #22 on: July 09, 2013, 04:24:06 PM »
thanks for trying to helping me out.

but the changes in the code not working... :'(

Offline Illori

  • Project Manager
  • SMF Master
  • *
  • Posts: 47,657
Re: SMF Curve for Mediawiki theme release
« Reply #23 on: July 09, 2013, 04:25:54 PM »
did you put in the correct path to your SSI.php? i tested it and it worked fine for me.

Offline Draffi

  • Jr. Member
  • **
  • Posts: 268
Re: SMF Curve for Mediawiki theme release
« Reply #24 on: July 09, 2013, 04:35:47 PM »
i think so...

(using XAMPP for testing purposes)

require("F:\xampp\htdocs\aktuell\SSI.php");

Offline Illori

  • Project Manager
  • SMF Master
  • *
  • Posts: 47,657
Re: SMF Curve for Mediawiki theme release
« Reply #25 on: July 09, 2013, 04:37:58 PM »
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.

Offline Draffi

  • Jr. Member
  • **
  • Posts: 268
Re: SMF Curve for Mediawiki theme release
« Reply #26 on: July 09, 2013, 04:43:52 PM »
OK.

thank you so much!

Offline Study Force

  • SMF Hero
  • ******
  • Posts: 3,094
    • @studyforceps on Twitter
    • Study Force
Re: SMF Curve for Mediawiki theme release
« Reply #27 on: July 09, 2013, 08:34:08 PM »
Is this a standalone theme or does SMF need to be bridged to it?

Edit: Just tried it, it looks really nice!

Offline Draffi

  • Jr. Member
  • **
  • Posts: 268
Re: SMF Curve for Mediawiki theme release
« Reply #28 on: July 16, 2013, 08:41:56 PM »
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" ???

Offline Draffi

  • Jr. Member
  • **
  • Posts: 268
Re: SMF Curve for Mediawiki theme release
« Reply #29 on: July 17, 2013, 09:41:37 AM »
The answer is: yes...!

I was able to fix almost all the problems alone, calling the SSI.php (WOW!!!)

after:
Code: [Select]
$this->html('headelement');
in the file smfcurve.php i add:

Code: [Select]
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?



Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 54,905
  • Gender: Male
    • Kindred-999 on GitHub
Re: SMF Curve for Mediawiki theme release
« Reply #30 on: July 17, 2013, 09:55:29 AM »
probably conflicting CSS
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline Illori

  • Project Manager
  • SMF Master
  • *
  • Posts: 47,657
Re: SMF Curve for Mediawiki theme release
« Reply #31 on: July 17, 2013, 10:17:07 AM »
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.

Offline Draffi

  • Jr. Member
  • **
  • Posts: 268
Re: SMF Curve for Mediawiki theme release
« Reply #32 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

Offline Illori

  • Project Manager
  • SMF Master
  • *
  • Posts: 47,657
Re: SMF Curve for Mediawiki theme release
« Reply #33 on: October 14, 2013, 03:42:18 PM »
you would be best asking mediawiki for support, we are just providing the theme as is.

Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,156
  • Gender: Male
  • THERE'S JUST ME
Re: SMF Curve for Mediawiki theme release
« Reply #34 on: October 14, 2013, 06:15:38 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:
Code: [Select]
<?php
$validFooterIcons $this->getFooterIcons"icononly" );
$validFooterLinks $this->getFooterLinks"flat" ); // Additional footer links

if ( count$validFooterIcons ) + count$validFooterLinks ) > ) { ?>

<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 ) > ) {
?>
<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:
Code: [Select]
', $this->html('bottomscripts') /* JS call to runBodyOnloadHook */ , 'Pay attention to php opening and closing tags and echo statements. ;)


Take a peek at what I'm doing! ;D



Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Offline kikwan

  • Semi-Newbie
  • *
  • Posts: 43
  • Gender: Male
Re: SMF Curve for Mediawiki theme release
« Reply #35 on: December 24, 2013, 08:59:41 AM »
Thank you Illori   :D :D

Offline Lastwebpage

  • Semi-Newbie
  • *
  • Posts: 33
Re: SMF Curve for Mediawiki theme release
« Reply #36 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.
« Last Edit: August 10, 2014, 10:55:30 AM by Lastwebpage »

Offline Illori

  • Project Manager
  • SMF Master
  • *
  • Posts: 47,657
Re: SMF Curve for Mediawiki theme release
« Reply #37 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.

Online Antes

  • Evil Black Cat
  • SMF Friend
  • SMF Hero
  • *
  • Posts: 8,642
  • Gender: Male
  • Black cat rulz!
    • Antes on GitHub
    • merta on LinkedIn
    • @antesistan on Twitter
    • Lunarfall
Re: SMF Curve for Mediawiki theme release
« Reply #38 on: August 10, 2014, 12:12:33 PM »
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.

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 :)
Active Project(s): [ SimpleDesk ] # [ Lunarfall ] # [ CoreStore ]

Past Project(s): [ ezPortal ]

Offline Lastwebpage

  • Semi-Newbie
  • *
  • Posts: 33
Re: SMF Curve for Mediawiki theme release
« Reply #39 on: August 10, 2014, 03:44:01 PM »
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. ;)

Offline internets

  • Newbie
  • *
  • Posts: 5
Re: SMF Curve for Mediawiki theme release
« Reply #40 on: August 13, 2014, 10:19:47 AM »
How can I get the theme?

Offline Irisado

  • Doc Coordinator
  • SMF Hero
  • *
  • Posts: 8,897
  • Soñando debajo del arco iris
Re: SMF Curve for Mediawiki theme release
« Reply #41 on: August 13, 2014, 11:15:24 AM »
Please see the information found in the first post of this topic.
Soñando con una playa donde brilla el sol, un arco iris ilumina el cielo, y el mar espejea iridescentemente

Online Antes

  • Evil Black Cat
  • SMF Friend
  • SMF Hero
  • *
  • Posts: 8,642
  • Gender: Male
  • Black cat rulz!
    • Antes on GitHub
    • merta on LinkedIn
    • @antesistan on Twitter
    • Lunarfall
Re: SMF Curve for Mediawiki theme release
« Reply #42 on: August 13, 2014, 11:19:40 AM »
Actually that depends on which version of MediaWiki you are using.

If you are using MediaWiki 1.23.x (or later) download this.
If you are using MediaWiki 1.22.x (or before) download this.
Active Project(s): [ SimpleDesk ] # [ Lunarfall ] # [ CoreStore ]

Past Project(s): [ ezPortal ]

Offline Study Force

  • SMF Hero
  • ******
  • Posts: 3,094
    • @studyforceps on Twitter
    • Study Force
Re: SMF Curve for Mediawiki theme release
« Reply #43 on: November 05, 2014, 02:00:11 AM »
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...

Online Antes

  • Evil Black Cat
  • SMF Friend
  • SMF Hero
  • *
  • Posts: 8,642
  • Gender: Male
  • Black cat rulz!
    • Antes on GitHub
    • merta on LinkedIn
    • @antesistan on Twitter
    • Lunarfall
Re: SMF Curve for Mediawiki theme release
« Reply #44 on: April 03, 2015, 10:33:14 AM »
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 :)
Active Project(s): [ SimpleDesk ] # [ Lunarfall ] # [ CoreStore ]

Past Project(s): [ ezPortal ]

Offline GaziSalahuddin

  • Newbie
  • *
  • Posts: 4
Re: SMF Curve for Mediawiki theme release
« Reply #45 on: April 04, 2015, 03:36:44 AM »
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.

Online Antes

  • Evil Black Cat
  • SMF Friend
  • SMF Hero
  • *
  • Posts: 8,642
  • Gender: Male
  • Black cat rulz!
    • Antes on GitHub
    • merta on LinkedIn
    • @antesistan on Twitter
    • Lunarfall
Re: SMF Curve for Mediawiki theme release
« Reply #46 on: May 30, 2016, 03:46:18 PM »
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).
Active Project(s): [ SimpleDesk ] # [ Lunarfall ] # [ CoreStore ]

Past Project(s): [ ezPortal ]

Offline leghorn23

  • Semi-Newbie
  • *
  • Posts: 12
Re: SMF Curve for Mediawiki theme release
« Reply #47 on: August 17, 2016, 09:08:24 AM »
Awesome. Was pretty easy to install. Few catches along the way, but overall looks great. Well done :)