Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Registration disclaimer is not handled by lang fallback.  (Read 8930 times)

0 Members and 1 Guest are viewing this topic.

Peter_AUS

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 25
Registration disclaimer is not handled by lang fallback.
« 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.
« Last Edit: February 20, 2006, 04:22:08 am by Nibbler »
Logged
Regards,

Peter

Nibbler

  • Guest
Re: I'm using igames theme as my theme but have problem with
« Reply #1 on: January 27, 2006, 11:55:46 pm »

Please post a link to your gallery.
Logged

Peter_AUS

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 25
Re: I'm using igames theme as my theme but have problem with
« Reply #2 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
Logged
Regards,

Peter

Nibbler

  • Guest
Re: I'm using igames theme as my theme but have problem with
« Reply #3 on: January 28, 2006, 12:09:54 am »

Works fine for me, check with a different browser.
Logged

Peter_AUS

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 25
Re: I'm using igames theme as my theme but have problem with
« Reply #4 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.
« Last Edit: January 28, 2006, 12:35:53 am by Flashram_Peter_AUS »
Logged
Regards,

Peter

Nibbler

  • Guest
Re: I'm using igames theme as my theme but have problem with
« Reply #5 on: January 28, 2006, 12:39:12 am »

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

Peter_AUS

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 25
Re: I'm using igames theme as my theme but have problem with
« Reply #6 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.
Logged
Regards,

Peter

Nibbler

  • Guest
Re: I'm using igames theme as my theme but have problem with
« Reply #7 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.
Logged

Peter_AUS

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 25
Re: Registration disclaimer is not handled by lang fallback.
« Reply #8 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.
« Last Edit: January 28, 2006, 02:18:10 am by Flashram_Peter_AUS »
Logged
Regards,

Peter

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Registration disclaimer is not handled by lang fallback.
« Reply #9 on: January 28, 2006, 03:19:19 am »

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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Registration disclaimer is not handled by lang fallback.
« Reply #10 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.
Logged

Peter_AUS

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 25
Re: Registration disclaimer is not handled by lang fallback.
« Reply #11 on: January 28, 2006, 12:53:21 pm »

Thanks for getting back to me.  I have deleted it.
Logged
Regards,

Peter

Nibbler

  • Guest
Re: Registration disclaimer is not handled by lang fallback.
« Reply #12 on: February 20, 2006, 04:21:53 am »

Fixed in cvs.
Logged
Pages: [1]   Go Up
 

Page created in 0.026 seconds with 19 queries.