Link to my site: http://ApplianceJunk.com
SMF version: SMF 1.1.4
TP version: TinyPortal v0.9.8
Theme name and version: Dilber MC
Mods installed:
1. SMF 1.1.2 Update Package 1.1.2
2. SMF 1.0.11 / 1.1.3 Update 1.1
3. Ad Managment 2.3
4. Streaming 3 4.2.2b
5. nwsw.nwswAdminAttachAnything 1.1 RC3
6. SMF Sitemap 1.2.1
7. Users Online Today Mod 1.4.0
8. SMF Arcade 2.0.11
9. URL Popup 1.0
10. SMF Trader System 1.1
11. SMF Classifieds Recent Classifieds Board Index 1.0
12. TinyPortal 0.983
13. SMF Gallery Pro 1.3beta3
14. SMF Gallery Pro Upgrade 1.3
15. SMF 1.0.12 / 1.1.4 / 2.0 b1.1 Update 1.0
16. Internal Links Use Same Window 1.1
17. SMF Classifieds 1.1
18. Social Bookmarks 1.1
19. SSI Topic and Replies 0.1
20. SMFBlog 0.1 Beta
21. Treasury 2.04
22. Topic description 1.1
23. Auto Embed Video Clips 1.9
Related Error messages: No Error Messages.
As showen in the two attachments below the last line in my user info block is not showing up when I'm on the download page.
This only seem to happen when a user is logged in and looking at the download page.
http://appliancejunk.com/forums/index.php?action=tpmod;dl (http://appliancejunk.com/forums/index.php?action=tpmod;dl)
Can you give me some idea were to start looking and what to look for?
Thanks,
AJ
You modified that block?
I would guess it's something I did when I modified it then.
Here is that part of the code.
if(isset($context['TPortal']['userbox']['unread'])){
echo '<br />'.$bullet.'<a href="', $scripturl, '?action=profile;u='.$context['user']['id'].';sa=showPosts">'.$txt['tp-showownposts'].'</a>
<br />'.$bullet.'<a href="', $scripturl, '?action=unreadreplies">'.$txt['tp-replies'].'</a>
<br />'.$bullet.'<a href="', $scripturl, '?action=unread;all;start=0">' .$txt['tp-unread'].'</a>';
}See anything obvious?
Thanks,
Edited to add...
This is what I have in Themes\default\languages\TPortal.english.php
Quote// for userbox block
$txt['tp-pm']='Messages:';
$txt['tp-pm2']='New: ';
$txt['tp-unread']='Unread topics & post';
$txt['tp-replies']='Show unread replies';
$txt['tp_unapproved_members']='Unapproved: ';
$txt['tp_maintenace'] = 'Maintenance Mode';
$txt['tp-loggedintime'] = 'Total Logged In:';
$txt['tp-writearticle']= 'Submit an article!';
$txt['tp-editarticles']= 'Edit articles';
$txt['tp-editarticle']= 'Edit article';
What is probably happening is that tp-unread is also declared in the downloads. Check the langauage files. I think there's a language file for the download section. Make sure you make the same change you have done in the TPortal.english.php if its there.
Quote from: IchBinâ,,¢ on February 06, 2008, 04:01:57 PM
What is probably happening is that tp-unread is also declared in the downloads. Check the langauage files. I think there's a language file for the download section. Make sure you make the same change you have done in the TPortal.english.php if its there.
That is what I was thinking last night as I search through a number of english.php files to see if I could find the same $txt['tp-unread']= but I could not find anything.
I dont' really see a file that has a name that would indicate it was for the download section. Maybe I just am not looking in the right place yet.
I think it may be in the TPortalAdmin.english file. See if that has an effect on it.
Quote from: IchBinâ,,¢ on February 06, 2008, 04:49:53 PM
I think it may be in the TPortalAdmin.english file. See if that has an effect on it.
Thats were it was.
The one I have not looked at, lol...
line 404
$txt['tp-unread'] = 'Unread';
Changed it, looks good now.
Thank you,
:up: Glad I could help. :)
Why in the world would that be in two different .english files?
Does it even need to be in the TPortalAdmin.english file?
Just wondering how it all works..
Well, because that would mean TP would have to require more language files than it needs to. Right now each language file is called when its needed. If only the admin language file is needed, then there's no need to use the regular template language file in the admin section. Just a way to save a bit of page loading.