View Full Version : Forum Home Enhancements - Football Crest Next To Username On Loggen In Users
mcyates
03-18-2008, 10:00 PM
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 <if condition="$online_userinfo[field6]"><img src="images/clubs/$online_userinfo[field6].gif" border="0" /></if>
to;
<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 <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
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
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.
Ben E Lou
05-16-2008, 07:35 AM
I'm running a sim (American) football league. I'd love to just get rid of the user names of logged in owners, and just show the logos. How can I do that?
Also, is there a way to use this with the Members Who Have Visited Today hack?
Have a look at the forum here to see what I mean: http://www.gstelmack.com/woof/forum/
basilrath
05-16-2008, 09:27 PM
Is there a way to show the crests everywhere rather than just in the who's online box?
yes just use the flag system and create your own user crests then add them into the postbit coding and user profile feild ..............pretty simple
Jibba Jabbas
05-18-2008, 12:37 AM
EDIT: No problem my damn plugins were globally turned off.
manutdvn
05-18-2008, 04:19 AM
Sounds like you have required DOB for user registration setup. Try entering in your DOB in your profile to see if that fixes it.
Thank you. It was fixed ^^. Marked install.
Watson
06-03-2008, 11:09 AM
Hi, Is there anyway to make this only per usergroup. I only really want this for my members who post alot, and use our sports section.
Cheers
Watson
honcho
07-08-2008, 06:08 PM
installed m8 nice one dont suppose you have a aberdeen crest thats 18x18 lol
would also like to know if it could be user restricted anah
mystic10
07-12-2008, 01:16 AM
how can i make it so specific group can use certain crest...please help
mcyates
07-13-2008, 03:53 PM
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.
that doesn't seem to work.
honcho
12-19-2008, 10:27 AM
anyone got a idea why its only working on one of my skins and not the rest of em
as ive changed them all andits only displays on 1 of em
honcho
12-19-2008, 11:57 AM
also do you think i could get this to show up in the profile page as well
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.