Page 1 of 1

Desktop.php and desktop.tpl - are they no more?

PostPosted: Mon Jun 11, 2007 12:26 pm
Author: mRvMan
I noticed that in 1.41 there is still a desktop.php file, but there is no desktop.tpl file.

Is this a redundant left-over file (desktop.php) or did the desktop.tpl in turn go missing?

Thanks...

Re: Desktop.php and desktop.tpl - are they no more?

PostPosted: Wed Jun 13, 2007 10:21 pm
Author: Teelk
The Desktop MOD was never fully installed in 1.4.0, and I'm not sure why since I didn't work on that project. So to answer your question, yes it is sort of left over, although never fully installed.

PostPosted: Thu Jun 14, 2007 5:47 am
Author: mRvMan
Ah, ok.
From what I recall of that mod, it was basically a scrolling window residing on one's desktop displaying the latest posts and whatnot.

Maybe I'll try creating a TPL file for it, sort of a learning project...

Re: Desktop.php and desktop.tpl - are they no more?

PostPosted: Thu Jun 14, 2007 7:08 am
Author: Helter
[code]<DOCTYPE><html><head><meta http-equiv="Refresh" content="30;url=http]

Re: Desktop.php and desktop.tpl - are they no more?

PostPosted: Thu Jun 14, 2007 1:10 pm
Author: Teelk
Ah, so it only requires the files and no edits, so adding the .tpl file will fix it then?

Re: Desktop.php and desktop.tpl - are they no more?

PostPosted: Thu Jun 14, 2007 6:42 pm
Author: Helter
still needs a little work.
it would be nicer to make it a js. window, add PM notification, and topics since, or new topics
currently looks like [url=http]this[/url]

I added the language files to lang_main so they are more easily translated.
I made it pull template info trom the overall header
I included a meta refresh so that you do not need to edit the tpl with your url info

open language/lang_english/lang_main.php

find

//
// That's all, Folks!
//

before, add

$lang['Logged_in_title'] = 'Status: %s';
$lang['Logged_in'] = 'Logged In';
$lang['Logged_out'] = 'Logged Out';
$lang['Logged_in_explain'] = 'You are currently logged in as <b>%s</b>.';
$lang['Logged_out_explain'] = 'You are currently logged out, click %shere%s to login.';
$lang['RECENT_TOPICS'] = 'Recent Topics';


upload attached files