Wer war da rechts und links?

Post Reply

Topic author
Shorty1968
Portal Enthusiast
Posts: 149
Joined: 8. September 2011 01:16

Wer war da rechts und links?

Post by Shorty1968 »

Hallo nach dem ich erfolglos danach gesucht habe , frage ich nun mal nach gibt es eine Anleitung die "Wer war da" Box auch nach Links und Rechts zu verschieben?

Gruß
User avatar

Kirk
Dev
Posts: 1939
Joined: 27. July 2010 18:02
phpBB.de User: Kirk
Contact:

Re: Wer war da rechts und links?

Post by Kirk »

Hi
Suche in der portal_who_was_here.php das hier:

Code: Select all

public $columns = 21;
Ersetze es mit:

Code: Select all

public $columns = 31;
Suche in der portal_who_was_here.php das hier:

Code: Select all

return 'who_was_here_center.html';
	}
Setze danach folgendes ein:

Code: Select all

	public function get_template_side($module_id)
	{
		global $config, $template, $phpbb_root_path, $phpEx;

		if (!class_exists('phpbb_mods_who_was_here'))
		{
			include($phpbb_root_path . 'includes/mods/who_was_here.' . $phpEx);
			phpbb_mods_who_was_here::update_session();
		}
		phpbb_mods_who_was_here::display();

		return 'who_was_here_side.html';
	}
Erstell eine Datei mit den Namen who_was_here_side.html (Ist allerdings für prosilver basierende Styles.)
und füge das hier ein:

Code: Select all

{$LR_BLOCK_H_L}<!-- IF $S_BLOCK_ICON --><img src="{$IMAGE_SRC}" width="{$IMAGE_WIDTH}" height="{$IMAGE_HEIGHT}" alt="" />&nbsp;{$TITLE}<!-- ENDIF -->{$LR_BLOCK_H_R}
           {WHO_WAS_HERE_TOTAL} ({WHO_WAS_HERE_EXP})<br /><br />{WHO_WAS_HERE_RECORD}<br />{WHO_WAS_HERE_LIST}
{$LR_BLOCK_F_L}{$LR_BLOCK_F_R}
Damit kannst diesen Block verschieben wohin du willst. :)
Gruß Udo

Topic author
Shorty1968
Portal Enthusiast
Posts: 149
Joined: 8. September 2011 01:16

Re: Wer war da rechts und links?

Post by Shorty1968 »

Hallo Kirk
Vielen dank geht perfekt.
Post Reply

Return to “Modifications Support”