xoops forums

Forum Index


Board index » All Posts (trabis)




trabis

Core Developer
Posted on: 2013/1/30 14:00
trabis
trabis (Show more)
Core Developer
Posts: 2268
Since: 2006/9/1 1
#21

Re: XOOPS 2.6.0 Alpha 2 released for Testing

Quote:

Is a problem that I'm having, I think that will be resolved when ?trabis have finished updating all the files that contain this class 'XoopsLocale', hopefully soon, otherwise it's a mess without being able to test the new features ?


It will take some time to finish the update!
I've updated svn with a patch, Please test if it installs ok now.


trabis

Core Developer
Posted on: 2013/1/28 18:37
trabis
trabis (Show more)
Core Developer
Posts: 2268
Since: 2006/9/1 1
#22

Re: XOOPS 2.6.0 Alpha 2 released for Testing

Quote:

tatane wrote:

Quote:

trabis wrote:
1 - I think we can add some axaj yes. By 'we' I mean some other core developer that has more experience with jquery than me!


Yes, but everyone does not know the language ajax or another, we must think of the people who come on Xoops beginners wanting this option. If he sees that he must seek the help of a developer to add this option they will go elsewhere.


As I said, and as you quoted, "By 'we' I mean some other core developer".
I'm not saying that we should not add this option! I'm just saying that Mage could do it (hint, hint).


trabis

Core Developer
Posted on: 2013/1/28 18:34
trabis
trabis (Show more)
Core Developer
Posts: 2268
Since: 2006/9/1 1
#23

Re: XOOPS 2.6.0 Alpha 2 released for Testing

Quote:

irmtfan wrote:

after 10 years i still cannot understand why core team always think we must have one field for login?
we can login with both "uname" and "email" fields.


But you don't know what this core team thinks! That is why I said it needs extra discussion. And I agree with you, we can use both username and email, I've also hacked my site to allow it :)


trabis

Core Developer
Posted on: 2013/1/27 20:46
trabis
trabis (Show more)
Core Developer
Posts: 2268
Since: 2006/9/1 1
#24

Re: XOOPS 2.6.0 Alpha 2 released for Testing

Quote:

tatane wrote:
I have two question: when someone creates an account in the field "nickname" would it be possible to have a system which is where the nickname is already taken him that it can not be used?

Because currently the member must validate their registration to whether or not the name is used similarly for the e-mail address

you go to integrate the system account creation by email and not by nickname?

Thank you


If I understood correctly your questions were:
1 - Can we detect if username and email are already taken before submitting the form?
2 - Can we use only 'email' as the unique/identifier field and drop the username?

Answers:
1 - I think we can add some axaj yes. By 'we' I mean some other core developer that has more experience with jquery than me!
2 - I like the idea of logging in using email and have a 'display name' instead of an 'username' but that is something that needs extra discussion. Funny, just yesterday I was reading an old thread related with XOOPS 2.2:
https://xoops.org/modules/newbb/viewto ... &order=ASC&status=&mode=0





trabis

Core Developer
Posted on: 2013/1/27 20:29
trabis
trabis (Show more)
Core Developer
Posts: 2268
Since: 2006/9/1 1
#25

Re: XOOPS 2.6.0 Alpha 2 released for Testing

Quote:

timgno wrote:

A question, the same XoopsLocale class and translate function is only for the modules?


XoopsLocale is for core language, it is located in htdocs/locale folder
Each module will have its own locale, ex:PublisherLocale, AvatarsLocale, etc, located in htdocs/modules/modulename/locale folder

Modules can and should use XoopsLocale as much as possible.


trabis

Core Developer
Posted on: 2013/1/27 15:19
trabis
trabis (Show more)
Core Developer
Posts: 2268
Since: 2006/9/1 1
#26

Re: XOOPS 2.6.0 Alpha 2 released for Testing

Quote:

timgno wrote:
Quote:
Fatal error: Class 'XoopsLocale' not found in C:\wamp\www\2.6.0\htdocs\class\module.textsanitizer.php on line 481


I thought this was fixed last night?! Please update svn and test again.


Quote:

Parse error: syntax error, unexpected '<<' (T_SL) in C:\wamp\www\2.6.0\htdocs\modules\notifications\index.php on line 69

This sounds like tortoise svn did not merge your file correctly.
Perhaps it would be better to checkout the trunk again.


trabis

Core Developer
Posted on: 2013/1/25 8:11
trabis
trabis (Show more)
Core Developer
Posts: 2268
Since: 2006/9/1 1
#27

Re: XOOPS 2.6 Internationalization/Local support

Quote:

irmtfan wrote:
@Trabis:
I review your updates. they are really fantastic.
Now all local needs are covered include isRtl and isMultiByte.

just 2 point:
1- will you add strtotime in the future?

2- a bug in your example pt_BR in xoops26/locale/pt_BR/locale.php
class XoopsLocale extends XoopsLocaleEn_US{


should be XoopsLocalePt_BR


I'm glad you like it!
It is an ongoing process, right now I'm just covering the legacy. You should expect other methods later on.


trabis

Core Developer
Posted on: 2013/1/24 20:20
trabis
trabis (Show more)
Core Developer
Posts: 2268
Since: 2006/9/1 1
#28

Re: Translation Teams on Transifex

Quote:

Cesag wrote:

Standardize everything and have (") everywhere, it will be less ugly and prevent errors with (')..


I agree, in 2.6 " will be the standard so if you do it now, you will not have to do it latter :)


trabis

Core Developer
Posted on: 2013/1/24 0:11
trabis
trabis (Show more)
Core Developer
Posts: 2268
Since: 2006/9/1 1
#29

Re: Refactoring XOOPS downloads to the WP format

Quote:

flipse wrote:
Troubleshooting xoops modules or looking for updates is time consuming now. You have to search in all kinds of forums or it seems websites from developers don't exist anymore. Most frustrating is the fact the information you need is divided on many pages and websites, or is gone...

I love the way all information around a WP plugin can be found on a single page. Updates can be found there, latest version downloads, support questions asked, bugs reported, there is a link to the developer site and so on... We could also add links to all module translations.

Why not develop such a concept for xoops.org?


Eduardo is looking into it. Hopefully we will have it on 2.6 :)


trabis

Core Developer
Posted on: 2013/1/22 22:29
trabis
trabis (Show more)
Core Developer
Posts: 2268
Since: 2006/9/1 1
#30

Re: XOOPS 2.6 Internationalization/Local support

Quote:

flipse wrote:
I can't reproduce examples now but most difficulties when translating arrise when strings are used on more then one place. In some cases an English phrase or word cannot be used in a different context where it is no problem in the original language. Avoiding similar language strings at more places might be translator friendly but can be a pain in the ass in some cases.


In Portuguese I have problems with single words.
TEXT used in "article text" is different than "text a friend".
In this refactoring I'm prepending A_ (action) on single words that are also verbs.
The keys are also being extended to provide
Here are some of the conventions I've applied so far:
Quote:

/**
* Naming conventions
* - All translations must be enclosed with ""
* - All translations must start with Uppercase, do not use CamelCase
* Good ex: "User groups"
* Bad ex: "user groups" or "User Groups"
* - All keys must be as descriptive as possible.
* - All keys must use complete words between each '_',
* - Keys should be prepended with identifiers in following cases:
* F_ Formatted, use this when strings are parsed with sprintf()
* A_ Action, use this when using a single word which is a verb
* S_ Success, use this for success messages and exclamations
* E_ Error, use this for error messages
* C_ Colon, use this when string ends with a colon ":"
* Q_ Question, use this when string is a question
* - Chain keys alphabetically with the exception of F, F always comes in last
* ex: SF_ (formatted success message), EF_ (formatted error message)
* - Special cases:
* CONF_ Configs, prepend this for your module configs.
* Config keys are stored in database, try to make them as short as possible!
* _DESC Description, append this for configs description
*/




TopTop
« 1 2 (3) 4 5 6 ... 190 »