Author Topic: Forum updated to 2.0.14 (and server to php 7)  (Read 1538 times)

Offline Caretaker

  • Making things work !
  • Administrator
  • Valued Contributor
  • *
  • Join Date: Mar 2006
  • Posts: 479
  • Karma: 30
Forum updated to 2.0.14 (and server to php 7)
« on: 22.05. 2017 20:56 »
Applied the .14 update (compatibility with php 7 \ security improvements), things seems fine, but anyone sees anything unusual or some problem, please report here.

Later we will go 'https', will get rid of the warning when entering member password.

Thanks
"Sometimes I say things that are so highly intelligent that I do not understand a word of it"

Offline a10 gf

  • Global Moderator
  • Wise & Enlightened
  • **
  • Join Date: Sep 2006
  • Posts: 3230
  • Karma: 57
  • West Coast, Norway & Alpes Maritimes, France
    • A10 GF
Re: Forum updated to 2.0.14 (and server to php 7)
« Reply #1 on: 24.05. 2017 11:53 »
It was quite a heavy modification and lots could go wrong *work*  but things seem to work perfect   *woo*


Stand with
A10 GF '53 My A10 website
"Success only gets you a ticket to a much more difficult task"

Offline muskrat

  • Global Moderator
  • Wise & Enlightened
  • **
  • Join Date: Jul 2009
  • Posts: 11046
  • Karma: 132
  • Lithgow NSW Oz
    • Shoalhaven Classic Motorcycle Club Inc
Re: Forum updated to 2.0.14 (and server to php 7)
« Reply #2 on: 24.05. 2017 20:45 »
G'day e.
All good down here.
Cheers
'51 A7 plunger, '57 A7SS racer now a A10CR, '78 XT500, '83 CB1100F, 88 HD FXST, 2000 CBR929RR ex Honda Australia Superbike .
Australia
Muskys Plunger A7

Offline RichardL

  • Outside Chicago, IL
  • Wise & Enlightened
  • *
  • Join Date: Nov 2007
  • Posts: 6483
  • Karma: 55
Re: Forum updated to 2.0.14 (and server to php 7)
« Reply #3 on: 24.05. 2017 20:51 »
I hear it's even better down there.

Offline muskrat

  • Global Moderator
  • Wise & Enlightened
  • **
  • Join Date: Jul 2009
  • Posts: 11046
  • Karma: 132
  • Lithgow NSW Oz
    • Shoalhaven Classic Motorcycle Club Inc
Re: Forum updated to 2.0.14 (and server to php 7)
« Reply #4 on: 24.05. 2017 20:57 »
It would be ever goodera if the local internet was better. Takes ages to load a page [not here, no adds] but downloads come in at 6 meg per second.
Cheers
'51 A7 plunger, '57 A7SS racer now a A10CR, '78 XT500, '83 CB1100F, 88 HD FXST, 2000 CBR929RR ex Honda Australia Superbike .
Australia
Muskys Plunger A7

Offline duTch

  • Ricketty Rocketty Golden Flashback
  • Wise & Enlightened
  • *
  • Join Date: Oct 2011
  • Posts: 4528
  • Karma: 41
Re: Forum updated to 2.0.14 (and server to php 7)
« Reply #5 on: 24.05. 2017 23:44 »

 I don't seem to have broken it yet and  run only on wireless 4G/LTE *smile* works fine and haven't noticed any difference (yet)
Started building in about 1977/8 a on average '52 A10 -built from bits 'n pieces never resto intended -maybe 'personalised'
Have a '74 850T Moto Guzzi since '92-best thing I ever bought doesn't need a kickstart 'cos it bump starts sooooooooo(mostly) easy
Australia

Offline a10 gf

  • Global Moderator
  • Wise & Enlightened
  • **
  • Join Date: Sep 2006
  • Posts: 3230
  • Karma: 57
  • West Coast, Norway & Alpes Maritimes, France
    • A10 GF
Re: Forum updated to 2.0.14 (and server to php 7)
« Reply #6 on: 25.05. 2017 00:20 »
Thanks for the feedback.

Big chunks of the programs (which 'runs' the forum and displays content) has been updated and modernized to function with newer web standards etc, and sign of success is that forum browsing \ use shows no change from earlier.

Wondering what the forum consists of?  100.000's lines of this kind of stuff :O)

   
Quote
$smcFunc['db_free_result']($request);
   }
   else
      $context['is_marked_notify'] = false;

   // 'Print' the header and board info.
   $context['page_title'] = strip_tags($board_info['name']);

   // Set the variables up for the template.
   $context['can_mark_notify'] = allowedTo('mark_notify') && !$user_info['is_guest'];
   $context['can_post_new'] = allowedTo('post_new') || ($modSettings['postmod_active'] && allowedTo('post_unapproved_topics'));
   $context['can_post_poll'] = $modSettings['pollMode'] == '1' && allowedTo('poll_post') && $context['can_post_new'];
   $context['can_moderate_forum'] = allowedTo('moderate_forum');
   $context['can_approve_posts'] = allowedTo('approve_posts');

   require_once($sourcedir . '/Subs-BoardIndex.php');
   $boardIndexOptions = array(
      'include_categories' => false,
      'base_level' => $board_info['child_level'] + 1,
      'parent_id' => $board_info['id'],
      'set_latest_post' => false,
      'countChildPosts' => !empty($modSettings['countChildPosts']),
   );
   $context['boards'] = getBoardIndex($boardIndexOptions);

   // viewing topic?
   if (!empty($settings['display_who_viewing']))
   {
      $context['view_members'] = array();
      $context['view_members_list'] = array();
      $context['view_num_hidden'] = 0;

      $request = $smcFunc['db_query']('', '
         SELECT
            lo.id_member, lo.log_time, mem.real_name, mem.member_name, mem.show_online,
            mg.online_color, mg.id_group, mg.group_name
         FROM {db_prefix}log_online AS lo
            LEFT JOIN {db_prefix}members AS mem ON (mem.id_member = lo.id_member)
            LEFT JOIN {db_prefix}membergroups AS mg ON (mg.id_group = CASE WHEN mem.id_group = {int:reg_member_group} THEN mem.id_post_group ELSE mem.id_group END)
         WHERE INSTR(lo.url, {string:in_url_string}) > 0 OR lo.session = {string:session}',
         array(
            'reg_member_group' => 0,
            'in_url_string' => 's:5:"board";i:' . $board . ';
',


Stand with
A10 GF '53 My A10 website
"Success only gets you a ticket to a much more difficult task"

Offline duTch

  • Ricketty Rocketty Golden Flashback
  • Wise & Enlightened
  • *
  • Join Date: Oct 2011
  • Posts: 4528
  • Karma: 41
Re: Forum updated to 2.0.14 (and server to php 7)
« Reply #7 on: 25.05. 2017 01:21 »

 
Quote
  Wondering what the forum consists of?  100.000's lines of this kind of stuff :O)

 I found heaps of that when I bought my first 'puter and didn't have any idea, and my nephew said "just play with it- you can't break it " ....oh yeah?  *eek*
 Now my youngster is paid to write the stuff  *wink2*


Started building in about 1977/8 a on average '52 A10 -built from bits 'n pieces never resto intended -maybe 'personalised'
Have a '74 850T Moto Guzzi since '92-best thing I ever bought doesn't need a kickstart 'cos it bump starts sooooooooo(mostly) easy
Australia

Offline mikeb

  • Resident Legend
  • *****
  • Join Date: Dec 2014
  • Posts: 842
  • Karma: 13
Re: Forum updated to 2.0.14 (and server to php 7)
« Reply #8 on: 25.05. 2017 04:00 »
all good! isn't it amazing that most of the internet runs of free code like this forum does - php, mysqli etc. most people think software is expensive, but selling your soul to a US tech giant is optional.
+1 for php7, net neutrality and the efforts of a10gf and the mysterious 'admin'
New Zealand
'61 Super Rocket  - '47 B33 -  '21 Triumph Speed Triple RS

Online bsa-bill

  • Wise & Enlightened
  • *
  • Join Date: Mar 2006
  • Posts: 5720
  • Karma: 66
Re: Forum updated to 2.0.14 (and server to php 7)
« Reply #9 on: 25.05. 2017 09:32 »
Quote
Wondering what the forum consists of?  100.000's lines of this kind of stuff :O)

I'm no expert more an interested observer of things computing, but I think I'm correct in saying those lines of code contain meaningfully named procedures and such, which makes reading the code much easier, this was not always the case, Am I right in thinking this was down to the Sinclair team or did they just adopt it for the QL  I still have one lurking in a drawer some where, sadly it is it's display capability that lets it down these days, otherwise it is still a usable machine thanks to the efforts of a few enthusiasts spread around the world (much like here)
All the best - Bill
1961 Flash - stock, reliable, steady, fantastic for shopping
1959 Rocket Gold Flash - blinged and tarted up  would have seizure if taken to  Tesco

Offline muskrat

  • Global Moderator
  • Wise & Enlightened
  • **
  • Join Date: Jul 2009
  • Posts: 11046
  • Karma: 132
  • Lithgow NSW Oz
    • Shoalhaven Classic Motorcycle Club Inc
Re: Forum updated to 2.0.14 (and server to php 7)
« Reply #10 on: 25.05. 2017 10:04 »
I don't know anything of that stuff. But I can see lots of $$$ signs. That keeps me away. *work* *computer*
Cheers
'51 A7 plunger, '57 A7SS racer now a A10CR, '78 XT500, '83 CB1100F, 88 HD FXST, 2000 CBR929RR ex Honda Australia Superbike .
Australia
Muskys Plunger A7

Offline mikeb

  • Resident Legend
  • *****
  • Join Date: Dec 2014
  • Posts: 842
  • Karma: 13
Re: Forum updated to 2.0.14 (and server to php 7)
« Reply #11 on: 25.05. 2017 10:24 »
Quote
I can see lots of $$$ signs. That keeps me away
$ is for variables and objects. most BSA owners understand variable objects. you'd be right at home
New Zealand
'61 Super Rocket  - '47 B33 -  '21 Triumph Speed Triple RS

Offline a10 gf

  • Global Moderator
  • Wise & Enlightened
  • **
  • Join Date: Sep 2006
  • Posts: 3230
  • Karma: 57
  • West Coast, Norway & Alpes Maritimes, France
    • A10 GF
Re: Forum updated to 2.0.14 (and server to php 7)
« Reply #12 on: 25.05. 2017 11:02 »
all good! isn't it amazing that most of the internet runs of free code like this forum does - php, mysqli etc. most people think software is expensive, but selling your soul to a US tech giant is optional.
+1 for php7, net neutrality and the efforts of a10gf and the mysterious 'admin'

Ahhhh, break free (as much as possible) from Microslut, Crapple, Farcebook, Scroogle and other Orwellian monsters & ghosts who are controlling our life and soul :O)

And now the IOT, Internet of Things: the fridge, cameras, tv, cars (soon the teeth brush and rolls of toilet paper) etc etc churning, mining and sending personal data 24\24...


Stand with
A10 GF '53 My A10 website
"Success only gets you a ticket to a much more difficult task"

Offline a10 gf

  • Global Moderator
  • Wise & Enlightened
  • **
  • Join Date: Sep 2006
  • Posts: 3230
  • Karma: 57
  • West Coast, Norway & Alpes Maritimes, France
    • A10 GF
Re: Forum updated to 2.0.14 (and server to php 7)
« Reply #13 on: 25.05. 2017 12:00 »
Getting out of topic (but as long it's not in tech boards... :O)

http://www.zdnet.com/article/uk-authorities-push-for-direct-access-to-internet-providers-systems-say-critics/

Sadly, due to the conditions in the world and how some individuals and groups uses information technology, total state control will be needed and implemented whatever opinion we may have.

Will give uk authorities free access + membership on the forum :O)


Stand with
A10 GF '53 My A10 website
"Success only gets you a ticket to a much more difficult task"

Offline RichardL

  • Outside Chicago, IL
  • Wise & Enlightened
  • *
  • Join Date: Nov 2007
  • Posts: 6483
  • Karma: 55
Re: Forum updated to 2.0.14 (and server to php 7)
« Reply #14 on: 25.05. 2017 13:08 »
And now the IOT, Internet of Things: the fridge, cameras, tv, cars (soon the teeth brush and rolls of toilet paper) etc etc churning, mining and sending personal data 24\24...

Done! Look here: http://odditymall.com/rollscout-notifies-you-when-youre-low-on-toilet-paper

Next step is sensing your stock-on-hand, automatically placing the order on Amazon and, if necessary, delivering a new roll by drone direct to the bathroom while you are sitting. (Remember, all your doors and locks will also be IoT.)

Richard L.