Thread Rating:
  • 9 Vote(s) - 4.11 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.8] MyIPB theme
(01-26-2019, 01:19 AM)DevLife Wrote:
(01-23-2019, 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.
I don't give support on PM.
Reply
https://imgur.com/a/yL0rDSt
I was talking about this I did upload the inc file
Reply
(01-26-2019, 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.
I don't give support on PM.
Reply
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!
Reply
This theme is really nice. You can to do a theme like this, but dark?
[Image: b_560_95_1.png]
[Image: WiKsxU4.gif]
Reply
(01-28-2019, 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.

(01-31-2019, 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 don't give support on PM.
Reply
I can't access the admin cp throught user cp drop down
Reply
(02-08-2019, 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.
I don't give support on PM.
Reply
Could this be updated to 18.20 cause I really love this theme!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)