Show only some forums
when lcid 1030 and others on 2057
We have made it so the
forum will display Danish language when reast of our site is in Danish.
Users can change site
language to English, then the forum also change :)
Now in the old forum
V7 we had this code, to show only DK forum to DK users
And eng forum to Eng users.
If strDatabaseType =
"SQLServer" Then
If Session("LCID") = 2057
Then
strSQL = "EXECUTE
wwfSpCategoriesByEnglish"
ElseIf Session("LCID") =
1030 Then
strSQL = "EXECUTE
wwfSpCategoriesByDanish"
End If
Else
strSQL = "SELECT " &
strDbTable & "Category.Cat_name, " & strDbTable &
"Category.Cat_ID FROM " & strDbTable & "Category ORDER
BY " & strDbTable & "Category.Cat_order ASC;"
End If
That was for V7.1 and
we made 2 stored procedures to match.
Now in V 8 this category
thing is made in a hole different way.
Do you have any good idea
on how to show only dk forum for Lcid 1030 and the others for lcid 2057
To explain better
right now we have.
All forum 2 times, one
is made in English and one is made in Danish to match the language we offer on
the page.
You can see it here: http://www.babesline.dk/forum/default.asp
DK forum are in top. Eng are in bottom.