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 Squad Stats integration for VBAdvanced (https://vborg.vbsupport.ru/showthread.php?t=122429)

Oap JTRipper 07-27-2006 10:00 PM

Battlefield 2 Squad Stats integration for VBAdvanced
 
What it is
Integration for your teams stats with a link to their own stats page if you use BF2 Stats

Installation
  1. edit the config file to enter your pid's
  2. upload the contents as is
  3. if your cmps file is called something different from index.php you can edit the link to there stats in the index.php in bf2squad -- Line 166
  4. Go to vBa cmps Add Page & use the settings in the images included here
  5. chmod your cache folder to 777

Demo
Oap Squad

SgtTechHead 07-29-2006 07:08 PM

Nice work dude! Installed!

I noticed one thing in the index.php file though. I found the following "extra" tags just above the closing body tag towards the bottom where breaking my theme:

Code:

    </td>
  </tr>
</table>
</p>
</form>

After I removed them, everything looks fine now...;)

Oap JTRipper 07-30-2006 05:57 PM

hmm remnants of the compare feature in the original scripts maybe

Cowboy[Texas] 09-06-2006 08:35 PM

Installed and got it working.

However.. I had to mess around with my page settings in order to get it to display. I had to manually add the correct link in my navigation section in order to get to it. Im not sure if its because my cmps_index is named "cmps_index"... so I kept getting a dead link even though I made the edits on line 166 of the index.php file. Anyway.. I like the mod.. nice job.

TheHitman 10-25-2006 03:42 PM

Any way we could get this modified for 2142?

P.Jackson 10-25-2006 05:56 PM

^^ Would also like to know

africanw 11-22-2006 04:24 AM

C'com on Rip chop chop :)

back2basic 12-01-2006 08:15 PM

Quote:

Originally Posted by TheHitman (Post 1104175)
Any way we could get this modified for 2142?

That would be great....

I bought my bf2142 just today but I can't stop playing :)

back2basic 12-01-2006 08:17 PM

maybe its somehow custimizable for bf 2142 I'll check it out later this week , but I don't have much knowledge of html / php

I'll give it a try

craigr313 12-03-2006 01:13 PM

is this hack for vb advanced only as i cant get it to work for me! which is disapointing cos im a bf2 forum! :(

cheers for any help! craig

tekram 12-04-2006 05:49 AM

Yes please make it for Battlefield 2142 that was nice

back2basic 12-09-2006 01:40 PM

Quote:

Originally Posted by back2basic (Post 1129603)
maybe its somehow custimizable for bf 2142 I'll check it out later this week , but I don't have much knowledge of html / php

I'll give it a try

I can't get it to work (I'm to noobish)
I hope someone else can take a look into it ...

blind-eddie 12-20-2006 12:42 PM

Can this be edited for Americas Army?

willisbryan 01-12-2007 07:47 PM

Quote:

Originally Posted by tekram (Post 1131432)
Yes please make it for Battlefield 2142 that was nice

There will be no Monitors available publicly for Battlefield 2142.

EA has not released a public XML feed for 2142 stats. You guys can try to rearrange the code as much as you want, it wont work.

We already have custom scripts written, but we are unable to use them because EA has decided to be idiots!

Hope this stops everyone from asking for 2142 scripts. LOL


Bryan
aka JediKnight

www.2142-Battlefield.com
www.MyGamingForums.com (Beta)

sinisterpain 01-13-2007 12:09 AM

I keep getting that the cache folder is not world writeable but I have set it to 777 any thoughts on this

**********EDIT***********
figured it out if anyone else has the problem in the bf2s-mlb.php file

find:
Code:

function test_cache() {
        if( isset($this->has_cache) )
            return $this->has_cache;

replace with:
Code:

function test_cache() {
        if( isset($this->has_cache) )
            return $this->has_cache;

        $this->has_cache = true;
        return $this->has_cache;

Thanks to NM156

nstagtr 02-06-2007 08:11 PM

i keep gettin this error:

Warning: Invalid argument supplied for foreach() in \bf2squad\index.php on line 12

can someone help PLEASE

sinisterpain 02-06-2007 11:43 PM

Quote:

Originally Posted by nstagtr (Post 1176317)
i keep gettin this error:

Warning: Invalid argument supplied for foreach() in \bf2squad\index.php on line 12

can someone help PLEASE

Check you uploaded all the files and the configuration in the config. Re-read the readme. Something is not configured right.

nstagtr 02-07-2007 11:56 AM

Tried all of that and still get the same thing, if i go into it a different way it shows up like this:

http://www.24-7gamers.com/bf2squad/i...p?page=leaders

I know it works, just for some reason with the stye i am using i get that error.

sinisterpain 02-07-2007 09:03 PM

Quote:

Originally Posted by nstagtr (Post 1176737)
Tried all of that and still get the same thing, if i go into it a different way it shows up like this:

http://www.24-7gamers.com/bf2squad/i...p?page=leaders

I know it works, just for some reason with the stye i am using i get that error.

Is your cmps index called index.php or cmps_index.php?
Also check in the cmps page you created, your path should be bf2squad/index.php. modular shell yes, clean output yes.
Modules selected should be Custom Page Content.

nstagtr 02-08-2007 12:05 PM

My cmps index is caled index.php and i just finished triple checkin the page and the path is bf2squad/idex.php, module shell is yes, clean output is yes and the only thing checked is Custom Page Content.

nstagtr 02-08-2007 12:05 PM

Thanks for the help sinister, Really appreciate it.

SuperTaz 07-23-2007 12:08 AM

I like this hack. It works well with my site

durdan1 08-18-2009 02:56 PM

Hi I could not get this to work on my site. I'm using the latest verion of vbbulletin and vbadvanced 3.2.1. However I was able to install bf2 stats integration perfectly, but with this I just get this. My cmps file is called index, I followed your picture tutorial exactly like you said.
Warning: Invalid argument supplied for foreach() in [path]/bf2squad/bf2s-mlb.php on line 327

Warning: Invalid argument supplied for foreach() in [path]/bf2squad/index.php on line 97

Warning: Division by zero in [path]/bf2squad/index.php on line 186

Warning: Division by zero in [path]/bf2squad/index.php on line 187

Warning: Division by zero in [path]/bf2squad/index.php on line 188

Warning: Division by zero in [path]/bf2squad/index.php on line 189

Warning: Division by zero in [path]/bf2squad/index.php on line 190

Warning: Division by zero in [path]/bf2squad/index.php on line 191

Warning: Division by zero in [path]/bf2squad/index.php on line 192

Warning: Division by zero in [path]/bf2squad/index.php on line 193

Warning: Division by zero in [path]/bf2squad/index.php on line 194

Warning: Division by zero in [path]/bf2squad/index.php on line 195

Any suggestions?

team76 02-19-2010 06:46 AM

hello

I have the same problem


All times are GMT. The time now is 05:04 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.01119 seconds
  • Memory Usage 1,765KB
  • 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
  • (3)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (24)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete