MyBB Community Forums

Full Version: MyBB GoMobile for 1.8.*
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 15 16 17 18 19
Thanks,

N.2 Solved
hi phumix thanks for replying



I have a bug NOT I CANT ADD logo in my site



I am added logo in Computer version


now go to mobile version and added logo but logo not showing



I think the option you not added
I am using this go mobile theme by thanhtua4, but since it's in development stage, i found there are many bugs. So I am trying to optimize and make it better to be used in live forum. What I've done so far:

1. Change some CSS to make better appearance.
2. Solve the "Quote" problem.
3. Add pagination to portal page.
4. Fluid Image and Attachment
5. Add MyAlert link, and solve pop up problem. Alert link directly to alert.php
6. Solve Login bar toggle problem.
7. Minifying of bootstrap.css and bootstrap.min.js. In this theme, bootstrap components being used are nav bar and form only, so it's a waste of resources to load all of bootstrap components, so i customized it and save more than 100kB. Not working, any idea?

Next thing is I want to speed up loading time, i think the theme load to many unnecessary jquery. Here is the code of headerinclude of the theme, as you can see the theme loads several jquery libraries at the same time (jquery 1.8.2 , jquery 1.11.1 , and jquery 1.11.2 as default from mybb) , is it necessary? is it OK just to use one library, and remove another library?


<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script type="text/javascript">
jQuery.noConflict();
jQuery(document).ready(function($){
    $("a.logbut").click(function(){
        $(".logbar").slideToggle();
    });

$(".user_avatar[src='']").attr("src", default_avatar);  
$(".forumbit_subforums").each(function () {
 if($(this).length){
  $(this).parents(".rowbit").find("a[data-subforum]").addClass("smalltext").attr("data-subforum", "true");
 }
}); 
jQuery(function($) {
$("#backtop").hide();
  $(window).scroll(function () {
    if ($(this).scrollTop() > 400) {
      $('#backtop').fadeIn(200);
    } else {
      $('#backtop').fadeOut(200);
    }
  });
  $('.go-top').click(function () {
    $('html,body').animate({
      scrollTop: 0
    }, 1000);
    return false;
  });
}); 
});
</script>

{$stylesheets}
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="{$mybb->settings['bburl']}/images/mobile/js/bootstrap.min.js"></script>
<script type="text/javascript">
  jQuery.noConflict();
</script>
<link href="{$mybb->settings['bburl']}/images/mobile/css/bootstrap.css" rel="stylesheet">
<link rel="stylesheet" href="{$mybb->settings['bburl']}/images/mobile/css/font-awesome.min.css">
<link rel="alternate" type="application/rss+xml" title="{$lang->latest_threads} (RSS 2.0)" href="{$mybb->settings['bburl']}/syndication.php" />
<link rel="alternate" type="application/atom+xml" title="{$lang->latest_threads} (Atom 1.0)" href="{$mybb->settings['bburl']}/syndication.php?type=atom1.0" />
<meta http-equiv="Content-Type" content="text/html; charset={$charset}" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.js?ver=1800"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.plugins.min.js?ver=1800"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/general.js?ver=1800"></script>

<script type="text/javascript">
<!--
	lang.unknown_error = "{$lang->unknown_error}";

	lang.select2_match = "{$lang->select2_match}";
	lang.select2_matches = "{$lang->select2_matches}";
	lang.select2_nomatches = "{$lang->select2_nomatches}";
	lang.select2_inputtooshort_single = "{$lang->select2_inputtooshort_single}";
	lang.select2_inputtooshort_plural = "{$lang->select2_inputtooshort_plural}";
	lang.select2_inputtoolong_single = "{$lang->select2_inputtoolong_single}";
	lang.select2_inputtoolong_plural = "{$lang->select2_inputtoolong_plural}";
	lang.select2_selectiontoobig_single = "{$lang->select2_selectiontoobig_single}";
	lang.select2_selectiontoobig_plural = "{$lang->select2_selectiontoobig_plural}";
	lang.select2_loadmore = "{$lang->select2_loadmore}";
	lang.select2_searching = "{$lang->select2_searching}";

	var cookieDomain = "{$mybb->settings['cookiedomain']}";
	var cookiePath = "{$mybb->settings['cookiepath']}";
	var cookiePrefix = "{$mybb->settings['cookieprefix']}";
	var deleteevent_confirm = "{$lang->deleteevent_confirm}";
	var removeattach_confirm = "{$lang->removeattach_confirm}";
	var loading_text = '{$lang->ajax_loading}';
	var saving_changes = '{$lang->saving_changes}';
	var use_xmlhttprequest = "{$mybb->settings['use_xmlhttprequest']}";
	var my_post_key = "{$mybb->post_code}";
	var rootpath = "{$mybb->settings['bburl']}";
	var imagepath = "{$theme['imgdir']}";
  	var yes_confirm = "{$lang->yes}";
	var no_confirm = "{$lang->no}";
	var MyBBEditor = null;
	var spinner_image = "{$theme['imgdir']}/spinner.gif";
	var spinner = "<img src='" + spinner_image +"' alt='' />";
    var default_avatar = "images/default_avatar.png";
// -->
</script>
(2015-08-01, 07:08 PM)Raslansayyidi Wrote: [ -> ]hi phumix thanks for replying



I have a bug NOT I CANT ADD logo in my site



I am added logo in Computer version


now go to mobile version and added logo but logo not showing



I think the option you not added


Reply meet
[quote='zukro' pid='1172363' dateline='1438472321']
I am using this go mobile theme by thanhtua4, but since it's in development stage, i found there are many bugs. So I am trying to optimize and make it better to be used in live forum. What I've done so far:

1. Change some CSS to make better appearance.
2. Solve the "Quote" problem.
3. Add pagination to portal page.
4. Fluid Image and Attachment
5. Add MyAlert link, and solve pop up problem. Alert link directly to alert.php
6. Solve Login bar toggle problem.
7. Minifying of bootstrap.css and bootstrap.min.js. In this theme, bootstrap components being used are nav bar and form only, so it's a waste of resources to load all of bootstrap components, so i customized it and save more than 100kB. Not working, any idea?

Next thing is I want to speed up loading time, i think the theme load to many unnecessary jquery. Here is the code of headerinclude of the theme, as you can see the theme loads several jquery libraries at the same time (jquery 1.8.2 , jquery 1.11.1 , and jquery 1.11.2 as default from mybb) , is it necessary? is it OK just to use one library, and remove another library?




Cool we will be waiting for good job thank you
(2015-08-01, 11:38 PM)zukro Wrote: [ -> ]I am using this go mobile theme by thanhtua4,

I did hundreds of modification from that theme such pagination, button, fontawesome icon, MyAlert etc also removing whole MyBB Go Mobile language variable etc. Including put mobile share button such Facebook/Twitter/WhatsApp which is opening built-in socmed application on that phone. Tested on Android and Blackberry 10 for whatsapp.

Now nearly 100% perfect run on every MyBB 1.8 features, and superb running on every phone from 4 inch till 6 inch responsive!! Yes, it's beautiful themes ever created!

Since my site had huge millions of posts, I dont use MyBB Go Mobile, I am currently in project creating my own custom code/hook for auto-switch from Desktop into Mobile view
(2015-08-16, 04:17 PM)FBI Wrote: [ -> ]
(2015-08-01, 11:38 PM)zukro Wrote: [ -> ]I am using this go mobile theme by thanhtua4,

I did hundreds of modification from that theme such pagination, button, fontawesome icon, MyAlert etc also removing whole MyBB Go Mobile language variable etc. Including put mobile share button such Facebook/Twitter/WhatsApp which is opening built-in socmed application on that phone. Tested on Android and Blackberry 10 for whatsapp.

Now nearly 100% perfect run on every MyBB 1.8 features, and superb running on every phone from 4 inch till 6 inch responsive!! Yes, it's beautiful themes ever created!

Since my site had huge millions of posts, I dont use MyBB Go Mobile, I am currently in project creating my own custom code/hook for auto-switch from Desktop into Mobile view

Hi FBI, salam kenal ya..

Could you share your modified theme of thanhtua4?
I'm using https://github.com/Phumix/MyBB-GoMobile/ and getting the 'we think you may be a spam bot' error message still when registering from mobile. I deleted the templates from my system and uninstalled and deactivated the old plugin before installing this one. What is going on here?
hey i am posted a small tut for you



http://community.mybb.com/thread-176858.html


If you like my work plz + repu mee
How would I go about adding MyAlerts to GoMobile?
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19