The vB Geek

The vB Geek (http://www.thevbgeek.com/index.php)
-   Geek Gazette (http://www.thevbgeek.com/forumdisplay.php?f=56)
-   -   Thread Block - Show Avatar (http://www.thevbgeek.com/showthread.php?t=5157)

abrecher 06-04-2009 05:50 AM

Thread Block - Show Avatar
 
I'm trying to set Show Avatar in ThreadBlock to YES. No matter how many times I save it, it seems to always default to NO ?

henrikhansen 06-07-2009 08:53 PM

I can see you are right. But if page type is set to "Text only" it can be set to yes. It seems to be a bug.

Morgan 06-09-2009 02:51 PM

Hmm, haven't been able to duplicate. Just to be sure I'm doing the same thing, do you mean the Show Avatar yes/no open in the GAZ ACP Modules section?

henrikhansen 06-09-2009 05:17 PM

Yes, the setting below "show views" and above "limit"

Morgan 06-10-2009 10:41 PM

In the GAZ threadblock.php file find the following and add the red bolded bit and see if that fixes it:
Code:

if ($stage == 'persistsettings')
{
        $vbulletin->input->clean_array_gpc('p', array(
                'custom_container'        => TYPE_ARRAY_BOOL,
                'custom_title'                => TYPE_ARRAY_STR,
                'custom_showrating'        => TYPE_ARRAY_BOOL,
                'custom_showpreview'        => TYPE_ARRAY_BOOL,
                'custom_showreplies'        => TYPE_ARRAY_BOOL,
                'custom_showviews'        => TYPE_ARRAY_BOOL,
                'custom_showavatar'        => TYPE_ARRAY_BOOL,



All times are GMT. The time now is 01:57 PM.

Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.