Control of Apperance

For support and discussion related to templates, themes, and imagesets in phpBB 3.2.
jamesadrian
Registered User
Posts: 51
Joined: Sun Jul 22, 2018 11:25 pm
Location: Rochester, NY
Name: James Adrian
Contact:

Re: Control of Apperance

Post by jamesadrian »

Online I asked how to eliminate the display of users online and statistics. I was directed to find this at styles/prosilver/template/index_body.html:

<!-- IF NEWEST_USER -->
<div class="stat-block statistics">

<h3>{L_STATISTICS}</h3>
<p>
<!-- EVENT index_body_block_stats_prepend -->
{TOTAL_POSTS} &bull; {TOTAL_TOPICS} &bull; {TOTAL_USERS} &bull; {NEWEST_USER}
<!-- EVENT index_body_block_stats_append -->
</p>
</div>
<!-- ENDIF -->

and modify it.

The modification suggested only added comments. Do comments have a functional role in the forum code?

How may I best eliminate the display of users online and statistics?

Thank you for your help

Jim Adrian
User avatar
DTMWC
Registered User
Posts: 379
Joined: Tue Jan 16, 2018 6:17 am

Re: Control of Apperance

Post by DTMWC »

RE the posting button, It looks like you have changed the first category on the index page to a forum, which has probably messed up the permissions.

RE the stat blocks, commenting things out should stop them from appearing.
Boom.
jamesadrian
Registered User
Posts: 51
Joined: Sun Jul 22, 2018 11:25 pm
Location: Rochester, NY
Name: James Adrian
Contact:

Re: Control of Apperance

Post by jamesadrian »

Dan,

I don't know where things are yet. Would you give me a URL and filename?

Thank you for your help.

Jim Adrian
User avatar
DTMWC
Registered User
Posts: 379
Joined: Tue Jan 16, 2018 6:17 am

Re: Control of Apperance

Post by DTMWC »

Hey,

To remove the online list,
Log in to the ACP ---> bottom left of the main page click "Load Settings" second box on the screen is called "General Options"
Next to: "Enable online user listings" click "no" and then click submit.


To remove the stat list,
Go to styles\prosilver\template download and make a back up copy of index_body.html
Open the file and delete the section you mentioned in the above post.

Code: Select all

<!-- IF NEWEST_USER -->
	<div class="stat-block statistics">
		<h3>{L_STATISTICS}</h3>
		<p>
			<!-- EVENT index_body_block_stats_prepend -->
			{TOTAL_POSTS} &bull; {TOTAL_TOPICS} &bull; {TOTAL_USERS} &bull; {NEWEST_USER}
			<!-- EVENT index_body_block_stats_append -->
		</p>
	</div>
<!-- ENDIF -->
Now log in to the ACP ---> just above the the admin log at the bottom of the page you will see a list of options, click "Purge the cache" and then when you look at the forum the stat block should be gone, (if it is still there - clear your web browser cache)


For the post buttons permissions,
Log in to the ACP ---> Forums Tab ---> Forum Permissions --> there will be a list of your forums.

I've never played with the permissions before so i'm not sure how to get them back after losing them, but you could start a separate topic in the main support forum as there will be others who can offer better help with that.
Boom.
jamesadrian
Registered User
Posts: 51
Joined: Sun Jul 22, 2018 11:25 pm
Location: Rochester, NY
Name: James Adrian
Contact:

Re: Control of Apperance

Post by jamesadrian »

Dan,

This teaches me a lot. I very much appreciate it.

It eliminated the display of users online, something I very much wanted to do.

It has not (perhaps yet) eliminated the statistics.

Thank you for your help.

Jim Adrian
jamesadrian
Registered User
Posts: 51
Joined: Sun Jul 22, 2018 11:25 pm
Location: Rochester, NY
Name: James Adrian
Contact:

Re: Control of Apperance

Post by jamesadrian »

Dan,

I must add that I have not yet found a way to post a comment or start a new thread.

It also displays a message that there are no birthdays today. This happens when I login and click on the sample thread. I added to this thread, saying "this is a test."

I discovered that by logging in and clicking on Food Chemistry in the blue forum box that it changes to "your first forum" and when I click on that it gives me an opportunity to start a new topic. This is an accidental discovery. I don't know how many visitors would find this. I would like to eliminate the "first forum" layer and give the visitor an opportunity to start a new topic from the index page. Is this possible?

Thank you for your help.

Jim Adrian
jamesadrian
Registered User
Posts: 51
Joined: Sun Jul 22, 2018 11:25 pm
Location: Rochester, NY
Name: James Adrian
Contact:

Re: Control of Apperance

Post by jamesadrian »

Dan,

You recently wrote a way to eliminate a background. Thank you. I'm not sure how I can use the method to eliminate the blue background around what is called Forum and contains important information (topic, posts, and last post) at futuebeacon.com/forum .

Dan Stylez wrote: Fri Sep 14, 2018 2:27 am If you want the whole page to display the same background, you might find it easier to just add the this code to the bottom of the colours.css style sheet.

Code: Select all

.wrap {
    background: none;
    border: none;
}

.headerbar {
    background: none;
}
If you add the same background image 3 times it won't line up properly, so if you remove the backgrounds like the codes above, then the main html, body background image that you added earlier will do what you are wanting to do.
I looked at inspect element. It does not let me copy the text. The first line is <html dir="ltr" lang="en-gb"> whith a box saying "event."

The line highlighted is <div class"list-inner">Forum</div>

Thank you for your help.

Jim Adrian




Thank you for your help.
User avatar
Lumpy Burgertushie
Registered User
Posts: 69224
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Control of Apperance

Post by Lumpy Burgertushie »

you don't need to mess with the html at all. you do all of this with the css files.
when you have a line highlited in the html you look to the right side and see what css controls it and what css file that is in.

then, you download the relevant css file, make your edits, upload it back and purge the cache etc.

then you will see your changes.

your goal is to remove the background color/image from the different places so that your main page background shows through.

in this case you also want to remove the background color and image from this section of colours.css

Code: Select all

.forabg {
    background-color: #0076B1;
    background-image: -webkit-linear-gradient(top, #6ACEFF 0%, #12A3EB 2px, #0076B1 92px, #0076B1 100%);
    background-image: linear-gradient(to bottom, #6ACEFF 0%,#12A3EB 2px,#0076B1 92px,#0076B1 100%);
    background-repeat: repeat-x;
}
that should be around line 99 of that file.
actually you can just remove that whole section since the only thing it applies to is what you are wanting to remove.

when you get all through changing this style to something completely different from what it was, you need to make a copy of it and rename it.

then, install it like any other style, choose it as the default and set override to yes in the admin panel.

then, upload a new untouched copy of prosilver to your server to overwrite the edited one.
;
now, when you have to upgrade phpbb you won't have to worry about making all those changes again.

robert
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
jamesadrian
Registered User
Posts: 51
Joined: Sun Jul 22, 2018 11:25 pm
Location: Rochester, NY
Name: James Adrian
Contact:

Re: Control of Apperance

Post by jamesadrian »

Lumpy Burgertushie,

This is a wealth of information.

"when you have a line highlited in the html you look to the right side and see what css controls it and what css file that is in."

I looked at inspect element. The line is <html dir="ltr" lang="en-gb"> whith a box saying "event."

This does not seem toindicate a css file to the right. What am I missing?

Thank you for your help.

Jim Adrian
User avatar
Lumpy Burgertushie
Registered User
Posts: 69224
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Control of Apperance

Post by Lumpy Burgertushie »

please give me a link to the page where you are trying to do this and also tell me exactly what part you are trying to edit the css for.

robert
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
jamesadrian
Registered User
Posts: 51
Joined: Sun Jul 22, 2018 11:25 pm
Location: Rochester, NY
Name: James Adrian
Contact:

Re: Control of Apperance

Post by jamesadrian »

Lumpy Burgertushie,

At heeps://www.futurebeacon.com/forum there is a blue backround or border around what is called Forum and contains important information (topic, posts, and last post) at futuebeacon.com/forum .

I want this are to be transparent to my FB1,png background.

I looked at inspect element. The line is <html dir="ltr" lang="en-gb"> with a box saying "event."

This does not seem to indicate a css file to the right. What am I missing?


Jim Adrian
User avatar
Lumpy Burgertushie
Registered User
Posts: 69224
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Control of Apperance

Post by Lumpy Burgertushie »

you are not clicking in the right place. that line is way up inside the head section.
actually click on the blue background where it says forum. then you will see this highlited:
<div class="forabg">
now, reread my post above that tells you exactly how to do what you want:
viewtopic.php?p=15088606#p15088606

robert
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
jamesadrian
Registered User
Posts: 51
Joined: Sun Jul 22, 2018 11:25 pm
Location: Rochester, NY
Name: James Adrian
Contact:

Re: Control of Apperance

Post by jamesadrian »

Screen Shot 2018-09-15 at 8.41.02 PM.png
Lumpy Burgertushie,

I get you result in the "inspect element" display when I click on the very edge of that blue area. Now that I am getting <div class="forabg"> highlighted, I see to the right of that a small rectangle with dots inside of it followed by </div>

I have attached a screen shot.

I don't see where I am being told what file to look at for the css code.


Jim Adrian
User avatar
Lumpy Burgertushie
Registered User
Posts: 69224
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Control of Apperance

Post by Lumpy Burgertushie »

that is only half of the box you should be seeing. I can't figure out what setting you have wrong to not be able to see the css on the right hand side of that box.

anyway, don't worry about it.

using your ftp, download the colours.css file
open it in your text editor.
find that css that I posted above.
delete it.

go back to your admin panel and puge the cache.
refresh your browser window and you should see the changes.


robert
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
jamesadrian
Registered User
Posts: 51
Joined: Sun Jul 22, 2018 11:25 pm
Location: Rochester, NY
Name: James Adrian
Contact:

Re: Control of Apperance

Post by jamesadrian »

I hope there is a way to proceed start the forum here:

https://www.futurebeacon.com/forum/viewforum.php?f=2

It allows the visitor to log in or register but it proceeds to here:

https://www.futurebeacon.com/forum/viewforum.php?f=1

I don't ever want to see this page.

Is that possible?

Thank you for your help.

Jim Adrian
Post Reply

Return to “[3.2.x] Styles Support & Discussion”