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

Support for IntegraMOD 141

Moderator: Integra Moderator

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

PostAuthor: mRvMan » Mon Jun 11, 2007 11:26 am

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...
Last edited by mRvMan on Thu Jun 14, 2007 4:48 am, edited 1 time in total.
User avatar
mRvMan
Newbie
Newbie
 
Posts: 14
Likes: 0 post
Liked in: 0 post
Joined: Fri Jun 09, 2006 5:27 pm
Cash on hand: 0.00

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

PostAuthor: Teelk » Wed Jun 13, 2007 9:21 pm

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.
Last edited by Teelk on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 5:25 pm
Cash on hand: 0.00
Location: Canada

PostAuthor: mRvMan » Thu Jun 14, 2007 4:47 am

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...
Last edited by mRvMan on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
mRvMan
Newbie
Newbie
 
Posts: 14
Likes: 0 post
Liked in: 0 post
Joined: Fri Jun 09, 2006 5:27 pm
Cash on hand: 0.00

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

PostAuthor: Helter » Thu Jun 14, 2007 6:08 am

[code]<DOCTYPE><html><head><meta http-equiv="Refresh" content="30;url=http]
Last edited by Helter on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Always use Protection
Image


Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4168
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Mar 11, 2006 3:46 pm
Cash on hand: 187.60
Location: Seattle Wa
IntegraMOD version: IM 3

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

PostAuthor: Teelk » Thu Jun 14, 2007 12:10 pm

Ah, so it only requires the files and no edits, so adding the .tpl file will fix it then?
Last edited by Teelk on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 5:25 pm
Cash on hand: 0.00
Location: Canada

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

PostAuthor: Helter » Thu Jun 14, 2007 5:42 pm

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
Attachments
desktopmod.zip
(9.12 KiB) Downloaded 188 times
Last edited by Helter on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Always use Protection
Image


Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4168
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Mar 11, 2006 3:46 pm
Cash on hand: 187.60
Location: Seattle Wa
IntegraMOD version: IM 3


Return to IntegraMOD 141

Who is online

Registered users: Bing [Bot], Google [Bot]