REGISTER or LOGIN to have the annoying ads removed.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[RELEASE] MyXBL - XBox Live Stats in profiles & postbits!
#1
I give you: MyXBL - the first true XBox Live stats plugin for MyBB! This plugin pulls stats for XBox Live from the Duncan McKenzie API and displays them within your profile as well as adding a user's gamercard to their posts in a customized, hover-over drop-down menu. Please check the installation instructions below (which are also in the zip) for install instructions - you MUST preform the steps outlined.





Installing

To install MyXBL, upload all of the files included in this zip (obviously not this readme though). Then, you need to make 1 little template change to the headerinclude template. Tedious, I know and I'm sorry. If anybody can tell me how to edit the headernclude template via the plugin, I'll happily add it.

The template edit:

Template: headerinclude
Find:
Code:
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/popup_menu.js?ver=1400"></script>

Add after:
Code:
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/popupmenuonhover.js"></script>


Done!

Now, just activate the plugin and check the settings to make sure all is well. Nothing will show unless you add your gamertag to your profile, so you may as well do that too!


ISSUES/TROUBLESHOOTING

PLEASE NOTE! THIS PLUGIN DOES NOT WORK IF YOUR SERVER DOES NOT SUPPORT CURL! MOST SERVERS DO, BUT THERE MAY BE SOME THAT DON'T. CONSIDER YOURSELVES WARNED.[attachment=1808]


Attached Files
.zip   myxbl.zip (Size: 5.17 KB / Downloads: 37)
#2
I'll give this plug in a go! I've been looking for one.
#3
Enjoy Big Grin Please report any errors you may find.
#4
I like the hover aspect very much, it's very quick and saves space. I'm having one issue though, I can't look at my profile or hit the "View More" button. I'm getting this error message:

Code:
Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /home/halociph/public_html/inc/plugins/myxbl.php:197 Stack trace: #0 /home/halociph/public_html/inc/plugins/myxbl.php(197): SimpleXMLElement->__construct('<!DOCTYPE HTML ...', 16384) #1 /home/halociph/public_html/inc/class_plugins.php(101): myxbl_prof('') #2 /home/halociph/public_html/member.php(1712): pluginSystem->run_hooks('myxbl_prof', Array) #3 {main} thrown in /home/halociph/public_html/inc/plugins/myxbl.php on line 197
#5
Hm. It may be because your server doesn't support CURL. Please try uploading this script and viewing it. Then post the output here.


Attached Files
.php   phpinfo.php (Size: 67 bytes / Downloads: 4)
#6
Thanks Looks good CoolBig GrinSmileSmile
[Image: 23suqdz.jpg][Image: hty8nn.gif]2 OF THE BEST MYBB SITES



#7
Thanks for this i'll add in abit Smile
- Insidific

Check out http://Insidific.com | http://youtube.com/Insidific and Follow @Insidific
#8
Cheers guys. I hope it actually works for you guys - it works for me haha
#9
(May 18, 2010, 02:19 AM)euantor Wrote: Hm. It may be because your server doesn't support CURL. Please try uploading this script and viewing it. Then post the output here.

My server has cURL support. I'll download tha script and get back to you later today. Thanks.
#10
Ok then, cheers. I don't know what would cause that error really then - I've tested it in a development area and on a live site, so it's pretty strange...


Possibly Related Threads...
Thread Author Replies Views Last Post
  [RELEASE] Guests cannot view threads! CometJack 17 9,727 Aug 13, 2010, 11:01 AM
Last Post: manchester10
  Member Profiles - Unique Look ~ All THEMES! Elite Dash 9 4,779 Aug 04, 2010, 10:47 PM
Last Post: JD12
  Monthly Stats labrocca 98 50,762 Aug 04, 2010, 10:24 AM
Last Post: Nitrus
  [Release] Donation Page 1.1 Zash 23 11,800 Jul 25, 2010, 12:23 PM
Last Post: Zash
  MyBC2 - Battlefield bad Company 2 Stats in Profiles euantor 5 3,230 Jul 22, 2010, 02:01 PM
Last Post: euantor

Forum Jump:


Users browsing this thread: 1 Guest(s)