Advertisement:

Benutzer können sich im Theme "Electron" nicht registrieren

Aloittaja Delphino, elokuu 28, 2006, 02:23:35 IP

« edellinen - seuraava »

Delphino

Hallo,

ich suche verzweifelt die Möglichkeit, wo man sich im Theme "Electron" registrieren kann. ::)

dieter4


Delphino

#2
Kein Registerlink vorhanden. ::)

Muss man da evtl. was im Admin-Menü ändern?

dieter4

Probier mal das default aus und guck ob der Link da drin ist.

Delphino

Ja, im SMF Default Theme ist der Link zum Registrieren vorhanden.

dieter4

Dann poste hier mal die function themplate_menu() aus der index.temaplte.php deines Themes.

Delphino


}
function electron_menu()
{
   global $context, $settings, $options, $scripturl, $txt;

$sep = '   ';

   // Show the [home] button.
   echo '<table><tr><td>',($settings['use_image_buttons'] ? '<img src="' . $settings['images_url']  . '/ehome.gif" alt="' . $txt[103] . '" />' : ''),'</td><td> <a href="', $scripturl, '">Forum-Übersicht</a></td></tr></table></td>
            <td align="right" valign="top">';
           
            //Show the [help] button.
            echo '<table><tr><td>',($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/ehelp.gif" alt="' . $txt[119] . '"/>' : ''),'
         </td><td> <a href="', $scripturl, '?action=help">Hilfe</a></td>';

   // How about the [search] button?
   if ($context['allow_search'])
      echo '<td>',($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/esearch.gif" alt="' . $txt[182] . '"/>' : ''),'
            </td><td> <a href="', $scripturl, '?action=search">Suche</a></td>';

   // The [calendar]!
   if ($context['allow_calendar'])
      echo '<td>',($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/ecalendar.gif" alt="' . $txt['calendar24'] . '"/>' :''),'
            </td><td> <a href="', $scripturl, '?action=calendar">Kalendar</a></td>', $context['menu_separator'];
echo '</tr></table>';

dieter4

Einfach mal ersetzen, aber vorher die Datei sichern:


}
function electron_menu()
{
   global $context, $settings, $options, $scripturl, $txt;

$sep = '   ';

   // Show the [home] button.
   echo '<table><tr><td>',($settings['use_image_buttons'] ? '<img src="' . $settings['images_url']  . '/ehome.gif" alt="' . $txt[103] . '" />' : ''),'</td><td> <a href="', $scripturl, '">Forum-Übersicht</a></td></tr></table></td>
            <td align="right" valign="top">';
           
            //Show the [help] button.
            echo '<table><tr><td>',($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/ehelp.gif" alt="' . $txt[119] . '"/>' : ''),'
         </td><td> <a href="', $scripturl, '?action=help">Hilfe</a></td>';

   // How about the [search] button?
   if ($context['allow_search'])
      echo '<td>',($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/esearch.gif" alt="' . $txt[182] . '"/>' : ''),'
            </td><td> <a href="', $scripturl, '?action=search">Suche</a></td>';

   // The [calendar]!
   if ($context['allow_calendar'])
      echo '<td>',($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/ecalendar.gif" alt="' . $txt['calendar24'] . '"/>' :''),'
            </td><td> <a href="', $scripturl, '?action=calendar">Kalendar</a></td>', $context['menu_separator'];
echo '</tr></table>';

   if ($context['user']['is_guest'])
      echo '<td>',($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/eregister.gif" alt="' . $txt[182] . '"/>' : ''),'
            </td><td> <a href="', $scripturl, '?action=register">Registrieren</a></td>';

Delphino

#8
So, ich habe den Code mal mit dem von dir ersetzt.

Die Menü-Leiste wird nun so angezeigt: Bild

Bei Kalendar wird zusätzlich "Suche" noch angegeben und vor dem Register-Link fehlt eine Image-Datei oder?

dieter4

Das Bild fehlt.. Da hat der Theme bauer nicht aufgepasst. Du solltest ihn vllt einmal wegen dem Problem anschreiben.

Advertisement: