Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications

Reply
 
Thread Tools
XBL Gamerscore in Postbit Details »»
XBL Gamerscore in Postbit
Version: 1.00, by ChU v2 ChU v2 is offline
Developer Last Online: Oct 2013 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 3.6.8 Rating:
Released: 09-05-2007 Last Update: Never Installs: 28
Template Edits
Re-useable Code Translations  
No support by the author.

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>
<div>
<center>
<iframe src="http://gamercard.xbox.com/$post[fieldXX].card" scrolling="no" frameBorder="0" height="140" width="204"></iframe>
</center>
</div>
</fieldset>

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

Show Your Support

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

Comments
  #2  
Old 09-06-2007, 09:55 AM
ShOcKz ShOcKz is offline
 
Join Date: Aug 2007
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks CHU!!
Reply With Quote
  #3  
Old 09-07-2007, 08:20 AM
ninjamaster's Avatar
ninjamaster ninjamaster is offline
 
Join Date: Oct 2006
Posts: 213
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks this a good hack cheers
Reply With Quote
  #4  
Old 09-07-2007, 04:05 PM
ChU v2 ChU v2 is offline
 
Join Date: May 2007
Location: Chicago
Posts: 396
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the feedback!
Reply With Quote
  #5  
Old 09-15-2007, 06:16 PM
Lag Lag is offline
 
Join Date: Jul 2007
Location: Nevada
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice hack ChU.
Reply With Quote
  #6  
Old 09-17-2007, 08:37 PM
dreads dreads is offline
 
Join Date: Feb 2007
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very Nice

going to add it to my forum very soon
Reply With Quote
  #7  
Old 10-02-2007, 03:20 AM
XFSImperial's Avatar
XFSImperial XFSImperial is offline
 
Join Date: Jul 2004
Location: USA
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very good mod. I'm running it on Halo Nation.
Reply With Quote
  #8  
Old 11-03-2007, 09:45 PM
atlambros83's Avatar
atlambros83 atlambros83 is offline
 
Join Date: Nov 2007
Location: Atlanta, Georgia
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #9  
Old 11-04-2007, 05:41 AM
Lag Lag is offline
 
Join Date: Jul 2007
Location: Nevada
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I found that the Xbox.com gamercard is a little large for my forum and used this code instead.

HTML Code:
<!--Start XBL Gamercard-->
<fieldset><legend>XBL Gamercard</legend>
<div>
<center>
<a href="http://live.xbox.com/profile/profile.aspx?GamerTag=$post[fieldXX]" target="_blank">
<img src="http://card.mygamercard.net/mini/$post[fieldXX].png" border=0>
</a>
</center>
</div>
</fieldset>
<!--End 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.
Reply With Quote
  #10  
Old 11-04-2007, 02:37 PM
Wolf_Hook Wolf_Hook is offline
 
Join Date: Jun 2006
Location: England
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very good, I like it. Only thing is it leaves an empty space in the postbit for people that don't have a gamertag.
Reply With Quote
Reply

Thread Tools

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 11:13 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05740 seconds
  • Memory Usage 2,285KB
  • 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_html
  • (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