Registration disclaimer is not handled by lang fallback. Registration disclaimer is not handled by lang fallback.
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Registration disclaimer is not handled by lang fallback.

Started by Peter_AUS, January 27, 2006, 11:51:32 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Peter_AUS

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.
Regards,

Peter

Nibbler


Peter_AUS

Regards,

Peter

Nibbler


Peter_AUS

#4
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.
Regards,

Peter

Nibbler

You need to enable lang fallback in config to use British.

Peter_AUS

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.
Regards,

Peter

Nibbler

OK, the disclaimer text is not included in the lang fallback code, I'll move this to the bugs board.

Peter_AUS

#8
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.
Regards,

Peter

Tranz

There's a GB version due to words like favorite/favourite.

Joachim Müller

Quote from: Flashram_Peter_AUS on January 28, 2006, 01:20:57 AM
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.

Peter_AUS

Regards,

Peter