Customizing SMF > Theme Site Themes
Meridian
shigoxin:
Hello,
For unread posts, it is supposed to display 'New' icon in topic tile. But it does not happen in my 'unread' posts using Chrome browser. With firefox, it only shows the word 'New' instead of 'New.gif'. Please see the attached pic. I have checked that there is 'new.gif' in Theme/default/Images/English.
One thing I notice is when I installed other themes they had their own 'theme/images/English' folder and 'new.gif'. But not in Meridian theme.
Thank you.
---------------------------------------
Update: I found your reply for this issue
--- Quote ---for english language you can paste image in Themes/mult/images/english
if you use utf8 coding, paste image in Themes/mult/images/english-utf8
--- End quote ---
But I am not sure what is 'mult' in your directory. I couldn't find this. What I did was I created a folder 'English'.
Themes/Meridian/Images/English/new.gif
but it did not work.
shigoxin:
Hello,
I have to report one more issue. After changing codes for 'Quick login' guests cannot register anymore. Does this happen to anybody else?
When these codes are replaced with original codes, it works again.
shigoxin:
hello, 'new' icon in topic .. solved. just simple copy & paste. I'm so stupid that it took me 5 days to find out.
Thanks anyway.
h33f:
--- Quote from: Adren on June 19, 2012, 12:15:44 PM ---Ok, please wait weekend
--- End quote ---
Is it almost ready?
Adren:
--- Quote from: h33f on June 25, 2012, 11:36:43 AM ---
--- Quote from: Adren on June 19, 2012, 12:15:44 PM ---Ok, please wait weekend
--- End quote ---
Is it almost ready?
--- End quote ---
open themes/meridian/index.template.php and find:
--- Code: --- if (!empty($settings['top_right_code'])) {
echo '
<div class="floatright banner_top">', $settings['top_right_code'] , '</div>';
}
--- End code ---
replace this:
--- Code: ---if (!empty($context['user']['is_logged']))
{
echo '
<div class="floatright fast_login">
<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>
</div>';
}
--- End code ---
open themes/meridian/css/index.css and paste in the end
--- Code: ---.fast_login {
padding-top: 15px;
}
--- End code ---
--- Quote from: shigoxin on June 20, 2012, 02:31:50 PM ---Hello,
I have to report one more issue. After changing codes for 'Quick login' guests cannot register anymore. Does this happen to anybody else?
--- End quote ---
hm, why? :) "Register" from main menu is not deleted :o
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version