county code city code problem
« on: March 13, 2015, 04:42:35 PM »
Hi for everybody.

I came to halt again already and I hope that somebody can help me. It would be the problem I fill it in vainly correctly at the time of a registration the title function County / District:*,
City / Locality:*,Zip / Postal code:* functions it is out of order after a registration correctly.

Form filled at the time of a registration attached: regisztráláskor png

After entry on the data sheet the the country appears on the county's place AA appears and instead of the city's name the city KSH code appears. There: 3.png

This picture is receiving if I want to modify the data though: 4.png

On the city's place KSH a code appears and if I modify the city and the postal code though then it is not modified but it is left over with which registered the person on the side. Somebody has a some kind of idea, what may be the trouble how? phpmyadminban I revised the boards belonging to this and I found everything in order there. Thank you for the help ahead.

*

Pharg

  • *****
  • 2,071
  • osDate Version: osDate Evo v1.0
Re: county code city code problem
« Reply #1 on: March 13, 2015, 08:57:09 PM »
Hi Vargatunde,

I am sorry but because I can't understand your language in the pics, I am unable to help.
Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDateEvo v1.0 | PHP: 5.3.42 & PHP: 5.6.18 | MySQL: 5.5.35

Re: county code city code problem
« Reply #2 on: March 14, 2015, 01:10:39 AM »
Hi.

When a user modifies the informations of the locality, that is an other county in his profile and marks an other city then it appears on the user's data sheet wrongly after a modification. The county : AA receives a mark the city does not appear based on his name though but based on the city's code. Budapest I circumference pl appears so, that 09566.
I would like to ask your help in this.

*

Pharg

  • *****
  • 2,071
  • osDate Version: osDate Evo v1.0
Re: county code city code problem
« Reply #3 on: March 14, 2015, 02:09:06 AM »
Hi.

When a user modifies the informations of the locality, that is an other county in his profile and marks an other city then it appears on the user's data sheet wrongly after a modification. The county : AA receives a mark the city does not appear based on his name though but based on the city's code. Budapest I circumference pl appears so, that 09566.
I would like to ask your help in this.

Hi Vargatunde,

In the nickpage_basic_address.tpl find the line 53 and remove this code:
Code: [Select]
{if $user.statename != '' && $user.statename != '-1'}
{$user.statename}, 
{/if}

Doing this will remove the AA appearing.

If this is not the result you want, can you upload your nickpage_basic_address.tpl
So I can see what changes you have made?
Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDateEvo v1.0 | PHP: 5.3.42 & PHP: 5.6.18 | MySQL: 5.5.35

Re: county code city code problem
« Reply #4 on: March 14, 2015, 10:52:12 AM »
Hi.

Thanks the profilbnól took the help out really so AA characters. He would be a question of mine yet. If a user modifies his profile then it the side from the control panel of admin it is necessary to approve it. I would like to set that function, that if let the users modify their profile then let him be automatic and let it not be necessary to approve it but let him be modified automatically.

*

Pharg

  • *****
  • 2,071
  • osDate Version: osDate Evo v1.0
Re: county code city code problem
« Reply #5 on: March 14, 2015, 10:58:46 AM »
Hi.

Thanks the profilbnól took the help out really so AA characters. He would be a question of mine yet. If a user modifies his profile then it the side from the control panel of admin it is necessary to approve it. I would like to set that function, that if let the users modify their profile then let him be automatic and let it not be necessary to approve it but let him be modified automatically.

Hi Vargatunde,

In the admin, go to site global settings, then select at the top drop down Global Settings Group: User Controls, then go down three lines to When a profile is modified, make status "Pending" for admin approval? Y Change to N

That's it all done.
Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDateEvo v1.0 | PHP: 5.3.42 & PHP: 5.6.18 | MySQL: 5.5.35

Re: county code city code problem
« Reply #6 on: March 14, 2015, 11:35:26 AM »
Hi.

Thank you for the help. :) If I go in that direction then I invite you to a coffee or a beer then.  :D

*

Pharg

  • *****
  • 2,071
  • osDate Version: osDate Evo v1.0
Re: county code city code problem
« Reply #7 on: March 14, 2015, 12:05:52 PM »
Hi.

Thank you for the help. :) If I go in that direction then I invite you to a coffee or a beer then.  :D
Hi Vargatunde,

Your welcome and thank you :)
Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDateEvo v1.0 | PHP: 5.3.42 & PHP: 5.6.18 | MySQL: 5.5.35

Re: county code city code problem
« Reply #8 on: March 19, 2015, 12:27:37 AM »
Hi.

If on the web page it userstats.php am looking for onto those individuals who live with me in a county and the earner produces it then there AA a character appears instead of the counties? Which tpl it is necessary to remove it from a file in order not to be visible? Thank you for the answer ahead.

*

Pharg

  • *****
  • 2,071
  • osDate Version: osDate Evo v1.0
Re: county code city code problem
« Reply #9 on: March 19, 2015, 03:39:48 AM »
Hi Vargatunde,

In the userresultviewsmall_address.tpl edit and remove at line 25:
Code: [Select]
{if $item.statename != '' and $item.statename !='-1'}
{$item.statename}, <br />
{/if}

That's it.
Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDateEvo v1.0 | PHP: 5.3.42 & PHP: 5.6.18 | MySQL: 5.5.35

Re: county code city code problem
« Reply #10 on: March 19, 2015, 06:01:26 AM »
Hi.

Thank you for the fast answer.