![]() |
|
Thread Tools |
#16
|
||||
|
||||
Look in class_core.php (vB_Session class constructor).
__________________
Former vBulletin.org Staff Member View My Modifications 29 Releases and Counting... Latest Modification: dmActivityStream - vBookie Integration (4.x) Please do not PM me to ask for support - please use the relevant thread or forum. No members have liked this post.
|
#17
|
||||
|
||||
Can I do something like this
Could I do this on an external vB page. <img src="$vB->avatar_of_user.$extension" alt="" border="" /> And its not only if they are logged in, it will always show the avatar of a user pulling from a forum No members have liked this post.
|
#18
|
||||
|
||||
See the fetch_avatar_url() function.
__________________
Former vBulletin.org Staff Member View My Modifications 29 Releases and Counting... Latest Modification: dmActivityStream - vBookie Integration (4.x) Please do not PM me to ask for support - please use the relevant thread or forum. No members have liked this post.
|
#19
|
||||
|
||||
Its not in class_core.php
fetch_avatar_url() Can you please tell me where it is and an example of how to call it?
No members have liked this post.
|
#20
|
||||
|
||||
The reference to class_core.php by me was for putting the avatar in the navbar. I would suggest getting a mass search program to help you find things like this in files.
See the vBulletin API.
__________________
Former vBulletin.org Staff Member View My Modifications 29 Releases and Counting... Latest Modification: dmActivityStream - vBookie Integration (4.x) Please do not PM me to ask for support - please use the relevant thread or forum. No members have liked this post.
|
#21
|
|||
|
|||
Is there a modification that shows the avatars of the people online? Do you do custom work?
No members have liked this post.
|
#22
|
||||
|
||||
No, I don't believe there are any modifications that do this. And no, I am currently not available for custom work.
__________________
Former vBulletin.org Staff Member View My Modifications 29 Releases and Counting... Latest Modification: dmActivityStream - vBookie Integration (4.x) Please do not PM me to ask for support - please use the relevant thread or forum. No members have liked this post.
|
#23
|
||||||||||||||||||||||||
|
||||||||||||||||||||||||
Originally Posted by SLR722
I'm not sure what all the secrets are about? You just need to become familiar with the following bit of code:![]()
This will call a users avatar:
and this is what I use in place of the Avatar in Navbar mod: In navbar template replace:
with this:
In non-vb pages (I use vbPortal) I use this code:
Then just simply assign the noavatar.gif as the default avatar for your usergroups. From then on your users that have not uploaded a custom avatar will be displayd the noavatar.gif Personally I don't use the no avatar image as the default. I created a custom default avatar for each usergroup. As for the plugin for the original Avatar on Navbar mod, I don't even use it. With this bit of code it's simple and not needed. or if you want to call it directly using an http: use this method:
The user must be logged in to the forums and using cookies to work outside of the forum root. If you are using an integrated portal system you should have no issues! Enjoy! No members have liked this post.
|
#24
|
||||
|
||||
Originally Posted by carmichael1973
If avatars are stored in the database only ![]()
![]()
__________________
Former vBulletin.org Staff Member View My Modifications 29 Releases and Counting... Latest Modification: dmActivityStream - vBookie Integration (4.x) Please do not PM me to ask for support - please use the relevant thread or forum. No members have liked this post.
|
#25
|
||||
|
||||
Mine are stored in the file system and it works just fine!
"Attachments are currently being stored in the filesystem at C:\Inetpub\advtech\attachments" No members have liked this post.
|
#26
|
||||
|
||||
Can you explain to me how it does not work here (my avatar using your format), or one of my forums either (here)?
Also see these lines in image.php - they "fetch" the avatar from the database, but "filedata" is empty if avatars are stored in the filesystem.
__________________
Former vBulletin.org Staff Member View My Modifications 29 Releases and Counting... Latest Modification: dmActivityStream - vBookie Integration (4.x) Please do not PM me to ask for support - please use the relevant thread or forum. No members have liked this post.
|
![]() |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Show Avatar Anywhere | dsboyce8624 | vBulletin 3.0 Full Releases | 11 | 06 Jan 2008 00:52 |
Show "No Avatar" Image If No Avatar is Selected | MW[MWGN] | vBulletin 2.x Full Releases | 55 | 16 Sep 2004 02:59 |
«
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 14:51.