The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Help with PunBB Columns removal and placement

4 posters

Page 1 of 2 1, 2  Next

Go down

Solved Help with PunBB Columns removal and placement

Post by daniloMD April 19th 2017, 10:29 pm

Good Evening ladies and gentlemen, came here to seek for your humble help! Smile

I've been trying to remove this bar,

Finally managed to do it with a tutorial that took me forever to find

(Going to Templates > Index_Box)

removed these codes:

Code:
<th class="tcl">{L_FORUM}</th>
<th class="tc2">{L_TOPICS}</th>
<th class="tc3">{L_POSTS}</th>
<th class="tcr">{L_LASTPOST}</th>

and these:

Code:
<td class="tc2">{catrow.forumrow.TOPICS}</td>
<td class="tc3">{catrow.forumrow.POSTS}</td>
and added this code:

Code:
  <p style="float:right; padding-right: 10px;"><b>{catrow.forumrow.POSTS}</b> Post/s in <b> {catrow.forumrow.TOPICS}</b> Topic/s</p>


screens:

The result was almost what I expected, but I can't the placement to the "RIGHT"


Just wanna be able to move things on the horizontal properly, already tried everything I could find, im really lost, help?
Thank you in advance, everyone!



Last edited by daniloMD on April 21st 2017, 4:41 pm; edited 2 times in total
daniloMD
daniloMD
New Member

Posts : 19
Reputation : 1
Language : italian

http://nexusteam.forumattivo.com/

Back to top Go down

Solved Re: Help with PunBB Columns removal and placement

Post by SLGray April 20th 2017, 4:13 am

Code:
<p style="float:right; padding-right: 10px;"><b>{catrow.forumrow.POSTS}</b> Post/s in <b> {catrow.forumrow.TOPICS}</b> Topic/s</p>
Play around with the number in this part:
Code:
padding-right: 10px;


Help with PunBB Columns removal and placement Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51463
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: Help with PunBB Columns removal and placement

Post by daniloMD April 20th 2017, 3:35 pm

SLGray wrote:
Code:
<p style="float:right; padding-right: 10px;"><b>{catrow.forumrow.POSTS}</b> Post/s in <b> {catrow.forumrow.TOPICS}</b> Topic/s</p>
Play around with the number in this part:
Code:
padding-right: 10px;

hey thank you for the answer
this is exactly what i was doing but it only moves further left Sad
this is my index_box code
index_box code:
daniloMD
daniloMD
New Member

Posts : 19
Reputation : 1
Language : italian

http://nexusteam.forumattivo.com/

Back to top Go down

Solved Re: Help with PunBB Columns removal and placement

Post by SLGray April 20th 2017, 8:43 pm

What happens when you use a negative number?


Help with PunBB Columns removal and placement Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51463
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: Help with PunBB Columns removal and placement

Post by daniloMD April 20th 2017, 8:50 pm

Nothing happens
We tried changing to "left" padding, width, negative, positive, and no matter what we did on that line of code, nothing worked
also it does move left tho, but we want it to go right.
daniloMD
daniloMD
New Member

Posts : 19
Reputation : 1
Language : italian

http://nexusteam.forumattivo.com/

Back to top Go down

Solved Re: Help with PunBB Columns removal and placement

Post by SLGray April 20th 2017, 8:52 pm

Are you saving the changes and publishing the modified template?


Help with PunBB Columns removal and placement Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51463
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: Help with PunBB Columns removal and placement

Post by daniloMD April 20th 2017, 9:06 pm

yes of course
If we INCREASE the WIDTH normally to the Right, It will increase the size of the objects affected by that line, but it won't push "the last posts" category to the right, instead it goes left

Spoiler:

that happens when you increase the padding right.
daniloMD
daniloMD
New Member

Posts : 19
Reputation : 1
Language : italian

http://nexusteam.forumattivo.com/

Back to top Go down

Solved Re: Help with PunBB Columns removal and placement

Post by SLGray April 20th 2017, 9:11 pm

Check your CSS styleshhet for something like this:
Code:
.pun table .tcr {
    overflow: hidden;
    padding: 0 0 0 .5em !important;
    text-align: left;
    width: 30%;
}


Help with PunBB Columns removal and placement Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51463
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: Help with PunBB Columns removal and placement

Post by daniloMD April 20th 2017, 9:19 pm

I've changed the values to something exagerated so that we could see what would affect, and as always, the Last posts won't move D: (note: the topics and posts ammount didn't move)

Spoiler:

we used this:

Code:
.pun table .tcr {
    overflow: hidden;
    padding: 50 0 50 5em !important;
    text-align: left;
    width: 300%;
}
daniloMD
daniloMD
New Member

Posts : 19
Reputation : 1
Language : italian

http://nexusteam.forumattivo.com/

Back to top Go down

Solved Re: Help with PunBB Columns removal and placement

Post by SLGray April 20th 2017, 9:25 pm

Well, your forum does not show that padding, but this one:
Code:
padding: 0 0 0 .5em !important;


Help with PunBB Columns removal and placement Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51463
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: Help with PunBB Columns removal and placement

Post by daniloMD April 20th 2017, 9:27 pm

wait we didnt notice you already had the Width % changed for us, we will try and show u the result in a couple minutes.
daniloMD
daniloMD
New Member

Posts : 19
Reputation : 1
Language : italian

http://nexusteam.forumattivo.com/

Back to top Go down

Solved Re: Help with PunBB Columns removal and placement

Post by SLGray April 20th 2017, 9:29 pm

I did not change anything.


Help with PunBB Columns removal and placement Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51463
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: Help with PunBB Columns removal and placement

Post by daniloMD April 20th 2017, 9:29 pm

ok we managed to get the Last posts to the Right, but we can't move the "Topic/s post/s in" to the right

Spoiler:

we switched the Text-align for "Float: Right" otherwise it wouldn't move to the right either
daniloMD
daniloMD
New Member

Posts : 19
Reputation : 1
Language : italian

http://nexusteam.forumattivo.com/

Back to top Go down

Solved Re: Help with PunBB Columns removal and placement

Post by SLGray April 20th 2017, 9:33 pm

Code:
.pun table .tcl {
    text-align: left;
)
Except it is part of the whole left section.


Help with PunBB Columns removal and placement Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51463
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: Help with PunBB Columns removal and placement

Post by SLGray April 20th 2017, 9:51 pm

Are you using this:  https://help.forumotion.com/t81777-deleting-columns-topics-and-messages ?  If yes, you do know that it is only for #phpBB2 ?


Help with PunBB Columns removal and placement Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51463
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: Help with PunBB Columns removal and placement

Post by daniloMD April 20th 2017, 9:57 pm

then how would you advise us to change the settings in the code
because if we put these 2

Code:
.pun table .tcr {
    overflow: hidden;
    padding: 0 20 30 .5em !important;
    text-align: left;
    width: 30%;
}


.pun table .tcl {
  text-align: left;
}

they both stay in the middle

Spoiler:

this happens if we add the "float right" to the TCR (last posts) and decrease the Width to a point its really small, so its not stopping the topics from going there anymore

Spoiler:


SLGray wrote:Are you using this:  https://help.forumotion.com/t81777-deleting-columns-topics-and-messages ?  If yes, you do know that it is only for #phpBB2 ?

No we used an Updated Post about Removing the Topics and Posts column for PunBB

this one :
Spoiler:
daniloMD
daniloMD
New Member

Posts : 19
Reputation : 1
Language : italian

http://nexusteam.forumattivo.com/

Back to top Go down

Solved Re: Help with PunBB Columns removal and placement

Post by SLGray April 20th 2017, 10:06 pm

You need to read the tutorial again, because you removed 2 lines of code that was not in the tutorial.  Also did you add the code in the right place?


Help with PunBB Columns removal and placement Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51463
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: Help with PunBB Columns removal and placement

Post by daniloMD April 20th 2017, 10:09 pm

yes we removed the "forum and last posts" to remove the entire bar, is there any other way to do that then?
daniloMD
daniloMD
New Member

Posts : 19
Reputation : 1
Language : italian

http://nexusteam.forumattivo.com/

Back to top Go down

Solved Re: Help with PunBB Columns removal and placement

Post by SLGray April 20th 2017, 10:10 pm

Did you add this:
Code:
<p style="float:right; padding-right:
10px;"><b>{catrow.forumrow.POSTS}</b> posts in
<b>{catrow.forumrow.TOPICS}</b> topics</p>
After this:
Code:
<h{catrow.forumrow.LEVEL} class="hierarchy"><a
href="{catrow.forumrow.U_VIEWFORUM}"
class="forumtitle">{catrow.forumrow.FORUM_NAME}</a></h{catrow.forumrow.LEVEL}>


Help with PunBB Columns removal and placement Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51463
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: Help with PunBB Columns removal and placement

Post by daniloMD April 20th 2017, 10:19 pm

yes I did
"So I re-did the tutorial, and this is the result I got:"

Spoiler:

My Objective was to remove the "Forum + Last posts Bar" so after this we removed the

Code:
<th class="tcl">{L_FORUM}</th>

<th class="tcr">{L_LASTPOST}</th>

from the code

and we got stuck there, NOW

we still have those there, how can we move the topics/posts and Last posts to the RIGHT side, removing also the "FORUM + LASTS POSTS BAR" on TOP? That's what's grinding my gears
daniloMD
daniloMD
New Member

Posts : 19
Reputation : 1
Language : italian

http://nexusteam.forumattivo.com/

Back to top Go down

Solved Re: Help with PunBB Columns removal and placement

Post by SLGray April 20th 2017, 10:27 pm

When I visit your forum, I really do not see what you posted in the screenshot.  The columns look spaces out correctly.


Help with PunBB Columns removal and placement Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51463
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: Help with PunBB Columns removal and placement

Post by SLGray April 20th 2017, 10:32 pm

Look for this in your CSS stylesheet:
Code:
.pun table.table th {
    background-color: #2e2e2e;
    border-color: #ff94f1;
    border-style: none;
    color: #171717;
    padding: .5em 0;
}
Where it says color change it to the color of the background (grayish color).  That will make the text invisible.


Help with PunBB Columns removal and placement Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51463
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: Help with PunBB Columns removal and placement

Post by SLGray April 20th 2017, 10:34 pm

Or just remove the background-color.


Help with PunBB Columns removal and placement Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51463
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: Help with PunBB Columns removal and placement

Post by daniloMD April 20th 2017, 10:35 pm

SLGray wrote:When I visit your forum, I really do not see what you posted in the screenshot.  The columns look spaces out correctly.

Doesnt it look like this to you?

Spoiler:

also I'm sending prints from our Dummy forum that has the same design and CSS/Index_box changes and javascripts etc.

We want to Remove the "forum + last posts bar" and place the "2 Posts in 2 Topics" further to the right.

daniloMD
daniloMD
New Member

Posts : 19
Reputation : 1
Language : italian

http://nexusteam.forumattivo.com/

Back to top Go down

Solved Re: Help with PunBB Columns removal and placement

Post by daniloMD April 20th 2017, 10:38 pm

SLGray wrote:Look for this in your CSS stylesheet:
Code:
.pun table.table th {
    background-color: #2e2e2e;
    border-color: #ff94f1;
    border-style: none;
    color: #171717;
    padding: .5em 0;
}
Where it says color change it to the color of the background (grayish color).  That will make the text invisible.
SLGray wrote:Or just remove the background-color.

isn't there any other way to remove it?
we also tried that before and it leaves a gap
and how can we move it further right after that?
daniloMD
daniloMD
New Member

Posts : 19
Reputation : 1
Language : italian

http://nexusteam.forumattivo.com/

Back to top Go down

Solved Re: Help with PunBB Columns removal and placement

Post by SLGray April 20th 2017, 10:47 pm

Help with PunBB Columns removal and placement Forum10


Help with PunBB Columns removal and placement Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51463
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: Help with PunBB Columns removal and placement

Post by daniloMD April 20th 2017, 10:57 pm

SLGray wrote:Help with PunBB Columns removal and placement Forum10
probably different resolutions, I have 1920x1080. But regardless of that, you can see they are still in the middle (topics/posts column + Last posts)

Also noticed that if I add "Display: none !important;" to your last code, It also removes it without needing to remove those 2 lines on the "Index_Box"

is there a way I can still move the rest to the right?
If it doesnt work with the "display none" is there still anyway to move the rest to the right? (Except forum name and descriptions ofc)
WITH "display: none"

Spoiler:

WITHOUT "display none"

Spoiler:
daniloMD
daniloMD
New Member

Posts : 19
Reputation : 1
Language : italian

http://nexusteam.forumattivo.com/

Back to top Go down

Solved Re: Help with PunBB Columns removal and placement

Post by Ape April 21st 2017, 12:55 am

The reason your last post box moved left is down to your removed the topic's box and post box codes
Using a CSS may not fix it.


Help with PunBB Columns removal and placement Left1212Help with PunBB Columns removal and placement Center11Help with PunBB Columns removal and placement Right112
Help with PunBB Columns removal and placement Ape_b110
Help with PunBB Columns removal and placement Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 19084
Reputation : 1988
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: Help with PunBB Columns removal and placement

Post by daniloMD April 21st 2017, 1:13 am

It's sad, I was trying to recreate the style I've seen another forum using, they managed to do this, they use PunBB too, would really love to have the columns area organized the same way, so isn't there any way throught Stylesheet or anything to recreate that effect?

this is the forum stule that we wanted
Spoiler:

we literally went for the same font and color style and wanted to start from there, but we really can't get that column organization right.
these guys must be really good mwii
daniloMD
daniloMD
New Member

Posts : 19
Reputation : 1
Language : italian

http://nexusteam.forumattivo.com/

Back to top Go down

Solved Re: Help with PunBB Columns removal and placement

Post by SLGray April 21st 2017, 6:37 am

Code:
.pun .table .tc2, .pun .table .tc3 {
    text-align: center;
    width: 10%;
}
Notice tc2 and tc3.  Those are the post and topic columns.


Help with PunBB Columns removal and placement Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51463
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Page 1 of 2 1, 2  Next

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum