vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   2 different languages for 2 different forums?! (https://vborg.vbsupport.ru/showthread.php?t=69768)

HSN 09-23-2004 09:00 AM

2 different languages for 2 different forums?!
 
Hello,

Is there a hack which makes the ability of assigning 2 different languages to 2 different forums? I mean for example if we have language L1 and L2 installed and two forums F1 and F2, we assign L1 to F1 and L2 to F2, such that we have different languages according to the forums...
:ermm:

HSN 09-23-2004 08:17 PM

No one?!

buro9 09-27-2004 08:54 PM

Quote:

Originally Posted by HSN
No one?!

You could surely do this as a conditional in functions.php or something like that... just create a switch based on $forumsinfo[forumid]... if that == 1 then set the language accordingly.

Hardcoding it would be very simple.

If you wanted an admin setting, etc... against each forum then that would take a little longer.

What would happen if the user left a forum and returned to the homepage?
What would happen to a thread moved from F1 to F2? Now in F2 language?
If a user viewing F1 viewed the calendar... what language is the calendar?

i.e. Is the scope of the language merely to forumdisplay.php and showthread.php... in that languages only apply when content from that forum is displayed... but never anywhere else (where the default applies).

nexialys 09-27-2004 08:57 PM

HSN have now the choice to install a complete hack related to his request... i didn't have the answer yet, but i suppose the week-end is the cause.. ;)


All times are GMT. The time now is 07:20 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
  • Page Generation 0.01497 seconds
  • Memory Usage 1,712KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete