![]() |
|
Thread Tools |
#1
|
||||
|
||||
![]()
Hello,
I just came across this site called Kunena which is apparently a new forum program designed to "fit Joomla like a glove". Anyway, I was looking through it and I love how they have set the member's avatar to display in their "Last Post" area. At least in what we would call the forumdisplay page anyway: http://www.kunena.com/forum?func=showcat&catid=76 I'm more interested in knowing how to make the member's avatar appear next to their last post they made to a thread with vB. Although overall it doesn't look too shabby. Thank you for reading, -TT No members have liked this post.
|
#2
|
||||
|
||||
I'm not gonna write the code, but I'll give you tip for doing it yourself. There is no reason you can't get the avatar to display since you already have the userid (look in the API (under Quick Links) for any function dealing with "avatar"). He's using a class to set the width of the avatar to 40.
__________________
Former vBulletin.org Staff Member
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before. W3Schools - Online vBulletin Manual If I post some CSS and don't say where it goes, put it in the additional.css template. I will NOT help via PM (you will be directed to post in the forums for help.) No members have liked this post.
|
#3
|
|||
|
|||
I think i have see this mod here in vbulletin.org.. but i do not remember very well where.
No members have liked this post.
|
#4
|
||||
|
||||
Originally Posted by Lynne
Thanks Lynne, I'll give it a go here in a bit. ![]()
![]() //edit -- Didn't find anything that would help me with this in the API, Lynne. That board is not a vBulletin board btw. Is there even a way to change the appearance of last post in the forumdisplay separate from how it's displayed on forumhome? My apologies, but coding isn't my strength at all. No members have liked this post.
Last edited by Theater; 21 May 2009 at 20:16. |
#5
|
||||
|
||||
$userinfo[avatarid] should hold the user avatar id.
$avatar[avatarpath] should hold image path. you'll need to add plugin that will query for the info, and then assign it to some var, and place the var into the template. I would place the code into the "forumbit_display" hook. Also, check this link: http://www.vbulletin.com/forum/showthread.php?t=197582 might help you with your coding. No members have liked this post.
|
#6
|
||||
|
||||
I wasn't able to figure it out, but thank you for the tips!
No members have liked this post.
|
#7
|
||||
|
||||
if you can't get it to work lemme know, if i'll have time i'll try to code it for you.
No members have liked this post.
|
#8
|
||||
|
||||
I'm afraid I couldn't still get it figured out. If anyone else wants to take a crack at this it would be most appreciated. I couldn't separate how the forumhome and forumdisplay last post appeared. See here:
http://www.kunena.com/forum?func=showcat&catid=76 Thank you for reading, -TT No members have liked this post.
|
#9
|
||||
|
||||
worked on it for last 2 hours (mostly on the time display algo thingy).
This should be ready & after testing in next couple of minutes. atm checking to see everything works way it should. i'll release it on 3.8.2 mod section during next hour or so. --------------- Added 29 May 2009 at 12:39 --------------- work finished ![]() grab it from here: http://www.vbulletin.org/forum/showthread.php?t=214832 Dont forget to click install. No members have liked this post.
Last edited by IdanB; 29 May 2009 at 12:39. Reason: Auto-Merged DoublePost |
![]() |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 04:07.