Edit Footer phpbb 3.2.x - Looking for code edit help

Need some custom code changes to the phpBB core simple enough that you feel doesn't require an extension? Then post your request here so that community members can provide some assistance.

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
Shubhambsws
Registered User
Posts: 21
Joined: Fri Sep 28, 2018 9:31 pm
Location: India
Name: Shubham Biswas
Contact:

Edit Footer phpbb 3.2.x - Looking for code edit help

Post by Shubhambsws » Sun Sep 30, 2018 4:40 pm

Hello friends, I am creating a community around a mobile game and need to put some information footer of the website.
I searched that I have to edit adm/index.php and language/en/common.php

I need help with what do I need to remove and new code to replace.

Example
Fan-made Forum for Community

Facebook Twitter Google+ YouTube

This content is not affiliated with, endorsed, sponsored,
or specifically approved by Supercell and Supercell is not
responsible for it. For more information see Supercell's
Fan Content Policy: www.supercell.com/fan-content-policy."

Terms | Privacy

I would also like link Social media pages and add Font Awsome icon if possible before social media brand name . All centre alligned

https://fontawesome.com/v4.7.0/icon/facebook-square
https://fontawesome.com/v4.7.0/icon/google-plus-square
https://fontawesome.com/v4.7.0/icon/twitter-square
https://fontawesome.com/v4.7.0/icon/youtube-square

Please help me with the code snippet that I need to use make changes as per example.

My website : https://royaledeckclub.com

Thank you

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

Re: Edit Footer phpbb 3.2.x - Looking for code edit help

Post by Lumpy Burgertushie » Sun Sep 30, 2018 5:10 pm

whatever research you have done gave you very wrong information.

you do NOT edit anything in the adm folder.

or anything in the language folder.

there is only one file you have to edit. that would be the styles/yourstyle/template/overall_footer.html

you download that file to your computer. open it in a text editor only.
then add whatever html/css you need to create your message and your links.

save the file and upload it back overwriting the original.
go to your admin panel, purge the cache and then refresh your browser to see the changes.

you are done.

I would suggest you first download that file, open it and simply put the word "hello" somewhere in the file.
then upload back, purge the cache and see where the word shows up on your board.

that will give you a good idea of how it all works.

then, find a good site about how to create html with css and links and font awesome etc.

create your html and then test it in the overall_footer.html file and keep tweaking until you get it the way you want it.


robert
I am available for custom work on a donation basis. Please send me a PM with your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

OK, so what's the speed of dark?

User avatar
GanstaZ
Registered User
Posts: 566
Joined: Wed Oct 11, 2017 10:29 pm
Location: Zverse

Re: Edit Footer phpbb 3.2.x - Looking for code edit help

Post by GanstaZ » Sun Sep 30, 2018 5:20 pm

Or one can use this very simple tool phpBB Skeleton Extension and make small extension and no core edits are needed after every update.
"When answer lies in the question,.. question becomes redundant!"

Shubhambsws
Registered User
Posts: 21
Joined: Fri Sep 28, 2018 9:31 pm
Location: India
Name: Shubham Biswas
Contact:

Re: Edit Footer phpbb 3.2.x - Looking for code edit help

Post by Shubhambsws » Sun Sep 30, 2018 8:34 pm

Thank you @Lumpy & @Gasta for your information guys. I have been able to get most of the desired result by editing language/en/common.php ( see screenshot)

Image

Now the next question is how to edit or remove this "phpBB® Forum Software © phpBB Limited"

Please help which file I have to edit for phpbb3.2.3 to make desired changes
Last edited by Shubhambsws on Sun Sep 30, 2018 8:43 pm, edited 1 time in total.

User avatar
GanstaZ
Registered User
Posts: 566
Joined: Wed Oct 11, 2017 10:29 pm
Location: Zverse

Re: Edit Footer phpbb 3.2.x - Looking for code edit help

Post by GanstaZ » Sun Sep 30, 2018 8:40 pm

Well.. if you want to get full support (if something happens) you should keep it.
"When answer lies in the question,.. question becomes redundant!"

Shubhambsws
Registered User
Posts: 21
Joined: Fri Sep 28, 2018 9:31 pm
Location: India
Name: Shubham Biswas
Contact:

Re: Edit Footer phpbb 3.2.x - Looking for code edit help

Post by Shubhambsws » Sun Sep 30, 2018 8:45 pm

GanstaZ wrote:
Sun Sep 30, 2018 8:40 pm
Well.. if you want to get full support (if something happens) you should keep it.
I don't want to keep the way it is right now. That's why m looking for the source file

User avatar
GanstaZ
Registered User
Posts: 566
Joined: Wed Oct 11, 2017 10:29 pm
Location: Zverse

Re: Edit Footer phpbb 3.2.x - Looking for code edit help

Post by GanstaZ » Sun Sep 30, 2018 9:03 pm

Template variable is in overall_footer.html and assigned variable is in /includes/functions.php => page_footer() function (around line 4662).
"When answer lies in the question,.. question becomes redundant!"

User avatar
Dan Stylez
Registered User
Posts: 183
Joined: Tue Jan 16, 2018 6:17 am
Contact:

Re: Edit Footer phpbb 3.2.x - Looking for code edit help

Post by Dan Stylez » Sun Sep 30, 2018 9:19 pm

Just a suggestion, i recently added a "credits" collapsible div box to a forum, by default it was collapsed like:

Image

So on opening it would look like:

Image

I don't know if it qualifies if you need full support, but thought it was a decent way to keep the footer tidy.

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

Re: Edit Footer phpbb 3.2.x - Looking for code edit help

Post by Lumpy Burgertushie » Sun Sep 30, 2018 9:23 pm

not sure why you were editing any php file and/or language files to get what you wanted.

see here:
https://phpbbace.com/phpBB3.2.3/index.php

look at the footer.

it is not styles just yet but it has everything you asked for.
I only edited the common.css file and the overall_footer.html file
you really shouldn't be editing the php or language files for these type of changes.


robert
I am available for custom work on a donation basis. Please send me a PM with your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

OK, so what's the speed of dark?

Shubhambsws
Registered User
Posts: 21
Joined: Fri Sep 28, 2018 9:31 pm
Location: India
Name: Shubham Biswas
Contact:

Re: Edit Footer phpbb 3.2.x - Looking for code edit help

Post by Shubhambsws » Sun Sep 30, 2018 9:37 pm

GanstaZ wrote:
Sun Sep 30, 2018 9:03 pm
Template variable is in overall_footer.html and assigned variable is in /includes/functions.php => page_footer() function (around line 4662).
Thank you very much for help. found it.

Looks like I broke something while trying to add <br> tag :D

I'll fix it

Shubhambsws
Registered User
Posts: 21
Joined: Fri Sep 28, 2018 9:31 pm
Location: India
Name: Shubham Biswas
Contact:

Re: Edit Footer phpbb 3.2.x - Looking for code edit help

Post by Shubhambsws » Sun Sep 30, 2018 9:44 pm

Lumpy Burgertushie wrote:
Sun Sep 30, 2018 9:23 pm
not sure why you were editing any php file and/or language files to get what you wanted.

see here:
https://phpbbace.com/phpBB3.2.3/index.php

look at the footer.

it is not styles just yet but it has everything you asked for.
I only edited the common.css file and the overall_footer.html file
you really shouldn't be editing the php or language files for these type of changes.


robert
yes you've done exactly the same I was looking for in example

Thank you for the update. I'll try to edit common.css and overall_footer.html to make it how it is supposed to work.

Shubhambsws
Registered User
Posts: 21
Joined: Fri Sep 28, 2018 9:31 pm
Location: India
Name: Shubham Biswas
Contact:

Re: Edit Footer phpbb 3.2.x - Looking for code edit help

Post by Shubhambsws » Sun Sep 30, 2018 9:47 pm

Dan Stylez wrote:
Sun Sep 30, 2018 9:19 pm
Just a suggestion, i recently added a "credits" collapsible div box to a forum, by default it was collapsed like:

Image

So on opening it would look like:

Image

I don't know if it qualifies if you need full support, but thought it was a decent way to keep the footer tidy.
Thank you Dan for the Idea, I will stick to the ongoing topic for now.

User avatar
david63
Jr. Extension Validator
Posts: 14925
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: Edit Footer phpbb 3.2.x - Looking for code edit help

Post by david63 » Mon Oct 01, 2018 12:07 am

Shubhambsws wrote:
Sun Sep 30, 2018 8:34 pm
Now the next question is how to edit or remove this "phpBB® Forum Software © phpBB Limited"
Why do you want to remove this? Do you not think that the developers of this software who give many hours of their time should receive the due recognition?

There are some members of this board who will not give support where this has been removed.
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

Shubhambsws
Registered User
Posts: 21
Joined: Fri Sep 28, 2018 9:31 pm
Location: India
Name: Shubham Biswas
Contact:

Re: Edit Footer phpbb 3.2.x - Looking for code edit help

Post by Shubhambsws » Tue Oct 02, 2018 3:46 pm

david63 wrote:
Mon Oct 01, 2018 12:07 am
Shubhambsws wrote:
Sun Sep 30, 2018 8:34 pm
Now the next question is how to edit or remove this "phpBB® Forum Software © phpBB Limited"
Why do you want to remove this? Do you not think that the developers of this software who give many hours of their time should receive the due recognition?

There are some members of this board who will not give support where this has been removed.
I am sorry that I am returning late.

The phpbb copyright code is still there on server in script
I tried to put br code and it'snt showing anymore.

Now, honestly speaking I need my user to help me grow my community website rather than make them think creating another one. Atleast at starting phase.

I might put a donation page later with short story about website success and ask them to support the university. Once there we see good number of visitors online.

I own a premium WordPress theme, had a blog about gaming. I was almost ready to purchase a forum software, then I came across phpBB and it's extension. There is so much to customise ap per the vision and I will be looking for support.

Never understood why phpBB team don't even accept donations.

Shubhambsws
Registered User
Posts: 21
Joined: Fri Sep 28, 2018 9:31 pm
Location: India
Name: Shubham Biswas
Contact:

Re: Edit Footer phpbb 3.2.x - Looking for code edit help

Post by Shubhambsws » Tue Oct 02, 2018 3:52 pm

GanstaZ wrote:
Sun Sep 30, 2018 9:03 pm
Template variable is in overall_footer.html and assigned variable is in /includes/functions.php => page_footer() function (around line 4662).
Thank GanstaZ, you save me big time.

Image

Post Reply

Return to “phpBB Custom Coding”

Who is online

Users browsing this forum: No registered users and 6 guests