Advertisement:

Author Topic: November Update  (Read 80475 times)

Offline Akyhne

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 7,331
Re: November Update
« Reply #60 on: November 11, 2013, 12:30:35 PM »
I understand. But maybe you could do the detection system and some other can pick up on a proper theme.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 70,993
    • StoryBB/StoryBB on GitHub
Re: November Update
« Reply #61 on: November 11, 2013, 12:40:44 PM »
Why would we do that, though? There's no point us adding something that we're not using in the core.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,156
  • Gender: Male
  • THERE'S JUST ME
Re: November Update
« Reply #62 on: November 11, 2013, 02:40:29 PM »
Actually mobile detection is already in core (see Class-BrowserDetect.php). ;)


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 Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 70,993
    • StoryBB/StoryBB on GitHub
Re: November Update
« Reply #63 on: November 11, 2013, 02:42:00 PM »
I knew there was browser detection but I didn't realise it covered mobile (mostly because there's no need for such in the core the rest of the time) - SMF is a huge code base ;)
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

maxg

  • Guest
Re: November Update
« Reply #64 on: November 11, 2013, 02:58:45 PM »
sorry I late, try to study more the web code!

A side from what's mentioned above on detection:

I also did some testing on the responsiveness of the 2.1 alpha 1 ; default, and it appears to be working real nice thus far. looks like the Mobile and various Browsers should pretty much be satisfied for now.

Note that themers can select and or change menus to fit their needs and long as they coded responsive ( I think) at least I tested them on the older SMF 2.0.5 version. I think bloc has been working this also for some time now :)

In short I feel the Dev's need not be concerned any more with this for now Moving On>>! JMO

regards,
Maxx
« Last Edit: November 11, 2013, 03:44:44 PM by maxg »

Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,156
  • Gender: Male
  • THERE'S JUST ME
Re: November Update
« Reply #65 on: November 11, 2013, 07:17:21 PM »
I knew there was browser detection but I didn't realise it covered mobile (mostly because there's no need for such in the core the rest of the time)
Well, when 2.1 started the mobile theme was part of the goals, there *was* a reason to have mobile detection. :P

SMF is a huge code base ;)
I know. O:-)


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 Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 70,993
    • StoryBB/StoryBB on GitHub
Re: November Update
« Reply #66 on: November 11, 2013, 07:23:10 PM »
Ahhh, I see. There's still a lot for me to catch up with in the last couple of years' work...
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Akyhne

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 7,331
Re: November Update
« Reply #67 on: November 11, 2013, 07:34:17 PM »
So the code is there, it's just not used for mobile detection?

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 70,993
    • StoryBB/StoryBB on GitHub
Re: November Update
« Reply #68 on: November 11, 2013, 07:35:50 PM »
So it would appear. I'm still trying to get up to speed on some things (a few weeks is not nearly long enough to pick up all the nuances of everything that's changed in 2 years)

But there's no mobile theme that I'm aware of, which does make it somewhat redundant.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Akyhne

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 7,331
Re: November Update
« Reply #69 on: November 11, 2013, 07:48:21 PM »
Hmm, the ?wap2 still Works in 2.1. But the link isn't anywhere in the new theme.

Offline margarett

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,761
  • Gender: Male
Re: November Update
« Reply #70 on: November 11, 2013, 07:58:45 PM »
Nop, the link was removed from the footer, but index.php still works with it:
Code: [Select]
// Determine if this is using WAP, WAP2, or imode.  Technically, we should check that wap comes before application/xhtml or text/html, but this doesn't work in practice as much as it should.
if (isset($_REQUEST['wap']) || isset($_REQUEST['wap2']) || isset($_REQUEST['imode']))
unset($_SESSION['nowap']);
elseif (isset($_REQUEST['nowap']))
$_SESSION['nowap'] = true;
elseif (!isset($_SESSION['nowap']))
{
if (isset($_SERVER['HTTP_ACCEPT']) && strpos($_SERVER['HTTP_ACCEPT'], 'application/vnd.wap.xhtml+xml') !== false)
$_REQUEST['wap2'] = 1;
elseif (isset($_SERVER['HTTP_ACCEPT']) && strpos($_SERVER['HTTP_ACCEPT'], 'text/vnd.wap.wml') !== false)
{
if (strpos($_SERVER['HTTP_USER_AGENT'], 'DoCoMo/') !== false || strpos($_SERVER['HTTP_USER_AGENT'], 'portalmmm/') !== false)
$_REQUEST['imode'] = 1;
else
$_REQUEST['wap'] = 1;
}
}

And there is yet a Wireless.template.php so yes, it still works (probably won't last much longer...)
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

Quote
Over 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Offline Akyhne

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 7,331
Re: November Update
« Reply #71 on: November 11, 2013, 08:02:57 PM »
Ok :)

bloc

  • Guest
Re: November Update
« Reply #72 on: November 12, 2013, 01:45:23 PM »
I find it a bit amusing that the lead developer don't know what user agents are detected or not lol..its even a check for android/iphone in SMF 2.04, and has been for a quite a while. That it hasn't been used is of course due to no-one on the SMF team actually works with themes and therefore could not care less about it...or so it would seem. ::)

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 70,993
    • StoryBB/StoryBB on GitHub
Re: November Update
« Reply #73 on: November 12, 2013, 01:51:14 PM »
Funny, last I checked my badge and title did not say lead developer.

That and trying to pick up on the *vast* number of changes between 2.0 and 2.1 in a few weeks... I wonder if you would be able to do the same with all the changes that have happened.

You'll forgive me if I don't remember every change that occurs across a 130k line code base.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

bloc

  • Guest
Re: November Update
« Reply #74 on: November 12, 2013, 02:28:09 PM »
Well, don't speak with such certainty about it then. :)

I've been following SMF code base for quite some years, I don't know all of it, BUT, I follow it quite easy because its a structure I have looked at and changed numerous times. You can't tell me you haven't done the same working on Wedge? 2.1 might be different..but its not THAT different.

But hey, its ok. You don't know everything, and neither does the rest of us. :D

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 70,993
    • StoryBB/StoryBB on GitHub
Re: November Update
« Reply #75 on: November 12, 2013, 02:38:57 PM »
I didn't, actually. I said a full mobile environment is not going to happen, and that I didn't see us adding something to the core we weren't using... I still don't see why we have browser detection that detects mobile browsers when we don't seem to be doing anything with them.

I follow the code better than most, but the problem is I don't remember every little detail everywhere in the codebase.

And yes, of course I forgot how Wedge's codebase worked on occasion, so much of it changed over the three years that I would forget things a few weeks after they were written, especially if they got rewritten more than once.

The thing is, there is a surprising amount of difference in the details - the generalities are easy to remember, but the specifics - like what browsers are detected - is a little harder to remember ;)

I don't know everything, nor do I claim to. I have said this on more than one occasion that SMF's code is simply too big for any one person to know every single detail about it, and yes, it's that I'm going to forget details.

On the other hand I do not appreciate the mispresentation that I'm SMF's lead developer (because I'm not) and the assertion that I might not be up to such a job because a piece of code I've never seen doesn't operate exactly how I was under the logical impression it might.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Akyhne

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 7,331
Re: November Update
« Reply #76 on: November 12, 2013, 02:44:14 PM »
I didn't, actually. I said a full mobile environment is not going to happen, and that I didn't see us adding something to the core we weren't using...
... which is a bit sad as mobile/tablet themes or apps to popular online software is very asked for as well as being part of most other forum software.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 70,993
    • StoryBB/StoryBB on GitHub
Re: November Update
« Reply #77 on: November 12, 2013, 02:44:40 PM »
Which would you rather have, an update in the next six months or wait another year?

The more people add in, the more everyone has to wait for the release.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 21,244
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: November Update
« Reply #78 on: November 12, 2013, 02:45:09 PM »
Six Months faster updates better.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline Akyhne

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 7,331
Re: November Update
« Reply #79 on: November 12, 2013, 02:45:56 PM »
I can make a proper mobile theme in a week or two.