vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   My Team Hack (https://vborg.vbsupport.ru/showthread.php?t=104599)

Injektilo 01-05-2006 10:00 PM

My Team Hack
 
My Team Hack




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://vborg.vbsupport.ru/

Check the 3 screenshots below:

voleibolmurcia 01-06-2006 06:42 AM

Thanks, i ll install it.

rb290 01-06-2006 06:59 AM

koooolllll!!
thanks

voleibolmurcia 01-06-2006 08:36 AM

Injektilo, where can i find the images for Clubs from Spain, or Italy for example?

Injektilo 01-06-2006 08:43 AM

Quote:

Originally Posted by voleibolmurcia
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 01-06-2006 08:51 AM

Great!

Thank u.

lanc3lot 01-06-2006 09:06 AM

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 01-06-2006 09:12 AM

Quote:

Originally Posted by lanc3lot
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 01-06-2006 09:17 AM

Quote:

Originally Posted by lanc3lot
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 01-06-2006 09:35 AM

Hm, olympiakos yes:D

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

lanc3lot 01-06-2006 09:37 AM

Thnx also for the updates, waiting then:D

OmekaTeam 01-06-2006 11:41 AM

Why can I not see this image?
Thanks.

Injektilo 01-06-2006 11:57 AM

what image?

OmekaTeam 01-06-2006 12:06 PM

Quote:

Originally Posted by Injektilo
what image?

The image under "my team"...thank you.

Injektilo 01-06-2006 12:55 PM

Quote:

Originally Posted by OmekaTeam
The image under "my team"...thank you.

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

brvheart 01-06-2006 12:59 PM

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 01-06-2006 01:07 PM

Quote:

Originally Posted by ravenes
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 01-06-2006 01:08 PM

PM sent ;)

OmekaTeam 01-06-2006 02:35 PM

The key does not work install.Hi

Injektilo 01-06-2006 02:44 PM

Quote:

Originally Posted by OmekaTeam
The key does not work install.Hi

Key? what key

OmekaTeam i dont understand... be more specific please

OmekaTeam 01-06-2006 02:53 PM

Quote:

Originally Posted by Injektilo
Key? what key

OmekaTeam i dont understand... be more specific please

The key intall doesn't work.

Injektilo 01-06-2006 02:56 PM

Quote:

Originally Posted by OmekaTeam
The key intall doesn't work.

sorry i cannot understand what you mean therefore i cant help

Gizmo5h1t3 01-06-2006 03:09 PM

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 01-06-2006 04:01 PM

Great!

/me installs

ForYou 01-06-2006 05:14 PM

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 01-06-2006 06:13 PM

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 01-06-2006 06:35 PM

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 01-06-2006 07:34 PM

Quote:

Originally Posted by nufc fan
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 01-06-2006 07:36 PM

Quote:

Originally Posted by ForYou
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 01-06-2006 07:50 PM

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 01-06-2006 08:01 PM

Quote:

Originally Posted by MojoNixon
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 01-06-2006 08:39 PM

Excellent hack mate can you make a coventry city image please

Injektilo 01-06-2006 10:29 PM

Quote:

Originally Posted by tidy_boy
Excellent hack mate can you make a coventry city image please


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

tidy_boy 01-06-2006 11:14 PM

thanks dude :D

IrPr 01-07-2006 09:59 AM

nice work but guess what ?

u r using below code in postbit-postbit_legacy

HTML Code:

        <!-- 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

HTML Code:

        <!-- 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 01-07-2006 10:10 AM

will there be lower leagues available soon ie the championship,league 1 & 2.

please say yes :)

Injektilo 01-07-2006 11:43 AM

Quote:

Originally Posted by nufc fan
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 01-07-2006 02:35 PM

i've just added Italy teams

Totti 01-07-2006 03:39 PM

would be happy about germany

OmekaTeam 01-07-2006 03:45 PM

Quote:

Originally Posted by Injektilo
i've just added Italy teams

Italian Team error gif.

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


All times are GMT. The time now is 03:53 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.01291 seconds
  • Memory Usage 1,821KB
  • 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
  • (2)bbcode_html_printable
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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