![]() |
XBL Gamerscore in Postbit
Here is a little add on I did for my forum in the postbit_legacy template. This is the first time I'm posting really anything valuable on vb.org so here.
Step 1: Add Profile Field Admin CP > User Profile Fields > Add new profile field Title: XBL Gamertag Description: Enter your XBL Gamertag. Max length of allowed user input: 15 Field editable by user: Yes Private Field: No Every other option is up to you. Step 2: Edit postbit/postbit_legacy template Add this wherever you would like the image to show up in the postbit_legacy. HTML Code:
<fieldset><legend>XBL Gamertag</legend> Note: Edit the XX to the field number that you just made. There you go, looks good on my forum, it's a little big, but I haven't been able to adjust the size because it cuts off the image. Also, if you don't like the image displayed maybe this mod by EyeCrave will be more to your liking: https://vborg.vbsupport.ru/showthread.php?t=137850 |
Thanks CHU!!
|
thanks this a good hack cheers :)
|
Thanks for the feedback!
|
Nice hack ChU.
|
Very Nice :D
going to add it to my forum very soon |
Very good mod. I'm running it on Halo Nation.
|
this isn't working for me. I believe i've followed the directions correctly but it isn't showing up when I try to view my forums. trying to run it on www.optikal-illuzionz.com/forums
|
I found that the Xbox.com gamercard is a little large for my forum and used this code instead.
HTML Code:
<!--Start XBL Gamercard--> It uses the gamercard from mygamercard.net and fits much better for me. ----------------------------------------------------------------- @atlambros83 It's because you are using the regular postbit which is the horizontal one your running. You will need to edit the postbit template not the postbit_legacy like the instructions say. |
Very good, I like it. Only thing is it leaves an empty space in the postbit for people that don't have a gamertag.
|
thank you Lag, one question about your code. do the users have to be signed up with mygamercard.net for their gamercards to show on their profile or will it just display their gamercards no matter what?
|
Quote:
Try it for yourself, Use: http://card.mygamercard.net/mini/GAMERTAG.png Try a gamertag that isn't in there database. I don't believe you have to be signed up. |
nevermind, yeah, you must be signed up with gamercard.net
|
yeah you do have to have an account with gamercard.net
thanks chu |
That's incorrect, you don't need an account for mygamercard.net. Just tried some gamertags, works perfectly. I've got a mouse-over gamercard in my forum, that will make sure it's not too large. It'll pop up when you hover over a tag.
|
you are right ak, sorry
|
does anyone know how to make this so that if a user does not post their gamertag in their profile it will not show the box?
|
Quote:
HTML Code:
<if condition="$post[fieldXX]"> |
Thanks CHU works great, just installed it now
|
Quote:
|
Is there a way to make this show up only in certain forums within my site?
|
Quote:
Code:
<if condition="$bbuserinfo['forumid'] == XX"> |
Hi I added this mod to my site but only admins can display there gamertag in the forum. How do I get it to where all members can display there's?
|
Quote:
|
great code CHU, it works fine at my forum. if you ever find a way to resize the box or display this box in the member's profile page, please let me know. thanks heaps!
|
Quote:
|
Does this work for 3.7.1?
|
where do i have to add the code? can somebody post it here please?
|
Has anyone found a way to just isolate the gamerscore? I don't need a gamercard, just the score.
Quote:
|
Quote:
|
All times are GMT. The time now is 06:40 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|