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)

BaziCenter 01-07-2010 02:38 PM

Quote:

Originally Posted by XShava (Post 1948535)
Gread Mod, thank!
Can you made next version drop down option to choice EU or USA in AdminCP.

Added in version 2.5.
Quote:

Originally Posted by ShawnV (Post 1948922)
I agree, so would it not be better if the postbit icon just took you to the actual profile, rather then doing a pop up of the badge info, The only reason I'd click on someones gamer ID in a postbit would be to add them as a friend or check out their stats or groups on the steam community page for example. Anyways just a suggestion, great MOD, thanks for the work on it.

I completely changed the pop-ups system. they are now relative to the forum and fully customizable!
Quote:

Originally Posted by Ranger187 (Post 1949112)
Am I missing something? I installed this, images are there, did all in the instructions and all I see is: "Gamer IDs"

Did you do this step?
5) Enter the field ID of each platform in vB Options -> "GamerCards Block Options" settings.

ShawnV 01-07-2010 07:06 PM

Quote:

Originally Posted by BaziCenter (Post 1949630)
Added in version 2.5.

I completely changed the pop-ups system. they are now relative to the forum and fully customizable!

Very nice, so much better - thanks.

JVCode 01-07-2010 07:18 PM

This mod is coming along really nicely and has some really nice features!

What other plans do you have for this mod ? would like to see some other cool goodies attached to this product.

Ranger187 01-07-2010 07:31 PM

Quote:

Originally Posted by BaziCenter (Post 1949630)
Did you do this step?
5) Enter the field ID of each platform in vB Options -> "GamerCards Block Options" settings.

Yup.

HellBoy 01-08-2010 03:44 PM

I have to say that this mod is really coming along nicely, great work so far!

BaziCenter 01-08-2010 06:13 PM

Quote:

Originally Posted by JVCode (Post 1949862)
This mod is coming along really nicely and has some really nice features!

What other plans do you have for this mod ? would like to see some other cool goodies attached to this product.

Currently nothing!:D I'm busy in the next week and don't have time to work on it.
BUT I appreciate every single suggestion and support them.
Quote:

Originally Posted by Ranger187 (Post 1949884)
Yup.

Please install the last version (v2.5).
Do you see the gamercards in profile pages?

Thanks for your supporting guys.:up:

Big-Pete 01-08-2010 06:19 PM

Excellent, Nice update!! :)

CFodder 01-08-2010 08:21 PM

1 Attachment(s)
Where do we set the size etc for the popup boxes, ones on our site aren't lining up properly. Have made some alterations to the site etc so it could be this stuffing it up.

Have attached some screenies to show you what's happening.

BTW mate this is a great mod, love your work :).

ShawnV 01-08-2010 08:49 PM

BC, support to the Bioware Social Network might be a great idea, especially with Dragon Age and Star Wars The Old Republic profiles. http://social.bioware.com/

Juggernaut 01-09-2010 04:20 AM

When I try to change the profile field number, it says saved succesful, but when the
page comes back, it's back at 0 and I'm not getting anything in my profiles or postbit :(

silverfox_uw 01-09-2010 12:56 PM

Can it be done, that instead of having the little xbox symbol that you click on in your postbit area, the the actual xbox gamercard is in the postbit area instead, say for example under your avatar?

I am desperate to have our gamercards in the postbit area but do not know how too.

LouisB 01-09-2010 02:52 PM

My postbit images are not loading. Any ideas? I have checked that its the correct directory and have also checked correct URL settings on forum.

InsomniacP 01-09-2010 03:26 PM

Done the install and changed the profile field bit but not getting the images in post bit? just the x's i have imported the images to my image/misc folder but it's not showing them?

durdan1 01-09-2010 03:29 PM

Quote:

Originally Posted by InsomniacP (Post 1951204)
Done the install and changed the profile field bit but not getting the images in post bit? just the x's i have imported the images to my image/misc folder but it's not showing them?

I had the same problem. I could not figure it out.

silverfox_uw 01-09-2010 03:50 PM

Quote:

Originally Posted by InsomniacP (Post 1951204)
Done the install and changed the profile field bit but not getting the images in post bit? just the x's i have imported the images to my image/misc folder but it's not showing them?

If they are showing up as red X's, the chance is that they have not been uploaded to the right folder.
Ie, if you have a custom skin on, you have to upload them to the images/your-skin/image/misc

That should sort it

BaziCenter 01-09-2010 06:25 PM

Quote:

Originally Posted by CFodder (Post 1950673)
Where do we set the size etc for the popup boxes, ones on our site aren't lining up properly. Have made some alterations to the site etc so it could be this stuffing it up.

Do you changed the "blockrow" css class in your style? The pop-ups should not like these pics. anyway to resize the pop-ups go to the "postbit_gamercards" template and you see the code like this in each link HTML tag:
HTML Code:

onClick=('gamercard_link', width, height);
width & height are in pixel.
Quote:

Originally Posted by ShawnV (Post 1950692)
BC, support to the Bioware Social Network might be a great idea, especially with Dragon Age and Star Wars The Old Republic profiles. http://social.bioware.com/

Unfortunately Bioware social network doesn't have any API yet, so there is no way to use their information on other sites!
Quote:

Originally Posted by Destron (Post 1950900)
When I try to change the profile field number, it says saved succesful, but when the
page comes back, it's back at 0 and I'm not getting anything in my profiles or postbit :(

You only insert numbers? you should (for example) enter 5 not field5!

by the way:
Please Mark As Installed if you use this modification.

gator777 01-09-2010 06:32 PM

DBaziCenter,

I just wanted to thank you for a great mod. I hope you stay with it for the duration. :)

BaziCenter 01-09-2010 06:43 PM

Quote:

Originally Posted by silverfox_uw (Post 1951092)
Can it be done, that instead of having the little xbox symbol that you click on in your postbit area, the the actual xbox gamercard is in the postbit area instead, say for example under your avatar?

I am desperate to have our gamercards in the postbit area but do not know how too.

I don't add this feature to the mod because of multi platform support. but you can edit the "postbit_gamercads" template and do it yourself:
for just showing the actual xbox live gamercard in the postbit, clear the template data and use this code:
HTML Code:

<vb:if condition="$gamerid['gamertag']">
<dl class="userinfo_extra">
<iframe src="http://gamercard.xbox.com/{vb:raw gamerid.gamertag}.card" scrolling="no" frameBorder="0" height="140" width="204">{vb:raw gamerid.gamertag}</iframe>
</dl>
</vb:if>

Quote:

Originally Posted by InsomniacP (Post 1951204)
Done the install and changed the profile field bit but not getting the images in post bit? just the x's i have imported the images to my image/misc folder but it's not showing them?

I checked your website and find out that the icon file not found:
http://www.mw2forum.co.uk/images/mis...s/xboxlive.png

Like silverfox_uw said if you guys have a custom style(s), you have to copy the gamericons folder in images/misc of the each style!

KURTZ 01-09-2010 06:46 PM

just tagged :)

hi mate i need an explanation about this point:

Quote:

4) You can use these optional Regular Expressions (regex) for the fields:
thanks

Boots 01-09-2010 07:50 PM

Do want but only on certain forum id's ? :D

zonaenlinea 01-09-2010 09:36 PM

Thank prefect

Juggernaut 01-09-2010 11:11 PM

Quote:

Originally Posted by BaziCenter (Post 1951340)
Do you changed the "blockrow" css class in your style? The pop-ups should not like these pics. anyway to resize the pop-ups go to the "postbit_gamercards" template and you see the code like this in each link HTML tag:
HTML Code:

onClick=('gamercard_link', width, height);
width & height are in pixel.

Unfortunately Bioware social network doesn't have any API yet, so there is no way to use it's information on other sites!

You only insert numbers? you should (for example) enter 5 not field5!

by the way:
Please Mark As Installed if you use this modification.

Thank you, that was my mistake. :)

Juggernaut 01-10-2010 01:01 AM

In your images it shows the avatar as well, how do I enable that with the plugin?

BaziCenter 01-10-2010 08:50 AM

Quote:

Originally Posted by KURTZ (Post 1951361)
just tagged :)

hi mate i need an explanation about this point:



thanks

Regular Expression syntax in PHP, will check the input field and don't let the user to insert invalid data!
vBulletin admin help for regex:
Quote:

You may require this field's contents to match a PCRE-type regular expression. For example, you could have a field that is for the user's ICQ number. Since ICQ numbers consist of only numerals, you could write a regular expression to check for non-numerals.

Example: (Do not start or end the expression with an escape character)

^[0-9]{7,8}$

If you want to allow an empty response to be given, you need to account for it within the regex:

^[0-9]{7,8}$|^$

See PHP.net for more information on regular expressions.
Quote:

Originally Posted by Destron (Post 1951593)
In your images it shows the avatar as well, how do I enable that with the plugin?

The Avatars are already enabled and shows if you insert the correct gamertag.
Can I see your website?

silverfox_uw 01-10-2010 09:30 AM

Quote:

Originally Posted by BaziCenter (Post 1951359)
I don't add this feature to the mod because of multi platform support. but you can edit the "postbit_gamercads" template and do it yourself:
for just showing the actual xbox live gamercard in the postbit, clear the template data and use this code:
HTML Code:

<vb:if condition="$gamerid['gamertag']">
<dl class="userinfo_extra">
<iframe src="http://gamercard.xbox.com/{vb:raw gamerid.gamertag}.card" scrolling="no" frameBorder="0" height="140" width="204">{vb:raw gamerid.gamertag}</iframe>
</dl>
</vb:if>

I checked your website and find out that the icon file not found:
http://www.mw2forum.co.uk/images/mis...s/xboxlive.png

Like silverfox_uw said if you guys have a custom style(s), you have to copy the gamericons folder in images/misc of the each style!

That has worked, thanks.

The only problem that i now have, is that it shows at the bottom where the symbols use to be, so it pushes the size of the gamercard out of the postbit area. Can you tell me how to do it so that i can move the gamercard to be displayed directly underneath the avatar.
Thanks in advance


Edit:- Nevermind, sorted it. many thanks

BaziCenter 01-10-2010 10:07 AM

Quote:

Originally Posted by silverfox_uw (Post 1951791)
That has worked, thanks.

The only problem that i now have, is that it shows at the bottom where the symbols use to be, so it pushes the size of the gamercard out of the postbit area. Can you tell me how to do it so that i can move the gamercard to be displayed directly underneath the avatar.
Thanks in advance

The postbit width in default vB4.0 style is smaller than gamercard actual size. but you can find postbit css class and resize it.

to using the gamercard underneath of avatar you need custom coding.
go to postbit_legacy template:
find:
Code:

            <vb:if condition="$show['avatar']">
            <a class="postuseravatar" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}">
                <img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />
            </a>
            </vb:if>

add after:
Code:

            <vb:if condition="$post['fieldX']">
            <a class="postuseravatar">
                <iframe src="http://gamercard.xbox.com/{vb:raw post.fieldX}.card" scrolling="no" frameBorder="0" height="140" width="204">{vb:raw post.fieldX}</iframe>
            </a>
            </vb:if>

change the 'X' with your xbox live field number!

note: this code in no way related to my mod and you can use it without any plugin.

KURTZ 01-10-2010 10:17 AM

just tested successfully onto my testing board ... superb hack dude ... just nominated ;)

just a little request: can you fix the 'new side bar' for the EU PSN issue? :P

edit: about the xfire 'mouse over' effect ... i think this is better without any effect :)

LouisB 01-10-2010 11:00 AM

Quote:

Originally Posted by silverfox_uw (Post 1951222)
If they are showing up as red X's, the chance is that they have not been uploaded to the right folder.
Ie, if you have a custom skin on, you have to upload them to the images/your-skin/image/misc

That should sort it

Thanks. Works fine now. Great mod.

BaziCenter 01-12-2010 07:02 PM

Quote:

Originally Posted by KURTZ (Post 1951828)
just a little request: can you fix the 'new side bar' for the EU PSN issue? :P

Fixed.

Switch3130 01-13-2010 06:20 AM

Great work thank you sir.

Golzarion 01-13-2010 12:08 PM

thx. that's a very interesting hack. thank you.

KURTZ 01-13-2010 01:12 PM

Quote:

Originally Posted by BaziCenter (Post 1953809)
Fixed.

superb!

RS_Jelle 01-13-2010 01:56 PM

Nice mod and very fast development :)

Please fix the W3C XHTML validation issues. Use &amp; instead of & when necessary, use onclick instead of onClick (no uppercase attributes), add some missing alt attributes, ...

BaziCenter 01-14-2010 08:01 AM

Quote:

Originally Posted by RS_Jelle (Post 1954438)
Nice mod and very fast development :)

Please fix the W3C XHTML validation issues. Use &amp; instead of & when necessary, use onclick instead of onClick (no uppercase attributes), add some missing alt attributes, ...

All W3C validation issues fixed, except using the <style type="text/css">...</style> in the BODY!
because of new sidebar location, the code has a conditional css and if I want to move them in the new .css file and put them in the HEAD, then it needs extra check. so I ignored it for now.

by the way the error in pop-up pages that say "end tag for element "style" which is not open" is not mine, and should report as a bug in vB.com. (in "im_message" template)

RS_Jelle 01-14-2010 10:52 AM

Quote:

Originally Posted by BaziCenter (Post 1955239)
All W3C validation issues fixed, except using the <style type="text/css">...</style> in the BODY!
because of new sidebar location, the code has a conditional css and if I want to move them in the new .css file and put them in the HEAD, then it needs extra check. so I ignored it for now.

by the way the error in pop-up pages that say "end tag for element "style" which is not open" is not mine, and should report as a bug in vB.com. (in "im_message" template)

Great, thanks a lot :up:

The <style> error isn't easy to fix indeed. I'm having the same thing with DownloadsII. There's a profile CSS template hook, but it isn't working. I also reported the </style> error in the im_message template.

cad2go 01-14-2010 12:36 PM

Anyone getting a bing page today instead of the card?! lol

LouisB 01-14-2010 01:00 PM

Thank you for your work and updates :)

CFodder 01-14-2010 04:12 PM

Quote:

Originally Posted by cad2go (Post 1955431)
Anyone getting a bing page today instead of the card?! lol

Nope, just getting the usual cards, well for Steam and Xfire anyway.

espesso 01-16-2010 12:08 AM

Works perfect, thanks..

ZGeek 01-16-2010 05:46 AM

This is a great mod! Thank you very, very much! :)


All times are GMT. The time now is 01:01 PM.

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.01694 seconds
  • Memory Usage 1,854KB
  • 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
  • (2)bbcode_code_printable
  • (4)bbcode_html_printable
  • (27)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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