Image-Probleme

Alles zu Styles, Templates, Icons und Smilies für phpBB 2.0, sowie allgemeine Designfragen zur Integration von phpBB in bestehende Websites.
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
[-UFO-]Melkor
Mitglied
Beiträge: 8
Registriert: 05.01.2005 10:17
Wohnort: Bochum
Kontaktdaten:

Beitrag von [-UFO-]Melkor »

So, Problem gefunden :)
Es lag in der bbcode.php:
Man darf dort anscheinend kein

Code: Alles auswählen

init_userprefs($userdata);
reinschreiben, was ich aus irgendeinem Grund drinstehen hatte.
NaJa, jetzt funzt es wieder prima, danke :)
Benutzeravatar
warefare.net
Mitglied
Beiträge: 74
Registriert: 13.07.2006 17:22
Wohnort: Buchholz
Kontaktdaten:

Beitrag von warefare.net »

[-UFO-]Melkor hat geschrieben:So, Problem gefunden :)
Es lag in der bbcode.php:
Man darf dort anscheinend kein

Code: Alles auswählen

init_userprefs($userdata);
reinschreiben, was ich aus irgendeinem Grund drinstehen hatte.
NaJa, jetzt funzt es wieder prima, danke :)
Ich habe das selbe problem, allerdings nicht die gleiche ursache wie es scheint, denn ich habe kein init_userprefs in meiner bbcode.php

*bin am verzweifeln*

Ja ich habe MOD's installiert :X

Irgendwer ne ideee wie man dahinter kommen könnte wieso der aus {LANG} son murks macht wie %7BLANG%7D


Code: Alles auswählen

//
// Initialise user settings on page load
function init_userprefs($userdata)
{
	global $board_config, $theme, $images;
	global $template, $lang, $phpEx, $phpbb_root_path;
	global $nav_links;

	if ( $userdata['user_id'] != ANONYMOUS )
	{
		if ( !empty($userdata['user_lang']))
		{
			$board_config['default_lang'] = $userdata['user_lang'];
		}

		if ( !empty($userdata['user_dateformat']) )
		{
			$board_config['default_dateformat'] = $userdata['user_dateformat'];
		}

		if ( isset($userdata['user_timezone']) )
		{
			$board_config['board_timezone'] = $userdata['user_timezone'];
		}
	}

	if ( !file_exists(@phpbb_realpath($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.'.$phpEx)) )
	{
		$board_config['default_lang'] = 'english';
	}

	include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx);
include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_cback_ctracker.' . $phpEx);

include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_downloads.' . $phpEx);





	if ( defined('IN_ADMIN') )
	{
		if( !file_exists(@phpbb_realpath($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.'.$phpEx)) )
		{
			$board_config['default_lang'] = 'english';
		}

		include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx);
	}

    //-- mod : language settings -----------------------------------------------------------------------
//-- add
	include($phpbb_root_path . './includes/lang_extend_mac.' . $phpEx);
//-- fin mod : language settings -------------------------------------------------------------------	//
	// Set up style
	//
	if ( !$board_config['override_user_style'] )
	{
		if ( $userdata['user_id'] != ANONYMOUS && $userdata['user_style'] > 0 )
		{
			if ( $theme = setup_style($userdata['user_style']) )
			{
				return;
			}
		}
	}
Ok grade mal nach init_userprefs gesucht und ich denke, dass der SEO MOD probleme bereiten könnte
| http://l2warfare.com - phpbb forums | Lineage 2 MMORPG | Site Admin |
|Monetize Your Site|
|Web 2.0 - Participate - Wordpress Blog|
Antworten

Zurück zu „phpBB 2.0: Styles, Templates und Grafiken“