Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Sports Manager (NFL, NBA, NCAA, MLB, FIFA, NASCAR, NHL, Premier) Details »»
Sports Manager (NFL, NBA, NCAA, MLB, FIFA, NASCAR, NHL, Premier)
Version: 2.0.0, by HMBeaty HMBeaty is offline
Developer Last Online: Feb 2020 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.6.5 Rating:
Released: 04-10-2007 Last Update: 04-10-2007 Installs: 46
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.

First off, thanks goes out to Sniper for giving me permission to modify his Mood Manager and release a Sports Manager.

Is currently not compatible with vBAdvanced (Unless someone wants to come out with a fix)

What is this? Basically its just like the Mood Manager but with sports.

Current Sports:
FIFA: International Federation of Association Football
MLB: Major League Baseball
NASCAR: National Association of Stock Car Auto Racing
NBA: National Basketball Association
NCAA: National Collegiate Athletic Association
NFL: National Football League
NHL: National Hockey League
Premier: English FA Premiership League Soccer in Uk

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #72  
Old 01-14-2008, 05:14 AM
Gez Gez is offline
 
Join Date: Jan 2003
Location: south africa
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

am i the only one who wants this to work with motorsports?
Reply With Quote
  #73  
Old 02-21-2008, 10:53 PM
dukegotgame dukegotgame is offline
 
Join Date: Apr 2007
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I followed the instructions below, but what I can't seem to do is get rid of the drop down menus by the private messages in the navbar. I can turn them off via VB Options, but it still seems to over ride the user profile options. I think becuase I let it auto-edit my navbar template, I can't pull that code out of there. HELP!

Quote:
Originally Posted by liquidrage View Post
This uses the instructions found with this product except I changed the 3 templates that are modified to give it a look and functionality that better suited my site. It also makes use of a custom profile field to give users the ability to turn this on/off.


OK, for the way I did it: No support offered, use at own risk, yadda yadda yadda

In User Profile Fields from the Admin CP add a new field of type "Single-Selection Radio Button". First line value of Yes second line value of No
This doesn't need to be seen in the member list, nor searchable. So you probably want to turn those options off when creating it.
This is to let people turn this feature on and off. I display it on edit profile but wherever if you want is fine. Once it's saved look at the manager page for profile fields and you'll see it's named fieldX where X is a number. Remember this for later.


In the USERCP template find:
Code:
<!-- ############## END SUBSCRIBED FORUMS ##############  -->
</if>
After that add:

Code:
<!-- YOUR TEAMS -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
	<tr>
		<td class="tcat" colspan="2">
		Team Manager
		</td>
	</tr>
</thead>
<tbody id="collapseobj_usercp_forums" style="$vbcollapse[collapseobj_usercp_forums]">
	<tr align="center" valign="bottom">
		<td class="alt1">

<div width="100%"><span class="navbar"> $usernflteams&nbsp$usernhlteams&nbsp$usermlbteams
<br />
$usernbateams&nbsp$userncaateams&nbsp$usernascardrivers&nbsp$userfifateams&nbsp$userpremierteams </span></div>

</td>
	</tr>
</tbody>
</table>
<br />

<!-- END OF YOUR TEAMS -->
In your PostBit template (postbit_legacy for me since I use the classic posbit look) find:

Code:
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
After that add:

Code:
<if condition="$bbuserinfo['field21'] != 'No'">
<br />
					<div class="smallfont">
<if condition="!empty($post[nhlteam])">
							<img src="$vboptions[bburl]/images/nhl/$post[nhlteam].gif" border="0" alt="$post[nhlteam]" /></if>
						<if condition="!empty($post[nflteam])">
							<img src="$vboptions[bburl]/images/nfl/$post[nflteam].gif" border="0" alt="$post[nflteam]" /></if>
						<if condition="!empty($post[nbateam])">
							<img src="$vboptions[bburl]/images/nba/$post[nbateam].gif" border="0" alt="$post[nbateam]" /></if>
						<if condition="!empty($post[mlbteam])">
							<img src="$vboptions[bburl]/images/mlb/$post[mlbteam].gif" border="0" alt="$post[mlbteam]" /></if>
<if condition="!empty($post[ncaateam])">
							<img src="$vboptions[bburl]/images/ncaa/$post[ncaateam].gif" border="0" alt="$post[ncaateam]" /></if>
						<if condition="!empty($post[nascardriver])">
							<img src="$vboptions[bburl]/images/nascar/$post[nascardriver].gif" border="0" / alt="$post[nascardriver]" ></if>
						<if condition="!empty($post[fifateam])">
							<img src="$vboptions[bburl]/images/fifa/$post[fifateam].gif" border="0" alt="$post[fifateam]"/></if>
						<if condition="!empty($post[premierteam])">
							<img src="$vboptions[bburl]/images/premier/$post[premierteam].gif" border="0" alt="$post[premierteam]" /></if>
					</div>
				</if>

Now, look at the 1st line of that code. See where it says field21? That needs to match up to the fieldX you created earlier.


In MEMBERINFO find:

Code:
$customfields
After that add:

Code:
<if condition="!empty($userinfo[nhlteam])">
<br >
<strong>$vbphrase[my_nhlteam]:</strong> <img src="$vboptions[bburl]/images/nhl/$userinfo[nhlteam].gif" border="0" />
</if>
<if condition="!empty($userinfo[nflteam])">
<br />
<strong>$vbphrase[my_nflteam]:</strong> <img src="$vboptions[bburl]/images/nfl/$userinfo[nflteam].gif" border="0" />
</if>
<if condition="!empty($userinfo[ncaateam])">
<br />
<strong>$vbphrase[my_ncaateam]:</strong> <img src="$vboptions[bburl]/images/ncaa/$userinfo[ncaateam].gif" border="0" />
</if>
<if condition="!empty($userinfo[mlbteam])">
<br />
<strong>$vbphrase[my_mlbteam]:</strong> <img src="$vboptions[bburl]/images/mlb/$userinfo[mlbteam].gif" border="0" />
</if>
<if condition="!empty($userinfo[premierteam])">
<br />
<strong>$vbphrase[my_premierteam]:</strong> <img src="$vboptions[bburl]/images/premier/$userinfo[premierteam].gif" border="0" />
</if>
<if condition="!empty($userinfo[fifateam])">
<strong>$vbphrase[my_fifateam]:</strong> <img src="$vboptions[bburl]/images/premier/$userinfo[fifateam].gif" border="0" />
<br />
</if>
<if condition="!empty($userinfo[nascardriver])">
<strong>$vbphrase[my_nascardriver]:</strong> <img src="$vboptions[bburl]/images/premier/$userinfo[nascardriver].gif" border="0" />
<br />
</if>

And that's all I had to do . Really it's just the way it was done via the product just with different formatting in different places.

I don't use the NASCAR or the FIFA so but my site using this can be found here:
http://www.flyersphans.com/forums/index.php
Reply With Quote
  #74  
Old 02-25-2008, 05:35 PM
dukegotgame dukegotgame is offline
 
Join Date: Apr 2007
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can anyone help? I modded this mod so that the drop down menus go from the navbar to the user profile area. However, when I turn them off in VB Options, it doesn't recognize the selection you make and still displays whatever you selected in the navbar.
Reply With Quote
  #75  
Old 02-25-2008, 10:25 PM
SHalliday's Avatar
SHalliday SHalliday is offline
 
Join Date: Jan 2002
Location: Norwalk, CT
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This looks like a great mod! Motorsports would be an awesome addition. Hoping that is under consideration.
Reply With Quote
  #76  
Old 02-26-2008, 03:59 AM
CLF's Avatar
CLF CLF is offline
 
Join Date: Jun 2007
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This would be perfect for my sports forum but I have dark background and the gifs don't work for me. I'll try to find team logos for dark bckgrnd and then I'll install it and let you know.

However, thank you for this nice hack!
Reply With Quote
  #77  
Old 02-26-2008, 11:10 PM
CLF's Avatar
CLF CLF is offline
 
Join Date: Jun 2007
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does anyone have any idea where could I find small team logos for dark background?
THANK YOU!!!
Reply With Quote
  #78  
Old 03-01-2008, 08:23 PM
bainsey bainsey is offline
 
Join Date: Oct 2007
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed it all but nothing at all shows up for me?!
Reply With Quote
  #79  
Old 03-15-2008, 06:02 AM
CLF's Avatar
CLF CLF is offline
 
Join Date: Jun 2007
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How bad are autoedits for custom styles?
Anyone?
THANK YOU!
Reply With Quote
  #80  
Old 03-19-2008, 12:12 AM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey everyone, I'm home on leave but only for a couple more days. Thank you all for the positive feedback and suggestions. I have VERY limited access to the internet since I've joined the military but hopefully in about 4 months, providing I'm not in Iraq, I will be able to update all of my modifications.........and my website. I apologize for any inconvenience this may cause anybody.
Reply With Quote
  #81  
Old 03-21-2008, 03:31 AM
CLF's Avatar
CLF CLF is offline
 
Join Date: Jun 2007
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Redlinemotorsports View Post
Hey everyone, I'm home on leave but only for a couple more days. Thank you all for the positive feedback and suggestions. I have VERY limited access to the internet since I've joined the military but hopefully in about 4 months, providing I'm not in Iraq, I will be able to update all of my modifications.........and my website. I apologize for any inconvenience this may cause anybody.
Hi there.

I think this thing is great but I need to know how bad are autoedits for custom styles?
THANK YOU! Looking forward to your updates. And thank for your help in advance.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:13 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04826 seconds
  • Memory Usage 2,323KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete