![]() |
Now to the strange part :)
I did install the first part of the hack, edited sessions.php and register.php and I stopped right there for now I change the default to other than en and also did that somewhere little down the hack, anyway now everything looks cool, but while I was still admin I ponited my browser to the forum adding the ?&guestlanguageid=1 and then 2 ofcourse I am not a guest so that didn't do nothing :) I loged out, now I did that again and it worked, BUT when I used 1 I get english which is not the default language and not #1 in sessions.php and when I do 2 I get the default lang... now thats fine I can live with it and I am sure I can fix it too this is what made me post now I noticed in my nabar now I have 2 new links Mark all forums as read Open buddly list now why they showing up in nav bar now? I checked navar and they are there and uncommented but they never show up in my navbar on two sites, now after this hack they show in all tempates on this one site so for now I had to comment them out in my navbar till I figure out why they showing I looked at both sites and the navra is the same non the less, this hack is great and I am gonna use it even if my name pops in navbar :) :) |
Its me.. I knew it :)
I was messing with settings, and I disabled the use of DHTML menu under vB options and I got a phone call, took me away from what I was doing when I came back, I installed the hack and thats when I saw what I did before the hack so nevermind, the problem is fixed :) |
All systems good to go mate :) thanks
theres one little issue, for now I managed to over come it but it needs fix I use a portal (vBadvanaced CMPS) in the root and my forum in a directory under it, all work fine but when a guest is on portal (root) they change language link won't work, it will just take them to my root directroy where I have index.html as a front-end loader (which will load index.php of the portal once clicked). a guest in forum, they click the lang change, the URL will be /forum/index.php?guestXXXXX a geust in portal, they click the lang change, the URL will be /?guestlanguageXXXXXXXXX that might work if I only had 1 index in my root, but I have 2 :) index.html loads first then it loads index.php once clicked I managed to temp fix it by adding a "/" at the begining of the varialble ($vboptions[forumhome].php?XXXXXXXXXXXXXXXXXXXXXX) This makes it take the guest to the main root index.php (portal) no matter where the guest clicked the lingo change (in portal or forum) I hope that made any sence :) but for now it works non the less thnx again next step is installing the change for members :) .. can't wait |
Quote:
can I change Name of language 1 / Name of language 2 to $vbphrase[lang01] / $vbphrase[lang02] ? thnx |
Yes of course ! It was only an example :)
Nice to hear, that it works for you. Concerning the portal-thing, sorry, but I have no portal, so I don't thought about, that the link won't work in this case ;) |
Thank you sir , well done... just that little thing about portal as most people do use portals, and for me I use 2 indexes :) ..
Installed on one site and soon on another :) |
Sweet..
I managed to make it a drop down menu for memeber/guests as I have about 6 languages and can't put them all in navbar :) The link will show always, but the options for guests will show to guests and will only show member options for members :) love it |
Fine.. :) I think for members it is not really necessary, because no one changes the language after he selected it once, but I think for guests it should be standard... Well, maybe in 3.1.0 :)
|
Thank you very much JoergZ for such a useful hack. I have just installed in my english / spanish forums.
Best regards! |
PERFECT, GREAT, FANTASTIC!! I was so hard looking for this
! ! Thank you! ¡ ¡ |
Hey,
I'm trying to install it now, and I'm not sure how to do the last step, where you wrote to add a phrase to the group GLOBAL and translate them as I want. where should I add it? and what exactly should I add/translate? Thanks! |
You must add them in AdminCP -> Phrase Manager
Then click on "Add new phrase" Phrase Type is GLOBAL Varname is as described in my hack translation as you want :) Best regards J?rg |
Important question:
Is it compatible with VBindex? |
Sorry, i am not using VBindex.
But somehow it should work with that together too.. I don't know if someone already use it with VBindex. Best regards Jörg |
Thanks for reply
|
Awesome hack thanks :D Installed.
|
Much appreciation for this hack. Thanks
Using option 3. Is there anyay to add the language parameter id to a particular forum? Already have this which works: Code:
http://example-domain.com/index.php?guestlanguageid=3 Code:
http://example-domain.com/forumdisplay.php?f=14?guestlanguageid=3 |
Yes, a link like
works too. Best regards J?rg |
excellent hack - works fine in vb 3.03 too :)
|
excellent hack but how about user registration choice?
I run a board, default language, Japanese. Board has this browser language mod added so an GUEST english user sees the site in english. He registers in english. Then logs in and has to somehow navigate through a JAPANESE page to somehow find the user CP and go into a JAPANESE user CP to change his language to english. Most english users can not read Japanese. The language selection should be at registration as it is on our phpbb. |
Well... it should work.
Guest select English, register, and during registration the english is written in his profile as default-language. Check if you made the modifications in register.php correct. Best regards Jörg |
Thanks, I just wanted to ask a question like that.
Does the forum goes to the standard browser language? And can the guest select an other language if they want? |
Yes and yes :D
In the description of the hack, you will find how to add an menue-point for selecting the language. When the user selects manually a language, this one has priority over the automatic detected language. J?rg |
Found it, installed & works great. Thank You!:nervous:
|
Quote:
Thank you :) |
Could anyone tell, how to make returning to the page guest was previously viewing after guest switched to another language (for example by link http://example-domain.com/forumdispl...stlanguageid=3)?
I am asking because guest always goes to the main page after switching languages.. |
Sorry, but without re-writing the complete hack, it is not possible. The procedure for changing the language (interpreting the parameter &guestlanguage=x) is only in the index.php
(Maybe there is a way, to recognise from where the link was called, so you can redirect back to that page, but I don't know how.) Jörg |
https://vborg.vbsupport.ru/attachmen...id=22750&stc=1
:ermm: :ermm: And please don't tell but I need glasses butt tell me how to solve ? So I want to have: 1. text to it 2. the text in the dropdown menu bigger |
Eagle,
check all changes you did in the template navbar. There must be the error somewhere.. |
Quote:
Uuhm.. I guess I have to revert the template and try again? |
Quote:
It stays a triangle without text next to it and when I click it's still extreme small :( |
O.k.
Which version of the hack have you installed ? |
Quote:
************************************************** ************** **** **** **** Language-Selection for not logged-in users **** **** **** **** Version 3.0 **** **** **** **** (c)Copyright by JoergZ and WildChild **** **** **** **** Modification of this hack is only allowed for private **** **** use. Publishing and distribution of the modified hack **** **** is not allowed. **** **** **** ************************************************** ************** **** **** **** If you have installed more than one language, in **** **** Version vB 3.0.0 RC4 there is for guests no **** **** chance to select another language than the default. **** **** **** **** This hack in Version 3.0 detects automatic the **** **** browser-language. **** **** **** |
For all others information:
We have solved the problem via PN. Eagle made a mistake with the phrases. So no problem with the hack at all. Jörg |
It works brilliant with vb 3.05 :squareeyed:
|
Quote:
edit: I fixed it. :) |
Quote:
http://www.antispywareoffensief.nl/f...splay.php?f=51 http://www.antispywareoffensief.nl/f...stlanguageid=3 But I want a direct link to that forum in language 3 |
The only way I see for that is, that you modify the changelanguage.php you find in this posting.
Maybe parsing the forum-id when calling changelanguage.php, and the setting the correct redirect. Best regards J?rg |
Btw, is het full 3.0.6 compatible?
|
Yes, it is working with 3.0.6 too
|
All times are GMT. The time now is 01:16 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:
|