![]() |
Avatar on forumdisplay
Avatar on forumdisplay (Compatible All vB3.6) Description: Add avatar to user who have create the thread Installation: Import the plugin Upload image (aucun_avatar.gif) to your style in misc file
Code:
.avatar_forumdisplay {
https://vborg.vbsupport.ru/
Code:
<if condition="$show['gotonewpost']"><a href="showthread.php?$session[sessionurl]goto=newpost&t=$thread[threadid]" id="thread_gotonew_$thread[realthreadid]"><img class="inlineimg" src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[go_to_first_new_post]" border="0" /></a></if>
Code:
$avatar Version 1.1: Add avatar by default (Big thank to Fred for plugin ;)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PS: If you use thie mod, click on Install please :) |
oo thanks :D
installed |
Interesting idea.
I'm going to use this with an if statement for an New Members Introduction Forum ;) That actually doesn't work, why would the source of the image be image.php? |
WOn't work if avatars in saved in the file system I should say. Paths are different. :)
|
Any way to get it to display a default avatar if the user doesn't have one?
|
I think this hack just got a lot more complicated for Allan *lol*
I really like the idea, but you'll have to use the fetchavatarurl function and pass that into a variable that the template can use then then conditional it incase the user doesn't have an avatar or it'll come up with a red x. |
Version 1.1: Add avatar by default (Big thank to Fred for plugin )
|
Sweet. Thanks Allan.
|
Not bad dude, Installed.
|
sorry, I'm sort of new at this. What does this mean and where do I do it?
"Add this class in your style" Code: .avatar_forumdisplay { padding:0px 5px 0px 0px; } |
Would like to know the same...very vague
|
In AdminCP => Styles & Templates => Style Manager => in your style (Main CSS) :
http://img143.imageshack.us/img143/3243/cssxa3.gif At the end, in "Additional CSS Definitions", second bloc (custom css), add that: .avatar_forumdisplay { padding:0px 5px 0px 0px; } |
How i install the mods in "search.php?do=getnew" ???
|
Nice. It's not something I would use at the moment but it's a cool idea.
|
This is a neat addition. Thanks.
Installed. |
I can use this. One thing you need to take a look at is that if a member uses one of the "forum supplied" avatars it will not display anything at all.
|
Quote:
i look forward to the fix then i will run it live on my forums (only installed on test site atm) |
This is such a great addition, I would like to know how can I also make that the last poster's avatar is displayed in the threadbit template.
Please look at this screenshot for explanation, The box No.1 is well taken care of the thread starter's avatar being displayed. Just see next to box no.2 http://img201.imageshack.us/img201/8828/avatar9xe.jpg Basically just follow the blue arrow here.. I hope I was clear on my description. Cheers. |
Does this work if the avatars are stored in the file system?
I'll be watching for the update to use forum stored avatars as well.. |
is there another one that works for 3.5.X?
|
is there a way to make this work in 3.5.4?
|
still no worky for file system
|
Please add the ability to pull avatars from the file system :)
|
This is working great, but can you tell me how i could have the avatar resized to a set size on the threadbit?
Edit: * Spadez Installs :) |
Quote:
|
Awesome, i thought it would be harder than that but i guess not, i can also change:
Quote:
|
Quote:
|
Quote:
|
Test it ^^
|
Quote:
Quote:
|
Great idea! Thanks for sharing, Allan!
Quote:
|
I also would like to see this work with avatars stored in the file system.
This mod is definitely encouraging new thread creation; most of my members have pictures of their faces as their avatars, so I think they like seeing their faces on the threads page! I also made the default image a flower, so I think it's prompting new male members to customize their avatars. The only problem is the lack of avatars from the file system; I have some great custom art made as avatars on my forum, which I'm really proud of. But it looks so weird to have gaps on the threads page that some have switched back to having no avatar instead of getting their picture up. And from the user perspective, it just looks broken. I don't know how difficult it is to call the avatars from the file system, but can we at least have a default image for those people in the meantime? (Personally I'd like it to be a different image from the default image currently in use, so at least they'd stand out from the newbies.) |
Where is this aucun_avatar.gif I am supposed to upload?
|
It wasn't included; I believe you're supposed to use your own file and name it aucun_avatar.gif.
|
No..actually I found the critter. It is that little green bird with the screenshots LOL
|
I've noticed that when members change their avatar the old one is still displayed on forumdisplay. Any way to correct this?
Also, have you seen the Sender Avatar In Private Message List mod? It does almost the same thing except for the private messages list, and works with the filesystem. I thought maybe it would give you some ideas:) |
I will try to get this one in my forum.
|
Is there ANY way I can use this on my forumhome?
I want to display the last poster's avatar and name instead of status icon on the forumhome. I've asked on other forums and it seems noone is able to help me with this issue. It HAS to be possible. If anyone has any ideas please let me know... PLEASE. |
Quote:
Basically will do the same as the original hack but instead displays the last poster and avatar. It's 7:40 am and I'm tired as crap so I didn't make it pretty and didn't even make it a product file. It works with custom avatars, filesystem avatars, and forum stock avatars. If your users do not have an avatar it will display the noavatar.gif that you will need to upload to your misc image directory. I'm not hi-jacking this thread and I am offering 0 support. You just seemed desperate for a modification like this so I thought I'd be nice. I might release it as it's own hack if there's a demand. On a side note, I sent the original author a new copy of his hack which worked with filesystem and db avatars back in May but I guess he opted not to release it *shrug* Anyway xcingix, you can download your own personal mod here Only thing I can think of that may suck for you is if you're using table prefixes, think I forgot to add that to a couple lines in the first query because, well, I'm tired :D |
I want to give the users the possility to choose, maybe they want it or maybe not...
So I added the following code: Code:
<if condition="$post[field9] == Ja">$avatar</if> But it doesn't work... evan if I choose yes. :confused: |
All times are GMT. The time now is 04:59 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|