![]() |
Football Club Crests Next To Username On forum Home WOL
I would like someone "if possible" to creat a modification where people can select there club logo from a usercp and it appears next to their name on the forumhome whos online list.
Like this forum: http://www.totalfootballforums.com/forums/ Thanks in advance. |
Bump :)
|
WOWWWW. I want it too!!!
|
Yes this would be SO GOOD.
Its a pretty simple thing to do also "I think", if only I knew how to code. All you have to have is a folder full of football vrests, and an option in the user profile which has a drop down list "like the user flag hack" so if you selected Middlesbrough then your name would have a tiny crest next to it in the users online. Also a list saying: We have 300 members supporting 87 teams: [club crests here] |
I think it could be possible, i dont know how but also here we have the WOL Whos online plugin that put there firefox, opera, or internet explorer like here: www.mushofutbol.com
|
yeah I've had that installed, but I removed it for the time being. It must be really easy to do but as I know nothing about SQL databases and / or php, I am willing someone will be able to do something.
Just look at how good it looks: http://www.totalfootballforums.com/forums/index.php? With all the football crests next to the username. |
I've just created about 20 joinable usergroups at the moment which can be seen at the bottom of the site with the crest next to their username.
It looks much better, but an option in the usercp would be soooooooo much easier. Such as a drop down list like the flag hack has. Thanks in advance. |
this would be a great mod to have.
|
This is readily available without any third-party modifications simply by utilizing an additional User Profile Field with a single-selection menu.
|
I understand that but how would you be able to add an image to it?
|
I figured out how to add the selection box and use an image but how do you get the image next to the persons username in the who's online box.
|
Gather up some of images of these football clubs.
Upload them to your images/avatars folder. Create a new profile field in your admin panel. Use a single-selection menu and add the names of Make sure the list of options matches the name of the images you got earlier (without the .gif or .jpg bit at the end). Select the Display Page as Options:Other Go to 'User Profile Field Manager' in Admin Panel Find the profile field you made and note its number (i.e. field12) Go to Styles/Templates in the Admin Panel In forumhome_loggedinuser template FIND Code:
$loggedin[musername] Code:
<if condition="$post[field12]"> |
the above code won't work. do everything as said in the above post except the template edit part.
first create a new plugin under the forumhome_loggedinuser hook and add the below code: (thanks Opserty for the tip) Code:
$online_userinfo = fetch_userinfo($loggedin['userid']); now open up the forumhome_loggedinuser template FIND Code:
$loggedin[musername] Code:
<if condition="$online_userinfo[field6]"><img src="images/clubs/$online_userinfo[field6].gif" border="0" /></if> |
I can't get this to work. Its not showing anything!!!
IGNORE My Mistake Was I used the forumdisplay_loggedinuser tamplate instead of forumhome_loggedinuser Thanks |
This just isn't working for me, could really do with some help. Followed the instructions exactly.
Using 3.7.0 I'm using forumhome not forumdisplay.. i've put the right field number in, the image location is fine and working.. i just don't understand why it's not doing it though. Any ideas? |
can these work so they are shown wherever the username is displayed like whos online, member list
|
bump
|
All times are GMT. The time now is 02:07 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|