Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Topic started by: !Hachi! on June 08, 2005, 10:36:06 AM

Title: now whats Wrong with buttons.
Post by: !Hachi! on June 08, 2005, 10:36:06 AM
check buttons
In This URL BUTTONS Works Just perfectly     http://www.pakurdu.net/forum/index.php?action=forum

when we go in some threads it show image is not available
http://www.pakurdu.net/forum/index.php/topic,1216.new.html#new
               you  can see that there is no buttons in it....
                           and the question why its in same folder .......anyone got any point? ::) ::) ::) ::)
                   waiting your replies
Title: Re: now whats Wrong with buttons.
Post by: Oldiesmann on June 08, 2005, 01:06:27 PM
I don't see any missing buttons... Everything looks fine to me.
Title: Re: now whats Wrong with buttons.
Post by: !Hachi! on June 08, 2005, 01:15:29 PM
but my firefox is not agree with that IE too :o
        i still got missing button in threads
example http://www.pakurdu.net/forum/index.php/topic,1216.new.html#new
               i am talking about home/help/search/profile.........buttons
Title: Re: now whats Wrong with buttons.
Post by: [Unknown] on June 08, 2005, 06:11:31 PM
<img src="http://www.pakurdu.net/forum/Themes/SMFone/images/english/register.gif" alt="<img src=images/reg-1.gif border=0>" />

Why is the alt set liike that?

It looks like you've modified the way the buttons are output, to me.

-[Unknown]
Title: Re: now whats Wrong with buttons.
Post by: !Hachi! on June 08, 2005, 09:23:21 PM
well i use these code in index.template.php "smf one theme" as i don't know about php      // If the user is a guest, show [login] and [register] buttons.
   if ($context['user']['is_guest'])
   {
      echo '
            <img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/login.gif" alt="' . $txt[34] . '" /><a class="menub" href="', $scripturl, '?action=login">' , $txt[34], '</a>', $context['menu_separator'], '
            <img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/register.gif" alt="' . $txt[97] . '" /><a class="menub" href="', $scripturl, '?action=register">' , $txt[97], '</a>';
   }
   // Otherwise, they might want to [logout]...
   else
      echo '
            <img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/logout.gif" alt="' . $txt[108] . '" /><a class="menub" href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '">' , $txt[108], '</a>';

      // Edit Profile... [profile]
   if ($context['allow_edit_profile'])
      echo '
            <img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/profile.gif" alt="' . $txt[79] . '" /><a class="menub" href="', $scripturl, '?action=profile">' , $txt[467], '</a>', $context['menu_separator'];

   // Is the user allowed to administrate at all? ([admin])
   if ($context['allow_admin'])
      echo '
            <img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/admin.gif" alt="' . $txt[2] . '" /><a class="menub" href="', $scripturl, '?action=admin">' , $txt[2], '</a>', $context['menu_separator'];
   // How about the [search] button?
   if ($context['allow_search'])
      echo '
            <img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/search.gif" alt="' . $txt[1802] . '" /><a class="menub" href="', $scripturl, '?action=search">' , $txt[1802], '</a>', $context['menu_separator'];

   // Show the [home] [forum] and [help] buttons.
   echo '
            <img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/help.gif" alt="' . $txt[119] . '" /><a class="menub" href="', $scripturl, '?action=help" target="_blank">' , $txt[119], '</a>', $context['menu_separator'], '
                      <img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/forum.gif" alt="' . $txt[001] . '" /><a class="menub" href="', $scripturl, '?action=forum">' , $txt[001], '</a>', $context['menu_separator'],'

            <img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/home.gif" alt="' . $txt[103] . '" /><a class="menub" href="', $scripturl, '">' , $txt[103], '</a>', $context['menu_separator'];

//
     




}



Any suggestion?it works ok on local server  :(
Title: Re: now whats Wrong with buttons.
Post by: Oldiesmann on June 08, 2005, 10:31:47 PM
Try re-uploading index.template.php for that theme...
Title: Re: now whats Wrong with buttons.
Post by: !Hachi! on June 08, 2005, 10:47:55 PM
did still not working     >:( >:( >:( :(
Title: Re: now whats Wrong with buttons.
Post by: !Hachi! on June 09, 2005, 07:35:25 AM
Hope to get answer some day.....
Title: Re: now whats Wrong with buttons.
Post by: Oldiesmann on June 09, 2005, 10:40:39 AM
Download the theme again, extract all the files to your computer and then upload index.template.php