Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jan 2001
Posts: 374
Enthusiast
Enthusiast
Offline
Joined: Jan 2001
Posts: 374
Hi,
first of all: thank you all so much for sharing your wonderful hacks with us. Yes, there are sometimes no comments at all to a hack and this could be found discouraging at first sight. (I also have hacks here that never got even a single response, or just what looks like complaints. But then I saw the Download rates and other indications and then it was allright.

There is at least one big advantage: it keeps the threads clear for input that really adds to the hack (bug reports, suggestions) and I start appreciating that. - I myself also stopped writing the "yes I like it"-threads for that reason, although I am so extremely happy with many of them. So here comes my THANK YOU again to all of you.


One general suggestion for a standartization I want to to come up with: Language Files.
Standartization can be something very useful. Ther Hack-description standards are such a case and are helpful for us all.

Language files are one of the coolest features of Threads, and was at least for me THE main reason to switch to Threads some years ago.
I wished that hacks would also use Language-Files more often. Only English forums may have the luxury to offer only one language. So all international forums have to add language hacks to the original hacks, to make them compatible. That is lots of extra work, and errors come quickly it the original hack got updated, which can be often sometimes.

On the other hand I think it would be not so much extra work for a hack-writer to build Language code in right from the beginning. Many of us users would be very happy with this. (It would be fine, just to distribute the code for the English language file, translations should be no problem for the end user.)

Sponsored Links
Joined: May 1999
Posts: 1,715
Addict
Addict
Joined: May 1999
Posts: 1,715
I agree an all accounts.

Language strings in all hacks would be very nice.

Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Yes agree as well. I kinda got in the habit when I installed hacks that had English language strings to also translate into the others as well and add it there.

Joined: Apr 2002
Posts: 206
Member
Member
Offline
Joined: Apr 2002
Posts: 206
Language is something that my next wave over versions will probably have. We are trying to support English and French on our forums, and I've hacked our UBB.threads to pieces for our purposes compared to the stuff I've posted here, and thus my more custom work has slowly had language files added. It makes for some more complex hack-tracking though.

Joined: Jan 2001
Posts: 374
Enthusiast
Enthusiast
Offline
Joined: Jan 2001
Posts: 374
[]It makes for some more complex hack-tracking though. [/]
My strategy would be like this:
I add either a PHP-Comment or a html-comment ( for language files) to every place the hack adds something. Every comment has the word "HACK" and the Name of the hack.
Benefits:
*You can search sitewide for all occurrences of the hack, searching by its name, in case you want to delete or update it.
* If a page makes problem, search for HACK and you can identify the spots where the changes are and maybe the problems come from.
* It is easy to update Threads, because foreign pieces of code can be identified easily. (If I hack original Threads code out, I leave it in as comment, as well. So if the original code has some new elements, it is easy to compare and find out what has changed and what might be needed also for the hacked code.)

My 2 cents

Sponsored Links
Joined: Jan 2000
Posts: 796
MTO Offline
Addict
Addict
Offline
Joined: Jan 2000
Posts: 796
I agree. Updating language files and so on is very needed.
There are so many hacks around that updating language files for each hack can be much work... so I wonder... Would it be possible to come up with a standard "addon.php" language file for every language?
For example, in all pages UBBThreads would check for the language file in question (example "newpost.php") AND the addon.php just as it now does with "generic.php" (I believe).
This would mean that instead of having to mess with all language files you would only mess with "addon.php" and just add things there, resulting in less work.

What do you think?

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Yeah, but you'd probably have to modify every script to included addon.php.... maybe that can be done in ubbt.inc.php.

Or you could simply add a hack section to the bottom of the generic.php file, and add them all there.

Some of my hacks I've been good and used language files. I only include the english of course, but if someone needed another language, they could translate.

I'll focus more on future hacks supporting language files.

Joined: Feb 2002
Posts: 2,286
Veteran
Veteran
Joined: Feb 2002
Posts: 2,286
Does this mean we will get British spellings rather than US


Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
He he... if I do the spelling.... it's probably wrong anyway. LOL

Joined: Aug 2002
Posts: 1,191
Kahuna
Kahuna
Joined: Aug 2002
Posts: 1,191
[]Does this mean we will get British spellings rather than US [/]
Gosh! Please no! I have already a problem being Greek, raised in Greece, having learned American English and living in London where everyone takes the mickey out of me because I spell behavior and not behaviour... :P

Warm regards

Nikos


Nikos
Sponsored Links
Joined: Feb 2002
Posts: 2,286
Veteran
Veteran
Joined: Feb 2002
Posts: 2,286
hmmmm

Why should we not have an English version - the French have their version, the Germans have their version - but we have to translate each dictionary to correct it. It is not just the missing 'u's - we use a rubbish bin , and not trash - we tick boxes not check them etc....

It might seem minor - but then it is the same with the dates - currently there is no method for us to correct the dates on a viewer level - all the dates I view here are 'incorrect' to us 2/11/03 is the 2nd November.

I can set it board wide - so any Americans visiting my board will see 11/2/03, which to them is wrong - but they ike us, should be able to adjust it in the display settings.

Okay patriotic moan over




Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)
Joined: Apr 2002
Posts: 206
Member
Member
Offline
Joined: Apr 2002
Posts: 206
then you have Canadian which is a combination of Brit & American


Joined: Aug 2002
Posts: 1,191
Kahuna
Kahuna
Joined: Aug 2002
Posts: 1,191
On the subject that Carl mentions here, I would like to add that for those of you that have added the hellenic language files in your distributions and have installed alongside other modifications that use language files, please post a reminder in the relevant modification and I will attach the hellenic language strings.


Nikos
Joined: Apr 2002
Posts: 206
Member
Member
Offline
Joined: Apr 2002
Posts: 206
Actually, my current tracking method is to place

// |***

at the start of a hack

// ***|

at the end of one, and // *** for the one-liners or mid-line hacks.

it's easy to type *** in a find field, and I've never seen it used for anything else.


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:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)