Home Private Messages Search
CPG Dragonfly™ CMS stopsoftwarepatents.eu petition banner
Toggle Content
 
Forums ⇒ Languages and alternative language support ⇒ i18n - l10n (languages) :: Archives ⇒ News article header :: Archived


News article header :: Archived
Want a language pack or convertor? Have feedback on either of these? Are you a developer of one of these? Here is the place to post. Read the announcements here first!
Go to page 1, 2  Next
Post new topic    Revive this topic    Printer Friendly Page     Forum Index ⇒  i18n - l10n (languages)

Topic Archived View previous topic :: View next topic  
Author Message
Aikon
Newbie
Newbie

Offline Offline
Joined: Jul 25, 2004
Posts: 31
Location: România
PostPosted: Wed Nov 24, 2004 10:44 am
Post subject: News article header

The time in header of any news article it doesn't showing right in my language [romanian].
The Article Title is looking right but the "Posted by XXXX on date @ timezone" is not UTF-8 encoded. ["Posted on" is ok]

Somehow the variable $time from my theme [/themes/my_theme/theme.php] is not UTF-8 encoded).

I tried with another theme (CPGNuke) and got the same problem.

What file should I edit?


Aikon's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Unix/Apache 1.3.31/MySQL 4.0.22/PHP 4.3.9./CPG Nuke82b
Back to top
View user's profile
Aikon
Newbie
Newbie

Offline Offline
Joined: Jul 25, 2004
Posts: 31
Location: România
PostPosted: Mon Nov 29, 2004 4:56 pm
Post subject: Re: News article header

Somebody????


Aikon's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Unix/Apache 1.3.31/MySQL 4.0.22/PHP 4.3.9./CPG Nuke82b
Back to top
View user's profile
Phoenix
• Many Posts •
• Many Posts •

Offline Offline
Joined: Apr 19, 2004
Posts: 8799
Location: Netizen
PostPosted: Mon Nov 29, 2004 5:26 pm
Post subject: Re: News article header

We do not support phpnuke sites, which is what shows as your WWW.

_________________
DonationsPro for DragonflyCMS, SMF, MyBB, vBulletin

Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website Photo Gallery
Aikon
Newbie
Newbie

Offline Offline
Joined: Jul 25, 2004
Posts: 31
Location: România
PostPosted: Mon Nov 29, 2004 5:37 pm
Post subject: Re: News article header

Quote::
We do not support phpnuke sites

I know that. You and cpgnuke team said numerous time.

It's not about that site [from my personal profile].

It's about this site----> www.energ.7x.ro


Aikon's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Unix/Apache 1.3.31/MySQL 4.0.22/PHP 4.3.9./CPG Nuke82b
Back to top
View user's profile
Phoenix
• Many Posts •
• Many Posts •

Offline Offline
Joined: Apr 19, 2004
Posts: 8799
Location: Netizen
PostPosted: Mon Nov 29, 2004 5:40 pm
Post subject: Re: News article header

okay, lets take article 2 - what should it look like?

_________________
DonationsPro for DragonflyCMS, SMF, MyBB, vBulletin

Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website Photo Gallery
Aikon
Newbie
Newbie

Offline Offline
Joined: Jul 25, 2004
Posts: 31
Location: România
PostPosted: Mon Nov 29, 2004 5:49 pm
Post subject: Re: News article header

That was a quick reply!

Instead of
Quote::
Publicat de Energ la SîmbÃtÃ, 27 Noiembrie 2004 (05:02:25) EST (4 citiri)

should look like this

Quote::
Publicat de Energ la Sâmbătă, 27 Noiembrie 2004 (05:02:25) EST (4 citiri)

Or instead ----þ------ must be------ţ----- and so on.


Aikon's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Unix/Apache 1.3.31/MySQL 4.0.22/PHP 4.3.9./CPG Nuke82b
Back to top
View user's profile
Phoenix
• Many Posts •
• Many Posts •

Offline Offline
Joined: Apr 19, 2004
Posts: 8799
Location: Netizen
PostPosted: Mon Nov 29, 2004 5:52 pm
Post subject: Re: News article header

does it appear okay with theme cpgnuke?

if okay in cpgnuke theme, problem is your theme - if not, we look further.

_________________
DonationsPro for DragonflyCMS, SMF, MyBB, vBulletin

Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website Photo Gallery
Aikon
Newbie
Newbie

Offline Offline
Joined: Jul 25, 2004
Posts: 31
Location: România
PostPosted: Mon Nov 29, 2004 5:57 pm
Post subject: Re: News article header

Check my first post.


I 'd remember something just right now. When I posted [accepted these news, from first page] multilingual feature wasn't activated.
Is this relevant?

This is the only place [module, block, addon, etc.] in site where occurs [where the name of the day isn't showing right].


Aikon's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Unix/Apache 1.3.31/MySQL 4.0.22/PHP 4.3.9./CPG Nuke82b
Back to top
View user's profile
Phoenix
• Many Posts •
• Many Posts •

Offline Offline
Joined: Apr 19, 2004
Posts: 8799
Location: Netizen
PostPosted: Mon Nov 29, 2004 6:00 pm
Post subject: Re: News article header

oops, stupid me - look in mainfile.php, about line 826, try changing

return utf8_encode($datetime);
to
return $datetime;


Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website Photo Gallery
Aikon
Newbie
Newbie

Offline Offline
Joined: Jul 25, 2004
Posts: 31
Location: România
PostPosted: Mon Nov 29, 2004 6:05 pm
Post subject: Re: News article header

Now look what I get----->http://www.energ.7x.ro


Aikon's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Unix/Apache 1.3.31/MySQL 4.0.22/PHP 4.3.9./CPG Nuke82b
Back to top
View user's profile
Phoenix
• Many Posts •
• Many Posts •

Offline Offline
Joined: Apr 19, 2004
Posts: 8799
Location: Netizen
PostPosted: Mon Nov 29, 2004 6:18 pm
Post subject: Re: News article header

okay, good, so the encoding is working - restore mainfile.

I'm not sure why it's not quite correct, except that maybe your database is not handling it when saved - you don't have any server specs, like MySQL version.

_________________
DonationsPro for DragonflyCMS, SMF, MyBB, vBulletin

Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website Photo Gallery
Aikon
Newbie
Newbie

Offline Offline
Joined: Jul 25, 2004
Posts: 31
Location: România
PostPosted: Mon Nov 29, 2004 6:24 pm
Post subject: Re: News article header

MySQL 4.0.22, Apache 1.3.31 (running on Unix), PHP version 4.3.9.


Aikon's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Unix/Apache 1.3.31/MySQL 4.0.22/PHP 4.3.9./CPG Nuke82b
Back to top
View user's profile
Phoenix
• Many Posts •
• Many Posts •

Offline Offline
Joined: Apr 19, 2004
Posts: 8799
Location: Netizen
PostPosted: Mon Nov 29, 2004 6:27 pm
Post subject: Re: News article header

okay, how about checking/editing the raw entry in the database?

never mind, dumb idea.


Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)


Last edited by Phoenix on Mon Nov 29, 2004 6:31 pm; edited 1 time in total
Back to top
View user's profile Visit poster's website Photo Gallery
Aikon
Newbie
Newbie

Offline Offline
Joined: Jul 25, 2004
Posts: 31
Location: România
PostPosted: Mon Nov 29, 2004 6:29 pm
Post subject: Re: News article header

This is what I'm doing right now.


Aikon's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Unix/Apache 1.3.31/MySQL 4.0.22/PHP 4.3.9./CPG Nuke82b
Back to top
View user's profile
Aikon
Newbie
Newbie

Offline Offline
Joined: Jul 25, 2004
Posts: 31
Location: România
PostPosted: Mon Nov 29, 2004 6:58 pm
Post subject: Re: News article header

$time variabile is saved in database as varchar - a string that is unix timestamp for date, isn't it?


Aikon's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Unix/Apache 1.3.31/MySQL 4.0.22/PHP 4.3.9./CPG Nuke82b
Back to top
View user's profile
Display posts from previous:   
Post new topic    Revive this topic    Printer Friendly Page    Forum Index ⇒  i18n - l10n (languages)
Page 1 of 2
All times are GMT
Go to page 1, 2  Next

Archive Revive
Username:
This is an archived topic - your reply will not be appended here.
Instead, a new topic will be generated in the active forum.
The new topic will provide a reference link to this archived topic.
 
   Toggle Content User Info

Welcome Anonymous

Nickname
Password
(Register)

   Toggle Content Last CVS commits
· Fixed .ico Expires header.
· Removed domain name from cookies so subdomains wont access them anymore.
· CSS and JS, case insensitives.
· CSS and JS, send correct HTTP 1.1 headers and fixed issues where themes and...
· Further security class improvements.
· 301 redirects on LEO changes
· Option to force 3xx http status codes
· Validate googlebot.com and google.com crawlers.
· CCBot
· Rss with etag and atom.

читај повеќе...

   Toggle Content Community

Support for DragonflyCMS in a other languages:

Deutsch
Español

   Toggle Content X-links
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
Interactive software released under GNU GPL, Code Credits, Privacy Policy