vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=183096

phgstats Integration
by wpeloquin
20 Jun 2008 21:34

4 Attachment(s)
Most of the work came from the following 2 hacks:
http://www.vbulletin.org/forum/showthread.php?t=101008 (the author hasn't been online since Sep 2007 / in 3.5 section.)
http://www.vbulletin.org/forum/showthread.php?t=118347 (No longer supported / in 3.5 section)

This is more-or-less a combination of the 2 non-working hacks into a single working version.



STEP 1:
download phgstats, and upload the phgstats folder to your forum directory.

the version i have tested is 0.6.9b. i have also included the zip file as an attachment. a newer version may be available online at sourceforge.net



STEP 2:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.



STEP 3:
Go to AdminCP -> Styles & Templates -> Style Manager

For each style, choose Main CSS and scroll to the very bottom. In the bottom Additional CSS Definitions box, add the following code:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.



STEP 4:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

NOTE: you can compare the original file that is in that directory with the custom file i have included. the ONLY edits that i made in that file was the addition of the classes. [<table class="customclass">, etc.]



STEP 5:
Add your servers. Open phgstats/settings/config.inc.php and follow the examples.

wpeloquin 20 Jun 2008 21:39

If this is against some sort of copyright rule, feel free to delete this. i left all credits intact.

Firecracker 22 Jun 2008 06:52

Very nice mod, but there is one more edit needed to be done.

In servers.php:

Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace "phg__stats/" with the name of your folder. By default: "phgstats/".

GrendelKhan{TSU 23 Jun 2008 16:10

omg.. thank you! been waiting for this. will try to install now :)

edit:

Quote:

EDIT:
replace path_to_phgdirectory with the proper folder.
Example: phgstats/admin/index.php
I assume that relative to one's forums root folder (ie: the folder that you upload phgstats to)?

GrendelKhan{TSU 23 Jun 2008 17:08

er..it messed up my portal page so I tried to uninstall it. but now I get a fatal error on my home/portal page. :(


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.



HELPP!!!! :(

wpeloquin 26 Jun 2008 03:41

Quote:

Originally Posted by Firecracker (Post 1555825)
Very nice mod, but there is one more edit needed to be done.

In servers.php:

Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace "phg__stats/" with the name of your folder. By default: "phgstats/".

yes, that needs to be changed as well, thank you for catching that.

Quote:

Originally Posted by GrendelKhan{TSU (Post 1556893)
I assume that relative to one's forums root folder (ie: the folder that you upload phgstats to)?

correct

Quote:

Originally Posted by GrendelKhan{TSU (Post 1556939)
er..it messed up my portal page so I tried to uninstall it. but now I get a fatal error on my home/portal page. :(


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.



HELPP!!!! :(

there is no VBAGameServerModule.php file, unless you downloaded a file from one of the other threads i linked to. i'm curious to why it would even affect your CMPS, it has nothing to do with CMPS. could you detail what you did a bit more?


All times are GMT. The time now is 14:13.

Powered by vBulletin® Version 3.8.14
Copyright © 2020, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.