The BSA A7-A10 Forum

Forum News, Help & Info => Forum Info, Rules & Help => Topic started by: Caretaker on 22.05. 2017 20:56

Title: Forum updated to 2.0.14 (and server to php 7)
Post by: Caretaker 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
Title: Re: Forum updated to 2.0.14 (and server to php 7)
Post by: a10 gf 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*
Title: Re: Forum updated to 2.0.14 (and server to php 7)
Post by: muskrat on 24.05. 2017 20:45
G'day e.
All good down here.
Cheers
Title: Re: Forum updated to 2.0.14 (and server to php 7)
Post by: RichardL on 24.05. 2017 20:51
I hear it's even better down there.
Title: Re: Forum updated to 2.0.14 (and server to php 7)
Post by: muskrat 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
Title: Re: Forum updated to 2.0.14 (and server to php 7)
Post by: duTch 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)
Title: Re: Forum updated to 2.0.14 (and server to php 7)
Post by: a10 gf 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 . ';
',
Title: Re: Forum updated to 2.0.14 (and server to php 7)
Post by: duTch 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*


Title: Re: Forum updated to 2.0.14 (and server to php 7)
Post by: mikeb 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'
Title: Re: Forum updated to 2.0.14 (and server to php 7)
Post by: bsa-bill 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)
Title: Re: Forum updated to 2.0.14 (and server to php 7)
Post by: muskrat 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
Title: Re: Forum updated to 2.0.14 (and server to php 7)
Post by: mikeb 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
Title: Re: Forum updated to 2.0.14 (and server to php 7)
Post by: a10 gf 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...
Title: Re: Forum updated to 2.0.14 (and server to php 7)
Post by: a10 gf 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)
Title: Re: Forum updated to 2.0.14 (and server to php 7)
Post by: RichardL 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.