The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#21
|
|||
|
|||
Is there a modification that shows the avatars of the people online? Do you do custom work?
|
#22
|
||||
|
||||
No, I don't believe there are any modifications that do this. And no, I am currently not available for custom work.
|
#23
|
||||
|
||||
Quote:
This will call a users avatar: Code:
<img src="$vboptions[bbdir]/image.php?u=$bbuserinfo[userid]" alt="Your avatar" border="0" /> In navbar template replace: Code:
<table cellpadding="0" cellspacing="0" align="left" style="margin-top:5px;"> <tr> <td><a href="profile.php?$session[sessionurl]do=editavatar"><img src="$navbar_ava[0]" alt="Your avatar" border="0" /></a> </td> Code:
<table cellpadding="0" cellspacing="0" align="left" style="margin-top:5px;"> <tr> <td><a href="$vboptions[bbdir]/profile.php?$session[sessionurl]do=editavatar"><img src="$vboptions[bbdir]/image.php?u=$bbuserinfo[userid]" alt="Your avatar" border="0" /></a> </td> Code:
<table cellpadding="0" cellspacing="0" align="left" style="margin-top:5px;"> <tr> <td><a href="$vbpoptions[bbdir]/profile.php?$session[sessionurl]do=editavatar"><img src="$vbpoptions[bbdir]/image.php?u=$bbuserinfo[userid]" alt="Your avatar" border="0" /></a> </td> 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: Code:
<table cellpadding="0" cellspacing="0" align="left" style="margin-top:5px;"> <tr> <td><a href="http://www.yourwebsite/pathtoforums/profile.php?$session[sessionurl]do=editavatar"><img src="http://www.yourwebsite/pathtoforums/image.php?u=$bbuserinfo[userid]" alt="Your avatar" border="0" /></a> </td> Enjoy! |
#24
|
||||
|
||||
If avatars are stored in the database only .
|
#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" |
#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. PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|