TinyPortal

Development => Resources => Topic started by: Dredd on December 23, 2010, 09:29:08 AM

Title: Notice: Undefined index: show_download
Post by: Dredd on December 23, 2010, 09:29:08 AM
problem with ajax chat and tp

Link to my site: http://www.pigeons-bg.com
SMF version: SMF 2.0 RC4
TP version: 1.0 RC1
Default Forum Language: Bulgarian-utf8
Theme name and version: Twitter Color
Browser Name and Version: Opera 11
Mods installed: AjaxChat Integration,Highslide 4 SMF,TinyPortal,2-SI Chat
Related Error messages: Notice: Undefined index: show_download in /home/tpetrov/public_html/Sources/TPSubs.php on line 201
Title: Re: Notice: Undefined index: show_download
Post by: Dredd on December 23, 2010, 11:32:02 AM
solved
i disable thes line in TPSubs.php

// if($context['TPortal']['show_download']==1)
// $buts['downloads'] = array(
// 'title' => $txt['tp-downloads'],
// 'href' => $scripturl . '?action=tpmod;dl',
// 'show' => true,
// 'active_button' => false,
// 'sub_buttons' => array(
// ),
// );
Title: Re: Notice: Undefined index: show_download
Post by: Lesmond on December 23, 2010, 11:48:38 AM
Glad you got it sorted Dredd. will mark has solved.
Title: Re: Notice: Undefined index: show_download
Post by: IchBin on December 23, 2010, 05:56:43 PM
Dredd, did you have the downloads manager disabled? Or were you just getting this error regardless of it being on or off?
Title: Re: Notice: Undefined index: show_download
Post by: Dredd on December 28, 2010, 08:59:55 AM
download manager is disabled.