Complete: Galena mt001 (5.0 ready)

Posted by mt 
Re: Galena mt001
December 14, 2004 12:02PM
$PHORUM['locale']="EN";

Sergej

------------------------------------------
^AU^ Assassins United
[www.assassinsunited.com]
------------------------------------------
Re: Galena mt001
December 14, 2004 12:06PM
No, the line you added.


Thomas Seifert
mt
Re: Galena mt001
December 14, 2004 04:54PM
Sergej Wrote:
-------------------------------------------------------
> Parse error: parse error, unexpected
> T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or
> T_VARIABLE or T_NUM_STRING in
> /home/public_html/phorum/include/lang/english.php
> on line 15

I'm 99% sure that you did error after line 10 as a consequence of the $PHORUM['short_date_only']

My lines from 10 to 16


10 $PHORUM['short_date']="%D %I:%M%p";
11 $PHORUM['short_date_only']="%D";
12
13// locale setting for localized times/dates
14// see that page: [www.w3.org]
15// for the needed string
16$PHORUM['locale']="EN";

regards
mt
Re: Galena mt001
December 19, 2004 08:41PM
This layout looks really nice, it should be the phorum default layout :P
I'll try to implement this when I next get some spare time. I definitely prefer the user details to sit on the left hand side rather than at the top of the post, because it provides a nice place for avatars to sit without taking up any vertical height of the post.

But why do we need to add code to the lang file?
Won't this code get lost in an upgrade?




Edited 1 time(s). Last edit at 12/20/2004 02:22AM by Trakman.
Re: Galena mt001
December 19, 2004 08:47PM
Sergej, I think ts77 means you need to uncomment or 'show' the line in english.php - i.e. remove the "//" from the start of it.
mt
Re: Galena mt001
December 20, 2004 02:47AM
Trakman Wrote:
-------------------------------------------------------
> This layout looks really nice, it should be the
> phorum default layout :P

Thanks, but I don't want to be the creator of a default template, because of that, it has to be perfect and up to date ;-)



> I'll try to implement this when I next get some
> spare time.

And then I like to see a link to it.



> But why do we need to add code to the lang file?
> Won't this code get lost in an upgrade?

The problem was/is, that if you use the default date format of the english.php, then you will get this value
01/01/70 01:33AM
And I'm sure, nobody is interested in the read view, on which minute the user is registered.

I guess anyway it's a good idea to have a date_only format in the language file for other uses.

regards
mt
Re: Galena mt001
December 20, 2004 09:00PM
oh yeah, Sergej was totally right, this doesn't work!!

Parse error: parse error, unexpected T_VARIABLE in /usr/local/www/data-dist/phorum/include/lang/english.php on line 16

line 16 = $PHORUM['locale']="EN";

URL: [www.onlinemixes.co.nz]

breaks when you go to:
http://www.onlinemixes.co.nz/phorum/index.php



Edited 2 time(s). Last edit at 12/20/2004 10:22PM by Trakman.
Re: Galena mt001
December 20, 2004 09:37PM
the username box needs to be wider because "date registered" is wrapping - or maybe I can rename that field to just "registered" to make it fit.

The grey box above the subject body has an extra blank line above and below the subject name & date how can I remove these lines?

I removed the mail images legend, that sits in the footer. You should make the images on each row a hyperlink to the legend!

"Posted by: trakman" under the subject is not needed on the left hand side as it's already on the right hand side and if you are logged in it makes the row too fat.

implement these changes and i'll be happy :)



Edited 1 time(s). Last edit at 12/20/2004 10:55PM by Trakman.
Re: Galena mt001
December 21, 2004 02:34AM
Quote


oh yeah, Sergej was totally right, this doesn't work!!

Parse error: parse error, unexpected T_VARIABLE in /usr/local/www/data-dist/phorum/include/lang/english.php on line 16

damned, post the line BEFORE, the line you inserted not the old line 16.


Thomas Seifert
Re: Galena mt001
December 21, 2004 03:10AM
<?php

$language="English (American)";
// uncomment this to hide this language from the user-select-box
//$language_hide=1;

// check the php-docs for the syntax of these entries (http://www.php.net/manual/en/function.strftime.php)
// One tip, don't use T for showing the time zone as users can change their time zone.
$PHORUM['long_date']="%B %e, %Y %I:%M%p";
$PHORUM['short_date']="%D %I:%M%p";
$PHORUM['short_date_only']="%D";

// locale setting for localized times/dates
// see that page: [www.w3.org]
// for the needed string
$PHORUM['locale']="EN";
Your IP address, domain or ISP has been blocked. Please contact the forum administrators.
Sorry, only registered users may post in this forum.

Click here to login