vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Different Language for AdminCP (https://vborg.vbsupport.ru/showthread.php?t=99550)

akanevsky 10-27-2005 10:00 PM

Different Language for AdminCP
 
I no longer support my hacks. Please feel free to update them and release new versions elsewhere as long as I get the credit for the original modification.

/*================================================= =====================*\
|| Different Language for AdminCP and ModCP
||
|| Author : Anton Kanevsky
|| Works on : vBulletin 3.5.4
|| Released : May 10, 2006
||
|| Time required to install: 30 seconds
|| Difficulty: easy
\*================================================ ======================*/

DESCRIPTION

Gives you an ability to use a language other than the public one in the admincp.

STATISTICS

Products to Install: 1


VERSION HISTORY

1.1.0
[+] The hack is now a product with no file modifications required.
[+] The hack now covers the ModCP, not only AdminCP.

1.0.0
Initial Release.

The installation manual is contained within the attached file.

IF YOU LIKE MY HACK, PLEASE CLICK INSTALL

JulianD 10-28-2005 09:00 PM

thank you very much!! Installed! :D

Snake 10-29-2005 11:58 AM

Very nice. :)

GrendelKhan{TSU 11-03-2005 10:20 AM

nice!

anyway to make this selectable from the admincp??

akanevsky 11-03-2005 08:01 PM

Quote:

nice!

anyway to make this selectable from the admincp??
No, this hack is supposed to be quick and dirty solution to the problem. Besides, it was intended just for a back-to-english switch, nothing more :)

Alviker 12-15-2005 03:23 PM

g0 g0 g0!!! ^^ Very nice hack, congratulations, very thanks!!! ^^ Run in vB 3.5.1??? ^^ Bye! ^^

Atte. Alviker

Lea Verou 12-17-2005 04:12 PM

I wish this was a plugin/product :(

akanevsky 05-10-2006 08:29 PM

Wish granted :) This is now a product. Mod, please move the thread over to plugins, thank you.

Hell? 05-10-2006 08:36 PM

Thanks, I'm sure it will be much more popular now.

Edit: You think you can make available the previous hack instructions so we can remove the edits?, please?

akanevsky 05-10-2006 08:43 PM

Uh... No, because I don't have them. They are somewhere in the init.php file though.

Amorpho[US] 05-11-2006 10:21 AM

]Find and delete this code:
Code:

if (VB_AREA == 'AdminCP')
{
    $languageid = YOUR_LANG_ID;
}


akanevsky 05-11-2006 06:30 PM

Thanks, Amorpho.

Hell? 05-12-2006 12:04 AM

Following Psionic's suggestion I did the same yesterday.

Thank you both :)

q8-star 05-13-2006 11:11 AM

Man ... The hack is not working for me ...

TCattitude 05-15-2006 07:29 PM

Quote:

Originally Posted by q8-star
Man ... The hack is not working for me ...

Same here.
Installation is ok. I set the language for admincp to english, and the default for forums is spanish.

Then i go to the forums, and change my profile to set the language to spanish. All is ok.
Then, i login into the admincp. Admincp is in english. That works. BUT... if i go to the forums when i'm still login in the admincp, the forums are back in english again. Even if i set the options from my profile to other language in the forums and not from the quick chooser in forum's bottom.

akanevsky 05-19-2006 11:37 PM

That's how it is expected to work... Because when you choose a different language, vBulletin changes it everywhere. I am going to see if there is a workaround, although chances are, there isn't.

barca4ever 06-18-2006 04:35 AM

Its not working in 3.5.4

My default language is Arabic, and I set the AdminCP language to English

Its still the default language which is Arabic

I logout then login, still nothing changed!

Any clue or workaround?


All times are GMT. The time now is 04:44 PM.

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.01415 seconds
  • Memory Usage 1,743KB
  • 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_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (17)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