Simple Machines Community Forum

SMF Support => Bosanski/Hrvatski/Srpski (Bosnian/Croatian/Serbian) => Language Specific Support => SMF Prevod => Topic started by: Edin_FMB on September 22, 2007, 07:47:22 PM

Title: Porblem sa znakovima
Post by: Edin_FMB on September 22, 2007, 07:47:22 PM
e ovako, bil je dosta sranja sa forumom...
nakon što sam sve sredio stavio 1.1.3 ;) stari postovi nemaju čćšđž...
e sada haj to i nekako
al u novim postovima neče da prikaže znakove (ćčžšđ) nego ? :-[

a probo sam i Windows-1250, UTF-8, i onaj ISO-88..

ako može pomoč ;D
Title: Re: Porblem sa znakovima
Post by: JerryCRO on September 23, 2007, 04:04:21 AM
probao si u settings.php umjesto utf8 izmjeniti na windows-1250 ? ;D
Title: Re: Porblem sa znakovima
Post by: Edin_FMB on September 23, 2007, 05:26:14 AM
mjenjo sam u index.hrvatski.php  ;D

ako gdje misliš u settings.php?
Title: Re: Porblem sa znakovima
Post by: Penjac on September 25, 2007, 04:13:05 AM
Na serveru imaš file settings.php u main directoriju foruma i tu promini language sa UTF-8 ili što već je na stari..
Title: Re: Porblem sa znakovima
Post by: Edin_FMB on September 25, 2007, 06:55:33 PM
da gledo sam taj fajl, al u kojem dijelu koda :-[
Title: Re: Porblem sa znakovima
Post by: JerryCRO on September 26, 2007, 07:30:02 AM
na samom kraju,piše nešto u stilu charcter encoding
Title: Re: Porblem sa znakovima
Post by: Edin_FMB on September 26, 2007, 12:20:55 PM
nema :-[

Code: [Select]
<?php
/**********************************************************************************
* Settings.php                                                                    *
***********************************************************************************
* SMF: Simple Machines Forum                                                      *
* Open-Source Project Inspired by Zef Hemel (zef@zefhemel.com)                    *
* =============================================================================== *
* Software Version:           SMF 1.1                                             *
* Software by:                Simple Machines (http://www.simplemachines.org)     *
* Copyright 2006 by:          Simple Machines LLC (http://www.simplemachines.org) *
*           2001-2006 by:     Lewis Media (http://www.lewismedia.com)             *
* Support, News, Updates at:  http://www.simplemachines.org                       *
***********************************************************************************
* This program is free software; you may redistribute it and/or modify it under   *
* the terms of the provided license as published by Simple Machines LLC.          *
*                                                                                 *
* This program is distributed in the hope that it is and will be useful, but      *
* WITHOUT ANY WARRANTIES; without even any implied warranty of MERCHANTABILITY    *
* or FITNESS FOR A PARTICULAR PURPOSE.                                            *
*                                                                                 *
* See the "license.txt" file for details of the Simple Machines license.          *
* The latest version can always be found at http://www.simplemachines.org.        *
**********************************************************************************/


########## Maintenance ##########
# Note: If $maintenance is set to 2, the forum will be unusable!  Change it to 0 to fix it.
$maintenance 0; # Set to 1 to enable Maintenance Mode, 2 to make the forum untouchable. (you'll have to make it 0 again manually!)
$mtitle 'Maintenance Mode'; # Title for the Maintenance Mode message.
$mmessage 'Okay faithful users...we\'re attempting to restore an older backup of the database...news will be posted once we\'re back!'; # Description of why the forum is in maintenance mode.

########## Forum Info ##########
$mbname 'My Community'; # The name of your forum.
$language 'english'; # The default language file set for the forum.
$boardurl 'http://127.0.0.1/smf'; # URL to your forum's folder. (without the trailing /!)
$webmaster_email 'noreply@myserver.com'; # Email address to send emails from. (like noreply@yourdomain.com.)
$cookiename 'SMFCookie11'; # Name of the cookie to set for authentication.

########## Database Info ##########
$db_server 'localhost';
$db_name 'smf';
$db_user 'root';
$db_passwd '';
$db_prefix 'smf_';
$db_persist 0;
$db_error_send 1;

########## Directories/Files ##########
# Note: These directories do not have to be changed unless you move things.
$boarddir dirname(__FILE__); # The absolute path to the forum's folder. (not just '.'!)
$sourcedir dirname(__FILE__) . '/Sources'; # Path to the Sources directory.

########## Error-Catching ##########
# Note: You shouldn't touch these settings.
$db_last_error 0;

if (
file_exists(dirname(__FILE__) . '/install.php'))
header('Location: http://' . (empty($_SERVER['HTTP_HOST']) ? $_SERVER['SERVER_NAME'] . (empty($_SERVER['SERVER_PORT']) || $_SERVER['SERVER_PORT'] == '80' '' ':' $_SERVER['SERVER_PORT']) : $_SERVER['HTTP_HOST']) . (strtr(dirname($_SERVER['PHP_SELF']), '\\''/') == '/' '' strtr(dirname($_SERVER['PHP_SELF']), '\\''/')) . '/install.php');

# Make sure the paths are correct... at least try to fix them.
if (!file_exists($boarddir) && file_exists(dirname(__FILE__) . '/agreement.txt'))
$boarddir dirname(__FILE__);
if (!
file_exists($sourcedir) && file_exists($boarddir '/Sources'))
$sourcedir $boarddir '/Sources';

?>
Title: Re: Porblem sa znakovima
Post by: croline on October 15, 2007, 02:24:55 PM
Pozdrav,
koja ti je verzija Mysql-a?
Title: Re: Porblem sa znakovima
Post by: Bernard T. on October 19, 2007, 09:55:04 AM
Edine, možeš dati link?
Title: Re: Porblem sa znakovima
Post by: Edin_FMB on October 23, 2007, 04:43:59 PM
ma rješio je admin tog foruma dok mene nije bilo :-*