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)
-   -   Add-On Releases - gXboxLive - Xbox Live Leaderboard (https://vborg.vbsupport.ru/showthread.php?t=243493)

insidegames 05-06-2012 07:07 AM

Quote:

Originally Posted by Hippy (Post 2325366)
*Update
For those of you that still use this mod...
and you would like the gamercard to display on your forum home with out editing your headerincudes template

today is your lucky Day...


first ) go to your Admincp >Plugins & Products > Plugin Manager

there is 2 things you need to do..


first we are going to create a new plug in...

this will fix the postbit link so mouse over will display the gamercard


Code:

gXBL: Show_Post              gXboxLive

Hook                          showthread_start

Title                        gXBL: Show_Post


Execution Order              5


Plugin PHP Code                $templater = vB_Template::create('gxbl_headinclude');
                              $headinclude .= $templater->render();   


Plugin is Active              yes
Save

second

this will allow the gamercard to render on mouse over the users name

and we are still in plug in manager

find and open up
gXBL: Forum Home Stats

Next

click edit
replace the Plugin PHP Code with
Code:

if(!defined('GXBL_FUNC'))
        include "./includes/functions_gxboxlive.php";
if(function_exists('gxbl_has_access') && gxbl_has_access() && $vbulletin->options['gxbl_show_stats'] && $vbulletin->options['gxbl_forumhome'])
{
        $templater = vB_Template::create('gxbl_headinclude');
$headinclude .= $templater->render();
        ($hook = vBulletinHook::fetch_hook('gxbl_stats')) ? eval($hook) : false;
        $template_hook['forumhome_below_forums'] .= $gxblstats;
}

Enjoy Guys...
Regards Hippy

is their a demo or a picture for the effect?

GhostHunter2010 05-06-2012 08:35 AM

demo... no install no photo no rate :)

Hippy 05-06-2012 11:35 AM

Quote:

Originally Posted by insidegames (Post 2326653)
is their a demo or a picture for the effect?



I'm not the author..

I'll see what I can do for you .. busy today tho

Hippy 05-06-2012 02:05 PM

1 Attachment(s)
3 screenshot..
1 of mouse over in post bit..
1 of the forumhome addon..
1 of the vboxlive page with mouse over avatar

insidegames 05-07-2012 10:00 AM

Very nice, mate :-)

another question, i know i saw them on a website, but how can i display the gamercard directly left of the infobox:

http://www.xblsenioren.de/forum/show...=12827&page=34

or

http://forum.insidegames.ch/smalltal...tml#post117577

here under the skye logo

Hippy 05-07-2012 12:07 PM

You can move the hook..custom. I was just happy to this working.stock... custom anything atm I have not thought about. Give it a go. Let me know how ya make out. Of you can't get it let me know

marccap 05-13-2012 10:04 AM

Hi,

How do u remove the "g" out of the navbar of "gxboxlive"

Thanks

Hippy 05-13-2012 10:34 AM

admincp> Languages & Phrases > Search in Phrases >

search text for gxboxlive_vbnav

in Search in ... check Phrase Variable Name Only
click find
then click edit for that phrase and add XboxLive in the

English (US) Translation (Optional) box
hit save

marccap 05-13-2012 11:04 AM

Quote:

Originally Posted by Hippy (Post 2328952)
admincp> Languages & Phrases > Search in Phrases >

search text for gxboxlive_vbnav

in Search in ... check Phrase Variable Name Only
click find
then click edit for that phrase and add XboxLive in the

English (US) Translation (Optional) box
hit save

Excellent - Thanks :D

marccap 05-13-2012 06:35 PM

Me again - Ive just noticed my leaderboard doesnt display any rep stars and when I click on the last games played the link isnt correct? The link to my site is in my sig.

Thanks


All times are GMT. The time now is 10:02 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,745KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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