[SyntaxHighlighter] Nieznany problem

Pomoc w przypadku kłopotów z modyfikacjami: instalacją, konfiguracją, błędami. Zakładając nowy temat pamiętaj o odpowiednim prefiksie!
Regulamin forum
Na tym forum wymagane jest stosowanie prefiksów w tytułach tematów. Prefiks tematu musi składać się nazwy modyfikacji, której dotyczy problem. Dla modyfikacji phpBB Gallery poprawna nazwa tematu to przykładowo [phpBB Gallery] Problem z wgrywaniem zdjęć. Tematy niespełniające wymogu będą przenoszone do kosza.
FaTaL
Posty: 4
Rejestracja: 22 lutego 2010, 00:03

[SyntaxHighlighter] Nieznany problem

Post autor: FaTaL » 22 lutego 2010, 00:21

Nazwa modyfikacji: SyntaxHighlighter
Autor modyfikacji: UseLess
Wersja modyfikacji: 1.0.12
Wersja używanego phpBB3: 3.0.6
Zainstalowane style: prosilver
Adres do witryny: localhost
Opis problemu:
Otóż zainstalowałem w/w mod najpierw normalnie na "polskim" phpBB z moją spolszczoną wersją modu - nie chodziło. Pomyślałem że może coś zepsułem spolszczając mod. Zainstalowałem więc oryginalną wersję phpBB 3.0.6 (angielską) na localhoscie tak samo jak miałem tamto forum polskie, zainstalowałem oryginalny angielski mod z tej strony: http://www.phpbb.com/community/viewtopi ... &t=1697035
To samo. Tutaj macie screen.
Obrazek
Wcale nie parsuje bbcodeów.
Wszystko wgrywałem wg zaleceń. Nie wiem czy to coś zmienia ale do modyfikowania plików używałem notatnika windowsowego i edytora kED. Żadne błędy mi się nigdzie nie wyświetlały. Co robić ?

jaroslw
Zasłużony
Posty: 4524
Rejestracja: 10 grudnia 2005, 18:48
Kontakt:

Re: [SyntaxHighlighter] Nieznany problem

Post autor: jaroslw » 22 lutego 2010, 16:20

Standardowe znaczniki BBCode działają w tym samym poście?
Pobierz styl: we_universalwe_clearblue
Nowości i aktualizacje: FacebookGoogle+Twitter

FaTaL
Posty: 4
Rejestracja: 22 lutego 2010, 00:03

Re: [SyntaxHighlighter] Nieznany problem

Post autor: FaTaL » 22 lutego 2010, 16:56

Tak
Obrazek

pit
Posty: 1580
Rejestracja: 25 lutego 2009, 18:15

Re: [SyntaxHighlighter] Nieznany problem

Post autor: pit » 22 lutego 2010, 16:59

Sprawdź sobie czy wszystkie pliki/katalogi masz na swoim miejscu, zacznij od "geshi".

FaTaL
Posty: 4
Rejestracja: 22 lutego 2010, 00:03

Re: [SyntaxHighlighter] Nieznany problem

Post autor: FaTaL » 22 lutego 2010, 20:12

Wszystko jest tam gdzie powinno i zmodyfikowane tak jak powinno. Wrzucę Wam pliki żebyście samo sprawdzili.

końcówka pliku common.php

Kod: Zaznacz cały

	'tz_zones'	=> array(
		'-12'	=> '[UTC - 12] Baker Island Time',
		'-11'	=> '[UTC - 11] Niue Time, Samoa Standard Time',
		'-10'	=> '[UTC - 10] Hawaii-Aleutian Standard Time, Cook Island Time',
		'-9.5'	=> '[UTC - 9:30] Marquesas Islands Time',
		'-9'	=> '[UTC - 9] Alaska Standard Time, Gambier Island Time',
		'-8'	=> '[UTC - 8] Pacific Standard Time',
		'-7'	=> '[UTC - 7] Mountain Standard Time',
		'-6'	=> '[UTC - 6] Central Standard Time',
		'-5'	=> '[UTC - 5] Eastern Standard Time',
		'-4.5'	=> '[UTC - 4:30] Venezuelan Standard Time',
		'-4'	=> '[UTC - 4] Atlantic Standard Time',
		'-3.5'	=> '[UTC - 3:30] Newfoundland Standard Time',
		'-3'	=> '[UTC - 3] Amazon Standard Time, Central Greenland Time',
		'-2'	=> '[UTC - 2] Fernando de Noronha Time, South Georgia & the South Sandwich Islands Time',
		'-1'	=> '[UTC - 1] Azores Standard Time, Cape Verde Time, Eastern Greenland Time',
		'0'		=> '[UTC] Western European Time, Greenwich Mean Time',
		'1'		=> '[UTC + 1] Central European Time, West African Time',
		'2'		=> '[UTC + 2] Eastern European Time, Central African Time',
		'3'		=> '[UTC + 3] Moscow Standard Time, Eastern African Time',
		'3.5'	=> '[UTC + 3:30] Iran Standard Time',
		'4'		=> '[UTC + 4] Gulf Standard Time, Samara Standard Time',
		'4.5'	=> '[UTC + 4:30] Afghanistan Time',
		'5'		=> '[UTC + 5] Pakistan Standard Time, Yekaterinburg Standard Time',
		'5.5'	=> '[UTC + 5:30] Indian Standard Time, Sri Lanka Time',
		'5.75'	=> '[UTC + 5:45] Nepal Time',
		'6'		=> '[UTC + 6] Bangladesh Time, Bhutan Time, Novosibirsk Standard Time',
		'6.5'	=> '[UTC + 6:30] Cocos Islands Time, Myanmar Time',
		'7'		=> '[UTC + 7] Indochina Time, Krasnoyarsk Standard Time',
		'8'		=> '[UTC + 8] Chinese Standard Time, Australian Western Standard Time, Irkutsk Standard Time',
		'8.75'	=> '[UTC + 8:45] Southeastern Western Australia Standard Time',
		'9'		=> '[UTC + 9] Japan Standard Time, Korea Standard Time, Chita Standard Time',
		'9.5'	=> '[UTC + 9:30] Australian Central Standard Time',
		'10'	=> '[UTC + 10] Australian Eastern Standard Time, Vladivostok Standard Time',
		'10.5'	=> '[UTC + 10:30] Lord Howe Standard Time',
		'11'	=> '[UTC + 11] Solomon Island Time, Magadan Standard Time',
		'11.5'	=> '[UTC + 11:30] Norfolk Island Time',
		'12'	=> '[UTC + 12] New Zealand Time, Fiji Time, Kamchatka Standard Time',
		'12.75'	=> '[UTC + 12:45] Chatham Islands Time',
		'13'	=> '[UTC + 13] Tonga Time, Phoenix Islands Time',
		'14'	=> '[UTC + 14] Line Island Time',
	),

	// The value is only an example and will get replaced by the current time on view
	'dateformats'	=> array(
		'd M Y, H:i'			=> '01 Jan 2007, 13:37',
		'd M Y H:i'				=> '01 Jan 2007 13:37',
		'M jS, \'y, H:i'		=> 'Jan 1st, \'07, 13:37',
		'D M d, Y g:i a'		=> 'Mon Jan 01, 2007 1:37 pm',
		'F jS, Y, g:i a'		=> 'January 1st, 2007, 1:37 pm',
		'|d M Y|, H:i'			=> 'Today, 13:37 / 01 Jan 2007, 13:37',
		'|F jS, Y|, g:i a'		=> 'Today, 1:37 pm / January 1st, 2007, 1:37 pm'
	),

	// The default dateformat which will be used on new installs in this language
	// Translators should change this if a the usual date format is different
	'default_dateformat'	=> 'D M d, Y g:i a', // Mon Jan 01, 2007 1:37 pm

));

// XS Syntax Highlighter
$lang = array_merge($lang, array(
	'XS_SH_INFO_VERSION'	=> 'Syntax Highlighter based on the XS BBCode parser.',
	
	'XS_SH_NOTE'				=> 'Note',
	'XS_SH_TAG_ONCE'		=> 'You may only use this BBCode Tag once in a signature.',
	'XS_SH_TAG_SIG'			=> 'This tag can only be used in signatures.',
	'XS_SH_TAG_NOSIG'		=> 'This tag cannot be used in signatures.',
	
	'XS_SH_NO_TOPIC_ID'	=> 'No topic id supplied.',
	'XS_SH_NO_TOPIC'		=> 'The requested topic id does not exist.',
	'XS_SH_NO_CONTENT'	=> 'The requested topic id does not contain anything to download.',

	// Help lines - used if using the boardbbcodes mod
	'XS_SH_TAG_VERSION'	=> 'Displays BBCode (Hooker) Version information: [version][/version] or [version /]',
	'XS_SH_TAG_SYNTAX'	=> '<b>Syntax Highlighting</b>: [syntax="php"] code in here [/syntax] or [syntax lang="php" filename="file.php" start="10"] code in here [/syntax]',
));

?>
fragment pliku overall_header.html

Kod: Zaznacz cały

<script type="text/javascript" src="{T_TEMPLATE_PATH}/styleswitcher.js"></script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/forum_fn.js"></script>

<script type="text/javascript" src="{T_TEMPLATE_PATH}/xs_bbcode_fn.js"></script>
<script type="text/javascript" src="./classes/scripts/select_expand_bbcodes.js"></script> 

<link href="{T_THEME_PATH}/print.css" rel="stylesheet" type="text/css" media="print" title="printonly" />
<link href="{T_STYLESHEET_LINK}" rel="stylesheet" type="text/css" media="screen, projection" />

<link href="{T_THEME_PATH}/normal.css" rel="stylesheet" type="text/css" title="A" />
<link href="{T_THEME_PATH}/medium.css" rel="alternate stylesheet" type="text/css" title="A+" />
<link href="{T_THEME_PATH}/large.css" rel="alternate stylesheet" type="text/css" title="A++" />

<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->
	<link href="{T_THEME_PATH}/bidi.css" rel="stylesheet" type="text/css" media="screen, projection" />
<!-- ENDIF -->

</head>
stylesheet.css

Kod: Zaznacz cały

/*  phpBB 3.0 Style Sheet
    --------------------------------------------------------------
	Style name:		proSilver
	Based on style:	proSilver (this is the default phpBB 3 style)
	Original author:	subBlue ( http://www.subBlue.com/ )
	Modified by:		
	
	Copyright 2006 phpBB Group ( http://www.phpbb.com/ )
    --------------------------------------------------------------
*/

@import url("common.css");
@import url("links.css");
@import url("content.css");
@import url("buttons.css");
@import url("cp.css");
@import url("forms.css");
@import url("tweaks.css");
@import url("colours.css");
@import url("ul_syntaxhighlighter.css");
Logi, że odświerzałem styl

Kod: Zaznacz cały

Fatal   	127.0.0.1  	Mon Feb 22, 2010 3:54 pm  	Refreshed theme
» prosilver 	
Fatal 	127.0.0.1 	Mon Feb 22, 2010 3:54 pm 	Deleted cached versions of template files in template set prosilver
» All files 	
Fatal 	127.0.0.1 	Mon Feb 22, 2010 3:53 pm 	Successful administration login 	
Fatal 	127.0.0.1 	Mon Feb 22, 2010 1:21 pm 	Refreshed theme
» prosilver 	
Fatal 	127.0.0.1 	Mon Feb 22, 2010 1:21 pm 	Deleted cached versions of template files in template set prosilver
» All files

pit
Posty: 1580
Rejestracja: 25 lutego 2009, 18:15

Re: [SyntaxHighlighter] Nieznany problem

Post autor: pit » 22 lutego 2010, 20:22

Wszystko jest tam gdzie powinno i zmodyfikowane tak jak powinno
Gdyby tak było Twój obrazek powinien wyglądać jakoś tak
Obrazek

FaTaL
Posty: 4
Rejestracja: 22 lutego 2010, 00:03

Re: [SyntaxHighlighter] Nieznany problem

Post autor: FaTaL » 22 lutego 2010, 22:57

pit pisze: Gdyby tak było Twój obrazek powinien wyglądać jakoś tak
Właśnie dlatego napisałem tutaj żeby jakoś rozwiązać ten problem, bo powinno wszystko chodzić ale nie chodzi.

Zablokowany

Wróć do „Pomoc”