MyBB Community Forums

Full Version: problem with language
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Problem with the search solved, thanks Smile

However, the layout is still different if you are not logged in... forcing it on users didn't work Sad
I cant see any thecure images can you plz explain how you install theme
did you just upload thecure.xml through admin cp
and where you upload you thecure images folder
(2013-08-07, 10:56 AM)New2mybb Wrote: [ -> ]I cant see any thecure images can you plz explain how you install theme
did you just upload thecure.xml through admin cp
and where you upload you thecure images folder

I was just trying something because the buttons below the posts are not showing...

I uploaded the thecure images folder to the main images folder
Ok means in images folder there is one more folder named thecure
whats your theme images directory that you set in admin cp > theme and templete > the cure

Ok i am seeing all theme images now when i login in but after logout header cant show whats your header templete

Means welcome block guest templete
In header_welcomeblock_guest I have this, what do I have to do?

Quote:<script type="text/javascript">
<!--
lang.username = "{$login_username}";
lang.password = "{$lang->login_password}";
lang.login = "{$lang->login}";
lang.lost_password = " &mdash; <a href=\"{$mybb->settings['bburl']}/member.php?action=lostpw\">{$lang->lost_password}<\/a>";
lang.register_url = " &mdash; <a href=\"{$mybb->settings['bburl']}/member.php?action=register\">{$lang->welcome_register}<\/a>";
lang.remember_me = "{$lang->remember_me}";
// -->
</script>
<span style="float: right;">{$lang->welcome_current_time}</span>
<span id="quick_login">{$lang->welcome_guest} (<a href="{$mybb->settings['bburl']}/member.php?action=login" onclick="MyBB.quickLogin(); return false;">{$lang->welcome_login}</a> &mdash; <a href="{$mybb->settings['bburl']}/member.php?action=register">{$lang->welcome_register}</a>)</span>
Is that thecure header_welcome_block_guest or it is from default theme

For thecure theme use this header_welcomeblock_guest templete
<div class="mainwrap">
<div class="top_bar"></div>
		<div class="header_main"><div class="header_left"><div class="header_right">
			<div class="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a></div>
			<div class="guest_links">
				<ul>
					<li><a href="{$mybb->settings['bburl']}/member.php?action=register" class="register_button"></a></li>
					<li class="guest_or">&nbsp;</li>
					<li><a href="{$mybb->settings['bburl']}/member.php?action=login" class="login_button"></a></li>
				</ul>
			</div>
			<div class="clear"></div>
		</div></div></div>
		<div id="navbar">
			<ul id="nav">
				<li><a href="{$mybb->settings['bburl']}">Home</a></li>
				<li><a href="{$mybb->settings['bburl']}/memberlist.php">{$lang->toplinks_memberlist}</a></li>
				<li><a href="{$mybb->settings['bburl']}/calendar.php">{$lang->toplinks_calendar}</a></li>
				<li><a href="{$mybb->settings['bburl']}/misc.php?action=help">{$lang->toplinks_help}</a></li>
			</ul>
			<div id="search">
			<form action="{$mybb->settings['bburl']}/search.php" method="post">
				<div class="search_input_wrap"><input name="keywords" class="nav_search_input" title="Enter your search keywords" type="text" /></div>
				<input value="" name="submit-search" class="nav_search_button" type="submit" />
				<input type="hidden" name="action" value="do_search" />
			</form>
			</div>
			<div class="clear"></div>
		</div>
	</div>
</div>
<div id="container"><div class="container_wrap">
	<div class="mainwrap">
		<div class="subnav">
		<script type="text/javascript">
		<!--
			lang.username = "{$lang->login_username}";
			lang.password = "{$lang->login_password}";
			lang.login = "{$lang->login}";
			lang.lost_password = " &mdash; <a href=\"{$mybb->settings['bburl']}/member.php?action=lostpw\">{$lang->lost_password}<\/a>";
			lang.register_url = " &mdash; <a href=\"{$mybb->settings['bburl']}/member.php?action=register\">{$lang->welcome_register}<\/a>";
			lang.remember_me = "{$lang->remember_me}";
		// -->
</script>
			<div class="float_right"><a href="{$mybb->settings['bburl']}/search.php">Advanced {$lang->toplinks_search}</a></div>
			<span id="quick_login">{$lang->welcome_guest} <a href="{$mybb->settings['bburl']}/member.php?action=login" onclick="MyBB.quickLogin(); return false;">{$lang->welcome_login}</a> &mdash; <a href="{$mybb->settings['bburl']}/member.php?action=register">{$lang->welcome_register}</a></span>
		</div>
Thanks, only one more thing to fix now. Because the header was a bit large the register and login buttons look all screwed up, do you know where I can fix that?

Oh and the buttons in threads are still missing :/
The register and login buttons are thecure default if you want to change them you need to change their css classes
and for button thats because thecure buttons are in english
So what's the best way to fix it?

I just had to change the language to portuguese Smile

Only one problem remains, when you are logged out the login and register buttons are out of place :/
Ok so you want to remove login and register so remove this from header_welcomebloc_guest
<div class="guest_links">
<ul>
<li><a href="{$mybb->settings['bburl']}/member.php?action=register" class="register_button"></a></li>
<li class="guest_or">&nbsp;</li>
<li><a href="{$mybb->settings['bburl']}/member.php?action=login" class="login_button"></a></li>
</ul>
</div>
Pages: 1 2