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

Reply
 
Thread Tools
Battlefield 2 Stats integration for VBAdvanced Details »»
Battlefield 2 Stats integration for VBAdvanced
Version: 1.00, by Oap JTRipper Oap JTRipper is offline
Developer Last Online: Aug 2011 Show Printable Version Email this Page

Category: Integration with vBulletin - Version: 3.6.0 RC2 Rating:
Released: 07-27-2006 Last Update: 07-27-2006 Installs: 20
DB Changes
Additional Files  
No support by the author.

What is it :
A stats package orginally built by Brainpecker for the Game Battlefield 2

Installation :
  1. Edit bf2_stats_config.php & fill in your database details
  2. Upload the entire package as is
  3. Upload the contents of the pics.rar to the pics directory in bf2stats
  4. Run bf2_stats_createMySqlTable.php
  5. Delete bf2_stats_createMySqlTable.php
  6. Go to vBa cmps Add Page & use the settings in the images included here
  7. Check your installation
  8. Also included a js file to fix the transparency issue on IE
  9. If your cmps file is called anything else than index.php you can change this setting in bf2_stats_config.php ( line 51-) $conf_embed_in_page = "index.php"

Extras

Improved the images by using transparent png's & different weapon images form the origianl script

Improved layout especially for vBa

You can mess with the settings in bf2_stats_config.php to give different output

Thanks to Brainpecker for the original script

Demo
Oapsquad

Show Your Support

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

Comments
  #12  
Old 08-30-2006, 03:28 AM
Jericho2004 Jericho2004 is offline
 
Join Date: Jan 2004
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When I check the installation after it creates the db table, it goes to a white page. After I add the page in vba and try to go to it, I get alot of errors on a white page that refer to the /bf2stats/bf2_stats_main.php. I followed the instructions completely and my vba is set to index.php. Any ideas?

Thanks.
Reply With Quote
  #13  
Old 08-30-2006, 01:10 PM
Oap JTRipper Oap JTRipper is offline
 
Join Date: Oct 2004
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

where did u upload the files to?
have you got a link i can check?
Reply With Quote
  #14  
Old 08-30-2006, 03:04 PM
Jericho2004 Jericho2004 is offline
 
Join Date: Jan 2004
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the reply. I uploaded the bf2stats folder to root of my site. I set up the vba page like in the instructions. The database installed fine, I just can't get into the page. Here you go:

http://www.gamingregime.com/bf2stats/index.php

http://www.gamingregime.com/index.php?page=bf2stats&
Reply With Quote
  #15  
Old 08-30-2006, 04:20 PM
Oap JTRipper Oap JTRipper is offline
 
Join Date: Oct 2004
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the errors you are getting is a setting on your server

try & contact your host
Reply With Quote
  #16  
Old 08-30-2006, 05:12 PM
Jericho2004 Jericho2004 is offline
 
Join Date: Jan 2004
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Oap JTRipper
the errors you are getting is a setting on your server

try & contact your host
I have a dedicated server with my webhost. Do you know what needs to be adjusted? I can probably do it myself.
Reply With Quote
  #17  
Old 08-30-2006, 07:02 PM
Oap JTRipper Oap JTRipper is offline
 
Join Date: Oct 2004
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

im not sure as I dont use windows for my hosting but think its something to do with open_basedir
Reply With Quote
  #18  
Old 08-30-2006, 07:21 PM
Jericho2004 Jericho2004 is offline
 
Join Date: Jan 2004
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm using Linux, not windows.
Reply With Quote
  #19  
Old 08-30-2006, 09:24 PM
Oap JTRipper Oap JTRipper is offline
 
Join Date: Oct 2004
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lol ok try this in bf2stats_main.php find

Code:
include("bf2_stats_config.php");
include("bf2_stats_class.php");
include("bf2_stats_tables.php");
include("bf2_stats_medals.php");
include("bf2_stats_unlocks.php");
include("bf2_stats_award_req.php");
include_once("bf2_stats_more_functions.php");
& put in the full path to these files
Reply With Quote
  #20  
Old 08-31-2006, 01:24 PM
Jericho2004 Jericho2004 is offline
 
Join Date: Jan 2004
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Maybe this has something to do with the fact that I'm using php 5. I tried putting my full path in. I had to edit most php files and I got the page to look right, but I cannot do any search without getting more errors on the php files.
Reply With Quote
  #21  
Old 09-01-2006, 03:44 PM
Pearl's Avatar
Pearl Pearl is offline
 
Join Date: Oct 2005
Location: Bedroom in lala land
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Oap JTRipper
all the pics are there
I know i created 2 folders one in the forum root and one in public_html.
I also had to edit the location of fixpgn.js, i had to edit like 9 files but anyway it works

now i have another problem lol i also used your teamstats i entered 10 bf2 id's but there only showing 7?

any ideas?

cheers
Lynn
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 12:56 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.10462 seconds
  • Memory Usage 2,303KB
  • Queries Executed 25 (?)
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
  • (2)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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