Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Popup XBOX 360 gamertag Details »
Popup XBOX 360 gamertag
Mod Version: 1.00, by EyeCrave (Member) EyeCrave is offline
Developer Last Online: May 2011 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.4 Rating: (3 votes - 4.33 average) Installs: 28
Released: 29 Jan 2007 Last Update: Never Downloads: 99
Not Supported  

Function

This mod will popup XBOX 360 gamertags when you hover your cursor over them.

Important

Backup all templates you're going to edit in the event a revert is required.

Credit

To stonyarc for his Xbox.com gamercard for all users and to www.xboxworld.nl from where I pretty much stole the script from.

Support

Limited

Important

Update: Fixed code in postbit to add missing 'A'

Modifications

* file uploads
* 3 templates
* 1 new userfield

Copy the following into your templates and voila it works. Enjoy!

See it in action at
http://www.eyecravedvd.com/forums/showthread.php?p=9701

User Field

Go to AdminCP -> User Profile Fields -> Add New User Profile Field
Profile Field Type: Single-Line Text Box
Title: XBOX 360 Gamertag
Description: Please type your Gamertag Here
Field Editable by User: Yes
Save

Template mods

In order for this script to work you must download the overLIB javascript library from
http://www.bosrup.com/web/overlib/

Ensure the correct path to overlib is set in the first line. The correct file is overlib_mini.js. It's located in the mini folder in the library.

Change the 'X' in $post[fieldX] to whatever your field ID is.

edit template: headerinclude
place at bottom


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Edit template: Postbit

Find: (you can edit the location this is just a suggested spot)


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Add below:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Edit template: Postbit Legacy

Find:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Above add:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Profile Enhancements Add XBOX Gamertag to IM List WNxWakko vBulletin 3.6 Add-ons 10 26 Oct 2009 03:04

Comments
  #2  
Old 29 Jan 2007, 14:38
EnIgMa1234 EnIgMa1234 is offline
 
Join Date: Mar 2006
Real name: David
great job. nice work
Reply With Quote
  #3  
Old 29 Jan 2007, 20:14
jgommel's Avatar
jgommel jgommel is offline
 
Join Date: Jun 2005
Real name: James
For some reason or another, it's not working for me. What version of 'overLIB' are you using? I downloaded version 4.21 and created a directory called overlib within the root of my forum (http://www.domain.com/vb/overlib/). I've also tried it within the vb/clientscript/ directory but, it still doesn't appear to be working.

I have a user profile field created (field18), edited my posbit_legacy template (BTW, in the code below I'm supposed to change all fields $post[fieldX] with $post[field18], but there's one $post[field6] in there -- I'm assuming that I should change that one as well?)


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

The Gamertag appears in my postbit_legacy and the link itself works - just not getting the popup.

My domain: neosmut.com
__________________
N.E.O.S.M.U.T.
NorthEast Ohio Small Unit Tactics
F/Stop Media
Digital Photography: For the love of it
Reply With Quote
  #4  
Old 29 Jan 2007, 21:37
EyeCrave's Avatar
EyeCrave EyeCrave is offline
 
Join Date: Sep 2002
The script uses overlib_mini.js

It's located in the mini folder and sorry if I missed the 6. It should reflect your field ID. I'll fix it in the file when I get home later tonight, the post has been corrected.
Reply With Quote
  #5  
Old 29 Jan 2007, 22:38
EyeCrave's Avatar
EyeCrave EyeCrave is offline
 
Join Date: Sep 2002
Updated the file with fixed code.
Reply With Quote
  #6  
Old 29 Jan 2007, 23:13
jgommel's Avatar
jgommel jgommel is offline
 
Join Date: Jun 2005
Real name: James
It's still not working on my site. I've double checked to make sure I didn't miss something, but the path to overlib_mini.js is correct and I've added the code to my postbit_legacy template ... I'm not quite sure what else to do?

I'm wondering if it has anything to do with the skin/theme I'm using? Maybe the code I'm supposed to add to the bottom of the header template could/should go else where?

I started to wonder if it was my browser since I'm on a Mac, but I checked the link you supplied and it works just fine. I had some PC user friends of mine try it as well, and they too said it didn't work.

Anyone have any suggestions or ideas on how I can get this to work?
__________________
N.E.O.S.M.U.T.
NorthEast Ohio Small Unit Tactics
F/Stop Media
Digital Photography: For the love of it
Reply With Quote
  #7  
Old 30 Jan 2007, 02:03
EyeCrave's Avatar
EyeCrave EyeCrave is offline
 
Join Date: Sep 2002
Does it work for you on my demo link? Try moving it to headerinclude. That might be my mistake in the post above, which I've since rectified. First mod... sorry.

Last edited by EyeCrave; 30 Jan 2007 at 02:08.
Reply With Quote
  #8  
Old 30 Jan 2007, 23:32
Thorlax402 Thorlax402 is offline
 
Join Date: Sep 2006
The popup doesn't work for me either...can you please explain more?
Reply With Quote
  #9  
Old 31 Jan 2007, 15:55
EyeCrave's Avatar
EyeCrave EyeCrave is offline
 
Join Date: Sep 2002
Do you get a script error on your page? Give me your URL so I can look at it.
Reply With Quote
  #10  
Old 03 Feb 2007, 04:23
Thorlax402 Thorlax402 is offline
 
Join Date: Sep 2006
http://www.halofordummies.com

Not many people have typed in their gamertag yet, but Thorlax402 has his and everything looks fine accept the hovering box doesn't appear.
Reply With Quote
  #11  
Old 03 Feb 2007, 17:02
jkwasn01 jkwasn01 is offline
 
Join Date: Jul 2005
I have the same problem as Thorlax. I used posbit legacy instead tho.
Reply With Quote
  #12  
Old 04 Feb 2007, 14:18
Thorlax402 Thorlax402 is offline
 
Join Date: Sep 2006
Alright, I figured out how to get it to work. Change the source from "/mini/overlib_mini.js" to simply "/overlib.js". Also, there is a typo in the postbit template edit.

It says:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

The part that is labeled in red needs to be changed to:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

It is missing an "A".


Anyway, I still have a small problem. On the hover, it is a little slow to show the gamercard. Check it out at halofordummies.com. If anyone knows how to fix this then please let me know.
Reply With Quote
  #13  
Old 04 Feb 2007, 16:23
Oliver-Berlin's Avatar
Oliver-Berlin Oliver-Berlin is offline
 
Join Date: Jun 2006
nice work THX
Reply With Quote
  #14  
Old 05 Feb 2007, 02:43
jgommel's Avatar
jgommel jgommel is offline
 
Join Date: Jun 2005
Real name: James
Thanks Thorlax - that did the trick, I'm all up and running!!!!
__________________
N.E.O.S.M.U.T.
NorthEast Ohio Small Unit Tactics
F/Stop Media
Digital Photography: For the love of it
Reply With Quote
  #15  
Old 05 Feb 2007, 02:52
EyeCrave's Avatar
EyeCrave EyeCrave is offline
 
Join Date: Sep 2002
Thanks Thorlax402. It was missing only above the file was fine.

As for the slow loading it seems to have to do with the page loading fully. Once it's done it pops up pretty fast, but I'm not javascript expert. As I said above I took it from another site.

As for the overlib_mini.js make sure your path is correct. The package actually has a capital M for the directory in the path.

Last edited by EyeCrave; 05 Feb 2007 at 02:57.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 08:40.

Layout Options | Width: Wide Color: