Thread Rating:
  • 20 Vote(s) - 4.15 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.8] Square theme
#41
(09-26-2014, 11:07 AM)webycam Wrote: Excuse,

Where's the bread crumbs?
Blush

(09-26-2014, 10:20 AM)eNvy Wrote: You can hide or show the sidebar (Lastest Activity) by pressing the button in the breadcrumbs =).

[Image: DchCI7K.png]

Magenta is the breadcrumb.

Red is the button to show/hide the sidebar.
I don't give support on PM.
Reply
#42
ok, thak you.


can be removed from admin for all users?
Reply
#43
No, you need to edit a few templates to remove the script and the width, buttons, etc.
I don't give support on PM.
Reply
#44
Remove button to show/hide the sidebar ? resize board statics ? fixed slidebar . Please
[Image: LcUMqRV.png]
Look : chochimcanh.com
and insert video,choose default youtube
[Image: IiHpfZ9.png]
sorry : i'm vietnamese
 Best Kitten Food
[url=http://pcworld365.com/best-gaming-laptop-1000.html][/url]
Reply
#45
thank you, very much
Reply
#46
(09-26-2014, 03:30 PM)juli_0 Wrote: Remove button to show/hide the sidebar ? resize board statics ? fixed slidebar . Please
[Image: LcUMqRV.png]
 Look : chochimcanh.com
and insert video,choose default youtube
[Image: IiHpfZ9.png]
sorry : i'm vietnamese

So, you want to:

1. Remove the button of the breadcrumbs to show/hide the sidebars.
2. Put the same width of the forum to statistics.
3. Custom sizes of forum/sidebars.
4. Remove the content from the sidebars.

The youtube thing isn't a theme addon, that's a change you need to apply on the default editor of MyBB, you can ask for support of that here: http://community.mybb.com/forum-176.html

----------

1. Remove the buttons:

ACP > Templates & Styles > Templates > Square templates > Navigation templates > open nav template

You will see this:

<fieldset class="breadcrumb">
	<span class="crumbs">{$nav}{$activesep}
		<span class="crust">{$activebit}</span>
	</span>
	<a class="buttons" title="Hide sidebar" style="float: right;"><i style="font-size: 14px;" class="fa fa-compress fa-fw"></i></a>
	<a class="clickedbuttons" title="Show sidebar" style="float: right;"><i style="font-size: 14px;" class="fa fa-expand fa-fw"></i></a>
</fieldset>

Now, delete all of that, and put this:

<fieldset class="breadcrumb">
	<span class="crumbs">{$nav}{$activesep}
		<span class="crust">{$activebit}</span>
	</span>
</fieldset>

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

2. Statistics with the same width of the forum:

ACP > Templates & Styles > Templates > Square templates > Index templates > and open index template

Search this:

<div class="forums" style="float: left; width: 724px;">
	{$forums}
</div>
  
<br class="clear" /><br />
{$boardstats}
{$footer}

Replace with this:

<div class="forums" style="float: left; width: 724px;">
	{$forums}
        {$boardstats}
</div>

{$footer}

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

3. To adjust the size of the forums / sidebars:

ACP > Templates & Styles > Templates > Square templates > Index templates > and open index template

Search this:

<div class="sidebar" style="float: right; width: 250px;">

Adjust the "width" of the sidebars to your needs, like 21%.

Now, search this:

<div class="forums" style="float: left; width: 724px;">

Adjust the "width" of the forums to your needs, like 78%.

Remember, I code in pixels, so, the final width it's FIXED for a basic resolution of 1024px. If you use %, the sizes changes, and you will need to change more things. I recommend to use pixels instead % if you want to replace the sizes fast.

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

Remove the last thread/posts:

ACP > Templates & Styles > Templates > Square templates > Index templates > and open index template

Search this:

<div class="sidebar" style="float: right; width: 250px;">

	<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">
				<div class="expcolimage"><img src="{$theme['imgdir']}/collapse.png" id="ths_img" class="expander" alt="[-]" title="[-]" /></div>
					<strong>Latest Activity</strong>
			</td>
		</tr>
		<tr>
			<td style="{$collapsed['ths_e']} padding: 0;" id="ths_e">
				<div class="latestthreads float_left"></div>
			</td>
		</tr>
	</table>
  	<div class="theadend"></div>

</div>

Replace all of that with this:

<div class="sidebar" style="float: right; width: 250px;">
  
	<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
		<tr>
			<td class="thead">
				<div class="expcolimage"><img src="{$theme['imgdir']}/collapse.png" id="ths_img" class="expander" alt="[-]" title="[-]" /></div>
					<strong>Put your title here</strong>
			</td>
		</tr>
		<tr>
			<td style="{$collapsed['ths_e']} padding: 0;" id="ths_e">
				Put your content here
			</td>
		</tr>
	</table>
  	<div class="theadend"></div>

</div>

Replace the title/content there with the content you want.

Greetings!
I don't give support on PM.
Reply
#47
Wow,very good,thanks eNvy very much . Demo : chimcanhviet.hol.el .Upon completion I will use the pages chochimcanh.com
sorry ; google translates Smile

move or add new thread ?
[img][Image: dIFtNB9.png][/img]
 Best Kitten Food
[url=http://pcworld365.com/best-gaming-laptop-1000.html][/url]
Reply
#48
Hello,

We are having a problem with this Theme in that the Latest Activity does not show any new posts or any information at all.

Is someone able to assist or point us in the direction as to why this might be.

Regards

Mini
Reply
#49
(09-27-2014, 03:20 AM)juli_0 Wrote: Wow,very good,thanks eNvy very much . Demo : chimcanhviet.hol.el .Upon completion I will use the pages chochimcanh.com
sorry ; google translates Smile

move or add new thread ?
[img][Image: dIFtNB9.png][/img]

ACP > Templates & Styles > Templates > Square Templates > Forum Display Templates > open forumdisplay_threadlist

Up to the top, add this:

<div class="float_left" style="margin-top: 10px;">
	{$multipage}
</div>
<div class="float_right" style="margin-bottom: 17px;">
	{$newthread}
</div>

(09-27-2014, 03:57 PM)Minipod Wrote: Hello,

We are having a problem with this Theme in that the Latest Activity does not show any new posts or any information at all.

Is someone able to assist or point us in the direction as to why this might be.

Regards

Mini

ACP > Configuration > Settings > Portal Settings

- Show Latest Discussions: Yes
- Number of latest discussions to show: Put the number you want, example: 5
- Forums to exclude latest discussions from: None

Then create any thread and that's all.
I don't give support on PM.
Reply
#50
Extremely nice theme, thank-you for making this!
I haven't come across many problems yet, so well done!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)