Good art is a taste, good design is an opinion.


Come as guest, stay as family.
Board Index

Come as guest, stay as family.


You are not connected. Please login or register

Foto

[CSS] Flag user



View previous topic View next topic Go down Message [Page 1 of 1]

1
Offline

  smejker

smejker
Punbb Rookie
Punbb Rookie
Flag user - Credits to Lucky

As to enable users to set the flag of your country in your profile?
First we need to create a personalized profile:
Admin Panel - Users and Groups - Profiles - Profile fields - Add [CSS] Flag user Ajouter

Next In Add A Field:

Type : select -> Images list
Name : Your choise (Flag, Country...) Color: Your choise
Necessarily filled ? select -> No
Display : select -> Profil; select -> Messages
Display type : select-> Icon
Who can modify the profile field value ? select-> Member himself
Display this field for users that are at least : select->Members
Separator : select -> Line jump
[CSS] Flag user Flags210

Do not forget to save.
Next: In Users -> Profiles -> Profile fields -> Add -> Images list -> Actions -> Click [CSS] Flag user Ajouter

In Image Address put a link and in Alternate text put the name of country...

[CSS] Flag user Flags310
For another link click again Add[CSS] Flag user Ajouter
... And when you finished click ->Save

Now in Urs profile you'll see:
Personalized profile (Country, Flag... etc) the flags of country
and you can choose flag of yours country
[CSS] Flag user Flags410

Finaly result:
[CSS] Flag user Flags510

NOTE: If your flags is not in horizontal list U can put in CSS this code:
phpBB2
Code:
.profile_field_list li {
display: inline;
}
phpBB3
Code:
.profile_field_list li{
display: inline-block;
}
Invasion
Code:
.profile_field_list li {
display: inline;
}

Powered by PunBB
Currently 0 users have thanked smejker for this post:

2
Offline

  Shadow

Shadow
Administrator
Administrator
Your tutorial must be compactible and fully functional with Punbb version.

Also, please re-read the submission form for tutorial proposal again. https://punbb-design.forumotion.com/t3-submit-a-tutorial-read-carefully

Thank you,
Punbb.biz Staff Team

Powered by PunBB
Currently 0 users have thanked Shadow for this post:

View previous topic View next topic Back to top Message [Page 1 of 1]


Topic URL's

URL
BBcode
HTML

Permissions in this forum:
You cannot reply to topics in this forum