Advertisement:

Author Topic: 2.0 Update Part 4  (Read 138135 times)

Offline perro88

  • Jr. Member
  • **
  • Posts: 358
    • techcoreforum
Re: 2.0 Update Part 4
« Reply #20 on: January 10, 2008, 02:11:17 PM »
The new version seems to bring a lot of changes, any idea if will be hard to upgrade a smf v1.1.4 with a lot(I really mean a lot :P) of mods installed?
On the server I'm using posting images(when the resize is active) ussually takes a long time to post(even with a new smf forum, server problem to get the image or something). This version might help with this problem?
thanks to all developers for the great job that has been made.

Offline Grudge

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,743
  • Gender: Male
  • Unofficial nuisance
Re: 2.0 Update Part 4
« Reply #21 on: January 10, 2008, 03:19:05 PM »
Well, the simple fact is not mods from 1.1 will work for 2.0 so you'll need to wait until the mods you need have been updated to work with 2.0 then simply install them. Basically, don't upgrade until the mods you really want have been rewritten.

Of course 2.0 adds lots of new features so it may well be that not all your old mods are required then.
I'm only a half geek really...

Offline perro88

  • Jr. Member
  • **
  • Posts: 358
    • techcoreforum
Re: 2.0 Update Part 4
« Reply #22 on: January 10, 2008, 03:25:38 PM »
Well, the simple fact is not mods from 1.1 will work for 2.0 so you'll need to wait until the mods you need have been updated to work with 2.0 then simply install them. Basically, don't upgrade until the mods you really want have been rewritten.

Of course 2.0 adds lots of new features so it may well be that not all your old mods are required then.
nice. the way it resizes images with [img] tag will be the same of v1.1?

Online Gary

  • Lead Customizer
  • SMF Super Hero
  • *
  • Posts: 15,967
  • Gender: Male
  • So this is the luck of the draw...
    • garygadsdon on LinkedIn
    • @Gazmanafc on Twitter
    • The Bongo Comics Fan Forum
Re: 2.0 Update Part 4
« Reply #23 on: January 10, 2008, 04:18:58 PM »
Yes, as far as I know, how that is performed has not changed, at least, in the browser. :P.
Gary M. Gadsdon
Lead Customiser
Do NOT PM me unless I say so
Look here are three little dreamers,
ready to impress everyone
Listen up, cos it's not over
Our time has just begun!

The War of the Simpsons
Bongo Comics Fan Forum
Youtube Let's Plays
^ Current Game: Dissidia 012 & Final Fantasy X HD

Offline perro88

  • Jr. Member
  • **
  • Posts: 358
    • techcoreforum
Re: 2.0 Update Part 4
« Reply #24 on: January 10, 2008, 04:45:55 PM »
Yes, as far as I know, how that is performed has not changed, at least, in the browser. :P.
ok, thanks for the fast(as usual) support :P

Offline Chriss Cohn

  • Full Member
  • ***
  • Posts: 493
  • Gender: Male
  • who does not go with the time, goes with the time
Re: 2.0 Update Part 4
« Reply #25 on: January 12, 2008, 05:13:15 PM »
Im sorry if i ask in the wrong thread (i doubt it), but can somone answer me if there will be massive changes in the templates aswell?
Im asking because im writing currently a new complex theme based on 1.1.4 default-theme and i don't want to make the whole work for nothing, you know....

Regards, Christian

Offline metallica48423

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,842
  • Gender: Male
  • Professional Multislacker!
    • Zentendo
Re: 2.0 Update Part 4
« Reply #26 on: January 12, 2008, 05:16:57 PM »
there will and already have been considerable changes
Justin O'Leary
Ex-Project Manager
Ex-Lead Support Specialist

Quote
Microsoft wants us to "Imagine life without walls"...
I say, "If there are no walls, who needs Windows?"

Useful Links:
Online Manual!
How to Help us Help you   
Search
Settings Repair Tool
     

Offline Chriss Cohn

  • Full Member
  • ***
  • Posts: 493
  • Gender: Male
  • who does not go with the time, goes with the time
Re: 2.0 Update Part 4
« Reply #27 on: January 12, 2008, 05:32:55 PM »
there will and already have been considerable changes
Nice answer, but can you be maybe a bit more specific? "considerable" ?
Does this mean i have to rewrite large parts of it completely or what does that mean?
Is the old default-theme from 1.1.4 not running with 2.0 ?

Offline Grudge

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,743
  • Gender: Male
  • Unofficial nuisance
Re: 2.0 Update Part 4
« Reply #28 on: January 12, 2008, 05:42:58 PM »
The themes that ship in the 1.1 download still work with 2.0.
If you have a custom theme the upgrader will do it's best to update it to work with 2.0 but this process will not be perfect.

Custom themes will need to be updated to get all the new 2.0 features. For example, if your BoardIndex template is from 1.1 redirection boards wouldn't look right.

It shouldn't however be too much hastle - it depends on the complexity of your theme. If the theme is just an index.template.php and style.css then the changes are minimal.
I'm only a half geek really...

Offline Compuart

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,774
  • Gender: Male
  • Zéeeeal
    • RealityNet
Re: 2.0 Update Part 4
« Reply #29 on: January 12, 2008, 05:43:29 PM »
Im sorry if i ask in the wrong thread (i doubt it), but can somone answer me if there will be massive changes in the templates aswell?
Im asking because im writing currently a new complex theme based on 1.1.4 default-theme and i don't want to make the whole work for nothing, you know....
There will indeed be more changes to the template. These changes could roughly be summarized as follows:
  • more clever and intuitive usage of CSS
  • more reuse of templates (less repetition). For instance all lists will be standardized throughout SMF.
  • separation of the index template layer into an HTML-layer (the header part until and including the <body> tag) and the body-layer (header and footer contained within the <body>-tags). This is useful for containing SMF into an existing site template.
  • improvement of the menu interface for the admin panel and moderation center.
  • new templates for new features (like the moderation center).


Edit: two different devs, two different answers...just take your pick ;D
Hendrik Jan Visser
Former Lead Developer & Co-founder www.simplemachines.org
Personal Signature:
Realitynet.nl -> ExpeditieRobinson.net / PekingExpress.org / WieIsDeMol.Com

Offline Chriss Cohn

  • Full Member
  • ***
  • Posts: 493
  • Gender: Male
  • who does not go with the time, goes with the time
Re: 2.0 Update Part 4
« Reply #30 on: January 12, 2008, 06:39:35 PM »
Thank you both for that statement  ;)
Best Regards and thanks for developing, Christian

Offline metallica48423

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,842
  • Gender: Male
  • Professional Multislacker!
    • Zentendo
Re: 2.0 Update Part 4
« Reply #31 on: January 12, 2008, 08:36:48 PM »
sorry for the small reply -- was on my cell phone :P
Justin O'Leary
Ex-Project Manager
Ex-Lead Support Specialist

Quote
Microsoft wants us to "Imagine life without walls"...
I say, "If there are no walls, who needs Windows?"

Useful Links:
Online Manual!
How to Help us Help you   
Search
Settings Repair Tool
     

Offline SeanK

  • Jr. Member
  • **
  • Posts: 123
Re: 2.0 Update Part 4
« Reply #32 on: January 30, 2008, 07:21:47 PM »
Well, the simple fact is not mods from 1.1 will work for 2.0 so you'll need to wait until the mods you need have been updated to work with 2.0 then simply install them. Basically, don't upgrade until the mods you really want have been rewritten.

Of course 2.0 adds lots of new features so it may well be that not all your old mods are required then.

This might have been already talked about, but is there a list on features out for 2.0 ?

Online Gary

  • Lead Customizer
  • SMF Super Hero
  • *
  • Posts: 15,967
  • Gender: Male
  • So this is the luck of the draw...
    • garygadsdon on LinkedIn
    • @Gazmanafc on Twitter
    • The Bongo Comics Fan Forum
Re: 2.0 Update Part 4
« Reply #33 on: January 30, 2008, 07:25:08 PM »
So far, the only feature lists we have are the ones in the announcements.
Gary M. Gadsdon
Lead Customiser
Do NOT PM me unless I say so
Look here are three little dreamers,
ready to impress everyone
Listen up, cos it's not over
Our time has just begun!

The War of the Simpsons
Bongo Comics Fan Forum
Youtube Let's Plays
^ Current Game: Dissidia 012 & Final Fantasy X HD

Offline Μπράιαν

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 21,203
  • Gender: Male
  • His Royal Runicness
    • bryan.deakin.1 on Facebook
    • pouvik on GitHub
    • @bryandeakin on Twitter
    • Bryan Deakin dot com
Re: 2.0 Update Part 4
« Reply #34 on: January 30, 2008, 08:56:02 PM »
This might have been already talked about, but is there a list on features out for 2.0 ?

Quote from: Grudge
Listed below is a brief summary of some of the changes made in this release:
Improved permissions interface
Added support for multiple attachment folders
Added winning birthday emails from the SMF contest
Added option to prune logs automatically
Added means of viewing search/replace operations when installing a mod
Added interface to edit and add language files
Made custom profile fields searchable on the memberlist and other improvements
Added auto suggest control and used it on personal messages
Added flood control and CAPTCHA to search
Fixed repair boards to work with different database types
Added mass topic mover to the maintenance section, and changed the maintenance area templates.
Added admin and user logs
Added redirection boards
Added paid subscription feature - only currently supporting PayPal
Added search engine tracking
Made numerous improvements to the WYSIWYG editor
taken from: http://www.simplemachines.org/community/index.php?topic=217789.0
Bryan Runic Deakin
His Royal Runicness
Owner @ Bryan Deakin dot Com

Former Project Manager @ SMF
Former Vice President @ Simple Machines
Former Admin @ idesign360.com

Read my new poem "Home Could Be"!!

Offline motumbo

  • Full Member
  • ***
  • Posts: 611
  • Just say 'no' to spaghetti code!
Re: 2.0 Update Part 4
« Reply #35 on: February 05, 2008, 09:05:32 PM »
The themes that ship in the 1.1 download still work with 2.0.

That's not good.  Obviously, in the 2+ plus years since 1.1 RC3 hit the streets very little has changed with SMF's template system.   :-\

The real reason I am posting is because I am looking for an idea of when the public Beta of SMF 2 will be available.

For maximum efficiency and code reuse, I am trying to standardize the templating system I use across all of my sites.  The templates won't be the same, obviously, but the way the HTML output is generated will be.  A class will determine caching if appropriate, load the templates (which will be similar in style to Wordpress templates--maximum flexibility), then output the code or do any placeholder substitutions as necessary. 

This echoing out code in the templates themselves is highly inflexible.  It's much better to assign the HTML output to a variable then echo out that variable, or cache it, or substitute it into another template, etc.  Much more flexible, as you can see.   Right?  8)

So, I kind of need an idea of what is around the corner with respect to SMF2.  Right now, I'm thinking I'll have to get rid of the header and footer templates since they are going to be so similar to SMF 1.1.  But I will need to extract the keyword, description, title, and meta variables, etc, and then assign them to $GLOBALS to use them in my overall site template.  But I also have to be concerned about SMF's lack of separation of logic and presentation because I have no idea where a table row will be echoed out from.  As SMF 1.1.x is currently written, stuff comes out of pretty much anywhere.  Then we've got issues with duplicate code in different places, etc.

It would be absolutely terrific if I could find a way to assign the forum content minus the header and footer (just the board index, message view, post screen, etc.) to a variable using ob_start()/ob_get_clean() then substitute it into my overall site template using str_replace(). 

But I have no idea if I will be able to do that given SMF's penchant for using tables for layout and other peculiarities.  It sounds like SMF is still going to use tables, which means it will be a decade behind the current state of the art.  :(

I don't want to hear any stuff about how SMF's template system is 3/1000ths of a second faster than other templating systems.  I don't care about that.  What I do care about is the hours it takes to fit SMF into the overall look and theme of my website. 

Thank you very much.

Your friend,

Motumbo
« Last Edit: February 05, 2008, 09:10:52 PM by Gazmanafc »

Online Gary

  • Lead Customizer
  • SMF Super Hero
  • *
  • Posts: 15,967
  • Gender: Male
  • So this is the luck of the draw...
    • garygadsdon on LinkedIn
    • @Gazmanafc on Twitter
    • The Bongo Comics Fan Forum
Re: 2.0 Update Part 4
« Reply #36 on: February 05, 2008, 09:11:37 PM »
I don't want to hear any stuff about how SMF's template system is 3/1000ths of a second faster than other templating systems.  I don't care about that.  What I do care about is the hours it takes to fit SMF into the overall look and theme of my website.
Thats funny, it takes me, pretty much no more than ten minutes.  But thats only because of the way I set my main sites up. The template system, IMO is a piece of cake, and I favour it done this way.

Also, I had to remove the last paragraph of your post as it's in violation of the Charter Membership, if you want to use 2.0 before a public beta is released, you'll have to become one yourself.
« Last Edit: February 05, 2008, 09:13:21 PM by Gazmanafc »
Gary M. Gadsdon
Lead Customiser
Do NOT PM me unless I say so
Look here are three little dreamers,
ready to impress everyone
Listen up, cos it's not over
Our time has just begun!

The War of the Simpsons
Bongo Comics Fan Forum
Youtube Let's Plays
^ Current Game: Dissidia 012 & Final Fantasy X HD

Offline karlbenson

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,581
  • Gender: Male
    • Mortons Solicitors
Re: 2.0 Update Part 4
« Reply #37 on: February 05, 2008, 09:14:27 PM »
While SMF 2.0 isn't/wasn't feature locked, its pretty much pointless re-writing the templates since you then have to change them again.

Any mods/themes for 1.1.x are 95% not likely to work with 2.0 fully.

One of SMF's strengths is the customizability from php/html mix templates rather than only html with placeholders.

I'm for table-less layouts (thats table-less, not without-tables) [where tables are ONLY used for tabular data].
« Last Edit: February 05, 2008, 09:21:08 PM by karlbenson »

Offline motumbo

  • Full Member
  • ***
  • Posts: 611
  • Just say 'no' to spaghetti code!
Re: 2.0 Update Part 4
« Reply #38 on: February 05, 2008, 09:19:48 PM »
Also, I had to remove the last paragraph of your post as it's in violation of the Charter Membership, if you want to use 2.0 before a public beta is released, you'll have to become one yourself.

Very well. 

Offline motumbo

  • Full Member
  • ***
  • Posts: 611
  • Just say 'no' to spaghetti code!
Re: 2.0 Update Part 4
« Reply #39 on: February 05, 2008, 09:22:35 PM »
While SMF 2.0 isn't/wasn't feature locked, its pretty much pointless re-writing the templates since you then have to change them again.

Any mods/themes for 1.1.x are 95% not likely to work with 2.0 fully.

One of SMF's strengths is the customizability from php/html mix templates rather than only html with placeholders.

I'm for table-less layouts (thats tableless, not table-none) [where tables are ONLY used for tabular data].

OK.  Good, I got some info. You may be for tableless layouts (except for tabular data--something nobody argues with), but what is going to be in SMF 2.0?

Is SMF 2.0 template system pretty much going to be similar in design to 1.1.x?  That's what I need to know.