Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[Unmodified] PHGStats ProjectvB Details »»
[Unmodified] PHGStats ProjectvB
Version: 0.1b, by nitro nitro is offline
Developer Last Online: Jan 2009 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 06-11-2006 Last Update: 06-11-2006 Installs: 10
Additional Files Is in Beta Stage  
No support by the author.

This project was inspired by the hack here but by taking the stance no modifications to any phgstats files what so ever is what makes it totally different.

This way when theres a update for either vb or phgstats unless theres some major change in either product its unlikely an update of one would affect the other.

Templates: 0 at the moment may move some stuff to templates later.
Phrases: 0 again may add some
Files: 1 to upload plus the phgststats program
Plugins: 0
File edits: 0
DB Queries: 0
Template edits: optional to add a link to the page in your header or navbar or where ever else you may want one.

Q. Does it integrate with the vbulletin style
A. Yes it works out the box with most of the styles I have tested it with. The only style that went slightly wierd was an old style that has not yet been updated to vb 3.5.4

Q. Can servers be added bia admincp
A. Not at the moment, a link is there if your an administrator (grouid 6) for the phgstats admin panel. If in the future I was to consider making a vb admincp interface it would simply do the same job the phgstats admin page does.

Q. will it ever be out of beta stage
A. maybe, maybe not.

Q. Can contributions be made to the project
A. Sure under the terms of the credits is fine. Contributions will not be accepted if they involve modifying any phgstats files.

Beta, recomended to test first and only install live if your happy with the results.

There is a vbPortal version done, a Logicians Web Templates addon almost complete, and a vbAdvanced cms 99% finished. They will all run stand alone from each other meaning you wont need to install this one for a CMS/CMPS version to work.

For those who dont know, what does this do ?

PHGStats will poll several types of gameservers and teamspeak 2 servers for data.

Currently supported game servers by PHGStats 0.68b:
  • - American's Army (aa)
  • - Armagetronad (atron)
  • - Battlefield 1942 (bf)
  • - Battlefield Vietnam (bfv)
  • - Battlefield 2 (bf2)
  • - Call of Duty (cod)
  • - Call of Duty 2 (cod2)
  • - Doom 3 (d3)
  • - Enemy Territory (et)
  • - FEAR (fear)
  • - HALO (halo) (new)
  • - Half-Life / CS OLD (hl_old)
  • - Half-Life / CS (hl)
  • - Half-Life 2 / CS:S (hl2)
  • - Medal of Honor (mohaa)
  • - Painkiller (pk)
  • - Red Orchestra (ro) (new)
  • - Return to Castle Wolfenstein (rtcw)
  • - Rune (rune)
  • - Soldier of Fortune 2 (sof2)
  • - SWAT4 (swat)
  • - Teamspeak (ts) (new)
  • - Unreal Tournament (ut)
  • - Unreal Torunament 2003 (ut2003)
  • - Unreal Tournament 2004 (ut2004)
  • - Quakeworld (qw)
  • - Quake 1 (q1)
  • - Quake 2 (q2)
  • - Quake 3 (q3)
  • - Quake 4 (q4)
  • - Warsow (warsow) (new)

Instructions.
Get PHGStats
Upload the phgstats directory to your forum root and run its installer. No db is required for this.
Verify its polling your server(s) and displaying out put.
Upload the attached file to your forum root and load that and you should see the same results but in a vb style page.
Add a link to the page in your prefered template/location.

I am not offering any official support as its beta but I am usually around so I may be able to answer further questions.
I dont have a demo right now as I am awaiting my host to open some ports for me. It has been tested with live servers but not in a live vbulletin install.

Update: Added an admincp nav loader, this should load the admin file for phgstats to you admincp main frame. As with using the phgstats admin direct the config.inc.php file in the phgstats/settings directory will need to be world writeable. Feedback welcome on how this pans out. It has been tested locally to work fine. Upload the cpnav_phgstatsvb.xml to your forums includes/xml directory. Refresh or logout and back into admincp.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 06-12-2006, 02:08 AM
nitro nitro is offline
 
Join Date: Nov 2001
Posts: 302
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Reserved

AdminCP screen added and my host finally figured out what I needed with ports so theres a live demo of the vbPortal version here which is posted on vbportals forums
Reply With Quote
  #3  
Old 06-12-2006, 06:45 AM
Phalynx Phalynx is offline
 
Join Date: Feb 2004
Location: Erlangen, Germany
Posts: 2,747
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for sharing.
Reply With Quote
  #4  
Old 06-12-2006, 07:15 AM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks.
Reply With Quote
  #5  
Old 06-12-2006, 08:06 AM
El-Gazaly El-Gazaly is offline
 
Join Date: Apr 2006
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Many thanks
Installed .
Reply With Quote
  #6  
Old 06-12-2006, 09:23 AM
nitro nitro is offline
 
Join Date: Nov 2001
Posts: 302
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Caught a typo while messing with the vba parts which is in this file aswell.

look for the closing table tag above $footer and its missing the end >

Also for the cpnav to work there needs to be a product with an id that matches. Didnt realise this was compulsory and as I didnt go down the template and phrase route yet I didnt export one, as my host just mailed me my ports are done so I went to add this live is when I found out.

In admincp->plugin manager->manage products->add product

Code box for licensed veiwing only:
Code:
productid: phgstats_vb
Title: PHGStats ProjectvB
Version: 0.1b
Description: PHGStats Game servers page vb integration
Now when you refresh your cp you should see the extra menu item. Dont see the point in updating the zip with an empty product file, but when theres an update I may add it.
Reply With Quote
  #7  
Old 06-13-2006, 03:32 PM
twitch's Avatar
twitch twitch is offline
 
Join Date: Apr 2005
Posts: 260
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you!
Reply With Quote
  #8  
Old 06-14-2006, 05:17 PM
EasyTarget EasyTarget is offline
 
Join Date: Nov 2004
Posts: 660
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how difficult would it be to add other game types to the supported list?
Reply With Quote
  #9  
Old 06-14-2006, 05:34 PM
nitro nitro is offline
 
Join Date: Nov 2001
Posts: 302
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not sure on that, check the classes files as these are the place to look.

I am sure PHGStats would welcome some of the vb.org local talent to contribute for more games.

You will have to excuse the vbA mods they are done but I have had 2 c**ppy days and am to cream crackered to write out the varied instructions. I will try n get em up tomorrow. Yesterday was my rma'd router returned so I had to give that a test and changed my networks range so my dev box needed a pile of work recongfiguring stuff and today I installed vista on two boxes both of which have took most of the day, Mrs says her's is overheating although I think its just MBM n vista but the other I updated was my HTPC as vista has media center built in and it ent having any of it, most likely because of vista DRM and my 9800 AIW doesnt have HTCP but the 50" does.

Even worse my 10 year old has just signed up, grabbed the dvdr off me and installed it inside two hours on his just about inside the recomended specs system and the only bit it didnt do for him by the looks was the SB card.

[high]* nitro looks for a nice big brick wall [/high]
Reply With Quote
  #10  
Old 06-18-2006, 08:47 PM
Forumi Shqiptar's Avatar
Forumi Shqiptar Forumi Shqiptar is offline
 
Join Date: Aug 2005
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

many thanks for this installed but got some errorrs any help or ideas on this anyone?

Quote:
Refresh

Warning: fsockopen() expects parameter 2 to be long, string given in /phgstats/classes/et.class.php on line 91
Error: -

Warning: fclose(): supplied argument is not a valid stream resource in /phgstats/classes/et.class.php on line 108

Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: No address associated with hostname in /phgstats/classes/aa.class.php on line 86
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:21 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04375 seconds
  • Memory Usage 2,298KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete