Hello again now it gets into the nitty gritty.
for those of you who looked at my boards and coppermine galley I thank you.
Here goes.
I have 2 BBS boards one in English the other in Chinese.
www.mjsutton.com/wancheng/engbbs
www.mjsutton.com/wancheng/chnbbs
and coppermine gallery
www.mjsutton.com/wancheng/gallery
After a LOT of trial and error as well as searching both coppermine and phpbb help forums I finally got them bridged and working
now for the hard part.
My user base is both Chinese and English, my boards are set up to already allow log on and register in their language.
How can I do this with coppermine or do I need to set up 2 coppermines (just set one as the primary for the images)
as it is now if they are at the boards and go to log in it is fine as they can change the language via a flag on top. but if they need to register it goes to English boards as default... how can I change this?
Find in your bridge file
function udb_register_page()
{
$target = 'profile.php?mode=register';
udb_redirect($target);
}
Change it to something like:
function udb_register_page()
{
global $CONFIG;
$target = 'profile.php?mode=register';
if (strpos($CONFIG['lang'], 'chinese') != FALSE){
header("Location: http://www.mjsutton.com/wancheng/chnbbs/$target");
exit;
} else {
udb_redirect($target);
}
}