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)

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.


All times are GMT. The time now is 11:00 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.01491 seconds
  • Memory Usage 1,756KB
  • 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
  • (2)bbcode_html_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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