vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Profile Enhancements - GamerCards Block in Profile Sidebar and Postbit (https://vborg.vbsupport.ru/showthread.php?t=232033)

Cody.9791 06-04-2016 02:21 PM

I'm trying to change the Xbox Live Gamercard to show from "https://www.mygamerprofile.net/gamercards.php" using the "Xbox One Small" Gamercard Style since the one used in this addon is for Xbox 360.

For some reason, the gamercard isn't changing when I tried updating it. I was editing the "memberinfo_block_gamercards" and "postbit_gamercards_xboxlive", but I must've done something wrong in the process. I reverted the templates back until I'm able to successfully make this change. Any guidance would be appreciated.

charlesr 06-05-2016 08:38 AM

In case it helps, here's what my postbit one looks like. http://pastebin.com/xRRqGqfH

Cody.9791 06-06-2016 06:32 AM

Quote:

Originally Posted by charlesr (Post 2571661)
In case it helps, here's what my postbit one looks like. http://pastebin.com/xRRqGqfH

Did you do anything else? Like edit your "memberinfo_block_gamercards" template?

charlesr 06-07-2016 07:48 AM

I thinned down the member info block to remove gamercards and only leave the gamertag links. http://pastebin.com/R1bkh9Q4

Did you figure out how to integrate what you wanted into the postbit?

Cody.9791 06-13-2016 01:27 AM

Quote:

Originally Posted by charlesr (Post 2571724)
I thinned down the member info block to remove gamercards and only leave the gamertag links. http://pastebin.com/R1bkh9Q4

Did you figure out how to integrate what you wanted into the postbit?

Unfortunately, no, I didn't yet.

charlesr 06-13-2016 08:20 AM

Assuming you've tried but failed, put a link to a pastebin of the contents of your xbox postbit template and I'll try and figure it out for you.

Cody.9791 06-18-2016 07:33 AM

Quote:

Originally Posted by charlesr (Post 2572003)
Assuming you've tried but failed, put a link to a pastebin of the contents of your xbox postbit template and I'll try and figure it out for you.

Here is my current postbit_gamercards_xboxlive (http://pastebin.com/5xryBhh5)

I reverted it back to the default since what I had wasn't working correctly.

charlesr 06-22-2016 07:40 PM

Try this: http://pastebin.com/QneyBSsB

If it works, note that the site you want to use has various card styles, so you'll need to change the image url and iframe sizes according to the one you want.

Cody.9791 06-23-2016 11:23 AM

Quote:

Originally Posted by charlesr (Post 2572398)
Try this: http://pastebin.com/QneyBSsB

If it works, note that the site you want to use has various card styles, so you'll need to change the image url and iframe sizes according to the one you want.

I copied and pasted everything identically and it still shows the original gamercard on user's profiles?

The one I want to use from there is the "xosmall" one. I've seen this on other vBulletin 4 sites.

I did also notice that the original gamercard uses "%20" for spaces and the new one I'm trying uses "+" for a space.

The old one ends in ".card" and the new one ends in ".png" too?

For example:

Old:
https://gamercard.xbox.com/en-US/major%20nelson.card

New:
https://www.mygamerprofile.net/card/...jor+nelson.png

charlesr 06-25-2016 11:26 AM

That code was for the postbit only. What happens when you click on the xbox logo under people's names in a thread now?


All times are GMT. The time now is 05:11 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01428 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete