vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Add-On Releases - Sports Manager (NFL, NBA, NCAA, MLB, FIFA, NASCAR, NHL, Premier) (https://vborg.vbsupport.ru/showthread.php?t=144530)

HMBeaty 04-11-2007 05:58 PM

Quote:

Originally Posted by Regs (Post 1225130)
What variable are you using in your navbar template edit for Nascar then? I'm getting NO TEXT output at all so something is not right.

Cheers!

~Regs.

I'm using the autoedit. So it would be $usernascardrivers

Regs 04-11-2007 06:00 PM

FYI: In the text readme file, you are using $usernascarteams everywhere :D

HMBeaty 04-11-2007 06:14 PM

Quote:

Originally Posted by Regs (Post 1225168)
FYI: In the text readme file, you are using $usernascarteams everywhere :D

Yes, I realized that. It will be fixed in the next version. Thank you. Did you get it fixed?

mathias 04-11-2007 06:47 PM

any images?

Regs 04-11-2007 06:53 PM

Quote:

Originally Posted by Redlinemotorsports (Post 1225182)
Yes, I realized that. It will be fixed in the next version. Thank you. Did you get it fixed?

Yup, working good other than a member complaining about no #7 Robbie Gordon :rolleyes:

:D

Thanks!

HMBeaty 04-11-2007 07:07 PM

Updated to version 2.0.0

It is now released as ONE bulk package

rjmjr69 04-11-2007 07:40 PM

Nice thanks..

sportsoutlaw 04-11-2007 08:15 PM

Is there a way this can be made where we can do the selections in some sort of drop down menu? I would love to use all the sports, but that was overkill on my navbar, LOL.

Trying to figure out a way on my end at the moment.

skorzguy 04-11-2007 08:43 PM

Here's what I did to make everything look good in the navbar and postbit template. It's probably not coded correct but it worked.

postbit template:
-----------------------------------------------------------------------------------------------------------

Find:
------
<tr>
<if condition="$show['avatar']"><td class="alt2" valign="top"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td></if>

** you probably won't have the valign="top", I added this to make sure the avatar was on top.

Add above:
--------------

<!-- /show teams -->
<tr> <div align="left">
<if condition="$post['nflteam']">
<!-- current team -->
<fieldset><legend>My Teams</a></legend>
<if condition="!empty($post[nflteam])">
$vbphrase[my_nflteam]: <img src="$vboptions[bburl]/images/nfl/$post[nflteam].gif" border="0" /></if>
<if condition="!empty($post[nbateam])">
$vbphrase[my_nbateam]: <img src="$vboptions[bburl]/images/nba/$post[nbateam].gif" border="0" /></if>
<if condition="!empty($post[mlbteam])">
$vbphrase[my_mlbteam]: <img src="$vboptions[bburl]/images/mlb/$post[mlbteam].gif" border="0" /></if>
<if condition="!empty($post[nhlteam])">
$vbphrase[my_nhlteam]: <img src="$vboptions[bburl]/images/nhl/$post[nhlteam].gif" border="0" /></if>
<if condition="!empty($post[ncaateam])">
$vbphrase[my_ncaateam]: <img src="$vboptions[bburl]/images/ncaa/$post[ncaateam].gif" border="0" /></if>
<if condition="!empty($post[nascardriver])">
$vbphrase[my_nascardriver]: <img src="$vboptions[bburl]/images/nascar/$post[nascardriver].gif" border="0" /></if>
<if condition="!empty($post[fifateam])">
$vbphrase[my_fifateam]: <img src="$vboptions[bburl]/images/fifa/$post[fifateam].gif" border="0" /></if>
</fieldset></if>
</div></tr>
<!-- /show Teams -->

**doesn't include the English FA Premiership League Soccer in Uk

navbar template:
-----------------------------------------------------------------------------------------------------------

Find:
------

<!-- breadcrumb, login, pm info -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>

Add above:
--------------

<!-- My Teams -->
<if condition="$show['member']">
<tr width="100%"><span class="navbar"><strong>My teams:</strong> $usernflteams&nbsp$usernbateams&nbsp$usermlbteams& nbsp$usernhlteams&nbsp$usernca ateams&nbsp$usernascardrivers&nbsp$userfifateams </phrase></if>
</if>
<!-- My Teams -->

**doesn't include the English FA Premiership League Soccer in Uk

It's not best code, maybe someone can fix it and make it better.

Check screenshots

deezelpope 04-11-2007 09:14 PM

Quote:

Originally Posted by Regs (Post 1225224)
Yup, working good other than a member complaining about no #7 Robbie Gordon :rolleyes:

:D

Thanks!

I made it for ya...


All times are GMT. The time now is 06:36 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.01190 seconds
  • Memory Usage 1,744KB
  • 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
  • (4)pagenav_pagelink
  • (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