PDA

View Full Version : Sports Team Icons v2.3 for vbBux / vbPlaza


Pages : 1 [2]

GraNdMaStEr-B
07-16-2008, 03:46 AM
anyone gonna try and revive this hack for 3.7?

PGAmerica
08-16-2008, 04:39 PM
They are selling this on their website with no support at all

pnosko31
09-28-2008, 12:01 PM
I got it working with 3.7 :)

just have to do this.....


open plugins/vbplaza_postbit_imicons.php

above

?>


add


// Make sure the store is on
if ($vbulletin->options['vbplaza_enabled'] == 1)
{
// Set it to show the icons
$show['sports_icons'] = true;

// Lets find and show the mlb icon
if ($userinfo['mlb_icon'] != '')
{
$mlb .= "<img src=\"images/mlb/$userinfo[mlb_icon].gif\" alt=\"" . $userinfo[mlb_icon] = preg_replace(array ("/_/", "/-/"), array ("&nbsp;", "&nbsp;-&nbsp;"), $userinfo[mlb_icon]) . "\" border=\"0\"> \n";
}

// Lets find and show the nba icon
if ($userinfo['nba_icon'] != '')
{
$nba .= "<img src=\"images/nba/$userinfo[nba_icon].gif\" alt=\"" . $userinfo[nba_icon] = preg_replace(array ("/_/", "/-/"), array ("&nbsp;", "&nbsp;-&nbsp;"), $userinfo[nba_icon]) . "\" border=\"0\"> \n";
}

// Lets find and show the nfl icon
if ($userinfo['nfl_icon'] != '')
{
$nfl .= "<img src=\"images/nfl/$userinfo[nfl_icon].gif\" alt=\"" . $userinfo[nfl_icon] = preg_replace(array ("/_/", "/-/"), array ("&nbsp;", "&nbsp;-&nbsp;"), $userinfo[nfl_icon]) . "\" border=\"0\"> \n";
}

// Lets find and show the nhl icon
if ($userinfo['nhl_icon'] != '')
{
$nhl .= "<img src=\"images/nhl/$userinfo[nhl_icon].gif\" alt=\"" . $userinfo[nhl_icon] = preg_replace(array ("/_/", "/-/"), array ("&nbsp;", "&nbsp;-&nbsp;"), $userinfo[nhl_icon]) . "\" border=\"0\"> \n";
}

// Lets find and show the nascar icon
if ($userinfo['nascar_icon'] != '')
{
$nascar .= "<img src=\"images/nascar/$userinfo[nascar_icon].gif\" alt=\"" . $userinfo[nascar_icon] = preg_replace(array ("/_/", "/-/"), array ("&nbsp;", "&nbsp;-&nbsp;"), $userinfo[nascar_icon]) . "\" border=\"0\"> \n";
}

// Lets find and show the premier icon
if ($userinfo['premier_icon'] != '')
{
$premier .= "<img src=\"images/premier/$userinfo[premier_icon].gif\" alt=\"" . $userinfo[premier_icon] = preg_replace(array ("/_/", "/-/"), array ("&nbsp;", "&nbsp;-&nbsp;"), $userinfo[premier_icon]) . "\" border=\"0\"> \n";
}

// Lets find and show the ncaa icon
if ($userinfo['ncaa_icon'] != '')
{
$ncaa .= "<img src=\"images/ncaa/$userinfo[ncaa_icon].gif\" alt=\"" . $userinfo[ncaa_icon] = preg_replace(array ("/_/", "/-/"), array ("&nbsp;", "&nbsp;-&nbsp;"), $userinfo[ncaa_icon]) . "\" border=\"0\"> \n";
}

// Lets find and show the mls icon
if ($userinfo['mls_icon'] != '')
{
$mls .= "<img src=\"images/mls/$userinfo[mls_icon].gif\" alt=\"" . $userinfo[mls_icon] = preg_replace(array ("/_/", "/-/"), array ("&nbsp;", "&nbsp;-&nbsp;"), $userinfo[mls_icon]) . "\" border=\"0\"> \n";
}

// Lets find and show the fifa icon
if ($userinfo['fifa_icon'] != '')
{
$fifa .= "<img src=\"images/fifa/$userinfo[fifa_icon].gif\" alt=\"" . $userinfo[fifa_icon] = preg_replace(array ("/_/", "/-/"), array ("&nbsp;", "&nbsp;-&nbsp;"), $userinfo[fifa_icon]) . "\" border=\"0\"> \n";
}

// Time to show the icons
$userinfo['sportsicons'] .= $mlb . $nba . $nfl . $nhl . $ncaa . $nascar . $premier . $mls . $fifa;
}


if you are not using vbbux

Cromags21
12-25-2009, 12:44 PM
I am having issue with using this xml file with 3.8.4 forums.Is there an updated version of the post icons???

It's tell me this

Warning: require_once([path]/includes/functions_vbplaza.php) [function.require-once]: failed to open stream: No such file or directory in [path]/admincp/plugin.php(1995) : eval()'d code on line 177

Fatal error: require_once() [function.require]: Failed opening required '/home/me66z/public_html/forum/includes/functions_vbplaza.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/me66z/public_html/forum/admincp/plugin.php(1995) : eval()'d code on line 177

can someone help me out