2.0 Update Part 4

Started by Thantos, December 10, 2007, 12:45:36 AM

Previous topic - Next topic

perro88

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.

Grudge

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...

perro88

Quote from: Grudge 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.
nice. the way it resizes images with [img] tag will be the same of v1.1?

Gary

Yes, as far as I know, how that is performed has not changed, at least, in the browser. :P.
Gary M. Gadsdon
Do NOT PM me unless I say so
War of the Simpsons
Bongo Comics Fan Forum
Youtube Let's Plays

^ YT is changing monetisation policy, help reach 1000 sub threshold.

perro88

Quote from: Gazmanafc 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.
ok, thanks for the fast(as usual) support :P

Chriss Cohn

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

metallica48423

there will and already have been considerable changes
Justin O'Leary
Ex-Project Manager
Ex-Lead Support Specialist

QuoteMicrosoft 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

Chriss Cohn

Quote from: BlackMage on January 12, 2008, 05:16:57 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 ?

Grudge

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...

Compuart

Quote from: Bruce Ballslap 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....
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

Chriss Cohn

Thank you both for that statement  ;)
Best Regards and thanks for developing, Christian

metallica48423

sorry for the small reply -- was on my cell phone :P
Justin O'Leary
Ex-Project Manager
Ex-Lead Support Specialist

QuoteMicrosoft 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

SeanK

Quote from: Grudge 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.

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

Gary

So far, the only feature lists we have are the ones in the announcements.
Gary M. Gadsdon
Do NOT PM me unless I say so
War of the Simpsons
Bongo Comics Fan Forum
Youtube Let's Plays

^ YT is changing monetisation policy, help reach 1000 sub threshold.

Deaks

Quote from: SeanK on January 30, 2008, 07:21:47 PM
This might have been already talked about, but is there a list on features out for 2.0 ?

Quote from: GrudgeListed 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
~~~~
Former SMF Project Manager
Former SMF Customizer

"For as lang as hunner o us is in life, in nae wey
will we thole the Soothron tae owergang us. In truth it isna for glory, or wealth, or
honours that we fecht, but for freedom alane, that nae honest cheil gies up but wi life
itsel."

motumbo

#35
Quote from: Grudge on January 12, 2008, 05:42:58 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

Gary

#36
Quote from: motumbo on February 05, 2008, 09:05:32 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.
Gary M. Gadsdon
Do NOT PM me unless I say so
War of the Simpsons
Bongo Comics Fan Forum
Youtube Let's Plays

^ YT is changing monetisation policy, help reach 1000 sub threshold.

karlbenson

#37
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].

motumbo

Quote from: Gazmanafc on February 05, 2008, 09:11:37 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. 

motumbo

Quote from: karlbenson 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 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.

Advertisement: