0 Members and 1 Guest are viewing this topic.

*

Benoitc64

  • **
  • 75
  • osDate Version: osDate Evo v1.2
Adding Flag icon into profile
« on: June 15, 2016, 11:46:44 PM »
1)  get the flags.rar,  unrar and put it on server in images folder
  you will have,  \images\flags\gifs

all the gifs are named in AA.gif pattern, The first part of the name must be in uppercase. The first part is the countrycode of country

2)
Modify nickpage_basic_address.tpl

Find  {if $user.countryname != ''}

and add after this code

<img src="../../images/flags/gif/{$user.country}.gif"  alt="" />

save and reupload


osDateEvo v1.2 | PHP 5.6.30-0+deb8u1 | MySQL: 5.5.51 |

*

Pharg

  • *****
  • 3,191
    • OsDateFourm
  • osDate Version: osDateEvo v1.3
Re: Adding Flag icon into profile
« Reply #1 on: June 15, 2016, 11:54:45 PM »
Hi Benoitc64,

Thanks for that, that's a nice little addon.

I will add this to osDateEvo v1.0 upgrade and full download soon :)
Regards,
Pharg ( Phill )

Don't Personal Message me unless it's about a sensitive matter!!

REMEMBER TO ALWAYS BACKUP BEFORE MAKING ANY CHANGES!!

osDateEvo v1.3 | PHP: 5.3.42 & PHP: 7.2 | MySQL: 5.5.35