Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: BB integration - how to pass lang var ?  (Read 3081 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.019 seconds with 20 queries.