MyBB Support

Mybb Borders and Statistics

Submitted by GasmoN, , Thread ID: 22253

Thread Closed
06-07-2016, 07:02 PM
This post was last modified: 06-07-2016, 07:05 PM by GasmoN
#1
I am started editing Vienna theme, and now i want to add these two things, but I dont know how, so if someone can help me
that would be awesome!

First thing is left and right borders (like on the image)
The second thing is this (on your four black) bar with "Forum" "Statistics" "Last Post"
Vienna theme is light theme, and mouch different of Nulledbb's dark theme, so i think
this is not like "Copying" nulledbb's theme if you help me about this?

Image:
[Image: 9d6ac2123684491c957c2be4f6fca4fb.png]

PS: Since i not finished my theme yet, i still working on localhost

RE: Mybb Borders and Statistics

#2
The first request can be edited in your global.CSS
Use inspect eminent to figure out which line to edit

I don't get the second question

[Image: Yp8ZHSk.gif]

RE: Mybb Borders and Statistics

OP
This post was last modified: 06-07-2016, 07:30 PM by GasmoN
#3
06-07-2016, 07:12 PM
ezalB Wrote:
The first request can be edited in your global.CSS
Use inspect eminent to figure out which line to edit

I don't get the second question
the second request is this
[Image: 6f4088da15ca4200820c543820b6b96b.png]

PS: Can you write me a code for first request? I fail every time i try to add borders

RE: Mybb Borders and Statistics

This post was last modified: 06-07-2016, 07:31 PM by Zenith
#4
06-07-2016, 07:28 PM
GasmoN Wrote:
06-07-2016, 07:12 PM
ezalB Wrote:
The first request can be edited in your global.CSS
Use inspect eminent to figure out which line to edit

I don't get the second question
the second request is this
[Image: 6f4088da15ca4200820c543820b6b96b.png]

Doesn't it sort of look like that on a mybb theme?

The black bar would be in global.CSS again I think. Check in inspect eliment to see what line to edit and stuff.

And I can't write any code RN. I'm on vacation and typing this on my phone lol. I can help when I get home. Just pm me so I don't forget.

[Image: Yp8ZHSk.gif]

RE: Mybb Borders and Statistics

OP
#5
06-07-2016, 07:30 PM
ezalB Wrote:
06-07-2016, 07:28 PM
GasmoN Wrote:
06-07-2016, 07:12 PM
ezalB Wrote:
The first request can be edited in your global.CSS
Use inspect eminent to figure out which line to edit

I don't get the second question
the second request is this
[Image: 6f4088da15ca4200820c543820b6b96b.png]

Doesn't it sort of look like that on a mybb theme?

The black bar would be in global.CSS again I think. Check in inspect eliment to see what line to edit and stuff.

And I can't write any code RN. I'm on vacation and typing this on my phone lol. I can help when I get home. Just pm me so I don't forget.

That image is taken from mybb forum. it's not my forum Tongue
Btw, if anyone doesn't help me, i will pm you, just tell me whe you will bac from vacation?

RE: Mybb Borders and Statistics

#6
06-07-2016, 07:43 PM
GasmoN Wrote:
06-07-2016, 07:30 PM
ezalB Wrote:
06-07-2016, 07:28 PM
GasmoN Wrote:
06-07-2016, 07:12 PM
ezalB Wrote:
The first request can be edited in your global.CSS
Use inspect eminent to figure out which line to edit

I don't get the second question
the second request is this
[Image: 6f4088da15ca4200820c543820b6b96b.png]

Doesn't it sort of look like that on a mybb theme?

The black bar would be in global.CSS again I think. Check in inspect eliment to see what line to edit and stuff.

And I can't write any code RN. I'm on vacation and typing this on my phone lol. I can help when I get home. Just pm me so I don't forget.

That image is taken from mybb forum. it's not my forum Tongue
Btw, if anyone doesn't help me, i will pm you, just tell me whe you will bac from vacation?

I'll be back in 2 weeks
I know the image isn't from your forum. But its how you want it to look
Again it should be in the css if I remember correctly

[Image: Yp8ZHSk.gif]

RE: Mybb Borders and Statistics

OP
#7
06-07-2016, 07:56 PM
ezalB Wrote:
06-07-2016, 07:43 PM
GasmoN Wrote:
06-07-2016, 07:30 PM
ezalB Wrote:
06-07-2016, 07:28 PM
GasmoN Wrote:
06-07-2016, 07:12 PM
ezalB Wrote:
The first request can be edited in your global.CSS
Use inspect eminent to figure out which line to edit

I don't get the second question
the second request is this
[Image: 6f4088da15ca4200820c543820b6b96b.png]

Doesn't it sort of look like that on a mybb theme?

The black bar would be in global.CSS again I think. Check in inspect eliment to see what line to edit and stuff.

And I can't write any code RN. I'm on vacation and typing this on my phone lol. I can help when I get home. Just pm me so I don't forget.

That image is taken from mybb forum. it's not my forum Tongue
Btw, if anyone doesn't help me, i will pm you, just tell me whe you will bac from vacation?

I'll be back in 2 weeks
I know the image isn't from your forum. But its how you want it to look
Again it should be in the css if I remember correctly

Ok, I'll contact you in 2 weeks,
anyway, i think that bar isn't a big deal, almost every forum have it (mybb for example) http://prntscr.com/bpmeev
It doesn't have to be styled same like nuledbb's, i just need explanation what code to write and where
becouse Vienna theme by itself doesn't have that bar.
Look at the image http://prntscr.com/bpmdb6

RE: Mybb Borders and Statistics

#8
forumbit_depth1_cat template:

Code:
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead{$expthead}" colspan="5">
<div class="expcolimage"><img src="{$theme['imgdir']}/{$expcolimage}" id="cat_{$forum['fid']}_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></div>
<div><strong><a href="{$forum_url}">{$forum['name']}</a></strong><br /><div class="smalltext">{$forum['description']}</div></div>
</td>
</tr>
</thead>
<tbody style="{$expdisplay}" id="cat_{$forum['fid']}_e">
<tr>
<td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->forumbit_forum}</strong></span></td>
<td class="tcat" width="85" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_threads}</strong></span></td>
<td class="tcat" width="85" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_posts}</strong></span></td>
<td class="tcat" width="200" align="center"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></td>
</tr>
{$sub_forums}
</tbody>
</table>
<br />

(Default MyBB Code)

RE: Mybb Borders and Statistics

OP
This post was last modified: 06-07-2016, 09:16 PM by GasmoN
#9
06-07-2016, 09:03 PM
Aoki Wrote:
forumbit_depth1_cat template:

Code:
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead{$expthead}" colspan="5">
<div class="expcolimage"><img src="{$theme['imgdir']}/{$expcolimage}" id="cat_{$forum['fid']}_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></div>
<div><strong><a href="{$forum_url}">{$forum['name']}</a></strong><br /><div class="smalltext">{$forum['description']}</div></div>
</td>
</tr>
</thead>
<tbody style="{$expdisplay}" id="cat_{$forum['fid']}_e">
<tr>
<td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->forumbit_forum}</strong></span></td>
<td class="tcat" width="85" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_threads}</strong></span></td>
<td class="tcat" width="85" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_posts}</strong></span></td>
<td class="tcat" width="200" align="center"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></td>
</tr>
{$sub_forums}
</tbody>
</table>
<br />

(Default MyBB Code)

Doesn'w work at all :O (It's looks the same, just like i even didn't paste this code)

RE: Mybb Borders and Statistics

#10
First Question: Check with element inspect which class you need to find in global.css example if the class is "Throw1" go in global.css and find this class then since you want to add border like in pic use <b>one </b>of the following codes.

Code:
Use one of the codes below to add the border. Change color to the color you want the border to be.

Border-top: 2px solid color;
border-bottom: 2px solid color;
border-right: 2px solid color;
border-left: 2px solid color;

Second Question: Please eleborate a bit more since i don't get it Wink

Users browsing this thread: 2 Guest(s)