The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Show Your XBOX 360 Gamertag as your Avatar in Postbit Details »» | |||||||||||||||||||||||||||
Show Your XBOX 360 Gamertag as your Avatar in Postbit
Developer Last Online: Jun 2008
Ok for those of you that have an xbox 360 site that is running this great software I have a mod for you.
If you would like to have it when your members post a message it shows there gamertag instead of the avatar that they post then follow these simple steps. Please keep in mind that this mod implies that you have not modified your postbit template. If you have modified your postbit template then you will need to change this around a bit. Modifications: 2 Extra Fields 1 Template modification Add 2 New Fields: Note the field IDs for each new UserField, which you will need in the template code. 1st New UserField Go to AdminCP -> User Profile Fields -> Add New User Profile Field Profile Field Type: Single-Selection Radio Buttons Title: XBOX 360 (or what ever you want it to be) Description: Do you have an XBOX 360 Gamertag? If so Please select Yes. (or what ever you want it to be) Options: No Yes Note... these options have to be exactly Yes and No otherwise the changes won't work Set Default: Yes (This will set "No" To the default Option if you put "No" First) Field Required: No, but display at registration (or what ever you want it to be) Field Editable by User: Yes Allow user to input their own value for this option: No Click Save. 2nd New UserField Go to AdminCP -> User Profile Fields -> Add New User Profile Field Profile Field Type: Single-Line Text Box Title: XBOX 360 Gamertag (or what ever you would like it to be) Description: Please type your Gamertag Here. (or what ever you would like it to be) Field Required: No, but display at registration (or what ever you want it to be) Field Editable by User: Yes Click Save. Now don't forget to get the Field ID's From these 2 options. Cause you are going to need them in the next step. Template Modification: Go to AdminCP -> Styles & Templates -> Style Manager In the drop down for your style click on the "Edit Template" In the list expand the "Postbit Templates" Then double-click on "postbit" Find The Following: PHP Code:
PHP Code:
PHP Code:
Next, Find: PHP Code:
Added on 02/12/07. If you would like to have it display just the gamercard without taking the place of anything else just put the code below where ever you like. PHP Code:
Thats It for any changes. Save your template and go add your gamertag to your profile and have a look. If you have any questions feel free to ask. Help support me and my site by going to http://www.ravensreapers.com and helping our site grow. If you use this Mod Please click Installed. Supporters / CoAuthors Show Your Support
|
Comments |
#2
|
|||
|
|||
Where's teh demo?
|
#3
|
||||
|
||||
I modified it to show in the Members profile instead, but thanks for the idea.
|
#4
|
|||
|
|||
Oops... Forgot to put a screenshot... my bad.. Kind of hard to show a demo though as it deals with a member profile...(goes to do that now)
|
#5
|
|||
|
|||
Fantastic Thanks Alot!
|
#6
|
|||
|
|||
forsome reason i cant get this too work
|
#7
|
|||
|
|||
What problems are you having with this? Is it not showing up when you make a post?
Make sure that you made this modification on the postbit (Not postbit_legacy I will post up the modification to postbit_legacy in a couple of days as I just changed it on my board to work) |
#8
|
|||
|
|||
Quote:
all profile fields are filled out accordingly but it's not showing up |
#9
|
|||
|
|||
Copy your postbit template to a text document and attach it here and i'll take a look at it and see what the problem could be. Same goes for you xboxchatdotus
|
#10
|
|||
|
|||
hope that's all u needed...i'd like to get this working asap. thanks man! :up:
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|