Author |
Message |
emmaphp
Worker
![Worker Worker](modules/Forums/images/ranks/3stars.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Aug 22, 2006
Posts: 192
|
Posted:
Wed Sep 27, 2006 6:25 am |
|
Hey,
Just a quick question guys.
Over recent months I have installed various websites, some using the 'standard' 7.6 version of PHP-Nuke and other more recent websites with Ravens 76 Distro.
The question is that I now want to check which version of PHP-Nuke each site is currently using as I do not remember etc.
What is the (easiest) way to do this? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
fkelly
Former Moderator in Good Standing
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Aug 30, 2005
Posts: 3312
Location: near Albany NY
|
Posted:
Wed Sep 27, 2006 7:23 am |
|
Look at the logo at the bottom of the screen. I haven't looked at a "standard" version in some time but I don't think you'll find the fisubice theme there nor the "distributed by Ravenphpscripts" wording. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
emmaphp
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Sep 27, 2006 7:47 am |
|
Thanks for that fkelly...good 'point'.
But just to clarify, your advise distinguished between a site running a 'standard' version of PHP-Nuke and one running the Raven 76 Distro, but if I want to be more specific/precise, then how do I know which exact version of the Raven Distro a site is running with? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
fkelly
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Sep 27, 2006 8:34 am |
|
LOL, you asked a "quick question" before. I tried to give a "quick" answer.
Ideally, you would keep track of what you installed where. Failing that you could compare the mainfile.php's of what's on a given server with what's in the distribution you downloaded (which hopefully you still have on your computer, if not you can temporarily redownload) and see which matches to which. An automated file comparison tool helps. The other file that might give you some idea is config.php but of course that would be modified from the distribution for database names and passwords and the like. Still the structure of that has changed slightly from release to release.
The problem with all this is that people often install modifications to their distributions (let's say an add-on requires it or they just want something to work differently) so these comparisons are not fail safe.
Maybe someone else has a "quicker" method? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
emmaphp
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Sep 27, 2006 9:11 am |
|
Again fkelly....thanks so much...(and it makes a change to read posts from someone who can write is such a concise and gramatically correct way)!
![:clap:](modules/Forums/images/smiles/icon_welldone.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
fkelly
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Sep 27, 2006 2:59 pm |
|
LOL, flattery will get you somewhere. Out on my bike ride I remembered that there is a field in the config table that has the version number. At least that's true in Ravennuke. The field name is Version_Num. humm ... just looked it up and that field is in PHPnuke 7.6 also. So that might be the best place to look, the config table I mean. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
evaders99
Former Moderator in Good Standing
![](modules/Forums/images/avatars/803d73f6452557b947721.jpg)
Joined: Apr 30, 2004
Posts: 3221
|
Posted:
Wed Sep 27, 2006 8:33 pm |
|
Yep config table, both in original phpNuke and RavenNuke |
_________________ - Only registered users can see links on this board! Get registered or login! -
Need help? Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
dogpowell
Regular
![Regular Regular](modules/Forums/images/ranks/2stars.gif)
![](modules/Forums/images/avatars/Star_Trek/Star_Trek_-_Borg_2.gif)
Joined: Oct 01, 2006
Posts: 50
Location: UK
|
Posted:
Sun Oct 01, 2006 8:26 pm |
|
Or for those who like an easy life ........
open notepad or similar and enter
Code:<?php
require_once("mainfile.php");
if (!isset($Version_Num))
{
if ($result = $db->sql_query("SELECT Version_Num FROM ".$prefix."_config"))
{
list($Version_Num) = $db->sql_fetchrow($result);
$db->sql_freeresult($result);
}
else
{
$Version_Num = "Unknown";
}
}
echo "Your PHP-Nuke version is $Version_Num";
die();
?>
|
Then save file as nukeversion.php
Place file in your directory where config.php, mainfile.php etc are and then call up using your browser http://www.yourdomain.tld/nukeversion.php
Once you have finished remove nukeversion.php from server.
''''''Maybe this might help somebody'''''''' |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
emmaphp
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Oct 02, 2006 7:41 am |
|
Thanks dogpowell...This is THE Perferct and ideal solution!!!...Using this method is very fast and leaves the user, (i.e. in this case me), with absolutely no doubt as to the version they are using!
![worship](modules/Forums/images/smiles/icon_worship.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|