![]() |
I created a userfield option where people select there team from a dropdown in the usercp and they then have a crest (little logo) to the right of there name. To get this to work I was told I had to create a plugin but didn't know how, so someone on here done it for me, the plugin is this:
Product: vbulletin hook location: forumhome_loggedinuser title: football crests Plugin PHP Code: $online_userinfo = fetch_userinfo($loggedin['userid']); And of the forumhome_loggedinuser the code for the template is: Code:
<if condition="$show['comma_leader']">, </if>$stylevar[dirmark]<a href="member.php?$session[sessionurl]u=$loggedin[userid]"><if condition="$online_userinfo[field15]"><img src="images/crests/$online_userinfo[field15].gif" border="0" /></if>$loggedin[musername]</a>$loggedin[invisiblemark]$loggedin[buddymark] Code:
<if condition="$online_userinfo[field15]"><img src="images/crests/$online_userinfo[field15].gif" border="0" /></if> Below is the link to my football crests modification: https://vborg.vbsupport.ru/showthrea...ootball+crests Thanks |
How can i add the avatar of the members beside their name? and Is it possible to only display a certain amount of members? e.g. the last 10 members who visited the forum.
|
Installing and running withour problems. Thanks for sharing it with us :D
|
Love it!
One prob for me though.... I have a template issue that I am sure is simple to fix but as I am not a coder, where would I look to fix it please? I really want to use this mod. |
I would guess you need to edit the Display_Visitors template, but its impossible to say from just a screenshot.
|
Yes, I completely agree. Is there anywhere I can paste the code to be looked at?
|
You can post it in a code/html block, but that doesnt mean I'll be able to help you. :)
|
Hi installed the mod working. Was quick and easy thanks and is working fine, thank you.
Is it possible to change or remove the whos_online.gif? It looks a little strange having the same image twice so close together. |
I installed this on my test forum, worked great.
Now trying to install it on my real forum and I'm getting the following error when I import. When I browse to the file, and then click on upload I get the following. No file uploaded and no local file found. any ideas? |
I have had this mod installed for a little while and just noticed that my count is off.
Notice it says the most visitors online in one day was 19 'today' and today just started as it is about 0700 and have had only 3-visitors so far. I am running 3.7.2 and have had this installed since 3.7.0 Is there any other area that I should have upgraded or looked at? Not sure what is wrong Thanks Jill |
All times are GMT. The time now is 11:56 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:
|