The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Sports Manager (NFL, NBA, NCAA, MLB, FIFA, NASCAR, NHL, Premier) Details »» | |||||||||||||||||||||||||||
Sports Manager (NFL, NBA, NCAA, MLB, FIFA, NASCAR, NHL, Premier)
Developer Last Online: Feb 2020
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
|
Comments |
#52
|
|||
|
|||
not sure about the all in one but if you install them seperate i can not figure out how to make them all show up on one line mine stay stacked on each other
|
#53
|
||||
|
||||
Hey can anybody tell me how to make the selection box show up on VBADVANCED
OR In the "Edit Profile" page instead of the nav bar? |
#54
|
|||
|
|||
the code you add to the navbar instead add it where you want it as far as vbadvanced the answer is in this thread somewhere
|
#55
|
||||
|
||||
Thanks!
|
#56
|
|||
|
|||
How do we make it all the sports are into one drop down menu? I want my users to pick any sports and any teams instead of one sports with one team? How do we make it so users can pick 2 or 3 teams from 2 or 3 sports?
|
#57
|
|||
|
|||
Installed thanks.
I've cleaned this up a bit I'll post code later, it's getting late. I added the ability for users to select whether they see the icons in posts or not in their USER CP (similar to letting people decide if they want to see avatars or not; not everyone wants to see images). I've added alt tags for the icons and remove the text next to them so it takes up less room in the postbit as well IMO as being more informative anyways. And I've moved the selection for the teams to the User CP (people don't change teams often, so no need to see the place to select it on every single page load, plus it's just a lot of extra data for no real reason). |
#58
|
|||
|
|||
Can you make it so users can choose 3 or 4 sports and 3 or 4 teams?
|
#59
|
|||
|
|||
Quote:
|
#60
|
|||
|
|||
Quote:
Then change the values of the my phrases (like my_nhlteam, etc...) to something like "My First Team", "My Second Team", etc... instead of "My NHL team" etc... |
#61
|
|||
|
|||
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> 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 $usernhlteams $usermlbteams <br /> $usernbateams $userncaateams $usernascardrivers $userfifateams $userpremierteams </span></div> </td> </tr> </tbody> </table> <br /> <!-- END OF YOUR TEAMS --> Code:
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div> 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 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 |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|