News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Porblem sa znakovima

Started by Edin_FMB, September 22, 2007, 07:47:22 PM

Previous topic - Next topic

Edin_FMB

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

JerryCRO

probao si u settings.php umjesto utf8 izmjeniti na windows-1250 ? ;D
www.xybrid-clan.net
www.xybrid-clan.net/forum

Edin_FMB

#2
mjenjo sam u index.hrvatski.php  ;D

ako gdje misliš u settings.php?

Penjac

Na serveru imaš file settings.php u main directoriju foruma i tu promini language sa UTF-8 ili što već je na stari..

Edin_FMB

da gledo sam taj fajl, al u kojem dijelu koda :-[

JerryCRO

na samom kraju,piše nešto u stilu charcter encoding
www.xybrid-clan.net
www.xybrid-clan.net/forum

Edin_FMB

nema :-[

<?php
/**********************************************************************************
* Settings.php                                                                    *
***********************************************************************************
* SMF: Simple Machines Forum                                                      *
* Open-Source Project Inspired by Zef Hemel ([email protected])                    *
* =============================================================================== *
* 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 '[email protected]'; # Email address to send emails from. (like [email protected].)
$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';

?>

croline

Pozdrav,
koja ti je verzija Mysql-a?

Bernard T.

://#  Orion | Federation Servers | Info Sector

Edin_FMB

ma rješio je admin tog foruma dok mene nije bilo :-*

Advertisement: