forum.coppermine-gallery.net

Dev Board => cpg1.4 Testing/Bugs => cpg1.4 Testing/Bugs: FIXED/CLOSED => Topic started by: Peter_AUS on January 27, 2006, 11:51:32 pm

Title: Registration disclaimer is not handled by lang fallback.
Post by: Peter_AUS on January 27, 2006, 11:51:32 pm
displaying terms and conditions when new user is registering.  I get the screen which says Terms and Conditions but there is nothing displayed only the I agree button.

I am using the English language as default, but it happens with the other English language options as well.

I would like to have obviously some Terms and Conditons and the Language Files contain info in them at line 1475 onwards which is the register.php and profile.php reference, what am I missing here.  I have looked in the config of the theme interface but can't see anything that relates to turning on the Terms and Conditions like you do with FAQ's any ideas would be greately appreciated.

I am not a PHP person at all so need simple please.
Title: Re: I'm using igames theme as my theme but have problem with
Post by: Nibbler on January 27, 2006, 11:55:46 pm
Please post a link to your gallery.
Title: Re: I'm using igames theme as my theme but have problem with
Post by: Peter_AUS on January 28, 2006, 12:06:01 am
Sorry I just though of that and was coming back to do it.

http://www.memoriesinphotos.com/gallery/register.php
Title: Re: I'm using igames theme as my theme but have problem with
Post by: Nibbler on January 28, 2006, 12:09:54 am
Works fine for me, check with a different browser.
Title: Re: I'm using igames theme as my theme but have problem with
Post by: Peter_AUS on January 28, 2006, 12:30:14 am
Interesting it works in the English (US), English (utf-8) but not in the (British) one. HMMMM

Ok the other two files have much more in them than the British one does it seems to end at line 290 which is Version Check, I would have thought the files would have been similar as they would contain mostly the same stuff, just words that were spelt differently would be reflected in the relevant files.

If I just use the English (utf-8) and rename it (British) should this cause any problems.  I can then edit the file to ensure that English/Aussie words were spelt as one does here.

Thanks for the help.
Title: Re: I'm using igames theme as my theme but have problem with
Post by: Nibbler on January 28, 2006, 12:39:12 am
You need to enable lang fallback in config to use British.
Title: Re: I'm using igames theme as my theme but have problem with
Post by: Peter_AUS on January 28, 2006, 12:47:53 am
That is enable (yes selected) in the config area.

The gb version doesn't seem to have all the lines that the other two English versions have, it stops at line 293 which is the version check and then ends with a ?> as the last line.  Is this to check which language is being used then it picks up something from somewhere else.

The other two English (us) and (utf-8) languages goes on to line 1275 so there is a substantial amount missing from the (gb) version, is this the correct thing or a problem as nothing about Terms and Conditions are in that file.
Title: Re: I'm using igames theme as my theme but have problem with
Post by: Nibbler on January 28, 2006, 01:04:12 am
OK, the disclaimer text is not included in the lang fallback code, I'll move this to the bugs board.
Title: Re: Registration disclaimer is not handled by lang fallback.
Post by: Peter_AUS on January 28, 2006, 01:20:57 am
So I found some error in the language package did I ??

What is the difference of the three English languages anyway, there is English(utf-8), English-US, and English-GB.

I tired copying the English(utf-a) and renaming to English-GB but got an erorr display in the last area of the config area of the gallery when logged in to the config area.  So have gone back to the original english-GB from the language package.

I thought copying it and changing what was related to GB in the lines would be sufficient but obviously something doesn't work right.  Will they notify us of the fix for the language when it is done ???

I deleted the English (utf-8) language, edited the English-GB with English-US and it seems to be working OK now.  But there isn't a fallback to english language in there now, I will wait and see what happens with this posting here about ?bug fix.
Title: Re: Registration disclaimer is not handled by lang fallback.
Post by: Tranz on January 28, 2006, 03:19:19 am
There's a GB version due to words like favorite/favourite.
Title: Re: Registration disclaimer is not handled by lang fallback.
Post by: Joachim Müller on January 28, 2006, 12:35:31 pm
What is the difference of the three English languages anyway, there is English(utf-8), English-US, and English-GB.
english-utf-8.php is a leftover file from an outdated version, you should have removed it as suggested in the docs. Only the files english.php (US) and english_gb.php are part of the cpg1.4.x packages.
Title: Re: Registration disclaimer is not handled by lang fallback.
Post by: Peter_AUS on January 28, 2006, 12:53:21 pm
Thanks for getting back to me.  I have deleted it.
Title: Re: Registration disclaimer is not handled by lang fallback.
Post by: Nibbler on February 20, 2006, 04:21:53 am
Fixed in cvs.