MyBB Community Forums

Full Version: MyIPB theme
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14
(2019-01-26, 01:19 AM)DevLife Wrote: [ -> ]
(2019-01-23, 05:39 PM)eNvy Wrote: [ -> ]Fully updated to MyBB 1.8.19.

As you can see My Forum avi profile is buggy http://webmasterlounge.x10.bz/index.php

What's the problem exactly?

-------------

-Updated the theme file to Version 7.

Version 7 includes the updated index.lang file of MyBB 1.8.19.

If you want the custom text on the index (as it's shown on the images) you need to upload the "inc" folder and replace your index.lang file.

Remember that this change is permanent unless you restore the original file after. It's up to you to decide if you want to change it or not.
https://imgur.com/a/yL0rDSt
I was talking about this I did upload the inc file
(2019-01-26, 03:31 PM)DevLife Wrote: [ -> ]https://imgur.com/a/yL0rDSt
I was talking about this I did upload the inc file

Well, there's no "good" solution for that.

This happens because the browser is showing you that there's no source loaded on that image. The fact that you can see the default avatar is because I'm forcing a background-image on that and when you change your avatar, the avatar is placed above the default avatar image.

I'm gonna fix it but probably using javascript.

Edit: Done, uploaded the Version 8 with this fix.

If anyone wants to fix it manually:

Templates & Styles > Templates > MyIPB templates > Header templates > open header_welcomeblock_member

Replace the entire template with this new code:

<div class="user_menu">
	<ul>
		<li><span class="pms">{$mybb->user['pms_unread']}</span><a href="{$mybb->settings['bburl']}/private.php"><i class="fa fa-envelope fa-fw icon" title="Inbox"></i></a></li>

		<li>
			<img style="vertical-align: top; margin-top: 5px;" src="{$mybb->user['avatar']}" />
			<div class="empty"></div>

			<div class="enmenuwrap">
				<span class="enmenu">{$mybb->user['username']}<i class="fa fa-caret-down fa-fw icon"></i></span>
				<div class="ensettings">
					<ul>
						{$admincplink}
						{$modcplink}
						<li id="title">Content</li>
						<li><a href="{$mybb->settings['bburl']}/member.php?action=profile">View your profile</a></li>
						<li id="title">Settings</li>
						<li><a href="{$mybb->settings['bburl']}/usercp.php">User control panel</a></li>
						<li><a href="{$mybb->settings['bburl']}/usercp.php?action=avatar">Edit your avatar</a></li>
						<li><a href="{$mybb->settings['bburl']}/usercp.php?action=editsig">Change your signature</a></li>
						<li id="logout"><a href="{$mybb->settings['bburl']}/member.php?action=logout&amp;logoutkey={$mybb->user['logoutkey']}">Sign out</a></li>
					</ul>
				</div>
			</div>
		</li>
		
	</ul>
</div>


Now, Templates & Styles > Themes > MyIPB > myipb.css

Search the class ".panelavatar" and delete it

Now add this new css code:

.user_menu ul li img {
	width: 26px;
	min-width: 26px;
	max-width: 26px;
	height: 26px;
	min-height: 26px;
	max-height: 26px;
	display: none;
  	padding: 0px;
	margin: 0 2px 0 0;
}

.user_menu ul li img.active {
	display: inline-block !important;
}

.empty {
	width: 26px;
	min-width: 26px;
	max-width: 26px;
	height: 26px;
	min-height: 26px;
	max-height: 26px;
	display: none;
	padding: 0;
	background-image: url("images/myipb/default_avatar.png") ;
	background-repeat: no-repeat;
	background-size: 100%;
	vertical-align: middle;
	margin: 0 2px 0 0;
}

.empty.active {
	display: inline-block !important;
}


Finally go to your root files > Images folder > myipb folder > custom folder > open JQuery.js file

Add this code to the bottom of the file and save the changes:

/* Header avatar fix - Start */
jQuery(document).ready(function() {
    if( jQuery('.user_menu ul li img').attr('src') == '' ) {
        jQuery('.user_menu ul li img').removeClass('active');
        jQuery('.empty').addClass('active');
    } else {
        jQuery('.user_menu ul li img').addClass('active');
        jQuery('.empty').removeClass('active');
    }
});
/* Header avatar fix - End */

That's all.
eNvy could you please repaint thank you I want something like this theme color scheme http://demo.nicetheme.com/forum?theme_id=206964 again Thank you!
This theme is really nice. You can to do a theme like this, but dark?
(2019-01-28, 11:17 PM)DevLife Wrote: [ -> ]eNvy could you please repaint thank you I want something like this theme color scheme http://demo.nicetheme.com/forum?theme_id=206964 again Thank you!

Sorry but I don't have the time right now. I can barely update the themes whenever I have a little bit of free time.

(2019-01-31, 07:13 PM)Chinezul Wrote: [ -> ]This theme is really nice. You can to do a theme like this, but dark?

Like I said before, I don't have the time. Also, black themes takes a lot of time because you need to style a lot again to match that dark feeling.

If I have free time maybe I can make a dark version, but I cannot promise it.
I can't access the admin cp throught user cp drop down
(2019-02-08, 12:59 AM)DevLife Wrote: [ -> ]I can't access the admin cp throught user cp drop down

It's working fine on my end. The template to access the admincp has the same href as the original MyBB template.
Could this be updated to 18.20 cause I really love this theme!
Hello eNvy,
your theme is great, I have only a problem with the Last Post Avatar extension, it is not working in your style.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14