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
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

Version: 3.5.2 Rating:
Released: 12-22-2005 Last Update: 12-25-2005 Installs: 12
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.

This is a module for Battlefield 2 stats - it integrates the new stats package from http://www.brainpecker.com with full authority to use it

Installation

Included is the module & a product xml file, also included is the full script for the stats. There is also a readme-installation file

Demo


Screenshot 1 is of the stats block on the homepage
Screenshot 2 is of the main stats page

Supporters / CoAuthors

Show Your Support

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

Comments
  #12  
Old 12-24-2005, 09:50 AM
Oap JTRipper Oap JTRipper is offline
 
Join Date: Oct 2004
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SgtTechHead
I had the same thing happen when I first installed. After a bit of investigation, I found that the "Invalid Page" error was being caused because of an invalid or undeclared variable for my VBA_CMPS portal path.

I found this line in the "bf2_stats/bf2_stats_tables.php" (under the uploads folder of the de-compressed hack package) file:
Code:
 
<form name="form1" method="post" action="$bburl?page=bf2stats&">
In that line, I changed the instance of "$bburl" to the actual name of my VBA_CMPS page, in my case "portal.php". Worked like a champ after that. Also found this to be the case in the template that gets installed with the product. The template, vba_portal_bf2stats, had the same line in it. I changed it there also and the optional portal block started working as well.

Nice work Oap JTRipper! Clicks *INSTALL*

strange thing is I tested it using 3 installs with the cmps page called different

eg
index.php
home.php
main.php

& it worked everytime

Quote:
well, thanks for looking into it..i will study it a bit..see what comes up...thx again

heh..i messed around like ya said and got it working.. the only thing i have to fix its the image paths.

know here i can "correctly" edit that?
in the bf2_stats folder there is your bf2_stats_config.php page

Code:
$conf_picsPath = "bf2_stats/pics";
that is the bit you need to change
Reply With Quote
  #13  
Old 12-24-2005, 02:42 PM
SMO's Avatar
SMO SMO is offline
 
Join Date: Sep 2005
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cool..thx, that fixed the issue with the top graphics but I am having some issues with the "awards"...i check the url on the red x but all it is is my home page. check my site if you wish to know what i am trying to say..
Reply With Quote
  #14  
Old 12-24-2005, 02:51 PM
Rhoads Rhoads is offline
 
Join Date: Dec 2004
Location: Holland
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get this error above my stats page:

Warning: Division by zero in /bf2_stats/bf2_stats_class.php on line 321

:ermm:
Reply With Quote
  #15  
Old 12-24-2005, 05:36 PM
Oap JTRipper Oap JTRipper is offline
 
Join Date: Oct 2004
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SMO
cool..thx, that fixed the issue with the top graphics but I am having some issues with the "awards"...i check the url on the red x but all it is is my home page. check my site if you wish to know what i am trying to say..
just had a look at the bare bf2_stats page on your site

this is what the script is trying to find

Code:
http://www.slaptardcentral.com/forums/bf2_stats/forums/bf2_stats/pics/rank_7.png
notice the double folders


Quote:
Originally Posted by drl2005
I get this error above my stats page:

Warning: Division by zero in /bf2_stats/bf2_stats_class.php on line 321
you got a link cos I cant see it on your site

also with what page request are you getting it
Reply With Quote
  #16  
Old 12-24-2005, 09:58 PM
Rhoads Rhoads is offline
 
Join Date: Dec 2004
Location: Holland
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Oap JTRipper
you got a link cos I cant see it on your site

also with what page request are you getting it
It's fixed when I was playing on a server, it was my first time (holiday now) that I play on a ranked server. I have asked on brainpecker.com to, and they said that it is a bug when you have not played, they fixed in nex release.

I also have customed my vBadvanced module, you can now compare with other players.
Reply With Quote
  #17  
Old 12-25-2005, 12:01 AM
Oap JTRipper Oap JTRipper is offline
 
Join Date: Oct 2004
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeh i also did a search

something to do with dividing by 0
Reply With Quote
  #18  
Old 12-26-2005, 06:40 AM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oap,

Thjen I suggest making it smaller, the rules of the forum inssit on the files being attached here, You have 24 hours to attach the files here.
Reply With Quote
  #19  
Old 12-26-2005, 11:09 AM
Oap JTRipper Oap JTRipper is offline
 
Join Date: Oct 2004
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachery
Oap,

Thjen I suggest making it smaller, the rules of the forum inssit on the files being attached here, You have 24 hours to attach the files here.
k done

taken the images out of the package :tired:
Reply With Quote
  #20  
Old 12-26-2005, 12:19 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Oap JTRipper
k done

taken the images out of the package :tired:
Attach to 2nd post
Reply With Quote
  #21  
Old 12-27-2005, 11:42 AM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it me or or gamespy?

- I do not get any data from: bf2web.gamespy.com, did they kill the subdomain?
- I can not even call up the subdomain in the browser.

Code:
Warning: file(): php_network_getaddresses: gethostbyname failed in bf2_stats\bf2_stats_class.php on line 86

Warning: file(http://bf2web.gamespy.com/ASP/getlea...he=119149266): failed to open stream: No error in bf2_stats\bf2_stats_class.php on line 86
Think this is a DNS / site outage ?
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 04:33 PM.


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.05911 seconds
  • Memory Usage 2,315KB
  • Queries Executed 26 (?)
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
  • (4)bbcode_code
  • (7)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
  • (2)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