TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

April 30, 2024, 03:22:46 AM

Login with username, password and session length
Members
  • Total Members: 3,885
  • Latest: Growner
Stats
  • Total Posts: 195,174
  • Total Topics: 21,220
  • Online today: 147
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 112
  • Total: 112

Mal Hallo sagen :)

Started by PowerPyx, January 13, 2006, 02:31:48 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

feline

#20
Quote from: Bogus on January 16, 2006, 06:52:44 PM
Jo hast schon recht ;D Ich warte auch sehnlichst auf die 0.80 bzw. auf das Anpassen der TP-Themes an RC2 ;D

Was genau muss denn geÃÆ'Ã,¤ndert werden ? ;D

Das ist marginal .. einmal die drei Zeile für shrink/upshrink der left/right/centerblocks erweiter und am ende des index.template.php ein paar Zeilen einfügen.

Code RC1:

                echo '
                        smf_setThemeOption("collapse_leftbar", mode ? 1 : 0);';


RC2:
                echo '
                        smf_setThemeOption("collapse_leftbar", mode ? 1 : 0, null, "' . $context['session_id'] . '")';


und am ende einfügen:

// Generate a strip of buttons, out of buttons.
function template_button_strip($button_strip, $direction = 'top', $force_reset = false, $custom_td = '')
{
global $settings, $buttons, $context, $txt, $scripturl;

if (empty($button_strip))
return '';

// Create the buttons...
foreach ($button_strip as $key => $value)
{
if (isset($value['test']) && empty($context[$value['test']]))
{
unset($button_strip[$key]);
continue;
}
elseif (!isset($buttons[$key]) || $force_reset)
$buttons[$key] = '<a href="' . $value['url'] . '" ' .( isset($value['custom']) ? $value['custom'] : '') . '>' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . ($value['lang'] ? $context['user']['language'] . '/' : '') . $value['image'] . '" alt="' . $txt[$value['text']] . '" border="0" />' : $txt[$value['text']]) . '</a>';

$button_strip[$key] = $buttons[$key];
}

echo '
<td ', $custom_td, '>', implode($context['menu_separator'], $button_strip) , '</td>';
}


Für das neue Helpsystem gibts auch ein Fix ..muss ich nochmal raussuchen.


EDIT later:

Den Fix für das Helpsystem der RC2 findest du hier

Fel

Bogus

Danke fürs posten ;D

Vielleicht wÃÆ'Ã,¤re ein extra Posting mit sticky nicht schlecht ;D

Netgull

Quote from: feline on January 16, 2006, 07:03:43 PM
Quote from: PowerPyx on January 16, 2006, 04:40:06 PM
8: Undefined index: TPortal
Datei: /homepages/31/d82319074/htdocs/rad_forum/Themes/default/Login.template.php (eval?)
Zeile: 220

Dafür gibt es ein Fix .. siehe hier

Fel

Das Link funkioniert nicht. Konnte ich irgendwo diese Fix finden?