![]() |
on the forums page, like on this site, I would like the section at the top with the avatar, which Says " >> Welcome Back $username"
How can this be done ?? thank you |
???
|
Welcome back, $username
! If you now how to use variables, it shouldnt be to hard... |
Use $bbuserinfo[username] to display the username of the viewer in any template you wish.
|
dear FireFly
it's didn't work with me :( |
i dont want only the username, I want it all , avatar etc, liek on this site :p
u can tell me if you dont wanna share this hack :p |
yes ..
I want that also |
FireFly ?? :)
|
Sorry, it involves lots of templates and new code to index.php, I can't really release it.
But if you look at the releases forum, you'll see a "Since your last visit" hack, that does the "There have been xx new posts and xx new threads since your last visit", and if you search a bit you'll find the code for the avatar thing. :) |
damn, i was really looking forward to that ! Looks great on this forum.
not a problem though, thanks for responding |
I've searched more than a bit, but I can't find the "avatar thing". I'm not trying to make my site like like this one, but I would like the users's avatar up top with their name.
I've tried several different options - adding this to forum_welcometext: PHP Code:
Can anyone show me the light? |
Firefly,
I finally found the post you were referring to, or at least I think it is - the one where you add the info to index.php for avatarurl, and give alternate images for no avatar and guest users? (I am at work now, so I can't find it). Anyway, I did that, and here's the weird thing - it does show the image, but only the "No avatar" one. For some reason, even when entering the "avatar.php etc etc" directly for the image link, it does not pull up the avatar. It just shows no image. In the case of using the $avatarurl in the image tag, it apparently can't look up my avatar and goes to the default one. You can see what I mean at my site below. Any ideas? |
ixian,
I should have mentioned that my code only works for users with custom avatars, like we have set up here. Making it support regular avatars will be a bit different. If you want it so bad, I'll do it...? |
Yikes!
Darn. I was hoping I could just take the same code that makes the avatars appear in posts and move it to the front page. Could you give me an idea of what's different? |
All times are GMT. The time now is 05:03 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:
|