Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 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

Category: Integration with vBulletin - Version: 3.6.0 RC2 Rating:
Released: 07-27-2006 Last Update: 07-27-2006 Installs: 20
DB Changes
Additional Files  
No support by the author.

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

Show Your Support

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

Comments
  #2  
Old 08-07-2006, 07:27 AM
TCooper TCooper is offline
 
Join Date: Mar 2004
Location: Virginia Beach, VA
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #3  
Old 08-07-2006, 07:55 AM
Oap JTRipper Oap JTRipper is offline
 
Join Date: Oct 2004
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #4  
Old 08-11-2006, 10:55 AM
TCooper TCooper is offline
 
Join Date: Mar 2004
Location: Virginia Beach, VA
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #5  
Old 08-18-2006, 03:19 AM
SMO's Avatar
SMO SMO is offline
 
Join Date: Sep 2005
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is it possible to add the officer ranks?
Reply With Quote
  #6  
Old 08-19-2006, 09:25 AM
Oap JTRipper Oap JTRipper is offline
 
Join Date: Oct 2004
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SMO
is it possible to add the officer ranks?
ill have a look
Reply With Quote
  #7  
Old 08-20-2006, 10:02 PM
blindreap3r blindreap3r is offline
 
Join Date: Aug 2006
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

awesome.
Reply With Quote
  #8  
Old 08-28-2006, 12:42 PM
Pearl's Avatar
Pearl Pearl is offline
 
Join Date: Oct 2005
Location: Bedroom in lala land
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #9  
Old 08-28-2006, 12:49 PM
Pearl's Avatar
Pearl Pearl is offline
 
Join Date: Oct 2005
Location: Bedroom in lala land
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<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'
Reply With Quote
  #10  
Old 08-28-2006, 04:52 PM
Oap JTRipper Oap JTRipper is offline
 
Join Date: Oct 2004
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
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:54 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.04509 seconds
  • Memory Usage 2,299KB
  • Queries Executed 23 (?)
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
  • (2)bbcode_code
  • (2)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
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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