Advertisement:

Author Topic: Some updates on SMF 2.1  (Read 339031 times)

Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,156
  • Gender: Male
  • THERE'S JUST ME
Re: Some updates on SMF 2.1
« Reply #60 on: September 08, 2012, 05:08:43 AM »
Well, in Core Features, don't you need to handle adding/removing of the hooks upon enabling and disabling of the feature??
That's what that page is supposed to do. :P

SMF can't handle this, simply because there are hooks that still need to be installed, even when disabling of the Core Feature.  Such as the hooks I've already mentioned:  integrate_admin_include and integrate_core_features
The integrate_core_feature is already included (since you see the action, that means it is properly processed). The integrate_admin_include should be used since I explicitly copied the code in Xml.php (where though a couple of globals are missing).
I'm not sure at the moment why it doesn't work for your since I used SimpleDesk (well, a modified version, but modified in other places) to test it in 2.1 and it enables/disabled without problems. So, as soon as I have my testing computer available, I'll check DP and see what is not working, but now...well, it's time to go buy some food if I want to eat this week! :P


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 SoLoGHoST

  • SMF Hero
  • ******
  • Posts: 1,796
  • Gender: Male
  • Real coders do not need to comment their code!
    • Dream Portal
Re: Some updates on SMF 2.1
« Reply #61 on: September 08, 2012, 05:30:01 AM »
Don't bother checking DP, there were edits that needed to be done to it, that might take a bit of time for you to get around to...  Unless you want the package I have, let me know I can send it to you, but it's not on the DP.net site either, cause I just updated it, and only on my PC at the moment.  The package on the DP.net site and on the SMF Site, only works for SMF 2.0.x, not SMF 2.1.

Sorry for going a bit off-topic here.  But the more I look at the code of SMF 2.1, the more I start to like it! :)

Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,156
  • Gender: Male
  • THERE'S JUST ME
Re: Some updates on SMF 2.1
« Reply #62 on: September 08, 2012, 08:48:57 AM »
I tried to install locally DP (1.1) without caring about the errors but the core feature works fine.
The admin menu will not be displayed in alpha due to a bug (this one), integration hooks are reported as not-installed due to another bug (this commit gives you the proper code[/url]).


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 SoLoGHoST

  • SMF Hero
  • ******
  • Posts: 1,796
  • Gender: Male
  • Real coders do not need to comment their code!
    • Dream Portal
Re: Some updates on SMF 2.1
« Reply #63 on: September 08, 2012, 02:39:19 PM »
Ok, you are right, I downloaded the release from the actual GIT HUB instead of this topic, so that explains everything.  Just now redownloaded and re-installed SMF 2.1 from this actual topic, and yes, this fixes everything, along with your recommended edits above.

- Solo

P.S. -> Do I have to purchase GitHub membership in order to Fork it and help with the bug fixes, etc. etc.?  Cause I don't see any way to signup without paying for a membership.

Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,156
  • Gender: Male
  • THERE'S JUST ME
Re: Some updates on SMF 2.1
« Reply #64 on: September 08, 2012, 02:56:58 PM »
The version from github doesn't have few fixes present in this one, while this one has few bugs not present in the one from github...tough call! :P

The very first option on top of the 3 paid plans:
Quote
Free for open source

Unlimited public repositories and unlimited public collaborators


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 SoLoGHoST

  • SMF Hero
  • ******
  • Posts: 1,796
  • Gender: Male
  • Real coders do not need to comment their code!
    • Dream Portal
Re: Some updates on SMF 2.1
« Reply #65 on: September 08, 2012, 04:03:10 PM »
Ah ha, just realized I had an account from like a year ago...

Thanks :)

Offline NanoSector

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,496
  • Gender: Male
  • VC321xb47@aperture:~#
    • Yoshi2889 on GitHub
Re: Some updates on SMF 2.1
« Reply #66 on: September 09, 2012, 07:00:24 AM »
Cool! Nice work team :)

Gonna install and test this ASAP :)
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 redone

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 8,938
  • Gender: Male
Re: Some updates on SMF 2.1
« Reply #67 on: September 09, 2012, 01:01:21 PM »
Nice work, I will have to fire it up and take it for a test drive. Congrats!

Offline Jntg4

  • Jr. Member
  • **
  • Posts: 151
Re: Some updates on SMF 2.1
« Reply #68 on: September 09, 2012, 02:28:23 PM »
Love this!  I was a week late but I've installed it seamlessly on my local EasyPHP server!
Free Domain Name: http://www.co.cc/?id=167358

Offline butchs

  • SMF Hero
  • ******
  • Posts: 1,724
  • Lost 7GB bandwidth!
    • EastCoastRollingThunder
Re: Some updates on SMF 2.1
« Reply #69 on: September 09, 2012, 03:41:15 PM »
I saw an error in "Subs-Cache.php".  Some of the old $cachedir was not changed.

search for $cachedir

replace with $cache['dir']
I have been truly inspired by the SUGGESTIONS as I sit on my throne and contemplate the wisdom imposed upon me.

Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,156
  • Gender: Male
  • THERE'S JUST ME
Re: Some updates on SMF 2.1
« Reply #70 on: September 09, 2012, 04:26:15 PM »
There isn't any Subs-Cache.php in 2.1. ???
And $cachedir is still the variable used, not $cache['dir'].

Can you please report exactly the error? (maybe in the bug reports board? ;))


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 hhy89

  • Full Member
  • ***
  • Posts: 486
Re: Some updates on SMF 2.1
« Reply #71 on: September 09, 2012, 04:35:51 PM »
Nice work ;)
Congrats!

btw do you need help? :P
Seo4Smf 2.0 - Full Top10 Stats(full top10) - Aligned and Bilateral Child Boards(2li 3lü alt bölümler)
http://www.smfmod.com
http://destek.smfmod.com

Offline NBK*Twitch

  • Full Member
  • ***
  • Posts: 690
  • Gender: Male
    • Twitch's World
Re: Some updates on SMF 2.1
« Reply #72 on: September 09, 2012, 10:25:52 PM »
Well I played around with the alpha for a bit. I am liking it so far.


However one thing has been bugging me. The info center collapse uses jquery(I think) and creates a smooth collapse effect.


Yet when collapsing categories it just instantly collapse no animation what so ever.  Why is this?

Twitch's WorldFree Computer Support Forum - My SMF Themes - For affordable custom themes PM me

Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,156
  • Gender: Male
  • THERE'S JUST ME
Re: Some updates on SMF 2.1
« Reply #73 on: September 10, 2012, 04:05:31 AM »
Yet when collapsing categories it just instantly collapse no animation what so ever.  Why is this?
Categories collapsing/expansion has always been a bit particular and always used a page refresh because when a category is collapsed the entire data of the category are not loaded into the page (boards details, last posts, etc.). Of course all this could be converted to something AJAX. Personally I never cared about it because I don't use it (I'm quite selfish if nobody noticed before :P), if there is anyone interested in add this cool feature feel free to fork SMF on github and send a pull request once the job is finished! ;D

btw do you need help? :P
There is a lot to do and any help is appreciated!
What to do depends on your interests: bug reports are all public, if you want to squish some serve yourself, if you want to add some new feature the codebase is there, code it and send a pull request (the Next SMF Discussion board holds some ideas for the future, as well as mantis, if you have some other idea maybe it's better to propose it in the Feature Requests board first to let everyone know). ;D


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 SoLoGHoST

  • SMF Hero
  • ******
  • Posts: 1,796
  • Gender: Male
  • Real coders do not need to comment their code!
    • Dream Portal
Re: Some updates on SMF 2.1
« Reply #74 on: September 10, 2012, 12:16:31 PM »
First off - You don't need jQuery to make something collapse/expand that is animated and working in all browsers.  Javascript and a bit of CSS will suffice for that just fine!  But, to each their own.  Like I said, I have a method of using JS that will work just perfect, hell, uses the same js from Dream Portal code that I wrote, if that's fine with you guys... but it's whatever...

I am actually quite annoyed at the display of the "MARK ALL MESSAGES AS READ" box (in the BoardIndex.template.php), looks ugly just thrown there, honestly, been working on all of these boxes that are just thrown at the end of sections that offer features for those sections, etc. etc.  Cause this happens again, when you go to create a board:  "ADD BOARD" box thrown at the bottom right-hand side, just dangling there... ughhh!

Offline NBK*Twitch

  • Full Member
  • ***
  • Posts: 690
  • Gender: Male
    • Twitch's World
Re: Some updates on SMF 2.1
« Reply #75 on: September 10, 2012, 03:30:19 PM »
Yet when collapsing categories it just instantly collapse no animation what so ever.  Why is this?
Categories collapsing/expansion has always been a bit particular and always used a page refresh because when a category is collapsed the entire data of the category are not loaded into the page (boards details, last posts, etc.). Of course all this could be converted to something AJAX. Personally I never cared about it because I don't use it (I'm quite selfish if nobody noticed before :P ), if there is anyone interested in add this cool feature feel free to fork SMF on github and send a pull request once the job is finished! ;D


Well that just makes me ask another question lol. Why does it need a full page reload when doing so. I have seen other software like MyBB have a collapse and it doesn't need a page reload. I believe this is the case with IPB aswell.

Twitch's WorldFree Computer Support Forum - My SMF Themes - For affordable custom themes PM me

bloc

  • Guest
Re: Some updates on SMF 2.1
« Reply #76 on: September 10, 2012, 03:39:41 PM »
To save queries of course. When its collapsed the script doesn't need to fetch the data for it.

If you expand it, it must fetch it/have it already - hence it could be done through AJAX instead.

About animation through javascript: JQuery and Mootools(and others) offers optimised and smooth animation code that will work on all browsers due to heavy and focused development. Own cooked javascript or CSS3 might not. Its just convenient and saves development of these more trivial things. But, using those for animating categories requires that all boards are fetched in the first place, or at least right away through AJAX.

maxg

  • Guest
Re: Some updates on SMF 2.1
« Reply #77 on: September 16, 2012, 09:11:10 AM »
For Me I've got to say this  real good move forward for the SMF and I am happy with the Theme, because I could see from the the first glance it's something that will be fun to work with and even though it still has a taste of the SMF looks, this is an indication of the trade mark (kinda thing), and yet with all the added features , I find it very useful in fitting most any situation, if customized and or tweaked toward ones own in site on how their site should appeal to their own groups or community. I have days ago started working with this theme of the Version 2.1 Alpha and I'm liking it. And even tough I can see other ways that it could have been done, only leaves me the opportunity to try newer things with it LOL!

If I find and better way. I will implement this and document it on My site and or possibly site like Bloc's or Crip's site! I shall not complain on something done by others, but I may find another way, and this is really what it's all about in MHO! Everyone has their own preferences, and once they implement these, then should then be displayed, rather than expressed as dislikes and negativeness.

I find it better to start out with your likes and work from there on a more positive note!

With this said I should mention that I am very pleased, again with this great move forward>>!

Kind regards,
Maxx

Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,156
  • Gender: Male
  • THERE'S JUST ME
Re: Some updates on SMF 2.1
« Reply #78 on: September 21, 2012, 09:15:30 AM »
Everyone has their own preferences, and once they implement these, then should then be displayed, rather than expressed as dislikes and negativeness.

I find it better to start out with your likes and work from there on a more positive note!
That's very very true! :D

I'd add that the default theme is exactly that: the default theme. Nobody force others to experiment and change things. I know that in the past (and probably still with 2.0) it was sometimes difficult to really make experiments because of the way mods are/were working (i.e. code edits and all the hassles of having to manually edit the themes), though with 2.1 and all the new hooks available, make mods that don't require any code edit will be much, much easier and that should allow themers to be more daring in exploring new ways of present the forum.
Of course to make this scenario true the modders has to take up the challenge and begin to heavily use hooks in their mods. ;)
And that makes me wonder if I should suggest to change the customization guidelines to make mandatory the use of hooks when possible...
* emanuele feels a horde of people coming from behind...
* emanuele runs! :P


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.

bloc

  • Guest
Re: Some updates on SMF 2.1
« Reply #79 on: September 21, 2012, 12:45:32 PM »
Everyone has their own preferences, and once they implement these, then should then be displayed, rather than expressed as dislikes and negativeness.

I find it better to start out with your likes and work from there on a more positive note!
That's very very true! :D

I'd add that the default theme is exactly that: the default theme. Nobody force others to experiment and change things. I know that in the past (and probably still with 2.0) it was sometimes difficult to really make experiments because of the way mods are/were working (i.e. code edits and all the hassles of having to manually edit the themes), though with 2.1 and all the new hooks available, make mods that don't require any code edit will be much, much easier and that should allow themers to be more daring in exploring new ways of present the forum.
Of course to make this scenario true the modders has to take up the challenge and begin to heavily use hooks in their mods. ;)
And that makes me wonder if I should suggest to change the customization guidelines to make mandatory the use of hooks when possible...
* emanuele feels a horde of people coming from behind...
* emanuele runs! :P

Hooray! ;D I will be sure to utilize those possibilities lol.