vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Integration with vBulletin - Battlefield 2 Stats integration for VBAdvanced (https://vborg.vbsupport.ru/showthread.php?t=122423)

SirShaw 10-05-2007 10:03 PM

does not work correctly in vb 3.6.7 or 3.6.8. Dont waste your time trying to install it.

UPDATE: does work with 3.6.7 and 3.6.8 needs some editing for the medals to display correctly

goto line 182 in bf2_stats_medals.php and find:

Code:

if(file_exists("$path/".$id."_$level".$ia.".png")) {
                $ret = "$path/".$id."_$level".$ia.".png";
        } else {

and change to
Code:

if(file_exists(" <<PUT YOUR PATH TO YOUR BF2STATS DIRECTORY HERE>> ".$path."/".$id."_".$level.$ia.".png")) {
                $ret = $path."/".$id."_".$level.$ia.".png";
        } else {


save, upload and images should work again for the awards.

butch3r 11-19-2007 11:29 PM

Is there any support on this mod?

butch3r 11-28-2007 07:28 AM

Can anybody help me with this mod? I receive an error:
Fatal error: Call to a member function highLow() on a non-object in /..link to bf2_stats_tables.php/ on line 546

gdavis480 01-31-2008 06:17 PM

Hi I think I got it to work partially with Vbulletin 3.7.0 Beta 4, but when enter my Nick or PID 1 into it. It goes back to the same page of where I enter my Nick or PID 1.

http://www.onebigcommunity.net/index.php?page=bf2stats

Tim_GPN 02-07-2008 12:51 AM

This mod would be perfect for my clan, however i dont use vBAdvanced.

Is there a way i am able to use this mod without Advance, or do you know if there is a BF2 Stats mod which can be used for just vB forum board installations - just like another page such as Squad Rules?

Any info would be greatly appreciated.

butch3r 02-09-2008 11:44 AM

Quote:

Originally Posted by gdavis480 (Post 1433314)
Hi I think I got it to work partially with Vbulletin 3.7.0 Beta 4, but when enter my Nick or PID 1 into it. It goes back to the same page of where I enter my Nick or PID 1.

http://www.onebigcommunity.net/index.php?page=bf2stats

It works fine for me on localhost with vB 3.7.0 b4 and vBa 3.0.0

check
Code:

$conf_add_to_url = "?page=bf2stats&";
in bf2_stats_config.php

gdavis480 02-10-2008 04:17 AM

It still doesn't work, cause this is where it goes after i enter my PID and click go. http://www.onebigcommunity.net/index...&input2=&go=go
when I enter this "?page=bf2stats&" into the bf2_stats_config.php.

butch3r 02-10-2008 01:27 PM

Hey - one more thing: looks like you uploaded mod to root dir, but you should do in bf2stats folder

EDIT: or maybe not?? but try this link: http://www.onebigcommunity.net/index...nput1=69383080 it works
and looks like i can help you with that//

gdavis480 02-10-2008 11:15 PM

it is in the bf2stats folder lol. but it reads the files as if it wasnt. its wierd

butch3r 02-10-2008 11:37 PM

My link works fine, so the problem is: in config.php and (or) maybe in form (tables.php)

gdavis480 02-11-2008 03:31 AM

ok i got rid of all the errors except 1 but how do I get go button to go to the right link instead of going back to home page?

butch3r 02-11-2008 07:10 AM

Try to re-upload all .php files.. after that change setting for mysql in bf2_stats_config.php
and on line #31 in bf2_stats_class.php:

Code:

$this->picsPath = "bf2stats/pics";
that's all. Please do not change any other setting

Stryker412 02-12-2008 04:09 PM

If we already had the stats program installed, should we start at adding as a module in VBA?

butch3r 02-12-2008 11:04 PM

Only as page

Stryker412 02-13-2008 01:05 AM

Quote:

Originally Posted by lane (Post 1335160)
Hi Guys,

I have some issues here. I have it installed and setup, but can't get the links to work properly. I have the page up: http://www.servercommand.org/portal.php?pageid=bf2stats

Soon as you click the link to search it goes to the forums, index.php. I have my cmps set to portal.php and made the setting needed in the bf2_stats_config.php for the portal, but when you try to search it goes to the incorrect page.

Does anyone have any idea?

I am getting the same thing, were you able to fix this?

butch3r 02-13-2008 06:03 AM

Change in config.php
Code:

$conf_add_to_url = "?page=bf2stats&";
to
Code:

$conf_add_to_url = "?pageid=bf2stats&";
or in vBa settings change pageid to page

Stryker412 02-13-2008 10:25 AM

Quote:

Originally Posted by butch3r (Post 1441985)
Change in config.php
Code:

$conf_add_to_url = "?page=bf2stats&";
to
Code:

$conf_add_to_url = "?pageid=bf2stats&";
or in vBa settings change pageid to page

Yep I already did that.

http://www.shatteredplanet.org/index...ageid=bf2stats

uaiteam 02-13-2008 02:45 PM

Please I need some help, I have vba cmps 3.0.0 and vbulletin 3.6.8, the installation works fine but when I imput the nick or id, it redirect me to my homepage and nothing happens. Whats wrong?

My site:www.uaiteam.com

butch3r 02-13-2008 05:15 PM

Quote:

Originally Posted by Stryker412 (Post 1442069)

Quote:

Originally Posted by uaiteam (Post 1442212)
Please I need some help, I have vba cmps 3.0.0 and vbulletin 3.6.8, the installation works fine but when I imput the nick or id, it redirect me to my homepage and nothing happens. Whats wrong?

My site:www.uaiteam.com

You both need to change vBa setting "Page Variable" from "pageid" to "page"

Looks like i'm developer of this mod :D

Offtop:
You can check my modification of subject at http://alcocrew.com/bf2/index.php
its not yet integrated cause of too many custom css parameters, but a lot of other work done

uaiteam 02-14-2008 11:13 AM

Thx, it's working now.
One more thing, the images are not apearing, how can I fix these???????
Help

Stryker412 02-14-2008 12:02 PM

Quote:

Originally Posted by butch3r (Post 1442349)
You both need to change vBa setting "Page Variable" from "pageid" to "page"

Looks like i'm developer of this mod :D

Offtop:
You can check my modification of subject at http://alcocrew.com/bf2/index.php
its not yet integrated cause of too many custom css parameters, but a lot of other work done

The problem is, if I do that my other pages will stop working.

Seems like no matter what you put in the line: $conf_add_to_url = it does nothing. There has to be a line of code somewhere that's not reading it correctly.

Stryker412 02-14-2008 02:58 PM

Quote:

Originally Posted by butch3r (Post 1442349)
You both need to change vBa setting "Page Variable" from "pageid" to "page"

Looks like i'm developer of this mod :D

Offtop:
You can check my modification of subject at http://alcocrew.com/bf2/index.php
its not yet integrated cause of too many custom css parameters, but a lot of other work done

You going to release your version? I like it better. :D

butch3r 02-14-2008 05:07 PM

Quote:

Originally Posted by uaiteam (Post 1442825)
Thx, it's working now.
One more thing, the images are not apearing, how can I fix these???????
Help

line #31 in bf2_stats_class.php:

Code:

$this->picsPath = "bf2stats/pics";

butch3r 02-14-2008 05:12 PM

Quote:

Originally Posted by Stryker412 (Post 1442848)
The problem is, if I do that my other pages will stop working.

Seems like no matter what you put in the line: $conf_add_to_url = it does nothing. There has to be a line of code somewhere that's not reading it correctly.

you can also check line #492 in bf2stats_tables.php
Code:

?><form name="form1" method="post" action="index.php?page=bf2stats&input1">
change "page" to "pageid"

Quote:

Originally Posted by Stryker412 (Post 1442955)
You going to release your version? I like it better. :D

not sure, cause it needs a lot of work on reverse translation (russian -> english)

gdavis480 02-14-2008 09:13 PM

Hey I got the bf2stats to work right finally but I got some images missing even though I uploaded them all.

http://www.onebigcommunity.net/index...nput1=69383080

butch3r 02-14-2008 10:30 PM

You can look at source of generated page and find paths to missing images

SuperTaz 02-14-2008 10:51 PM

If you have CMPS, make sure you have all the variables entered as well or you will not get all the images shown. I have this mod on my site and it is awesome.

gdavis480 02-15-2008 12:24 AM

I got the variables set right , but the images that are missing aren't in the pics.zip, pics1.zip or the pics2.zip I looked up the image names and there not in those zip files.

this is what I get for the path of the missing image http://www.onebigcommunity.net/

all the other images show. It's just one image that I need lol

SuperTaz 02-15-2008 04:58 AM

go to www.oapsquad.com and talk to the author in the forums. He helped me out a lot. He has a new zip file there. Just look for the thread BF2 stats tracker or BF2142 stats tracker.

gdavis480 02-15-2008 07:28 AM

I couldn't find it

butch3r 02-15-2008 10:22 AM

<a href="http://www.brainpecker.com/download.php?fn=bf2_stats_pictures.zip" target="_blank">http://www.brainpecker.com/download....s_pictures.zip</a>

this are Brainpeckers pics, try em

Stryker412 02-15-2008 12:58 PM

Quote:

Originally Posted by Warden-B- (Post 1443442)
go to www.oapsquad.com and talk to the author in the forums. He helped me out a lot. He has a new zip file there. Just look for the thread BF2 stats tracker or BF2142 stats tracker.

I didn't see any new zip file, where is it?

Matais 02-17-2008 07:26 PM

hello :D i succesfully installed the tables it said but when i go on my

http://www.ready2rumble.org/bf2stats...ageid=bf2stats

its says that lol ^^

doesnt looks like variables are working :Z i created config file right because it made the tables in vbulletin, i checked XD in phpmyadmin

or http://www.ready2rumble.org/index.php?pageid=bf2stats

tehtide 02-29-2008 01:56 AM

Ok... help me out guys.

I can get the stats but I'm only seeing the rank image and the map image. All others are not showing up.

I'm using VB 3.7 and vBa 3.0.0.0 (Gold). Any help is appreciated.

Wacky 05-05-2008 02:53 AM

Quote:

Originally Posted by Stryker412 (Post 1443648)
I didn't see any new zip file, where is it?

You have to be logged in to the forums in the general chat area:

http://www.oapsquad.com/forums/findex.php

wobbly 06-02-2008 11:17 AM

Ive just logged on and cannot find the zip file in general chat area of the forums.

SuperTaz 01-02-2011 03:41 PM

Can you make this mod work for v4.1.0PL2? :)

SuperTaz 05-17-2011 01:54 AM

This would be great for vB 4.1.3

SirShaw 05-17-2011 05:02 AM

Ive gotten the brainpecker bf2 script (which this mod uses) to work on vB 4+ using a combination of hacks here. I used the webtemplates mod and added the toplist as a widget to my vB cms. Took a bit of doing but it works!

my site is here: http://www.knightsofkarbala.com

SuperTaz 05-22-2011 12:33 AM

I got it to work for my site as well.


All times are GMT. The time now is 01:04 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.01418 seconds
  • Memory Usage 1,827KB
  • 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
  • (10)bbcode_code_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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