Welcome to Egypt Forums Mark forums read | Egypt Main Page
Egypt Forums
Arabic Movies



Mods for 3.7.x vBulletin Mods for 3.7, vBulletin hacks, vBulletin modification, vBulletin 3.7

Mods for 3.7.x Thread, XBOX Gamer tag in user profile & postbit_legacy in Mods; XBOX Gamer tag in user profile & postbit_legacy Function Now add xBox Gamer tag in your forum from Mygamertag.net Size ...

Short Link: http://forum.egypt.com/enforum/showthread.php?t=3004


Reply
LinkBack (2) Thread Tools Display Modes
XBOX Gamer tag in user profile & postbit_legacy
 
 
The God Father
Developer's Avatar

Reply With Quote
 
Join Date: Jul 2008
Location: NDC
Posts: 5,425
27-08-2008, 11:18 PM
 
XBOX Gamer tag in user profile & postbit_legacy


Function

Now add xBox Gamer tag in your forum from Mygamertag.net
Size 150×100 Not 204×140
Egypt.Com EnForum


Important

First always backup the files that you're going to edit so you can revert to the old version if something goes wrong.

We do appreciate if you gave us the due credits for these functions.


Installation

This modification was tested on vbulletin 3.5.x 3.6.x 3.7.0 beta 4.
You might have to put some codes on another location in your files depending on the version of vbulletin your have.


1. Add a gamertag field to your user (editable in profile) =>

vBulletin features a wide array of input options for you to gather information from your members through the creation of custom profile fields. With these fields you can present a list of options for the user to choose from or you can ask the user to give their own input.

Go to the adminCP and add a custom field => User Profile fields => Add New User Profile Field

You need a "Single-Line Text Box"

Title => Gamertag
Description => Xbox Live Gamertag
Default Value => Leave empty
Max length of allowed user input => 30
Display Size => 30
Display Order => put something like 10 or 15
Field Required => No as default but you can change if you want
Field Editable by User => Yes because gamertags do tend to change
Private Field => No the field is public
Field Searchable on Members List => No
Show on Members List => Yes
Regular Expression => leave empty

Save the field

Go to the User Profile Field Manager and look for your custom field you just added and look for the name column there is an ID for the field.
Something like "fieldXX" where XX is a number. Make sure you remember this value.

2. Go to the template you are using (Styles & Templates/Style Manager) and select Edit templates.

Go to "postbit templates" and select the template you are using (probably postbit or postbit_legacy).
and add the following code:

fieldXX is the field value you got from step 1.

You can embed the code in a div or a special table construction but that is up to you.

USE THIS CODE .. change [fieldXX] 3 time

PHP Code:
<if condition="$post[fieldXX]">
<
iframe src="http://card.mygamercard.net/mini/$post[fieldXX].png" scrolling="no" frameBorder="0" height="101" width="151">$post[fieldXX]</iframe>
</if>
__________________
I Love Walking In The Rain Cuz Nobody Know I'm Crying !!
 
 
 
Reply

Mods for 3.7.x Thread, XBOX Gamer tag in user profile & postbit_legacy in Mods; XBOX Gamer tag in user profile & postbit_legacy Function Now add xBox Gamer tag in your forum from Mygamertag.net Size ...

Short Link: http://forum.egypt.com/enforum/showthread.php?t=3004


Bookmarks

Tags
gamer, postbitlegacy, profile, tag, user, xbox


LinkBacks (?)
LinkBack to this Thread: http://forum.egypt.com/enforum/mods-3-7-x-f186/xbox-gamer-tag-user-profile-postbit_legacy-3004.html
Posted By For Type Date
Xbox Gamertag - Halo Italia Forum This thread Refback 10-06-2009 12:15 PM
Xbox Gamertag - Halo Italia Forum This thread Refback 10-06-2009 12:10 PM

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Social Networking Fieldset in User Profile & Postbit Developer Mods for 3.6.x 0 22-09-2008 09:25 PM
User Color/Font In Posts Editable Via Profile Developer Mods for 3.6.x 0 22-09-2008 09:20 PM
User CP Declusterphobic (Cleaner User CP) Developer Mods for 3.7.x 0 20-09-2008 10:28 PM
Blog block instead of tab in user profile Developer Mods for 3.7.x 0 20-09-2008 10:14 PM
Dynamic Tab Content for Postbit_Legacy Developer Mods for 3.7.x 0 12-09-2008 05:16 AM