show current version and load server

Get help with installation and running phpBB 3.1.x here. Please do not post bug reports, feature requests, or extension related questions here.
Suggested Hosts
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTE: phpBB 3.1.x is at its End of Life stage and support will NOT be provided after July 1st, 2018.
Locked
User avatar
iorG19
Registered User
Posts: 60
Joined: Sun Sep 28, 2014 10:25 am
Name: Georgian Iordache
Contact:

show current version and load server

Post by iorG19 »

Howdy,

I wonder what code to put to show in footer current version of my phpBB installation. I have 3.2.0-b2 now and it works like a charm and i want to view live load settings and/or core version.

Thank you in advance, cheers!
“Si cres en tus fuerzas, nadie te podrá derrotar”Georgian Iordache // @iorG19 (GeorgioGalben)
User avatar
Lumpy Burgertushie
Registered User
Posts: 69223
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: show current version and load server

Post by Lumpy Burgertushie »

that was removed years ago to prevent hackers from finding out the version number by simply scanning the page.
why would you want to put the version number in your footer.
you can simply open the admin panel and it tells you on the first page.

what "live load settings" are you talking about?

try this:
open your config.php file remove the // from the two lines at the bottom. that will give you some stats but not the version number.


robert
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
User avatar
</Solidjeuh>
Registered User
Posts: 1788
Joined: Tue Mar 29, 2016 3:45 am
Location: Aalst (Belgium)
Name: Andy Dm
Contact:

Re: show current version and load server

Post by </Solidjeuh> »

Take a look at this if you really want it..
http://www.dmzx-web.net/viewtopic.php?f=66&t=1643
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: show current version and load server

Post by david63 »

GEORGiOBBLOVER wrote:I have 3.2.0-b2 now and it works like a charm
No it doesn't - there several bugs in 3.2.0-b2 that prevent it from working correctly (perhaps you have not encountered them yet)
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
User avatar
iorG19
Registered User
Posts: 60
Joined: Sun Sep 28, 2014 10:25 am
Name: Georgian Iordache
Contact:

Re: show current version and load server

Post by iorG19 »

Lumpy Burgertushie wrote:...
open your config.php file remove the // from the two lines at the bottom. that will give you some stats but not the version number.


robert
thank you very much! :D
Froddelaar wrote:Take a look at this if you really want it..
http://www.dmzx-web.net/viewtopic.php?f=66&t=1643
awesome! :mrgreen:

i have a little 'problem' but i don't know if ask here or create another thread.

i want to remove

Code: Select all

www.
from browser.

i want to (automatically) redirrect from:

Code: Select all

www.mydomain.com
to

Code: Select all

http://mydomain.com
thanks & cheers!
“Si cres en tus fuerzas, nadie te podrá derrotar”Georgian Iordache // @iorG19 (GeorgioGalben)
User avatar
Lumpy Burgertushie
Registered User
Posts: 69223
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: show current version and load server

Post by Lumpy Burgertushie »

then just don't use www when you type in a site and remove it from any bookmarks you are using etc.

in many cases the browser will automatically insert the www. check your browser options to see if it is something you can turn off.

the reality is that the www. is almost never required to access a domain name. the old us government servers
will often still require it because they are so out of date.


robert
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
User avatar
iorG19
Registered User
Posts: 60
Joined: Sun Sep 28, 2014 10:25 am
Name: Georgian Iordache
Contact:

Re: show current version and load server

Post by iorG19 »

Lumpy Burgertushie wrote:then just don't use www when you type in a site and remove it from any bookmarks you are using etc.
...
robert
i mean if it exists any .htaccess rules to play with. i don't know if you understand me. let me explain:

for example if i have SSL enabled ( this is not my case - just example )

visitors are typing
domain.com
or
www. domain.com

and automatically redirrect to:
https://domain.com

So, in my case, i want to automatically redirrect from
www.
to
http://
... even
http://www.

at phpBB.com you type whatever you want in browser with or without http, www. and it redirrects to https://www.

my english it's so bad, sorry and thank you for your patience
“Si cres en tus fuerzas, nadie te podrá derrotar”Georgian Iordache // @iorG19 (GeorgioGalben)
User avatar
Lumpy Burgertushie
Registered User
Posts: 69223
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: show current version and load server

Post by Lumpy Burgertushie »

as long as a visitor can get to your domain using either one, why do you care?

in almost all cases you can access any website by using either www or no www

there is really no need for any kind of redirect.



robert
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
User avatar
cprgolds
Registered User
Posts: 459
Joined: Thu Oct 11, 2007 5:49 am
Location: Portland, Oregon

Re: show current version and load server

Post by cprgolds »

I have not tried this, but this is from a note I had from a long time ago:

Code: Select all

Make your site Class B 
Sep 3, 2003

Class B means that all of the traffic to http://www.yourdomain.com is politely and silently redirected to http://yourdomain.com. This is currently the preferred no-www classification as it does not inconvenience your users, but it does assert the deprecated nature of the www subdomain.

The process of making your domain a Class B is quite simple. All you need to do is create or modify a file called .htaccess located in the root directory of your site and add the following lines:

RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26508
Joined: Fri Aug 29, 2008 9:49 am

Re: show current version and load server

Post by Mick »

Reference the WWW thing, speak to your host, they can sort that out pretty much how you want it to work. I've just checked out one of mine that doesn't use WWW and if you put WWW in the URL the host resolves it. Over the last few years I don't remember setting up a new account with WWW, it's just not required today.
  • "The more connected we get the more alone we become" - Kyle Broflovski©
  • "The good news is hell is just the product of a morbid human imagination.
    The bad news is, whatever humans can imagine, they can usually create.
    " - Harmony Cobel
User avatar
iorG19
Registered User
Posts: 60
Joined: Sun Sep 28, 2014 10:25 am
Name: Georgian Iordache
Contact:

Re: show current version and load server

Post by iorG19 »

Lumpy Burgertushie wrote:as long as a visitor can get to your domain using either one, why do you care?
in almost all cases you can access any website by using either www or no www
there is really no need for any kind of redirect.
robert
1. when i login myself with www. and then i came back without www. i'm not logged in. that's way.
------------------------------------------------------------------------------------------------------------------------------------
cprgolds wrote:I have not tried this, but this is from a note I had from a long time ago:
...

Code: Select all

RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
2. i see that are people that understand me, that's what i mean. i will try your code. Thank you!
------------------------------------------------------------------------------------------------------------------------------------

3. i own a xenforo community and i have this*:

Code: Select all

RewriteEngine On
RewriteCond %{HTTP_HOST} !^domain\.com
RewriteRule (.*) http://domain.com/$1 [L,R=301]
* - that file is longer, but i show you only the redirrect rule.

-------------------------------------------------------------------------------------------------------------------------------
Mick wrote:Reference the WWW thing, speak to your host, they can sort that out pretty much how you want it to work. I've just checked out one of mine that doesn't use WWW and if you put WWW in the URL the host resolves it. Over the last few years I don't remember setting up a new account with WWW, it's just not required today.
i just tried both rules and don't works. you're right. That's hosting problem. they know what to redirrect. Anyway, i've seen my WWW, problem was solved; from now on, either with or without i keep logged in.

Thank you all have support me Cheers!!
“Si cres en tus fuerzas, nadie te podrá derrotar”Georgian Iordache // @iorG19 (GeorgioGalben)
Locked

Return to “[3.1.x] Support Forum”