[CDB] Footer Icons

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Ideas Centre
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
cabot
Registered User
Posts: 732
Joined: Sat Jan 07, 2012 4:16 pm

[CDB] Footer Icons

Post by cabot »

Extension Name: Footer Icons

Extension Description:
This extension allows you to add icons/links in the footer.
You can create as many as you want.
Font Awesome 6 "Brands" icons have been added to the existing default ones.

Language:
English and French
The English language files certainly need to be corrected as it is not my native language, please feel free to suggest the necessary changes.

Compatibility:
Image
Image

GitHub repo:
https://github.com/cabot/footericons

Download:
Image

Installation:
  • Download the latest release.
  • Unzip the downloaded release, and change the name of the folder to footericons.
  • In the ext/ directory of your phpBB board, create a new directory named cabot (if it does not already exist).
  • Copy the footericons/ folder to /ext/cabot/ (if done correctly, you'll have the main extension class at (your forum root)/ext/cabot/smiliescat/composer.json).
  • Navigate in the ACP to Customise -> Manage extensions.
  • Look for Footer Icons under the Disabled Extensions list, and click its Enable link.
  • Navigate in the ACP to Extensions -> Footer Icons configuration.
Screenshots:
Main config:
Image

Icon config:
Image

Display on the board:
Image

Many thanks to HIFIKabin whose Header Links extension was a source of inspiration.
Last edited by cabot on Wed Jan 03, 2024 5:57 pm, edited 1 time in total.
User avatar
Miri4ever
Registered User
Posts: 608
Joined: Sat Mar 07, 2015 11:18 am

Re: [3.2][3.3][RC] Footer Icons

Post by Miri4ever »

I love this one and the new font awesome icons. But it can only create external links? I had a use of new internal links to be created with many forum features. Sure those could be simulated with external links. But having the real choice between internal and external would be so nice.
Homepage: Terra Oceanica

Extension Developments:
PHPBB Games Solitaire, MChat Poker, MChat Black Jack, MChat Cards, MChat Trivia
PHPBB Special Effects, Mousepointers, X-Mas Themes and Designs for PBWoW Style.
Supported work: (**New Updated** UCP Sidebar), Tables, Hide, PBWow3 Style
User avatar
cabot
Registered User
Posts: 732
Joined: Sat Jan 07, 2012 4:16 pm

Re: [3.2][3.3][RC] Footer Icons

Post by cabot »

You can create all the links you want, whether they are external or internal. But it is not possible to use template variables (e.g: {U_INDEX} will not be parsed).

Also, I suggest you download version 1.0.0-RC2 which allows you to display a square background in addition to the rounded square and the round one.

There is also a button to remove the icon in this version.
Image

Image

:)
User avatar
Raul [ThE KuKa]
Style Customisations
Style Customisations
Posts: 11116
Joined: Mon Dec 08, 2003 9:24 pm
Location: Spain
Name: Raul Arroyo

Re: [3.2][3.3][RC] Footer Icons

Post by Raul [ThE KuKa] »

Nice job cabot! 👍👌
All unsolicited PMs will be ignored.
:warning: Knowledge Base | Documentation | Board rules | phpBB Styles Rules & Policies | Styles Queue Stats :warning:


If you like my styles, translations, etc. and want to show some appreciation, then feel free to Donate.
:flag_es: phpBB Spain - Online Since 2003 :heart:


User avatar
cabot
Registered User
Posts: 732
Joined: Sat Jan 07, 2012 4:16 pm

Re: [3.2][3.3][RC] Footer Icons

Post by cabot »

Thx :)
User avatar
max-ima
Registered User
Posts: 105
Joined: Mon Mar 07, 2022 8:52 am

Re: [3.2][3.3][RC] Footer Icons

Post by max-ima »

Very good. Only If you have loaded Extension Credits v1.0.2 and set (Footer Icons) Position of icons: In copyright(center), then there is a small problem.
You do not have the required permissions to view the files attached to this post.
User avatar
cabot
Registered User
Posts: 732
Joined: Sat Jan 07, 2012 4:16 pm

Re: [3.2][3.3][RC] Footer Icons

Post by cabot »

Hello,

This is the expected behaviour, as all elements hooked via the overall_footer_copyright_append template event are displayed in a new block added by the Extension Credits extension.

Simply select another icons position (e.g. Before copyrights). ;)
User avatar
max-ima
Registered User
Posts: 105
Joined: Mon Mar 07, 2022 8:52 am

Re: [3.2][3.3][RC] Footer Icons

Post by max-ima »

I do not mind. The translation is under construction (it will be uploaded to github).
User avatar
max-ima
Registered User
Posts: 105
Joined: Mon Mar 07, 2022 8:52 am

Re: [3.2][3.3][RC] Footer Icons

Post by max-ima »

I can't put the translation on https://github.com/cabot/footericons/tree/main/language. Add file/Upload files says:
Uploads are disabled. File uploads require push access to this repository. But I will add another time.

Slovenian translation: Github
User avatar
bennybernaer
Registered User
Posts: 633
Joined: Tue Mar 22, 2011 9:53 pm

Re: [3.2][3.3][RC] Footer Icons

Post by bennybernaer »

Is it also possible to share the forum index with this extension?
User avatar
cabot
Registered User
Posts: 732
Joined: Sat Jan 07, 2012 4:16 pm

Re: [3.2][3.3][RC] Footer Icons

Post by cabot »

Hello,
cabot wrote: Sat May 13, 2023 3:49 pm You can create all the links you want, whether they are external or internal.
:)
User avatar
Tin Soldier
Registered User
Posts: 82
Joined: Wed Dec 05, 2018 1:20 am

Re: [3.2][3.3][RC] Footer Icons

Post by Tin Soldier »

Love it!
User avatar
cabot
Registered User
Posts: 732
Joined: Sat Jan 07, 2012 4:16 pm

Re: [3.2][3.3][RC] Footer Icons

Post by cabot »

Thx! :)
User avatar
RomaamoR
Registered User
Posts: 272
Joined: Tue Feb 24, 2015 4:45 pm
Location: Ukraine
Name: Roman

Re: [3.2][3.3][RC] Footer Icons

Post by RomaamoR »

When saving extension settings I get the following error.

Code: Select all

SQL ERROR [ mysqli ]

Duplicate entry 'footericons_enable' for key 'PRIMARY' [1062]

SQL

INSERT INTO phpbb_config (config_name, config_value, is_dynamic) VALUES ('footericons_enable', 1, 0)

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 1023
CALL: trigger_error()

FILE: [ROOT]/phpbb/db/driver/mysqli.php
LINE: 202
CALL: phpbb\db\driver\driver->sql_error()

FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 345
CALL: phpbb\db\driver\mysqli->sql_query()

FILE: [ROOT]/phpbb/config/db.php
LINE: 176
CALL: phpbb\db\driver\factory->sql_query()

FILE: [ROOT]/phpbb/config/db.php
LINE: 137
CALL: phpbb\config\db->set_atomic()

FILE: [ROOT]/ext/cabot/footericons/acp/footericons_module.php
LINE: 79
CALL: phpbb\config\db->set()

FILE: [ROOT]/includes/functions_module.php
LINE: 676
CALL: cabot\footericons\acp\footericons_module->main()

FILE: [ROOT]/adm/index.php
LINE: 81
CALL: p_master->load_active()
User avatar
cabot
Registered User
Posts: 732
Joined: Sat Jan 07, 2012 4:16 pm

Re: [3.2][3.3][RC] Footer Icons

Post by cabot »

Hello,

Can you try disabling the extension and deleting the data, then reinstalling it?

Return to “Extensions in Development”