vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Battlefield 2 Stats integration for VBAdvanced (https://vborg.vbsupport.ru/showthread.php?t=103614)

Oap JTRipper 12-24-2005 09:50 AM

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

SMO 12-24-2005 02:42 PM

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

Rhoads 12-24-2005 02:51 PM

I get this error above my stats page:

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

:ermm:

Oap JTRipper 12-24-2005 05:36 PM

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

Rhoads 12-24-2005 09:58 PM

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.

Oap JTRipper 12-25-2005 12:01 AM

yeh i also did a search

something to do with dividing by 0

Zachery 12-26-2005 06:40 AM

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.

Oap JTRipper 12-26-2005 11:09 AM

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:

Zachariah 12-26-2005 12:19 PM

Quote:

Originally Posted by Oap JTRipper
k done

taken the images out of the package :tired:

Attach to 2nd post :D

Zachariah 12-27-2005 11:42 AM

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 ?


All times are GMT. The time now is 08:40 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.01430 seconds
  • Memory Usage 1,741KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete