Log in

View Full Version : Avatar on Forumhome?


Blindchild02
10-12-2005, 09:07 PM
is there a way to do this through a template edit?
maybe add something to phpincludes or something.
lil help :D

Chris M
10-12-2005, 09:09 PM
I can't remember 100% but I believe there is something about Avatars in the How-to forum :)

I believe there is a line you can add to config.php allowing you to call a User's Avatar without the need of a query...

Chris

Blindchild02
10-12-2005, 09:32 PM
i need something i can do with templates though, because im working on a design i plan to sell :p

and most people dont wanna have to do file edits u know :p

Chris M
10-12-2005, 09:56 PM
Then the answer is no, not without a plugin or a file edit :)

Chris

Andreas
10-12-2005, 10:26 PM
Either

define('AVATAR_ON_NAVBAR', 1);

in config.php

OR

fetch_userinfo_query

if (THIS_SCRIPT == 'index' AND !$vbulletin->userinfo)
{
$option |= 2;
}

Blindchild02
10-12-2005, 11:17 PM
Either


fetch_userinfo_query
[php]
if (!$vbulletin->userinfo)
{
$option |= 2;
}


whats that?
is that a file edit?

Andreas
10-12-2005, 11:23 PM
No, it is not a file edit.

Chris M
10-12-2005, 11:36 PM
That is a plugin :)

Chris

Blindchild02
10-12-2005, 11:57 PM
lol i just do add plugin, and add that?
then add avatar to forumhome?

Andreas
10-13-2005, 12:01 AM
Basically, yes.
But I think you will also need another Plugin on Hook forumhome_complete to work out if it's a default or custom avatar, and if it's saved in the filesystem or database.

funinthesun
11-10-2005, 01:46 AM
This has been done now, will find th url link to the mod for you or you could do a search :)