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: BB integration - how to pass lang var ?  (Read 3019 times)

0 Members and 1 Guest are viewing this topic.

Titooy

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 736
    • under construction...
BB integration - how to pass lang var ?
« on: November 04, 2003, 09:46:01 pm »

What should I do in order to use the lang variable from the BB user profile as the language of CPG ?
Logged

DJMaze

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 831
    • Dragonfly CMS
BB integration - how to pass lang var ?
« Reply #1 on: November 04, 2003, 10:08:09 pm »

Maybe a include("../phpBB/lang/language.php") or something would do the trick for you.
Then edit theme.php to use the phpBB language variables.
Logged
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0

Titooy

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 736
    • under construction...
BB integration - how to pass lang var ?
« Reply #2 on: November 04, 2003, 10:12:30 pm »

The lang var is in the database in the same table as other user datas
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
BB integration - how to pass lang var ?
« Reply #3 on: November 04, 2003, 11:50:35 pm »

this requires a separate hack. Anyone wants to do this? Shouldn't be to hard to accomplish, looking up the setting in the database of phpBB and adding passing it along to coppermine.

GauGau
Logged
Pages: [1]   Go Up
 

Page created in 0.047 seconds with 14 queries.