Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 20 Oct 2006, 12:41
Sergio68's Avatar
Sergio68 Sergio68 is offline
 
Join Date: Nov 2001
How to check Language

I'd like to built something to check the language an user is using on the forum and show some image related to it.

Something like :


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Can you tell me the variable name please ?

Anybody ?

Last edited by Sergio68; 21 Oct 2006 at 09:24. Reason: Automerged Doublepost
Reply With Quote
  #2  
Old 09 Sep 2007, 10:42
rahimt rahimt is offline
 
Join Date: Sep 2005
I am interested in an answer as well. Is there such a variable for a conditional?
Many thanks in advance!
Reply With Quote
  #3  
Old 09 Sep 2007, 10:53
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
In templates it's $bbuserinfo['languageid']

In plugins, $vbulletin->userinfo['languageid']
__________________
Former vBulletin.org Staff Member


Cable Forum
Please do not PM me about custom work - I no longer undertake any.
Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum.
Reply With Quote
  #4  
Old 09 Sep 2007, 17:48
Sergio68's Avatar
Sergio68 Sergio68 is offline
 
Join Date: Nov 2001
Wow, thanks Paul
Reply With Quote
  #5  
Old 27 Oct 2008, 06:12
jerx jerx is offline
 
Join Date: Feb 2006
Thank you!

I needed this to link to an external script. I used this:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Here is all you need to know of template conditionals:
http://www.vbulletin.com/docs/html/t...e_conditionals
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mini Mods Set forum-language automatic to browser-language for first-visitors JoergZ vBulletin 3.6 Add-ons 47 24 May 2010 14:14
Set forum-language automatic to browser-language for first-visitors JoergZ vBulletin 3.5 Add-ons 47 21 Jan 2009 23:14



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 00:40.

Layout Options | Width: Wide Color: