Welcome Guest ! Please   Login or Register


Check out our latest Premium Themes, Majestic , Majestic - Dark and Musk Themes for MyBB 1.8 Click to Shop Now

Now open for Custom Theme requests : Click to Order Now





 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tesla Settings

mybbfan Offline
Junior Member
**

Posts: 9
Joined: May 2014
Likes Received : 0

Nationality: Malaysia

Mood: Cheerful

Points: 212.19Points
Post: #1
Tesla Settings

Hi,

The documentation of Tesla seems limited. Below are some of my questions that I'm facing currently

How to disable sidebar (also the collapse sidebar button)
How to change the postbit display as horizontal or classic (I think I saw it in video demo, but shouldn't it be included in documentation?)
How to setup the "announcement" bar

Thanks
05-03-2014 04:30 PM
Find
0
Quote




mybbfan Offline
Junior Member
**

Posts: 9
Joined: May 2014
Likes Received : 0

Nationality: Malaysia

Mood: Cheerful

Points: 212.19Points
Post: #2
RE: Tesla Settings

Also, how to stop the advanced search icon animation?
05-03-2014 07:04 PM
Find
0
Quote




envira Offline
Doctor Web
*******

Posts: 1,245
Joined: Aug 2012
Likes Received : 303

Facebook Google Plus Twitter
Nationality: India

Mood: Lazy

Points: 63,253.44Points
Post: #3
RE: Tesla Settings

Hello,
1. the sidebar can be edited from Index templates > index template.
To remove the sidebar you need to remove the following code :
Code:
<div class="sidebar" style="float: right;width: 22%;">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" style="text-align:center;">
<div class="theadtitle" style="float:none;"><a href="#"><center>Banners</center></a></div>
</td>
</tr>
<tbody style="{$collapsed['2_e']}" id="2_e">
<td>
<div class="bcontainer">
  <div class="carousel">
    <ul>
      <li><a href="#"><img src="images/df/banner1.png" title="Banner 1"></a></li>
      <li><a href="#"><img src="images/df/banner2.png" title="Banner 2"></a></li>
      <li><a href="#"><img src="images/df/banner3.png" title="Banner 3"></a></li>
    </ul>  
  </div>
<div style="text-align:center;">
  <a class="navPrev"><i class="icon-chevron-sign-left"></i> Prev</a>
  <a class="navNext">Next <i class="icon-chevron-sign-right"></i></a>
</div>
</div>
</td>
</tbody>
</table>

</div>

And the setting of width :
Code:
<div class="forums" style="float: left;width: 77%;">
replace it with
Code:
<div class="forums">

This solves the sidebar issue.

2. To change postbit from horizontal to vertical or viceversa, just re3ad this : http://community.mybb.com/thread-40093-p...#pid268922

3. Announcement Bar can be edited from Header templates > header
just look at the text you will find it.

4. The animation can be stopped by removing the css animation in extras.css
look for this : #advsearch,
remove it from the code :
Code:
.forumicons, .catdes, #search input.textbox , .flogo, #advsearch, div.col li a, div.col li, #gotoTop, .loginbutt, .usercp_nav_item  {
-webkit-transition: all 250ms ease-in-out;
       -moz-transition: all 250ms ease-in-out;
       -o-transition: all 250ms ease-in-out;
        transition: all 250ms ease-in-out;
}
Hope this helps,
regards

[Image: lt79ucY.png]
05-04-2014 12:42 AM
Find
0
Quote




mybbfan Offline
Junior Member
**

Posts: 9
Joined: May 2014
Likes Received : 0

Nationality: Malaysia

Mood: Cheerful

Points: 212.19Points
Post: #4
RE: Tesla Settings

So, the announcement is hardcoded?

Can the announcement took the text from the built in announcement of mybb?
06-08-2014 03:52 AM
Find
0
Quote




envira Offline
Doctor Web
*******

Posts: 1,245
Joined: Aug 2012
Likes Received : 303

Facebook Google Plus Twitter
Nationality: India

Mood: Lazy

Points: 63,253.44Points
Post: #5
RE: Tesla Settings

Yes please, It can be easily edited Smile
I would provide the code for you.

So add this to your global.css at the very bottom :

Code:
.announcement {
    background: #2d2d2d;
    text-align: center;
    margin: 10px auto;
    padding: 10px 20px;
        box-shadow: 0px 3px 0px #222;
}

Now go to Header templates > header template

add this code where you want announcement.

Code:
<div class="announcement"><p><strong>Announcement:</strong> Message will be displayed here.</p></div>

thats it
regards

[Image: lt79ucY.png]
06-12-2014 09:59 AM
Find
0
Quote




mybbfan Offline
Junior Member
**

Posts: 9
Joined: May 2014
Likes Received : 0

Nationality: Malaysia

Mood: Cheerful

Points: 212.19Points
Post: #6
RE: Tesla Settings

Hi,

Thanks for reply, but where in the code shown did the extraction of the mybb announcement?
06-13-2014 02:09 AM
Find
0
Quote




envira Offline
Doctor Web
*******

Posts: 1,245
Joined: Aug 2012
Likes Received : 303

Facebook Google Plus Twitter
Nationality: India

Mood: Lazy

Points: 63,253.44Points
Post: #7
RE: Tesla Settings

Hello,
Can you please elucidate, preferably with images Smile

regards

[Image: lt79ucY.png]
06-22-2014 12:34 PM
Find
0
Quote




mybbfan Offline
Junior Member
**

Posts: 9
Joined: May 2014
Likes Received : 0

Nationality: Malaysia

Mood: Cheerful

Points: 212.19Points
Post: #8
RE: Tesla Settings

The code you suggested is a "hard-coded" style which I will have to change the message in the code.

MYBB have its own forum announcement system built in, I think you should already know that, in admin cp -> Forums & posts -> Forum Announcements, we can actually add announcements there.

My question is, how to get those announce and display it on the forum, instead of every time have to change the hard-coded message when need to change the announcement
06-23-2014 06:52 PM
Find
0
Quote





Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  [1.8x] Tesla Game [Missing text box] RoyalCyrex 0 36 11-30-2016 09:03 AM
Last Post: RoyalCyrex
  tesla game (tgl folder issue) marcopasha 1 48 11-18-2016 09:17 AM
Last Post: marcopasha
  [1.8x] Tesla Game (Disabling Sidebar Controls) Kraken 1 504 02-01-2016 02:22 AM
Last Post: envira
  [1.8x] Tesla Game Responsive Problem burakcanalgul 2 600 02-01-2016 02:07 AM
Last Post: envira
  [1.8x] Tesla Game Showthread_Quickreply weird Epik 1 355 12-17-2015 11:56 PM
Last Post: envira
  [1.8x] Tesla Dark Bugs Zero97 6 1,083 12-06-2014 12:55 AM
Last Post: envira
  Tesla Dark and MyAlerts foitoi 2 703 12-06-2014 12:54 AM
Last Post: envira
  Tesla Dark Font Issue Sir Fluffy Whiskers 1 686 09-26-2014 11:47 PM
Last Post: envira
  problems installing tesla dark in version 1.6.13 dtp 3 1,362 05-02-2014 06:57 AM
Last Post: envira
  Tesla Theme Font Issue blazed 5 1,328 01-21-2014 12:47 PM
Last Post: envira

Forum Jump:


User(s) browsing this thread: 1 Guest(s)

About Myskins

MySkins Studio is MyBB Themes Resource Website.

At MySkins Studio, We procreate MyBB Themes both custom MyBB Themes and premium Mybb Themes.We believe in quality and assure you the best MyBB themes at a very reasonable price , that suits your taste.

Feel free to drop in a request and get a quote.