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.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14
No, maybe that part isn't complete, this was my first theme... so... XD

Yep, isn't modified.

Go to forumbit_depth2_cat template, and replace all the code with this:

<tr>
<td class="{$bgcolor}" align="center" valign="top" width="1"><img src="{$theme['imgdir']}/{$lightbulb['folder']}.png" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" class="ajax_mark_read" id="mark_read_{$forum['fid']}" /></td>
<td class="{$bgcolor}" valign="top">
<strong><a href="{$forum_url}">{$forum['name']}</a></strong>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$subforums}</div>
</td>
<td class="{$bgcolor}" valign="top" align="right" style="white-space: nowrap"><i style="font-size: 14px;" class="fa fa-folder-open-o fa-fw" title="Threads"></i>: {$threads}{$unapproved['unapproved_threads']}<br /><i style="font-size: 14px;" class="fa fa-file-text-o fa-fw" title="Posts"></i>: {$posts}{$unapproved['unapproved_posts']}</td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap"></td>
<td class="{$bgcolor}" valign="top" align="left" style="white-space: nowrap" width="220px">{$lastpost}</td>
</tr>

Try that and tell me if that works.
Perfect! Thank you! One more question... how would I go about adding a navigation menu into the sidebar? I have some links that don't fit in the header Smile
You need to go to the index template, and search the div who contains the information about the sidebar, here:

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead">
<div class="expcolimage"><img src="{$theme['imgdir']}/collapse.gif" id="ths_img" class="expander" alt="[-]" title="[-]" /></div>
<strong>
<span class="thead">Latest Threads</span>
</strong>
</td>
</tr>
<tr>
<td class="trow1" style="{$collapsed['ths_e']}" id="ths_e">

<div class="latestthreads float_left">
</div>

</td>
</tr>
</table>
<div class="theadend"></div>

This is the sidebar with the latest threads, you can modify the title:

<span class="thead">Latest Threads</span>

And you can insert any type of links there, in this way:

First, delete this:

<div class="latestthreads float_left">
</div>

Then, add this:

<a href="Your link">Title of the link</a><br />
<a href="Your link">Title of the link</a>

With that, you can add infinite links Toungue.
You're a lifesaver, thanks you Wink
(2014-08-02, 03:55 PM)allegrif Wrote: [ -> ]You're a lifesaver, thanks you Wink

No, thanks to you for using my theme.

I'm only a young designer =).
(2014-07-31, 07:09 PM)msmindia Wrote: [ -> ]Hello eNvy!

I have installed Thank You like Plugin but I am facing an issue with Square theme. I can see "Likes Given and Likes Received" in profile field when I select default theme but it's not shown in Square theme. Please help me...

Waiting for your response.
Thanks

To anyone else struggling with this, I found a fix. Copy this:

<div style="color: #204867; margin-bottom: 5px;"><i style="font-size: 14px;"  title="Likes" style="vertical-align: baseline;"></i>%%TYL_NUMTHANKEDLIKED%%</div>

into postbit_author_user so that the user info is in whichever order you like. I have:

<div class="userinfo">
<div style="color: #204867; margin-bottom: 5px;"><i style="font-size: 14px;" class="fa fa-comments fa-lg" title="Total Posts" style="vertical-align: baseline;"></i>&nbsp;&nbsp;{$post['postnum']}</div>
<div style="color: #204867; margin-bottom: 5px;"><i style="font-size: 14px;" class="fa fa-calendar-o fa-lg" title="Register date" style="vertical-align: baseline;"></i>&nbsp;&nbsp;{$post['userregdate']}</div>
	{$post['replink']}{$post['warninglevel']}
<div style="color: #204867; margin-bottom: 5px;"><i style="font-size: 14px;"  title="Likes" style="vertical-align: baseline;"></i>%%TYL_NUMTHANKEDLIKED%%</div>
</div>

I know some of that code is probably unnecessary but I don't know which bits, so I used it all and it worked Big Grin
First thanks a lot for the wonderful theme Smile



i saw a strange error -

when i resize my browser and scroll the scrollbar left to right grey box comes instead of blue in header and footer.

i attach a photo also you can check here too -


http://www.responsinator.com/
Hi i've got a little problem. Im using chrome browser and site looks like this:

http://i.hizliresim.com/72Nz2a.jpg

What should i do ?
(2014-08-11, 02:50 PM)coolblazer Wrote: [ -> ]Hi i've got a little problem. Im using chrome browser and site looks like this:

http://i.hizliresim.com/72Nz2a.jpg

What should i do ?

Read the README.txt file inside the zip, you will understand what steps you need to accomplish to successfully install the theme.

(2014-08-11, 01:05 PM)Digi646 Wrote: [ -> ]First thanks a lot for the wonderful theme Smile



i saw a strange error -

when i resize my browser and scroll the scrollbar left to right grey box comes instead of blue in header and footer.

i attach a photo also you can check here too -


http://www.responsinator.com/

I think it's a problem with the load of the web, because if you see, in different resolutions, the header or footer loads more and more BUT at the moment of the start scrolling, in that part all becomes grey.
(2014-08-11, 03:16 PM)eNvy Wrote: [ -> ][quote='coolblazer' pid='1091654' dateline='1407768646']
Hi i've got a little problem. Im using chrome browser and site looks like this:

http://i.hizliresim.com/72Nz2a.jpg

What should i do ?

Read the README.txt file inside the zip, you will understand what steps you need to accomplish to successfully install the theme.



Yes i read and did all all steps. But i couldnt run smoothly Sad
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14