PDA

View Full Version : My Team Hack


Injektilo
06 Jan 2006, 07:00
My Team Hack


https://www.vbulletin.org/forum/external/2006/01/7.gif


What does this hack do?
Gives the ability to your users to select the team they support from the "Edit Profile" page, and a graphic bar with the team's logo will display in their posts, in postbit and postbit_legacy

Installation difficulty
This hack is very easy. It only takes 2 minutes to install. (IF it takes you more than 2 minutes then vbulletin.org is not the place for you to be :p )

What do you have to edit
You only have to edit 1 template (postbit or postbit_legacy)
and add a new profile field
(All instructions are included in a text file)

So far, i've just included all teams from English Premiership. In the next days i will add teams from Spain and Italy, or if some of you need other countries as well, just post it here :)

If you like this hack please clickity click this -> https://www.vbulletin.org/forum/

Check the 3 screenshots below:

voleibolmurcia
06 Jan 2006, 07:42
Thanks, i ll install it.

rb290
06 Jan 2006, 07:59
koooolllll!!
thanks

voleibolmurcia
06 Jan 2006, 09:36
Injektilo, where can i find the images for Clubs from Spain, or Italy for example?

Injektilo
06 Jan 2006, 09:43
Injektilo, where can i find the images for Clubs from Spain, or Italy for example?

i will add teams from 1st leagues in Italy and Spain in the next to days

voleibolmurcia
06 Jan 2006, 09:51
Great!

Thank u.

lanc3lot
06 Jan 2006, 10:06
Can this be appeared only on Profile of the user somehow?

Also, can the user choose 2 teams, rather that just one ? Finally, i see u have panathinaikos, this means that its included greek teams support?

:)

Injektilo
06 Jan 2006, 10:12
Can this be appeared only on Profile of the user somehow?

Also, can the user choose 2 teams, rather that just one ? Finally, i see u have panathinaikos, this means that its included greek teams support?

:)


1) i will update the instructions by tomorrow on how to display this in profile page

2) In order to give the ability to the users to select more teams, you must install the hack twice. For example "My team in Italy" "My team in England" ... and use different names in the "add new profile field" page for the teams. i can help you more, just pm me if you want
3) I will include Greek teams as well!!! :) ektos kai an eisai olympiakos hehehehe

Injektilo
06 Jan 2006, 10:17
Can this be appeared only on Profile of the user somehow?

Also, can the user choose 2 teams, rather that just one ? Finally, i see u have panathinaikos, this means that its included greek teams support?

:)


oh and if u use this hack just please click install! :) thanks

lanc3lot
06 Jan 2006, 10:35
Hm, olympiakos yes:D

But ok, lets dont pay too much attention on that:P

lanc3lot
06 Jan 2006, 10:37
Thnx also for the updates, waiting then:D

OmekaTeam
06 Jan 2006, 12:41
Why can I not see this image?
Thanks.

Injektilo
06 Jan 2006, 12:57
what image?

OmekaTeam
06 Jan 2006, 13:06
what image?The image under "my team"...thank you.

Injektilo
06 Jan 2006, 13:55
The image under "my team"...thank you.

OmekaTeam just try to follow all the steps, and make sure you didnt do any mistakes.

brvheart
06 Jan 2006, 13:59
Can you add NFL teams and College Football teams? This would be a great addition for users to express there favorite teams for sports.

USA =

NFL Teams
NHL Teams
etc etc

Injektilo
06 Jan 2006, 14:07
Can you add NFL teams and College Football teams? This would be a great addition for users to express there favorite teams for sports.

USA =

NFL Teams
NHL Teams
etc etc


if you provide me with the badges and if you click install yeah i would :)

brvheart
06 Jan 2006, 14:08
PM sent ;)

OmekaTeam
06 Jan 2006, 15:35
The key does not work install.Hi

Injektilo
06 Jan 2006, 15:44
The key does not work install.Hi

Key? what key

OmekaTeam i dont understand... be more specific please

OmekaTeam
06 Jan 2006, 15:53
Key? what key

OmekaTeam i dont understand... be more specific pleaseThe key intall doesn't work.

Injektilo
06 Jan 2006, 15:56
The key intall doesn't work.

sorry i cannot understand what you mean therefore i cant help

Gizmo5h1t3
06 Jan 2006, 16:09
quality addition this....cant wait for the scottish teams to be added.....and the rest...
nice work m8....

would be after RANGERS and CELTIC m8

Snake
06 Jan 2006, 17:01
Great!

/me installs

ForYou
06 Jan 2006, 18:14
Hello Injektilo ,

I was installed this hack , but i need to ask about real Madred team where is the logo for it ,

and qustion , from where can i get the hack for the private message that is in your site , when i get private message there is man flying tell me there is private message for me :) ,

Regards

lazyseller
06 Jan 2006, 19:13
Does anyone know a way for us to query the database or something to list amount of profiles that select a certain team so we can display this info somewhere ?

nufc fan
06 Jan 2006, 19:35
Ive just installed this hack everything went ok but i do have one problem i can pick my team from the drop down box and it is displayed under my public profile but i have no image of the team i picked and its not next to my profile when i post its only when you click on my profile that its visible and that just displays the name of the team any ideas.

Injektilo
06 Jan 2006, 20:34
Ive just installed this hack everything went ok but i do have one problem i can pick my team from the drop down box and it is displayed under my public profile but i have no image of the team i picked and its not next to my profile when i post its only when you click on my profile that its visible and that just displays the name of the team any ideas.

is the name of the team the same with the name of the picture? Eg Manchester and Manchester.gif

Injektilo
06 Jan 2006, 20:36
Hello Injektilo ,

I was installed this hack , but i need to ask about real Madred team where is the logo for it ,

and qustion , from where can i get the hack for the private message that is in your site , when i get private message there is man flying tell me there is private message for me :) ,

Regards


pm me ForYou for questions other than My Team Hack

MojoNixon
06 Jan 2006, 20:50
any chance to get german teams too? ;-) btw nice hack, my users will just love it.

Btw..here are the badges for germanys premier league:

http://www.liebenthron.de/Index2.html

Injektilo
06 Jan 2006, 21:01
any chance to get german teams too? ;-) btw nice hack, my users will just love it.

Btw..here are the badges for germanys premier league:

http://www.liebenthron.de/Index2.html

please collect the badges you want and sent them to emilios9@cytanet.com.cy

tidy_boy
06 Jan 2006, 21:39
Excellent hack mate can you make a coventry city image please

Injektilo
06 Jan 2006, 23:29
Excellent hack mate can you make a coventry city image please


will try my best to follow everyone's requests :)

tidy_boy
07 Jan 2006, 00:14
thanks dude :D

IrPr
07 Jan 2006, 10:59
nice work but guess what ?

u r using below code in postbit-postbit_legacy


<!-- MyTeam Hack by Injektilo - Start -->
<br /><if condition="$post[field5] != ''"><div class="smallfont">
My Team: <img src="images/MyTeam/$post[field5].gif" title="$post[field5]" align="center">
</div></if>
<!-- MyTeam Hack by Injektilo - End -->


that won't be center aligned ;)

im using this code and works nice for me


<!-- MyTeam Hack by Injektilo - Start -->
<br /><if condition="$post[field5] != ''"><div class="smallfont">
My Team: <div align="center"><img src="images/MyTeam/$post[field5].gif" title="$post[field5]">
</div></div></if>
<!-- MyTeam Hack by Injektilo - End -->


screenshots included:

nufc fan
07 Jan 2006, 11:10
will there be lower leagues available soon ie the championship,league 1 & 2.

please say yes :)

Injektilo
07 Jan 2006, 12:43
will there be lower leagues available soon ie the championship,league 1 & 2.

please say yes :)


provide me with the badges and i'll do it for you

Injektilo
07 Jan 2006, 15:35
i've just added Italy teams

Totti
07 Jan 2006, 16:39
would be happy about germany

OmekaTeam
07 Jan 2006, 16:45
i've just added Italy teamsItalian Team error gif.

Cagliari-calcio.gif end Udinese(Udineze) in TXT.Hi

Injektilo
08 Jan 2006, 11:34
Italian Team error gif.

Cagliari-calcio.gif end Udinese(Udineze) in TXT.Hi


thank you OmekaTeam for this. Updated the .zip file now

jarod1981
08 Jan 2006, 11:50
Hi all

Is possibile for the Italian Team also the Napoli image?

Very Thanks :rolleyes:

Injektilo
08 Jan 2006, 12:10
Hi all

Is possibile for the Italian Team also the Napoli image?

Very Thanks :rolleyes:

You really should install the hack if you want to demand something :)

IrPr
08 Jan 2006, 12:22
is it possible to share PSD files to edit badges myself and add more teams ?

Injektilo
08 Jan 2006, 12:32
is it possible to share PSD files to edit badges myself and add more teams ?

sorry Moosa i prefer not to share the psd

IrPr
08 Jan 2006, 13:15
no problem mate;)

waiting for ur next update

49er
09 Jan 2006, 23:41
provide me with the badges and i'll do it for you
Was these provided and if so have you actually done them, as i would like them also.
Nice mod, thank you.

Injektilo
10 Jan 2006, 17:55
Was these provided and if so have you actually done them, as i would like them also.
Nice mod, thank you.

if you mean about the lower leagues, noone has provided me anything yet

tolisc
11 Jan 2006, 19:10
thanks injektilo

49er
11 Jan 2006, 19:24
if you mean about the lower leagues, noone has provided me anything yet
Ok Injektilo just tell me how and where i need to send them to you, and a big thank you for your time.

apollooooooo
11 Jan 2006, 20:11
Hey Cool Hack any Chance getting Scottish Teams Also

Injektilo
11 Jan 2006, 23:04
Ok Injektilo just tell me how and where i need to send them to you, and a big thank you for your time.

send them to emilios9@cytanet.com.cy

49er
11 Jan 2006, 23:11
send them to emilios9@cytanet.com.cy
Ok i already sent them :nervous:

49er
13 Jan 2006, 19:29
Hi, can you tell me if you have received the images that i sent you Injektilo ??

Also in the My Team images England ones, the Sunderland Badge shows Birmingham City Fan :disappointed:

thx

Injektilo
14 Jan 2006, 06:17
Hi, can you tell me if you have received the images that i sent you Injektilo ??

Also in the My Team images England ones, the Sunderland Badge shows Birmingham City Fan :disappointed:

thx


sorry man will do them in the next 2 days.

10ofhearts
14 Jan 2006, 21:07
Do you have the images for the Scottish teams?

If not I'll Email (and click install), but for the guy that wanted Rangers and Celtic :ermm: I don't have any decent images of these two, could you perhaps email to admin@jamboskickback.co.uk and I'll add them to the file to send for a great looking Mod.

voleibolmurcia
16 Jan 2006, 16:20
I hope u could made the spain teams images. :o

49er
21 Jan 2006, 19:46
sorry man will do them in the next 2 days.
Have you given up on this request Injektilo ????

Injektilo
23 Jan 2006, 21:45
Have you given up on this request Injektilo ????

Sorry i am very busy lately but i will get to it as soon as possible.

ArabSQuad
04 Feb 2006, 00:46
Thanks Alot Man ;)

MoveOver.cc
05 Feb 2006, 08:43
I have added all the modifications, as per in the instructions. I have paid particular attention to follow them step by step but I cant see the picture of my Football Team when I post a new message as shown.

Please advise how I can sort this out.

MojoNixon
05 Feb 2006, 12:19
Did you made the changes in postbit or postbit legacy?

49er
05 Feb 2006, 21:49
Sorry i am very busy lately but i will get to it as soon as possible.
*Bump* :disappointed:

MorrisMcD
06 Feb 2006, 07:57
Can you add NFL Football teams?? ;)

voleibolmurcia
17 Feb 2006, 14:29
Anyone could make spain teams?

MorrisMcD
17 Feb 2006, 14:36
Anyone could make spain teams?


I'm with you bro.. Still hoping someone wants to help me port this over for NFL teams...

I CAN provide the graphics if need be.. Can someone tell us what we need to do other than that if I can get 32 graphics, one for each team?

thanks!

49er
23 Feb 2006, 22:01
Wouldn't bother here as i think this guy has given up with this hack. :ermm:

*Uninstalled*

Injektilo
23 Feb 2006, 22:25
Wouldn't bother here as i think this guy has given up with this hack. :ermm:

*Uninstalled*


if u take a look at my first post, it says that this hack is not supported. I would have helped if i could, but obviously i cant

Sn3s
03 Sep 2006, 19:27
cant you count the people that using one of those teams for ex. ?

or count their posts !

and thanks

hellekim
04 Sep 2006, 18:02
I lost this one when I upgraded to 3.6.0 - I tried to modify the template, but nothing happened - any ideas?

hellekim
16 Nov 2006, 14:52
I lost this one when I upgraded to 3.6.0 - I tried to modify the template, but nothing happened - any ideas?

I was just blind and reading through the manual again, fixed this.

GafferSports
11 Dec 2006, 22:10
I have installed this and made simple Scottish images. I am not sure if I can add them as a zip here 'tho, nor whether I can post an example url.

SBlueman
20 May 2007, 01:16
Great Mod! I modified it just a bit to all members to show their favorite teams for the NFL, Major League Baseball, NBA, NHL and NCAA Football:

I added the new user profile fields as per the instructions for each new option, uploaded the images into their own folders in the images/MyTeam/ folder and then I added this to my postbit template:
<div class="smallfont"><strong><font color="#000066">Favorite Teams:</font><br>
&nbsp;
<!-- MyTeam Hack by Injektilo - Start -->
<if condition="$post[field5] != ''"><img src="images/MyTeam/nfl/$post[field5].gif" title="$post[field5]" align="center"></if>
<!-- MyTeam Hack by Injektilo - End -->
&nbsp;
<!-- MyTeam Hack by Injektilo - Start -->
<if condition="$post[field6] != ''"><img src="images/MyTeam/mlb/$post[field6].gif" title="$post[field6]" align="center"></if>
<!-- MyTeam Hack by Injektilo - End -->
&nbsp;
<!-- MyTeam Hack by Injektilo - Start -->
<if condition="$post[field7] != ''"><img src="images/MyTeam/nba/$post[field7].gif" title="$post[field7]" align="center"></if>
<!-- MyTeam Hack by Injektilo - End -->
&nbsp;
<!-- MyTeam Hack by Injektilo - Start -->
<if condition="$post[field9] != ''"><img src="images/MyTeam/nhl/$post[field9].gif" title="$post[field9]" align="center"></if>
<!-- MyTeam Hack by Injektilo - End -->
<!-- MyTeam Hack by Injektilo - Start -->
<if condition="$post[field10] != ''"><img src="images/MyTeam/ncaa/$post[field10].gif" title="$post[field10]" align="center"></if> </strong></div>
<!-- MyTeam Hack by Injektilo - End -->

And these are the results:

Profile Options:
http://img523.imageshack.us/img523/7370/teamoptionsxl0.jpg

Mini Profile:
http://img412.imageshack.us/img412/9800/miniprofilelz1.jpg

Most excellent!