Current time: 05-23-2012, 02:12 AM Hello There, Guest! (LoginRegister)


Post Reply 
XBOX GamerCard
03-23-2008, 12:34 PM
Post: #1
XBOX GamerCard
I have searched the forums but cannot find anything, but maybe I just missed it Big Grin.

But how can I have the XBOX GamerCard ask for the gamercard ID on the reg page and have it display under the avatar?
Find all posts by this user
Quote this message in a reply
03-23-2008, 02:34 PM
Post: #2
RE: XBOX GamerCard
You could create a custom profile field for each users Xbox ID, however you'll need some kind of modification/plugin to take the ID and display the appropriate card.

MyBB Home | MyBB Mods | Personal Blog
Visit this user's website Find all posts by this user
Quote this message in a reply
03-23-2008, 11:06 PM
Post: #3
RE: XBOX GamerCard
Is there a easier way?
Find all posts by this user
Quote this message in a reply
03-23-2008, 11:16 PM
Post: #4
RE: XBOX GamerCard
There's no way to do this without some kind of mod or plugin. I'll move this thread to the requests forum in case anyone is able to make this...

MyBB Home | MyBB Mods | Personal Blog
Visit this user's website Find all posts by this user
Quote this message in a reply
03-24-2008, 12:13 AM
Post: #5
RE: XBOX GamerCard
I'll look into making this maybe later tonight, possibly tomorrow. Sounds like an interesting idea.
Find all posts by this user
Quote this message in a reply
03-24-2008, 05:43 AM
Post: #6
RE: XBOX GamerCard
Okay, I think I've created a plugin that will fulfill your needs. Upload it to /inc/plugins and activate it in the Admin CP. It will add a custom profile field, called "Xbox Gamertag", which your users can set in their User CP (under User CP -> Edit Profile is where it's located). Once a user inserts their gamertag, any posts made by them will have their gamercard in the postbit.

A note: the plugin will automatically try to modify the postbit template to add the variable needed to display the gamercard. However, if you are using multiple templates, or if something goes wrong, you may need to add "{$post['gamercard']}" in the correct postbit template.

Anyway, here it is. Enjoy.


Attached File(s)
.php  xboxcard.php (Size: 3.21 KB / Downloads: 113)
Find all posts by this user
Quote this message in a reply
03-24-2008, 05:49 AM
Post: #7
RE: XBOX GamerCard
Blue Wrote:Okay, I think I've created a plugin that will fulfill your needs. Upload it to /inc/plugins and activate it in the Admin CP. It will add a custom profile field, called "Xbox Gamertag", which your users can set in their User CP (under User CP -> Edit Profile is where it's located). Once a user inserts their gamertag, any posts made by them will have their gamercard in the postbit.

A note: the plugin will automatically try to modify the postbit template to add the variable needed to display the gamercard. However, if you are using multiple templates, or if something goes wrong, you may need to add "{$post['gamercard']}" in the correct postbit template.

Anyway, here it is. Enjoy.

hi... would this work for wii codes aswell... so lets say someone goes to their usercp and puts in their wii number.. then will it show up in their posts?

Let me show you how to get free XBOX LIVE POINTS
GET FREE WIIPOINTS
GET FREE GAMING PRIZES
[Image: mybbsig.php]
Find all posts by this user
Quote this message in a reply
03-24-2008, 06:01 AM (This post was last modified: 03-24-2008 11:57 PM by Blue.)
Post: #8
RE: XBOX GamerCard
hockeyhero Wrote:
Blue Wrote:Okay, I think I've created a plugin that will fulfill your needs. Upload it to /inc/plugins and activate it in the Admin CP. It will add a custom profile field, called "Xbox Gamertag", which your users can set in their User CP (under User CP -> Edit Profile is where it's located). Once a user inserts their gamertag, any posts made by them will have their gamercard in the postbit.

A note: the plugin will automatically try to modify the postbit template to add the variable needed to display the gamercard. However, if you are using multiple templates, or if something goes wrong, you may need to add "{$post['gamercard']}" in the correct postbit template.

Anyway, here it is. Enjoy.

hi... would this work for wii codes aswell... so lets say someone goes to their usercp and puts in their wii number.. then will it show up in their posts?

No, it would not. Is there an image for wiicodes like there is for gamertags (see here if you're not sure what I mean)? Or do you only want the text to display? If it's text, I can get a modification up and running quickly, but if their is an image, I'd have to see how it works first.

Edit: Well, I've gone ahead and created a plugin for wiicodes. It works in the same way as the gamercard plugin, though it will only display the code entered by the user and not an image or anything. You may need to add "$post['wiicode']" to the postbit template if it is not able to add this automatically.

Edit again See post 15 for new attachment.
Find all posts by this user
Quote this message in a reply
03-24-2008, 11:23 AM
Post: #9
RE: XBOX GamerCard
Cheers mate this XBOX Card Works perfectly Thanks Mate
Find all posts by this user
Quote this message in a reply
03-24-2008, 10:06 PM (This post was last modified: 03-24-2008 10:16 PM by hockeyhero.)
Post: #10
RE: XBOX GamerCard
hi... thanks for the plugin... i have one problem though.... the limit of characters members can put in is 14 while there are 16 numbers in a wii code..Sad

Let me show you how to get free XBOX LIVE POINTS
GET FREE WIIPOINTS
GET FREE GAMING PRIZES
[Image: mybbsig.php]
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 4 Guest(s)

Contact Us | MyBB | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication