TinyPortal

Development => Support => Topic started by: Thor{DoH} on February 19, 2009, 08:43:27 PM

Title: Missing Linktree in Articles
Post by: Thor{DoH} on February 19, 2009, 08:43:27 PM
Link to my site: http://destroyersofhope.com
SMF version: 1.1.8
TP version: 1.075
Theme name and version: WAR - Destruction (self-made theme)
Mods installed:
1.     SMF Gallery Lite      1.9.4      
2.    Karma Description Mod    2.3.1    
3.    SMF 1.0.14 / 1.1.6 Update    1.0    
4.    Order Stickied Topics    1.01    
5.    SMF 1.0.14 / 1.1.6 Update    1.0    
6.    TinyPortal    1.075    
7.    SMF 1.0.16 / 1.1.8 Update    1.0    
8.    SMF 1.0.13 / 1.1.5 / 2.0 b3.1 Update    1.0    
9.    SMF 1.0.15 / 1.1.7 Update    1.0    
10.    Karma Buttons    1.1    
11.    Member Awards    1.0.2    
12.    Custom Profile Field Mod    3.19    
13.    Users Online Today Mod    1.4.0    
14.    Aeva ~ Auto-Embed Video & Audio    5.2.56    

Related Error messages: No error message

I can't seem to get the linktree to show up in my articles. I have it turned on for each of my articles but it won't show up. I had tried turning it off and then on but it didn't matter. I turned "Enable inline links" for my theme off and on with no effect. I have the same problem in the default theme, not just my custom one. The linktree does show everywhere else it's supposed to, just not on articles.

I did find this in Tportal.template.php:

if((isset($context['TPortal']['boardnews'][0]['options']['linktree']) && $context['TPortal']['front_type']!='frontblock'))
echo '
<div style="margin-bottom: 4px;">', theme_linktree() , '</div>';


And if I comment out the 'if' statement so it's just echoing then it shows up on articles, as you'd expect with no conditional, my point being it doesn't appear theme dependent since that's the stock Tportal.template.php file in the default theme.
Title: Re: Missing Linktree in Articles
Post by: ZarPrime on February 19, 2009, 10:15:32 PM
Thor,

First of all, welcome to Tinyortal.

Secondly, we can probably help you with the problem you are having but we have a rule here at TinyPortal.  We can not help anyone who has removed a copyright and installed one of their own. 

You are using one of Fussilet's themes on your site that you have claimed as your own.  You can not just remove his copyright and claim the theme as your own.  You may put something in there that the theme was modified "By Connor & Thor" but you must also leave the copyright of the original theme's author there as well.

Once you have made this change, please come back and let us know and we can attempt to help you.

ZarPrime
Title: Re: Missing Linktree in Articles
Post by: Thor{DoH} on February 20, 2009, 02:55:46 PM
Copyright is now fixed.
Title: Re: Missing Linktree in Articles
Post by: IchBin on February 20, 2009, 03:09:03 PM
Can you show a screen shot of your articles settings and category settings please?
Title: Re: Missing Linktree in Articles
Post by: Thor{DoH} on February 20, 2009, 03:16:56 PM
Here you go.
Title: Re: Missing Linktree in Articles
Post by: IchBin on February 20, 2009, 03:58:22 PM
Yeah, looks like its not working right. If you'd like, you can put a bug in the bugtracker. If not, I'll add it.
Title: Re: Missing Linktree in Articles
Post by: Thor{DoH} on February 20, 2009, 05:26:52 PM
I have reported the bug.
Title: Re: Missing Linktree in Articles
Post by: Xarcell on February 21, 2009, 12:12:01 AM
Thanks Thor{DoH}
Title: Re: Missing Linktree in Articles
Post by: bloc on March 04, 2009, 11:58:09 AM
- Showing linktree option for articles fetched wrong variable. Fixed for v1.0 beta4.