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)

Oap JTRipper 07-27-2006 10:00 PM

Battlefield 2 Stats integration for VBAdvanced
 
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

TCooper 08-07-2006 07:27 AM

i checked my settings and seems to be ok but I dont seem to have some of my images appear maybe due to my advanced index page is located http://fraggersforever.com/index.php and the forums are in http://fraggersforever.com/forums/
Would that be the problem?

Oap JTRipper 08-07-2006 07:55 AM

yeh have a loof in the config & play around with the settings for

Code:

$conf_awards_descr_file =
and

Code:

$conf_picsPath =
you may need to add forums in front

TCooper 08-11-2006 10:55 AM

I basically copied my index.php from vbadvanced into directory forums but renamed it to content.php and edit the script where it called index.php to content.php... for example http://fraggersforever.com/forums/co...?page=bf2stats

SMO 08-18-2006 03:19 AM

is it possible to add the officer ranks?

Oap JTRipper 08-19-2006 09:25 AM

Quote:

Originally Posted by SMO
is it possible to add the officer ranks?

ill have a look

blindreap3r 08-20-2006 10:02 PM

awesome.

Pearl 08-28-2006 12:42 PM

Does it have to be uploaded in teh forum dir??
I tried in the public_html but then i had an error on the index.php
I had to remove "bf2stats/ to make it work.

then it was loading but it couldent find all of the db modules until i removed again soem code in classes.php ,and then after all that it couldent find pictures os again iedited it until itshowed the pics but then it did not show the popups over the pics.

and then i got tired of all the editing and i just came to ask questions:p

Pearl 08-28-2006 12:49 PM

<a href="http://www.clanlife.eu/index.php?page=bf2stats&input1" target="_blank">http://www.clanlife.eu/index.php?page=bf2stats&input1</a>
this is a clean install in forums dir
no edits whatsoever to make it work but no pics

changing the pic variable in config will not work.

small piece of code from stats_unlock

[QUOTE] echo "<td class='alt1' valign='top'>";
echo "<table class='tborder' cellspacing='$conf_awards_cellspacing' cellpadding='$conf_awards_cellpadding'><tr class='alt1'><tdimg src='bf2stats/pics/$fn'width='128' height='34'></td></tr>";
echo "<tr class='alt1'><td class='alt1' QUOTE]

its not even looking to config.php?

<tdimg src='bf2stats/pics/$fn'

Oap JTRipper 08-28-2006 04:52 PM

Quote:

Originally Posted by Pearl
http://www.clanlife.eu/index.php?page=bf2stats&input1
this is a clean install in forums dir
no edits whatsoever to make it work but no pics

changing the pic variable in config will not work.

small piece of code from stats_unlock


echo "<td class='alt1' valign='top'>";
echo "<table class='tborder' cellspacing='$conf_awards_cellspacing' cellpadding='$conf_awards_cellpadding'><tr class='alt1'><tdimg src='bf2stats/pics/$fn'width='128' height='34'></td></tr>";
echo "<tr class='alt1'><td class='alt1' QUOTE]

its not even looking to config.php?

<tdimg src='bf2stats/pics/$fn'


all the pics are there


All times are GMT. The time now is 03:26 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.01044 seconds
  • Memory Usage 1,740KB
  • 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
  • (2)bbcode_code_printable
  • (2)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