Change forum icons

For support and discussion related to templates and themes in phpBB 3.3.
MortallCsAl3x
Registered User
Posts: 80
Joined: Fri Apr 14, 2023 5:01 pm
Location: Romania
Name: Alex Cornea

Change forum icons

Post by MortallCsAl3x »

Hello design team, I use a phpbb3 forum www.worldcs.ro/forum and I would like you to help me change the awesome font icons to forum icons. I tried with available extensions, but I know that the css or html part must also be modified for the icon to appear correctly.
:roll: Forum - https://www.worldcs.ro - Gaming Community PHPBB3
:arrow: Counter-Strike 1.6 download - https://www.cstrike16.eu
User avatar
Mannix_
Registered User
Posts: 2010
Joined: Sun Oct 25, 2015 2:56 pm
Name: Matt

Re: Change forum icons

Post by Mannix_ »

First thing what extension did you try?? Maybe they just need some adjustments to make it work.
Second is that a paid or free style?? If it's free please provide a link so we can play with it
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!
MortallCsAl3x
Registered User
Posts: 80
Joined: Fri Apr 14, 2023 5:01 pm
Location: Romania
Name: Alex Cornea

Re: Change forum icons

Post by MortallCsAl3x »

Mannix_ wrote: Thu May 16, 2024 2:27 pm First thing what extension did you try?? Maybe they just need some adjustments to make it work.
Second is that a paid or free style?? If it's free please provide a link so we can play with it

https://www.phpbb.com/customise/db/exte ... rum_icons/
https://www.phpbb.com/customise/db/exte ... orum_icon/

And for the skin i paid so i kant posted.
:roll: Forum - https://www.worldcs.ro - Gaming Community PHPBB3
:arrow: Counter-Strike 1.6 download - https://www.cstrike16.eu
User avatar
Mannix_
Registered User
Posts: 2010
Joined: Sun Oct 25, 2015 2:56 pm
Name: Matt

Re: Change forum icons

Post by Mannix_ »

Well if it's paid you should ask the author for the help. He know his work best :)
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!
MortallCsAl3x
Registered User
Posts: 80
Joined: Fri Apr 14, 2023 5:01 pm
Location: Romania
Name: Alex Cornea

Re: Change forum icons

Post by MortallCsAl3x »

Mannix_ wrote: Thu May 16, 2024 2:43 pm Well if it's paid you should ask the author for the help. He know his work best :)
No longer awaible
:roll: Forum - https://www.worldcs.ro - Gaming Community PHPBB3
:arrow: Counter-Strike 1.6 download - https://www.cstrike16.eu
User avatar
ssl
Registered User
Posts: 1984
Joined: Sat Feb 08, 2020 2:15 pm
Location: Le Lude, Pays de la Loire - France
Name: Fred Rimbert

Re: Change forum icons

Post by ssl »

The problem is that you are not using the prosilver style, so for Vinny's extension it is normal that nothing happens.
This extension works well with phpBB 3.3.11
Sorry for my English ... I do my best! :anger_right:

:point_right_tone3: phpBB: 3.3.13 | PHP: 8.3.9
:point_right_tone4: [Kill spam on phpBB] - [Some French translation of extensions]
"Mistress, Mistress someone is bothering me in pm"
User avatar
Mannix_
Registered User
Posts: 2010
Joined: Sun Oct 25, 2015 2:56 pm
Name: Matt

Re: Change forum icons

Post by Mannix_ »

Try this

Code: Select all

/* This is set up for all the icons*/
.forum_cat_icon {
    height: 40px;
    width: 40px;
    line-height: 40px !important;
    margin: 0 32px 0 14px !important;
    flex-shrink: 0;
    background-size: 32px;
    background-repeat: no-repeat;
    background-position: center;
}
/* This will hide the FA icons */
.forum_cat_icon i {
    display: none;
}
/* This targets specific forum with it's id and assigns the icon */
.nex-59 .forum_cat_icon {
    background-image: url(https://www.phpbb.com/community/styles/prosilver/theme/images/sticky_read_mine.gif);
}
You gonna need to repeat the last selector for all the icons just like it's done now for the FA icons at the end of the nex-style.css
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!
MortallCsAl3x
Registered User
Posts: 80
Joined: Fri Apr 14, 2023 5:01 pm
Location: Romania
Name: Alex Cornea

Re: Change forum icons

Post by MortallCsAl3x »

Yes bro you are the best from the best! Thanks !!!

https://i.imgur.com/YeFQTEG.png i will add to all forums and i come back with one replay If îs all good.
:roll: Forum - https://www.worldcs.ro - Gaming Community PHPBB3
:arrow: Counter-Strike 1.6 download - https://www.cstrike16.eu
MortallCsAl3x
Registered User
Posts: 80
Joined: Fri Apr 14, 2023 5:01 pm
Location: Romania
Name: Alex Cornea

Re: Change forum icons

Post by MortallCsAl3x »

Mannix_ wrote: Thu May 16, 2024 6:25 pm Try this

Code: Select all

/* This is set up for all the icons*/
.forum_cat_icon {
    height: 40px;
    width: 40px;
    line-height: 40px !important;
    margin: 0 32px 0 14px !important;
    flex-shrink: 0;
    background-size: 32px;
    background-repeat: no-repeat;
    background-position: center;
}
/* This will hide the FA icons */
.forum_cat_icon i {
    display: none;
}
/* This targets specific forum with it's id and assigns the icon */
.nex-59 .forum_cat_icon {
    background-image: url(https://www.phpbb.com/community/styles/prosilver/theme/images/sticky_read_mine.gif);
}
You gonna need to repeat the last selector for all the icons just like it's done now for the FA icons at the end of the nex-style.css
And if I enter a category that has several subforums, I can't put a default icon for them as read forum, new forum, forum redirect, so if I disable FA icons it stays like this see picture. Don't stay and put it in all the subforums, do you understand what I'm saying?


https://i.imgur.com/bCb0iuB.png
:roll: Forum - https://www.worldcs.ro - Gaming Community PHPBB3
:arrow: Counter-Strike 1.6 download - https://www.cstrike16.eu
User avatar
Mannix_
Registered User
Posts: 2010
Joined: Sun Oct 25, 2015 2:56 pm
Name: Matt

Re: Change forum icons

Post by Mannix_ »

if you want to use the read / unread state you would need something like this

Code: Select all

.nextr-8 [class*="_read"] .forum_cat_icon {background-image:ulr(image_path)}

.nextr-8 [class*="_unread"] .forum_cat_icon {background-image:ulr(image_path)}
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!
MortallCsAl3x
Registered User
Posts: 80
Joined: Fri Apr 14, 2023 5:01 pm
Location: Romania
Name: Alex Cornea

Re: Change forum icons

Post by MortallCsAl3x »

Mannix_ wrote: Fri May 17, 2024 9:38 am if you want to use the read / unread state you would need something like this

Code: Select all

.nextr-8 [class*="_read"] .forum_cat_icon {background-image:ulr(image_path)}

.nextr-8 [class*="_unread"] .forum_cat_icon {background-image:ulr(image_path)}
Bro where i add the image link?
:roll: Forum - https://www.worldcs.ro - Gaming Community PHPBB3
:arrow: Counter-Strike 1.6 download - https://www.cstrike16.eu
User avatar
Mannix_
Registered User
Posts: 2010
Joined: Sun Oct 25, 2015 2:56 pm
Name: Matt

Re: Change forum icons

Post by Mannix_ »

um replace the image_path placeholder. I thought it was obvious enough sorry :P
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!
MortallCsAl3x
Registered User
Posts: 80
Joined: Fri Apr 14, 2023 5:01 pm
Location: Romania
Name: Alex Cornea

Re: Change forum icons

Post by MortallCsAl3x »

Mannix_ wrote: Fri May 17, 2024 10:12 am um replace the image_path placeholder. I thought it was obvious enough sorry :P
Thanks bro i will try when im home after 19 a clock. Can You take a look here too viewtopic.php?t=2653360

And soon i will make one donation for your good worck.
:roll: Forum - https://www.worldcs.ro - Gaming Community PHPBB3
:arrow: Counter-Strike 1.6 download - https://www.cstrike16.eu
MortallCsAl3x
Registered User
Posts: 80
Joined: Fri Apr 14, 2023 5:01 pm
Location: Romania
Name: Alex Cornea

Re: Change forum icons

Post by MortallCsAl3x »

Mannix_ wrote: Fri May 17, 2024 9:38 am if you want to use the read / unread state you would need something like this

Code: Select all

.nextr-8 [class*="_read"] .forum_cat_icon {background-image:ulr(image_path)}

.nextr-8 [class*="_unread"] .forum_cat_icon {background-image:ulr(image_path)}
Not working bro for exemple acces this categori to se no icon to show

https://www.worldcs.ro/forum/viewforum.php?f=20
:roll: Forum - https://www.worldcs.ro - Gaming Community PHPBB3
:arrow: Counter-Strike 1.6 download - https://www.cstrike16.eu
User avatar
Mannix_
Registered User
Posts: 2010
Joined: Sun Oct 25, 2015 2:56 pm
Name: Matt

Re: Change forum icons

Post by Mannix_ »

I made a small spelling error. it should be

Code: Select all

.nex-21 [class*="_read"] .forum_cat_icon {background-image:url(image_path)}
.nex-21 [class*="_unread"] .forum_cat_icon {background-image:url(image_path)}
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!

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