MyBB Community Forums

Full Version: Square theme
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
(2014-11-27, 08:05 AM)wladan Wrote: [ -> ]
(2014-11-25, 10:59 AM)wladan Wrote: [ -> ]Hi everibody! Smile
This Square theme rocks!

I hava a question.
How to change sidebar - latest activity?
I want to click on the title of Thread goes to this post (not first post) of the Thread. How to do that?

My Forum:
http://cafe.limundo.com/

Can someone help me? Confused

Anyone knows how to do this? 
Instead of the sidebar title link pointing to the first post, how to display the latest post? 

I know it's located inside portal_latestthreads_thread and this line needs some changes:
<a href="{$mybb->settings['bburl']}/{$thread['threadlink']}">{$thread['subject']}</a>
^ you can change it to below
<a href="{$mybb->settings['bburl']}/{$thread['threadlink']}&amp;action=lastpost">{$thread['subject']}</a>
Great! Thanks mate.
(2015-06-15, 02:14 AM)HumanError Wrote: [ -> ]
(2015-06-12, 05:28 AM)HumanError Wrote: [ -> ]need help 

Be more specific please... if your "error" is related to the menu, you need to adjust the width of the 3 boxes in order to achieve the correct size for each one of them.




some text is gone from my forum

You need to install the custom plugin that comes with the theme in order to see the custom vars I used into the theme.

(2015-06-15, 06:06 AM)GreyGhost Wrote: [ -> ]
(2015-06-13, 07:09 PM)eNvy Wrote: [ -> ]
(2015-05-26, 11:56 PM)GreyGhost Wrote: [ -> ]Hi all,


First off, I love you theme eNvy! I love how dynamic, responsive, and clean it is. I really like the blue look, and had a similar theme back on myBB 1.6 and have been waiting for a theme like this on 1.8!

I'm slowly making the preparations for making it my new default theme layout. However I have a question...

I want to expand the margins of the forum so there is less white space on the left and right.

As in my screenshot I want to expand the forum width out to about where those red lines are.

[Image: t5YjqUD.png]


I found half the answer in an earlier post, but haven't had further time to keep looking through this thread, so sorry if it has been previously answered completely.

http://community.mybb.com/thread-159593-...pid1106063


In Square Templates » Index is where you can edit the margins in pixels for the sidebar and forum:

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

However when I expand the above to say 1500px, nothing changes. You can see it expand while the page is refereshing, but it just snaps back to its regular postion after. I can also make the side bar bigger, but then it overlaps the forum.

I understand there is no way to center float the forum, you can only align left and right, but what is the best way to expand the forum width equally left and right?

Thank you for anyone who helps!

Never mind, found the post that solved my problem:

http://community.mybb.com/thread-159593-...pid1113125

Thanks for the great theme!

Another quick question though....

Is updating the font-awesome icons as simple as downloading the new version (4.3) and replacing the files with the new files in the directory images/square/font-awesome ?

Thanks!

To change the width of the forums and the sidebar, you need to edit the width of the containers in the index template, and also, you need to go to headerinclude template, search the code of the sidebar, and replace the width there. In that code, the first and the last "width" goes to the forums, and the middle of them, is for the sidebar. With that changed, when you collapse or expand your forum, adapt the size of the containers automatically.

(2015-06-08, 06:18 AM)GreyGhost Wrote: [ -> ]Hey I have been trying to edit the minimum width for this theme. As when you shrink the browser or page, the forum does not scale well:

[Image: oPKjYx3.png]

I have tried following all the information here:
http://community.mybb.com/thread-159593-...pid1113125 to adjust the min width as well, but it doesn't seem to be working. I also dove into the below CSS

.wrapper {

                width: 1200px;

                margin: 0 auto;

                padding: 0 20px;

                min-width: 984px;

}

 

#content {

                width: auto !important;

                padding: 0;

                overflow: hidden;

                min-width: 1024px;

}

 

 

#header {

                background: #005ea7;

                height: 200px;

                min-width: 1024px;

}

 

#panel {

                background: #003965;

                height: 50px;

                min-width: 1024px;

}

I've tried editing both the global and square css files to adjust the minimum length, but it doesn't seem to change it at all.

Is there anyway to get this theme to wrap nicely?

You need to edit the "width" and "min-width" property in order to reduce the size, also check all the Square.css because I use a lot of classes.


Yeah I edited all the "width" and "min-width" classes and went through the Square.css quite a bit. The best I could do for now is fix it to a set width so it doesn't compress on itself.

I'll have a play with it at another time if need be.

Thanks for the great theme!

No problem, thanks for your kind words ^^.

(2015-06-17, 10:37 AM).m. Wrote: [ -> ]^ you can change it to below
<a href="{$mybb->settings['bburl']}/{$thread['threadlink']}&amp;action=lastpost">{$thread['subject']}</a>

Thanks .m. !
Good afternoon! I adore this theme and would like to use it, but I'm having trouble with installation. I have installed everything, and yet only a few of the images show, and the plugin is no where to be found. It doesn't make sense that some things show, and some don't, but I can't figure it out. I've installed, deleted, reinstalled... several times. I've tried different folder names. I've tried two different FTP clients. But still no luck. Does anyone have any thoughts for me? Would be greatly appreciated! <3
(2015-06-19, 01:56 PM)MandyMarieB Wrote: [ -> ]Good afternoon! I adore this theme and would like to use it, but I'm having trouble with installation. I have installed everything, and yet only a few of the images show, and the plugin is no where to be found. It doesn't make sense that some things show, and some don't, but I can't figure it out. I've installed, deleted, reinstalled... several times. I've tried different folder names. I've tried two different FTP clients. But still no luck. Does anyone have any thoughts for me? Would be greatly appreciated! <3

Follow this steps to install it correctly.

1. Open the "Upload" folder and upload all the content to the root of your forum.
2. If the system ask you to replace, press "yes", it's only custom content.
3. Go to ACP > Templates & Styles > Import a Theme > Select the Square-theme.xml and press upload.
4. Go to Themes and set Square as the default theme.
5. Go to Configuration > Plugins and activate "XSTYLED custom language vars".

I can't be more specific than that.
I've done exactly that each time though. And the Plugin never appears.

EDIT: I guess I should point out that I'm using Icyboard specifically. Does that make a difference?
(2015-06-19, 05:33 PM)MandyMarieB Wrote: [ -> ]I've done exactly that each time though. And the Plugin never appears.

EDIT: I guess I should point out that I'm using Icyboard specifically. Does that make a difference?

If you don't have access to the root of the host to make modifications and upload files, I think you won't get the theme running at 100%.
need help the number to page 1/2/3/4/5/6 its not showing 
[Image: 11642084_1032750356742783_145036591_o.jp...cdebffaaa5]
(2015-06-20, 04:46 PM)HumanError Wrote: [ -> ]need help the number to page 1/2/3/4/5/6 its not showing 
[Image: 11642084_1032750356742783_145036591_o.jp...cdebffaaa5]

Works perfectly:

[Image: VinMmQn.png]