Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

dividing forum to languages

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi , i want to divide forum into Turkish and English version.
I'll just redirect user to Turkish or English forum ,
then user will be redirected into own languages.
But i want to do it at the same forum.
Not seperate.
Does someone know how to do it ?

[originally posted on jforum.net by kadirbasol]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I mean , i want to redirect from turkish to english database , when i want to send user to english!
[originally posted on jforum.net by kadirbasol]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ah , i ve found some way , i ve created
english group and turkish users group.
Then Turkish group is only can view turkish forum Categories and english can only see English forum Categories
but there is 2 more problem...

I'm using SSO ,
and i want users to enter with board Language , when turkish user goes into forum its board Language will be tr_TR
when others , en_US

[originally posted on jforum.net by kadirbasol]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good now I've solved the problem on db.
Now i want to set user group_id , as soon as user registers from SSO,
how can i set user group after registration from SSO ?

jforum_users
user_id
user_lang

jforum_user_groups
user_id
group_id user_id


group_id
1 General General Users 0
2 Administration Admin Users 0
3 GeneralEN General English Group 0

[originally posted on jforum.net by kadirbasol]
 
He loves you so much! And I'm baking the cake! I'm going to put this tiny ad in the cake:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!