Thread Rating:
  • 14 Vote(s) - 3.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.8] NetPen Theme
This user has been denied support. This user has been denied support.
(08-06-2016, 06:36 AM)shamzblueworld Wrote:
(08-06-2016, 05:28 AM)misharnet Wrote: That is weird. It has nothing to do with Portal ... it has it's own JavaScript that makes it possible to have Latest Activities outside of portal.php ...

Did you change/add something in index page template ... can you post a code of your index page template?
Nope, I didn't do anything there yet. Here is my index page code. 
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
    lang.no_new_posts = "{$lang->no_new_posts}";
    lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
</head>
<body>
{$header}
	
<a class="buttons" style="float: right;"></a>
<a class="clickedbuttons" style="float: right;"></a>
<br class="clear" />
<div class="sidebar" style="float: right;width: 19%; margin-bottom: 20px;">

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>
Recommended:
</strong></td>
</tr>
<tr>
<td class="trow1">
You can put in here some News or Google Adsense ...
</td>
</tr>
</table>
</br>

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>
{$mybb->settings['bbname']} Totals:
</strong></td>
</tr>
<tr>
<td class="trow1" colspan="4" style="padding:10px;line-height: 22px;">
<span class="smalltext">
<strong>Total Posts: </strong>
<span class="stat">{$stats['numposts']}</span>
</br>
<strong>Total Threads: </strong>
<span class="stat">{$stats['numthreads']}</span>
</br>
<strong>Members: </strong>
<span class="stat">{$stats['numusers']}</span>
</br>
<strong>Newest Member: </strong>
<span class="stat">{$stats['lastusername']}</span>
</br>
<strong>Most Online: </strong>
<span class="stat">{$mostonline['numusers']}</span>
</span>
</td>
</tr>
</table>
</br>

<script type="text/javascript">
	jQuery(function(){
		jQuery(".latestthreads").load("{$mybb->settings['bburl']}/portal.php .latestthreads_portal");
	});
</script>
  
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead">
<strong>Latest activity</strong>
</td>
</tr>
<tr>
<td class="trow1">
<div class="latestthreads"></div>
</td>
</tr>
</table>
</br>

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
{$whosonline}
</tr>
</table>
</br>
</div>
<div class="forums" style="float: left;width: 80%;">
{$forums}
</div>

<div class="sidebar-responsive">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>
Recommended:
</strong></td>
</tr>
<tr>
<td class="trow1">
You can put in here some News or Google Adsense ...
</td>
</tr>
</table>
</br>

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>
{$mybb->settings['bbname']} Totals:
</strong></td>
</tr>
<tr>
<td class="trow1" colspan="4" style="padding:10px;line-height: 22px;">
<span class="smalltext">
<strong>Total Posts: </strong>
<span class="stat">{$stats['numposts']}</span>
</br>
<strong>Total Threads: </strong>
<span class="stat">{$stats['numthreads']}</span>
</br>
<strong>Members: </strong>
<span class="stat">{$stats['numusers']}</span>
</br>
<strong>Newest Member: </strong>
<span class="stat">{$stats['lastusername']}</span>
</br>
<strong>Most Online: </strong>
<span class="stat">{$mostonline['numusers']}</span>
</span>
</td>
</tr>
</table>
</br>

<script type="text/javascript">
	jQuery(function(){
		jQuery(".latestthreads").load("{$mybb->settings['bburl']}/portal.php .latestthreads_portal");
	});
</script>
  
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead">
<strong>Latest activity</strong>
</td>
</tr>
<tr>
<td class="trow1">
<div class="latestthreads"></div>
</td>
</tr>
</table>
</br>

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
{$whosonline}
</tr>
</table>
</br>
</div>
<br class="clear" />
{$boardstats}

<div class="legend">
<dl class="forum_legend smalltext">
	<dt><span class="forum_status_small forum_on_small" title="{$lang->new_posts}"></span></dt>
	<dd>{$lang->new_posts}</dd>

	<dt><span class="forum_status_small forum_off_small" title="{$lang->no_new_posts}"></span></dt>
	<dd>{$lang->no_new_posts}</dd>

	<dt><span class="forum_status_small forum_offlock_small" title="{$lang->forum_locked}"></span></dt>
	<dd>{$lang->forum_locked}</dd>

	<dt><span class="forum_status_small forum_offlink_small" title="{$lang->forum_redirect}"></span></dt>
	<dd>{$lang->forum_redirect}</dd>
</dl>
<div class="bottom_top">
	{$lang_select} {$theme_select}
</div>
</div>
<br style="clear: both" />
{$footer}
</body>
</html>

Is there any chance to see your Forum live, so I can inspect it?
Reply
Just found out another bug now... With the CSS. See here http://prntscr.com/c2a25m
When the user menu drops from the bar @ 981 and above width, this happens to forum descriptions, they all drop as well.
It gets fixed again at 980 and below.
And about the latest threads issue, are you sure its not because of portal? As this is the code calling for latest threads right? 
<script type="text/javascript">
    jQuery(function(){
        jQuery(".latestthreads").load("{$mybb->settings['bburl']}/portal.php .latestthreads_portal");
    });
</script>
It is calling the portal, isn't it?
Reply
Where would I {$theme_select} on this theme? I put it in the footer template, but no luck. Do I have to put it somewhere elese?
Reply
This user has been denied support. This user has been denied support.
(08-06-2016, 09:05 AM)shamzblueworld Wrote: Just found out another bug now... With the CSS. See here http://prntscr.com/c2a25m
When the user menu drops from the bar @ 981 and above width, this happens to forum descriptions, they all drop as well.
It gets fixed again at 980 and below.
And about the latest threads issue, are you sure its not because of portal? As this is the code calling for latest threads right? 
<script type="text/javascript">
    jQuery(function(){
        jQuery(".latestthreads").load("{$mybb->settings['bburl']}/portal.php .latestthreads_portal");
    });
</script>
It is calling the portal, isn't it?

It "calls" portal.php, but not directly, like you would click on a link. As long as portal.php is present in your MyBB script it should work just fine.

I am working on completely checking and setting of css files.

(08-06-2016, 04:29 PM)Sgt Cheesepuffs Wrote: Where would I {$theme_select} on this theme? I put it in the footer template, but no luck. Do I have to put it somewhere elese?

Do you mean that there isno Theme select option present? Or you want to move it somewhere else?
Reply
(08-07-2016, 06:36 AM)misharnet Wrote:
(08-06-2016, 09:05 AM)shamzblueworld Wrote: And about the latest threads issue, are you sure its not because of portal? As this is the code calling for latest threads right? 
<script type="text/javascript">
    jQuery(function(){
        jQuery(".latestthreads").load("{$mybb->settings['bburl']}/portal.php .latestthreads_portal");
    });
</script>
It is calling the portal, isn't it?

It "calls" portal.php, but not directly, like you would click on a link. As long as portal.php is present in your MyBB script it should work just fine.

I activated Portal, and the latest activity works fine. So it does depend upon portal... does not work without Portal activated as of yet.
Can you please tell how to show latest threads without activating portal?
Thank you
Reply
Any update on this misharnet? When do you think the css updates will be released?
Thank you
Reply
Excuse mi sir,
please allow me to say a salutation

For a theme at this calibre, usually people would have sell it, but you give us for free

You are the man sir!
Reply
Hi admin, thank you for support. Theme postbit's very large view on mobile. 

i want to shrink . I sent in the appendix. I want to do as the picture. how can I do it?
   
Reply
This user has been denied support. This user has been denied support.
(08-18-2016, 09:16 PM)crazyoff88 Wrote: Hi admin, thank you for support. Theme postbit's very large view on mobile. 

i want to shrink . I sent in the appendix. I want to do as the picture. how can I do it?

Thanks for using my Theme.

You must know that this Theme still uses "tables". It means it is very difficult to make it 100% responsive + to look great at mobile devices. I have tried to get the maximum of it, in order to make it responsive. If I would like to make it 100% responsive by all standards, I would jave to turn all "tables" into "divs", to do something like that I would have to change a thousands lines of codes?! That is a HUGE work and it couldn't be FREE ...

About your question, change the following in theme.css file:

theme.css:

line: 1162
.post .post_author div.author_avatar {
    float: left;
    width: auto;
    text-align: left;
}

line: 924
.post .post_author div.author_information {
    width: 25%;
    text-align: left;
    float: left;
}

line: 933
.post .post_author div.author_statistics {
    width: 45%;
    text-align: right;
}
Reply
I would like to see a screen shot of the design, but the one you provided in your first post is not working... Can you please share another screen shot?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)