Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Apr 2001
Posts: 27
Journeyman
Journeyman
Offline
Joined: Apr 2001
Posts: 27
These two hacks could be interesting if you have a dual-language board.

The first hack allows visitors who are not logged in to switch between two languages. It also detects the language depending on the browser settings if no language cookie is found. If a user creates an account, the language he/she is currently using is written in his/her user profile.

The second one allows to define a different categories order depending on the choosen language. If you have for instance a German forum, but also a small English category, you can then define that the English category is displayed last when somebody uses the german language, and that it is displayed first when somebody uses English.


Mod Name: Dual-Language Hack 0.9
Description: Autodedects language, allows to switch between two languages, allows to specify categories order depending on the choosen language.
Working under: 6.1.1
Any pre-requisites: none
Author(s): nòóx (Hannes Schmiderer)
Demo: www.downhill-board.com (currently still 5.4.1) and www.nooxnet.com/ubbthreads.php (6.1.1)
Files Altered:
- ubbt.inc.php
- languages/*/generic.php
- adduser.php
- admin/dochangecatorder.php
- ubbthreads.php
Database Altered: no
New Files: none
Any other info: Works for two languages only. At the moment it is implemented for English and German. But it should be easy to adapt it for any other two languages.
Attachments
59453-duallanguagehack.txt (0 Bytes, 61 downloads)

Sponsored Links
Entire Thread
Subject Posted By Posted
Hack for dual-language boards noox 10/26/2002 12:18 AM
Re: Hack for dual-language boards JoshPet 10/26/2002 3:37 AM
Re: Hack for dual-language boards AllenAyres 10/26/2002 4:15 AM
Re: Hack for dual-language boards caymuc 01/05/2003 1:07 AM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Shock Hosting
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,834
Joined: January 2000
Forum Statistics
Forums63
Topics37,583
Posts293,955
Members13,824
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 655
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 9
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260108)