phpBB2Refugees.com Logo
Not affiliated with or endorsed by the phpBB Group

Register •  Login 

Continue the legacy...

Welcome to all phpBB2 Refugees!Wave Smilie

This site is intended to continue support for the legacy 2.x line of the phpBB2 bulletin board package. If you are a fan of phpBB2, please, by all means register, post, and help us out by offering your suggestions. We are primarily a community and support network. Our secondary goal is to provide a phpBB2 MOD Author and Styles area.

What about version check, download links, etc., in the ACP?


 
Search this topic... | Search phpBB2 Discussion... | Search Box
Register or Login to Post    Index » phpBB2 Discussion  Previous TopicPrint TopicNext Topic
Author Message
roadhog
Board Member



Joined: 18 Nov 2008

Posts: 96
Location: Central Texas


flag
PostPosted: Mon Jan 05, 2009 3:39 pm 
Post subject: What about version check, download links, etc., in the ACP?

I don't even remember if the version check routine that runs every time we access the ACP was part of the original package, or a Mod, but I believe that it came with the original installation. I do recall installing a Mod to provide "ACP Update Download Links".

After reading the "Retirement/End of Support" posts, I have a question. What will happen to the version check routine. Will we try to open our ACP panel one day, (say, after May1, 2009, for example), and discover that it will not load, because that information is no longer available?

Or, will this board utilize that version check routine, one of these days, to provide a source for that information? IOW, should we try to remove that code now, or wait to see what happens.

Wayne
Back to top
dogs and things
Board Member



Joined: 18 Nov 2008

Posts: 628
Location: Spain


flag
PostPosted: Mon Jan 05, 2009 3:54 pm 
Post subject: Re: What about version check, download links, etc., in the A

I removed the version check long ago, and my board is up to date. icon_wink.gif
_________________
phpBB2 will never die, I hope!
Back to top
Ram
Board Member



Joined: 23 Dec 2008

Posts: 100
Location: Somewhere over the rainbow


flag
PostPosted: Mon Jan 05, 2009 4:15 pm 
Post subject: Re: What about version check, download links, etc., in the A

The version checker was introduice in phpBB 2.0.1X (don't remember exactly which version sry icon_sad.gif)

After for the download and the checking it's depending from phpbb.com. You should take a look to admin/index.php for further informations, especially this :

Code:
   // Check for new version
   $current_version = explode('.', '2' . $board_config['version']);
   $minor_revision = (int) $current_version[2];

   $errno = 0;
   $errstr = $version_info = '';

   if ($fsock = @fsockopen('www.phpbb.com', 80, $errno, $errstr, 10))
   {
      @fputs($fsock, "GET /updatecheck/20x.txt HTTP/1.1\r\n");
      @fputs($fsock, "HOST: www.phpbb.com\r\n");
      @fputs($fsock, "Connection: close\r\n\r\n");

      $get_info = false;
      while (!@feof($fsock))
      {
         if ($get_info)
         {
            $version_info .= @fread($fsock, 1024);
         }
         else
         {
            if (@fgets($fsock, 1024) == "\r\n")
            {
               $get_info = true;
            }
         }
      }
      @fclose($fsock);

      $version_info = explode("\n", $version_info);
      $latest_head_revision = (int) $version_info[0];
      $latest_minor_revision = (int) $version_info[2];
      $latest_version = (int) $version_info[0] . '.' . (int) $version_info[1] . '.' . (int) $version_info[2];

      if ($latest_head_revision == 2 && $minor_revision == $latest_minor_revision)
      {
         $version_info = '<p style="color:green">' . $lang['Version_up_to_date'] . '</p>';
      }
      else
      {
         $version_info = '<p style="color:red">' . $lang['Version_not_up_to_date'];
         $version_info .= '<br />' . sprintf($lang['Latest_version_info'], $latest_version) . ' ' . sprintf($lang['Current_version_info'], '2' . $board_config['version']) . '</p>';
      }
   }
   else
   {
      if ($errstr)
      {
         $version_info = '<p style="color:red">' . sprintf($lang['Connect_socket_error'], $errstr) . '</p>';
      }
      else
      {
         $version_info = '<p>' . $lang['Socket_functions_disabled'] . '</p>';
      }
   }
   
   $version_info .= '<p>' . $lang['Mailing_list_subscribe_reminder'] . '</p>';
   

   $template->assign_vars(array(
      'VERSION_INFO'   => $version_info,
      'L_VERSION_INFORMATION'   => $lang['Version_information'])
   );
Back to top
drathbun
Board Member



Joined: 24 Jul 2008

Posts: 729
Location: Texas


flag
PostPosted: Tue Jan 06, 2009 1:44 am 
Post subject: Re: What about version check, download links, etc., in the A

I have asked that question to the team at .com and am still waiting for a final answer. At this time the version check will still work. If at some point it stops working, we can easily publish an update to the code that will send the check here or any other site that wants to provide a similar service.

If you want to take a warped view of this icon_smile.gif having the version check stop working could be a good thing for this site. I expect there are thousands of phpbb2 board owners out there that have no idea 3.x even exists. If the version check stops working, at least it would get them to go visit .com, where they might either upgrade or be more active at finding alternatives like this site.

Without the change, they might simply continue in ignorance.

I will share anything I can when I can about the future of the version check. Thanks for bringing this up.

_________________
phpBBDoctor Blog
Back to top
roadhog
Board Member



Joined: 18 Nov 2008

Posts: 96
Location: Central Texas


flag
PostPosted: Tue Jan 06, 2009 1:56 am 
Post subject: Re: What about version check, download links, etc., in the A

Thanks for the insight. I believe that I'll just sit tight and see what develops.
Back to top
Dog Cow
Board Member



Joined: 18 Nov 2008

Posts: 378


flag
PostPosted: Tue Jan 06, 2009 5:14 pm 
Post subject: Re: What about version check, download links, etc., in the A

If anything, phpbbb.com ought to change the text file to return the latest version as being 3.0.x icon_lol.gif
Back to top
drathbun
Board Member



Joined: 24 Jul 2008

Posts: 729
Location: Texas


flag
PostPosted: Tue Jan 06, 2009 6:42 pm 
Post subject: Re: What about version check, download links, etc., in the A

They can't do that. The "2." part of the version is hard coded. icon_wink.gif
_________________
phpBBDoctor Blog
Back to top
Ram
Board Member



Joined: 23 Dec 2008

Posts: 100
Location: Somewhere over the rainbow


flag
PostPosted: Wed Jan 07, 2009 4:41 am 
Post subject: Re: What about version check, download links, etc., in the A

Look at the code I have done before icon_wink.gif
Back to top
drathbun
Board Member



Joined: 24 Jul 2008

Posts: 729
Location: Texas


flag
PostPosted: Wed Jan 07, 2009 10:21 am 
Post subject: Re: What about version check, download links, etc., in the A

I asked for more specifics from some of the team members at .com and was told that I could share this:
Quote:
The intent of the phpBB Group is to leave the small file that supports the version check in place on the phpbb.com server so as not to break existing phpBB2 boards that require it.

So unless they upgrade servers and forget to pull this file along icon_smile.gif I think phpbb2 board owners will be fine.

_________________
phpBBDoctor Blog
Back to top
Dog Cow
Board Member



Joined: 18 Nov 2008

Posts: 378


flag
PostPosted: Wed Jan 07, 2009 12:55 pm 
Post subject: Re: What about version check, download links, etc., in the A

drathbun wrote:
They can't do that. The "2." part of the version is hard coded. icon_wink.gif

As I had assumed, but I'm sure they could sneak in extra digits somehow. icon_wink.gif
Back to top
roadhog
Board Member



Joined: 18 Nov 2008

Posts: 96
Location: Central Texas


flag
PostPosted: Wed Jan 07, 2009 1:07 pm 
Post subject: Re: What about version check, download links, etc., in the A

Well, I have to give them credit for showing at least a smidgen of consideration toward phpBB2 users, in that case. Of course, as dogs and things and Ram have mentioned, if that link will no longer provide any useful functionality, (IOW, if someone else is not going to take it over and utilize it for providing version upgrade info, then we might as well remove the code. It's good to know that removing it won't be mandatory, though.

Thanks for checking it out, and passing on that information.
Back to top
lumpy burgertushie
Board Member



Joined: 18 Nov 2008

Posts: 266


flag
PostPosted: Wed Jan 07, 2009 2:26 pm 
Post subject: Re: What about version check, download links, etc., in the A

there wont' be any updates unless someone else provides them.

so, as long as you are updated to 23, then you will never get an update message in your admin panel.
and unless they remove the check file from phpbb.com, you will never get an error.

aaannnnddddd, if anyone ever gets an error, I hope they find us to help them with fixing it.

robert
Back to top
Display posts from previous:   
Register or Login to Post    Index » phpBB2 Discussion  Previous TopicPrint TopicNext Topic
Page 1 of 1 All times are GMT - 4 Hours
 
Jump to:  

Index • About • FAQ • Rules • Privacy • Search •  Register •  Login 
Not affiliated with or endorsed by the phpBB Group
Powered by phpBB2 © phpBB Group
Generated in 0.0470 seconds using 16 queries. (SQL 0.0089 Parse 0.0009 Other 0.0372)
phpBB Customizations by the phpBBDoctor.com
Template Design by DeLFlo and MomentsOfLight.com Moments of Light Logo