Notifications
Clear all

Limited Support

Our support team is currently on holiday from December 25, 2025 to January 7, 2026, and replies may be delayed during this period.

We appreciate your patience and understanding while our team is away. Thank you for being part of the wpForo community!

Merry Christmas and Happy Holidays! 🎄

wpForo 1.x.x [Closed] How to add user location flag and have it show up under their picture when they are posting things.

4 Posts
3 Users
1 Reactions
1,321 Views
Posts: 1
 mhbd
Topic starter
(@mhbd)
New Member
Joined: 5 years ago

Please help me out!!!


Topic Tags
3 Replies
Tutrix
Posts: 1521
(@tutrix)
Noble Member
Joined: 6 years ago

@mhbd

you have to add the location to your used layout post.php
look here How do I ad Member Locations?

then you can add flags via css title attribute

css example for Germany

#wpforo #wpforo-wrap .wpfl-2 .wpforo-post .wpf-left .custom_field-2 a[title="Germany"]::before {
    background-image: url(/wp-content/uploads/foren-icons/germany_flag.png);
    background-repeat: no-repeat;
    display: inline;
    content: "";
    position: absolute;
    width: 24px;
    height: 15px;
    margin: 3px 0 0 -35px;
}

2 Replies
(@meibukan76)
Joined: 5 years ago

Eminent Member
Posts: 23

@tutrix is that something that needs to be done for each flag you want to be able to add? So, if there are 50 countries you want flags to show up for, you have to add the code and image for each?


Tutrix
(@tutrix)
Joined: 6 years ago

Noble Member
Posts: 1521

@meibukan76

yes, the css code has to be inserted for each flag