vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=229)
-   -   Forum Home Enhancements - Football Crest Next To Username On Loggen In Users (https://vborg.vbsupport.ru/showthread.php?t=173543)

mcyates 03-18-2008 10:00 PM

Football Crest Next To Username On Loggen In Users
 
This is a great hack which was made possible by sunilvarma & Opserty.

Basically this hack will let your user put a football crest image (or any image you want) next to their username on the current member logged in, on the forum home.

Instructions are in the zip file, screenshot is below.

Thanks again and I hope you enjoy this modification. I can now get rid of the 20+ extra usergroups that I had to create in order to get the crest next to their names!!!

Thanks

What I would Like this to do is to be shown everywhere else, rather than just the whos' online, if anyone can help then please contact me via pm and i'll add your name to the credits!! Thanks

KURTZ 03-19-2008 09:28 PM

interesting! but we need some url where we can find the team logos ... :)

mcyates 03-19-2008 09:33 PM

I have a few here:
www.myfootballforum.com/images/crests/crests.tgz

They are size 18x18 pixels

Its easy to do a google image search for the name of the club your want and just add crest, like middlesbrough crest and you should get a few, save the pic, resize it, upload it :)

IR15H 03-25-2008 05:00 PM

You should change
Code:

<if condition="$online_userinfo[field6]"><img src="images/clubs/$online_userinfo[field6].gif" border="0" /></if>
to;

Code:

<if condition="$online_userinfo[field6]"><img src="images/clubs/$online_userinfo[field6].gif" alt="$online_userinfo[field6]" border="0" /></if>
That way it'll show up the image name when you hover over it, and it'll be XHTML valid :).

technom8t 04-21-2008 07:33 PM

as your intruction say you have named the folder containing the images''crests''

then on this line
Code:

<if condition="$online_userinfo[field6]"><img src="images/clubs/$online_userinfo[field6].gif" border="0" /></if>
change the highlighted ''clubs'' to ''crests'' or whatever you name the folder containing the football icons, if you don't no icon will show

Neilll 05-10-2008 11:55 AM

I cant see a Zip fle

Ive followed the instructions and still cant get the icons to show

shame as this is cool

manutdvn 05-10-2008 04:07 PM

I got this error when I tried to change the "Favourite club".

You have entered an invalid birthday.

Do not know why. Can you guys tell me how to fix this?

Thanks.

daz1967 05-11-2008 05:58 PM

Is there a way to show the crests everywhere rather than just in the who's online box?

freebase69 05-16-2008 03:01 AM

Quote:

Originally Posted by manutdvn (Post 1515048)
I got this error when I tried to change the "Favourite club".

You have entered an invalid birthday.

Do not know why. Can you guys tell me how to fix this?

Thanks.


Sounds like you have required DOB for user registration setup. Try entering in your DOB in your profile to see if that fixes it.

freebase69 05-16-2008 03:08 AM

Quote:

Originally Posted by daz1967 (Post 1516309)
Is there a way to show the crests everywhere rather than just in the who's online box?

You could add them to the postbit as well.

Go to postbit legacy and add:

<div>
<if condition="$post[fieldxx]"><img src="$stylevar[imgdir_clubs]/$post[fieldx].gif" alt="$post[XX]"></if>
</div>

Just throw that in there wherever you want. You could add it after your IM icons or where ever.


All times are GMT. The time now is 09:49 PM.

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.02027 seconds
  • Memory Usage 1,737KB
  • 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
  • (3)bbcode_code_printable
  • (2)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
  • (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