vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Battlefield 2 Stats link in Profile (https://vborg.vbsupport.ru/showthread.php?t=103296)

Oap JTRipper 12-18-2005 10:00 PM

Battlefield 2 Stats link in Profile
 
go to new profile field & add

Code:

Profile Field-single line

Title-BF2 Stats
Description-BF2 Stats PID

Take note of the field number

Find in postbit/postbit legacy
Code:

<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]
add underneath

Code:

<if condition="$post['fieldX']">
<a href="http://bf2tracker.com/bf2_userprofile.php?bf2id=$post[fieldX]" target="_blank"><img src="$stylevar[imgdir_misc]/bf2.gif" alt="<phrase 1="$userinfo[username]">$vbphrase[view_bf2_stats]</phrase>" border="0" /></a>
</if>

replace fieldX with your field number mine is field5

add a new phrase

Code:

Phrase

Varname-view_bf2_stats

Text-View BF2 Stats

upload bf2.gif to your styles/misc folder

go to edit profile & enter your pid number

this may work to other stats pages I used bf2tracker to test it

AshokForums.com 12-19-2005 05:54 PM

Nice Thanks.. :)

rb290 12-19-2005 07:33 PM

what is that for lol

GoNz00 12-19-2005 09:22 PM

will install tomorrow thanks :)

Oap JTRipper 12-19-2005 09:28 PM

Quote:

Originally Posted by rb290
what is that for lol

its a link to the poster bf2 stats

SMO 12-20-2005 12:39 AM

you should advertise that on totalbf2..see what the admins say about that.. they run vb

very nice lil addition

Hornstar 12-20-2005 02:38 AM

I clicked installed because i want to keep this in mind at a later date, nice work.

majorxp 12-20-2005 09:20 PM

Installed...but the link is


http://bf2tracker.com/bf2_userprofile.php?userid=XXXXXX


o..and if you take out the alt text, you dont have to add the phrase.


Very cool idea!!

Oap JTRipper 12-21-2005 05:07 PM

Quote:

Originally Posted by majorxp
Installed...but the link is


http://bf2tracker.com/bf2_userprofile.php?userid=XXXXXX


o..and if you take out the alt text, you dont have to add the phrase.


Very cool idea!!

Just tried that came up with an error

try this link to one of our clan members stats

then try the same stats with the original link

TF|Scorpion 01-12-2006 02:01 AM

Thanks! Installed.


All times are GMT. The time now is 07:52 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.02743 seconds
  • Memory Usage 1,728KB
  • 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
  • (2)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
  • (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