<body id="phpbb"...

Do not post support requests, bug reports or feature requests. Discuss phpBB here. Non-phpBB related discussion goes in General Discussion!
Suggested Hosts
User avatar
halil16
Registered User
Posts: 1440
Joined: Fri Jul 24, 2020 11:30 pm
Location: Turkiye
Name: Halil

<body id="phpbb"...

Post by halil16 »

Hi,
Does the phpbb id in the body in the html of styles have any importance? Would changing this trigger something else?

For some reason no one has talked about this. :)
Buy me a coffee ☕
Hire me for your phpBB board. 🚩
Introducing Mobile Upgrade! *Make your phpBB board like an app! 📱
O BeldeThatTowns*for sale*NEWprice 🛒
"The day we'll need ideas more than possessions, we'll find the secret to true wealth." - Peyami Safa /peˈjɑːmi saˈfɑː/
User avatar
Mannix_
Registered User
Posts: 2028
Joined: Sun Oct 25, 2015 2:56 pm
Name: Matt

Re: <body id="phpbb"...

Post by Mannix_ »

Yes it does. It is used in the javascript files
Did I helped You? Consider a donation.
New version of phpBB has been released? My styles aren't validated for it yet? Check my page for the latest downloads!
User avatar
halil16
Registered User
Posts: 1440
Joined: Fri Jul 24, 2020 11:30 pm
Location: Turkiye
Name: Halil

Re: <body id="phpbb"...

Post by halil16 »

I got it. Thanks. Actually js codes can be edited, but I'm not sure. Maybe I will, maybe I won't.
Buy me a coffee ☕
Hire me for your phpBB board. 🚩
Introducing Mobile Upgrade! *Make your phpBB board like an app! 📱
O BeldeThatTowns*for sale*NEWprice 🛒
"The day we'll need ideas more than possessions, we'll find the secret to true wealth." - Peyami Safa /peˈjɑːmi saˈfɑː/
User avatar
Mannix_
Registered User
Posts: 2028
Joined: Sun Oct 25, 2015 2:56 pm
Name: Matt

Re: <body id="phpbb"...

Post by Mannix_ »

Sure you can but one of the files is outside of the style folder. Why do you want to remove/change that id ???
Did I helped You? Consider a donation.
New version of phpBB has been released? My styles aren't validated for it yet? Check my page for the latest downloads!
User avatar
halil16
Registered User
Posts: 1440
Joined: Fri Jul 24, 2020 11:30 pm
Location: Turkiye
Name: Halil

Re: <body id="phpbb"...

Post by halil16 »

I understand. Anyway. There is no particular reason, I thought maybe I would write the name of the forum, it would be like signature.
Buy me a coffee ☕
Hire me for your phpBB board. 🚩
Introducing Mobile Upgrade! *Make your phpBB board like an app! 📱
O BeldeThatTowns*for sale*NEWprice 🛒
"The day we'll need ideas more than possessions, we'll find the secret to true wealth." - Peyami Safa /peˈjɑːmi saˈfɑː/
User avatar
danieltj
Infrastructure Team Member
Infrastructure Team Member
Posts: 601
Joined: Thu May 03, 2018 9:32 pm
Location: United Kingdom
Name: Daniel James

Re: <body id="phpbb"...

Post by danieltj »

It’s essentially acting as a HTML namespace for the CSS and JavaScript files that are used by core. You could remove it but there’s really no reason to considering it can be relied upon by core files, extensions and styles.
User avatar
Mannix_
Registered User
Posts: 2028
Joined: Sun Oct 25, 2015 2:56 pm
Name: Matt

Re: <body id="phpbb"...

Post by Mannix_ »

halil16 wrote: Mon Nov 04, 2024 1:52 pm I thought maybe I would write the name of the forum, it would be like signature.
But no one will know it unless they look in the files or inspect the page and normally people don't do that :)
Did I helped You? Consider a donation.
New version of phpBB has been released? My styles aren't validated for it yet? Check my page for the latest downloads!
User avatar
halil16
Registered User
Posts: 1440
Joined: Fri Jul 24, 2020 11:30 pm
Location: Turkiye
Name: Halil

Re: <body id="phpbb"...

Post by halil16 »

I see. :D
Buy me a coffee ☕
Hire me for your phpBB board. 🚩
Introducing Mobile Upgrade! *Make your phpBB board like an app! 📱
O BeldeThatTowns*for sale*NEWprice 🛒
"The day we'll need ideas more than possessions, we'll find the secret to true wealth." - Peyami Safa /peˈjɑːmi saˈfɑː/
User avatar
cabot
Registered User
Posts: 797
Joined: Sat Jan 07, 2012 4:16 pm

Re: <body id="phpbb"...

Post by cabot »

You can even add a pizza in your code. No one will care. ^^
User avatar
halil16
Registered User
Posts: 1440
Joined: Fri Jul 24, 2020 11:30 pm
Location: Turkiye
Name: Halil

Re: <body id="phpbb"...

Post by halil16 »

I know, I know... I did a lot of things that no one cared.
Buy me a coffee ☕
Hire me for your phpBB board. 🚩
Introducing Mobile Upgrade! *Make your phpBB board like an app! 📱
O BeldeThatTowns*for sale*NEWprice 🛒
"The day we'll need ideas more than possessions, we'll find the secret to true wealth." - Peyami Safa /peˈjɑːmi saˈfɑː/
User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 6409
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.

Re: <body id="phpbb"...

Post by thecoalman »

ID attribute is for assigning unique identifier, it can only be used once on a page. The most common use is for anchor links that take you to specific part of a page, e.g. post links with #p123456 where p123456 is the HTML ID of the post.

Don't touch it, as already it mentioned it could be used by CSS or JS. I'm pretty sure it's used as selector for the pop-ups, e.g. when click "mark forums read".
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison

Return to “phpBB Discussion”