![]() |
Assigning substyle to language
Hi!
I am running a forum in three languages. The language is selected automatically from the used subdomain. I have "created" a plugin for that reason. Now i wanted that forum titles and descriptions are replaced with the help of replacement variables in each substyle. I haven't found another way to bind languages to styles, so here is how the code of the plugin looks: Code:
if ($_SERVER['HTTP_HOST'] == "en.domain.com") { problem a.) Now the replacement variables only work when user is logged in! When user is browsing as guest variables are not replaced. Maybe wrong hook? problem b.) Another problem is vbseo which i use. Even user is logged in (and title/description) is replaced correctly, the path still points to the variable like domain.com/forum/title1 instead of domain.com/forum/animals Thanks for your help. lapinkulta |
All times are GMT. The time now is 12:02 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|