News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

How to remove the lower area of the forum index

Started by fapencio, April 12, 2014, 01:53:09 PM

Previous topic - Next topic

fapencio

Hello, I need help, I want to delete the lower area of the forum index, to understand me, I want to remove this:



and instead put another quick login:



for the forum is 2 quick login on the board index,

my forum is 2.0.7 and my theme is default, my lenguages ​​are english utf8 and spanish_es-utf8, I have not yet installed mods, Greetings

thanks in advance
My smf forum is 2.0.10 version
my theme is default
language spanish es utf8

Herman's Mixen

we have also Specific language support, see board http://www.simplemachines.org/community/index.php?board=16.0 maybe your questions are all to be found there ;)
Met vriendelijke groet, The Burglar!

 House Mixes | Mixcloud | Any Intelligent fool can make things bigger, more complex, and more violent.
It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Albert Einstein

Former Godfather of our dutch community ;)

fapencio

My smf forum is 2.0.10 version
my theme is default
language spanish es utf8

Sir Osis of Liver

Don't know why you'd want to do that, but here it is:

In BoardIndex.template.php find this -



// Show the mark all as read button?
if ($settings['show_mark_read'] && !empty($context['categories']))
echo '<div class="mark_read">', template_button_strip($mark_read_button, 'right'), '</div>';
}
else
{
echo '
<div id="posting_icons" class="flow_hidden">
<ul class="reset">
<li class="floatleft"><img src="', $settings['images_url'], '/new_none.png" alt="" /> ', $txt['old_posts'], '</li>
<li class="floatleft"><img src="', $settings['images_url'], '/new_redirect.png" alt="" /> ', $txt['redirect_board'], '</li>
</ul>
</div>';
}

template_info_center();



Change to this -



// Show the mark all as read button?
if ($settings['show_mark_read'] && !empty($context['categories']))
echo '<div class="mark_read">', template_button_strip($mark_read_button, 'right'), '</div>';
}
else

///`add quick login
{
echo '
<script type="text/javascript" src="',  $settings['default_theme_url'], '/scripts/sha1.js"></script>
<form id="guest_form" action="', $scripturl, '?action=login2"  method="post" accept-charset="', $context['character_set'], '" ', empty($context['disable_login_hashing']) ?  ' onsubmit="hashLoginPassword(this, \'' . $context['session_id'] . '\');"' : '', '>
<div class="info">', sprintf($txt['welcome_guest'],  $txt['guest_title']), '</div>
<input type="text" name="user" size="10"  class="input_text" />
<input type="password" name="passwrd" size="10"  class="input_password" />
<select name="cookielength">
<option value="60">', $txt['one_hour'],  '</option>
<option value="1440">', $txt['one_day'],  '</option>
<option value="10080">', $txt['one_week'],  '</option>
<option value="43200">', $txt['one_month'],  '</option>
<option value="-1" selected="selected">',  $txt['forever'], '</option>
</select>
<input type="submit" value="', $txt['login'], '"  class="button_submit" /><br />
<div class="info">', $txt['quick_login_dec'], '</div>';

if (!empty($modSettings['enableOpenID']))
echo '
<br /><input type="text" name="openid_identifier"  id="openid_url" size="25" class="input_text openid_login" />';

echo '
<input type="hidden" name="hash_passwrd" value=""  />
</form><br />
</div>';
}


template_info_center();



Backup the file before you tinker with it.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

fapencio

AWESOME!!!   :laugh:  works!  master you're the best, you do not know how much you appreciate your help, saying thank you is not enough, best regards and problem solved  :D
My smf forum is 2.0.10 version
my theme is default
language spanish es utf8


Advertisement: