How to make phpBB Version to show up in statistics module

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   How to make phpBB Version to show up in statistics module
JRSweets
CZ Active Member
 Codezwiz Site Donator
JRSweets has been a member for over 20 year's 20 Year Member
usa.gif massachusetts.gif
Age: 43
Gender: Male
Fav. Sports Team: NE Patriots
Website:
Status: Offline
Joined: Apr 07, 2004
0.03 posts per day
Posts: 259
Points: 19,861
  MSN Messenger 
How did you get the version of the forums to show up in the statistics module? [ Register or login to view links on this board. ]

I was able to get the line to show up that says phpBB Version. I edited the language file. What do you have to do to make the version number show up?



Back to top Reply with quote
#2   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,440
   
       //Start Forum Stats by Telli http://codezwiz.com/
    $sql = "SELECT config_value from ".$prefix."_bbconfig where config_name='version'";
       if ( !($result = $db->sql_query($sql)) ) { message_die(GENERAL_MESSAGE, 'Fatal Error Getting Forums Stats Information!'); }
       $row = $db->sql_fetchrow($result);
       $fversion = $row['config_value'];
       //End Forum Stats
/* Do not Remove the following line! */
    echo "<tr><td><img src=\"modules/$module_name/images/sections.gif\" border=\"0\" alt=\"\">&nbsp;"._NUKEVERSION."</td><td><b>$Version_Num</b>\n";
echo "<tr><td><img src=\"modules/$module_name/images/sections.gif\" border=\"0\" alt=\"\">&nbsp;phpBB Version:</td><td><b>2$fversion</b>\n";
    echo "</td></tr></table>\n";




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#3   re: How to make phpBB Version to show up in statistics modul
echo
CZ Wiz
 Codezwiz Site Donator
Gender: Male
Status: Offline
Joined: Oct 04, 2003
0.15 posts per day
Posts: 1147
Points: 93
   
Telli, where do you add that code?



Back to top Reply with quote
#4   
JRSweets
CZ Active Member
 Codezwiz Site Donator
JRSweets has been a member for over 20 year's 20 Year Member
usa.gif massachusetts.gif
Age: 43
Gender: Male
Fav. Sports Team: NE Patriots
Website:
Status: Offline
Joined: Apr 07, 2004
0.03 posts per day
Posts: 259
Points: 19,861
  MSN Messenger 
Thank you Telli.

In the Statistics Folder find index.php You have to put it in there. If you read thru the file you will see where to put it.

You should see a line with the words "Do not Remove the following line!" in it. Right around there.



Back to top Reply with quote
#5   
echo
CZ Wiz
 Codezwiz Site Donator
Gender: Male
Status: Offline
Joined: Oct 04, 2003
0.15 posts per day
Posts: 1147
Points: 93
   


Originally posted by JRSweets @ Thu May 27, 2004 11:06 am:

Thank you Telli.

In the Statistics Folder find index.php You have to put it in there. If you read thru the file you will see where to put it.

You should see a line with the words "Do not Remove the following line!" in it. Right around there.


Thank you.

I added it but there are a couple of these ;; showing in front of the versions:

;;PHP-Nuke Version: 7.3
;;phpBB Version: 2.0.8

what do I remove to get rid of those?

*EDIT Fixed. I had to remove those in the code.



Back to top Reply with quote
#6   re: How to make phpBB Version to show up in statistics modul
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,440
   
No problem.

Echo those where & n b s p ; but the Google tap parses it.




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum