PDA

View Full Version : Forum Home Enhancements - Football Crest Next To Username On Loggen In Users


mcyates
19 Mar 2008, 23:06
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
19 Mar 2008, 23:28
interesting! but we need some url where we can find the team logos ... :)

mcyates
19 Mar 2008, 23:33
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
25 Mar 2008, 19:00
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
21 Apr 2008, 21:33
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
10 May 2008, 13:55
I cant see a Zip fle

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

shame as this is cool

manutdvn
10 May 2008, 18:07
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
11 May 2008, 19:58
Is there a way to show the crests everywhere rather than just in the who's online box?

freebase69
16 May 2008, 05:01
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
16 May 2008, 05:08
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
16 May 2008, 09:35
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
16 May 2008, 23:27
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
18 May 2008, 02:37
EDIT: No problem my damn plugins were globally turned off.

manutdvn
18 May 2008, 06:19
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
03 Jun 2008, 13:09
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
08 Jul 2008, 20:08
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
12 Jul 2008, 03:16
how can i make it so specific group can use certain crest...please help

mcyates
13 Jul 2008, 17:53
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
19 Dec 2008, 12:27
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
19 Dec 2008, 13:57
also do you think i could get this to show up in the profile page as well