Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Halo 3 Service Tag Grab Details »»
Halo 3 Service Tag Grab
Version: 1.00, by OcR Envy OcR Envy is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 3.8.2 Rating:
Released: 06-14-2009 Last Update: 06-14-2009 Installs: 5
Uses Plugins Template Edits
Additional Files Is in Beta Stage  
No support by the author.

Halo 3 Service Tag Grab(Beta)

Compatible with vB 3.5.x, 3.6.x, 3.7.x, 3.8.x

What it Does:
This little mod will add a users Halo 3 Service Tag to the end of their forum name. By default the template edit shown is postbit, however it can be added to any part of your forum.

Install:
1. Upload includes directory to your forum root.
2. Install Product via AdminCP-Plugin & Products-Add/Import Product-Allow Overwrite=Yes
3. Go to User Profile Fields
If you have a field for xbox live gamertags already you do not need to create a new one.
  • Click Add New User Profile Field
  • Single-Line Text Box and click Continue
  • Title: XBL Gamertag
  • Description: Users Gamertag
  • Field Editable By User: Yes
  • The Rest of the Options are your choice and click Save.
  • Remember the profile field number for the settings.
  • Click Add New User Profile Field
  • Single-Line Text Box and click Continue
  • Title: Halo 3 Service Tag
  • Description: Service Tag
  • Field Editable By User: No
  • Private Field: Yes
  • The Rest of the Options are your choice and click Save.
  • Remember the profile field number for the settings.
4. Go To vBulletin-Options-Halo 3 Servicetag and fill out options.
  • In the gamertag field option enter just the field # of the gamertag. IE "5".
  • In the service tag field option enter just the field # of the servicetag. IE "7".
  • In the usergroup field option enter any usergroups you wish the script to pull the service tag for, seperate each by a , IE: "5,6,7".
  • For all usergroups leave this field at "0".
5. Go To Scheduled Tasks-Scheduled Task Manager
  • Find Halo 3 Service Tag and click Run Now(only necessary first install)
  • By default the script is set to run at 11PM everyday.
  • To change this click Edit and set the cron job as you see fit.
6. Go To Style & Options-Search in Templates
Search for Text:
HTML Code:
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
Replace with:
HTML Code:
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername] -    <if condition="$post[field(Service Tag Field #)]"> - $post[field(Service Tag Field #)] </if></a>
(Service Tag Field #) = The second user profile field # you created. Yours should look something like this after you fill it out.
HTML Code:
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername] -    <if condition="$post[field5]"> - $post[field5] </if></a>

Notes:
The script will run 1 query per user. Meaning if you have 20 users in the usergroup(s) you have chosen the script will have 20 queries.
By default the template edit shows postbit, however you can add userfields to any template you desire you simply need to change the $post variable to whatever (Member Info template would be $userinfo etc..).

Demo: http://www.outcastreborn.com/showthread.php?t=17419
Screen:


Future Versions:
  • Auto Template Edits
  • Usergroup Styling
Comments/Questions/Suggestions welcome. Support given only if installed!

Download Now

File Type: zip h3service.zip (3.3 KB, 28 views)

Screenshots

File Type: jpg demoscreen.jpg (16.6 KB, 0 views)

Show Your Support

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

Comments
  #2  
Old 06-15-2009, 05:21 PM
saadessa saadessa is offline
 
Join Date: Jan 2008
Posts: 284
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you for this great hack .....i will try
Reply With Quote
  #3  
Old 06-15-2009, 05:34 PM
OcR Envy's Avatar
OcR Envy OcR Envy is offline
 
Join Date: May 2008
Location: Boston
Posts: 248
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My pleasure, I will be releasing more "Bungie.net" related mods shortly
Reply With Quote
  #4  
Old 06-16-2009, 02:11 AM
AzzidReign's Avatar
AzzidReign AzzidReign is offline
 
Join Date: Apr 2006
Posts: 497
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice job on this mod! I just think H3 is getting a lil "dated"...more and more people are not playing it anymore; or at least on a regular basis.

Did you make the mod that you have on that site "Who's on XBL?"? That seems pretty cool...maybe a little server intensive? Either way, it's a pretty sick feature.
Reply With Quote
  #5  
Old 06-16-2009, 10:49 AM
OcR Envy's Avatar
OcR Envy OcR Envy is offline
 
Join Date: May 2008
Location: Boston
Posts: 248
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I realize Halo3 might be a bit "dated" to the less hard core crowd. ODST should resolve that soon enough

Yes the Who's on XBL is also a custom mod. The issue there doesn't lay with queries but with the XBL Presence Stream we use. The stream isn't all to stable and my fear is that releasing such a mod would only cause more instability.

Maybe in the future though
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 05:23 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.04596 seconds
  • Memory Usage 2,275KB
  • Queries Executed 19 (?)
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
  • (3)bbcode_html
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (4)postbit
  • (2)postbit_attachment
  • (5)postbit_onlinestatus
  • (5)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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete