
[BUG REPORT] Too short fields
Forum rules
DO NOT give out any FTP passwords to anyone! There is no reason to do so! If you need help badly enough, create a temporary FTP account that is restricted to only the files that you need help with and give the information for that. Giving out FTP information can be very dangerous!
DO NOT give out any FTP passwords to anyone! There is no reason to do so! If you need help badly enough, create a temporary FTP account that is restricted to only the files that you need help with and give the information for that. Giving out FTP information can be very dangerous!
[BUG REPORT] Too short fields
mod_version (15) is too short, as it is part of the key and don't have so to be shortened
. I have just sat it (as mod_title and mod_file) to 255, as they are varchars (so length doesn't require more place in storage than the very needed).

-
- Registered User
- Posts: 82
- Joined: Sun Mar 02, 2003 11:54 am
- Contact:
Re: Too short fields
i think mod_version (15) is good. Generally, mod_version is something like x.y.z at the max, it could be (but will never be) 255.255.255. So 15 is enough.
Just my opinion
Just my opinion

phpBB MOD-Team Member - Check my MOD's
Support For my MOD's
Attachment MOD User Guide || Log Actions MOD User Guide
No support by PM/Email - Thanks - You want to help me ? Click here
Support For my MOD's
Attachment MOD User Guide || Log Actions MOD User Guide
No support by PM/Email - Thanks - You want to help me ? Click here
Re: Too short fields
nuuttt : wrong : : v 1.0.0 beta 1.20 (RC) : say good by to your 15 chars
. And indeed, this is the way phpBB sets its version number : other version numbering exist : as it is supposed to be part of the main access to the mod, it should not be shortened, so a varchar(255) is at least required
.
note: varchar(15) and varchar(255) are exactly the same thing for the mysql engine (and mssql too btw, not sure for postgress, but I bet so). Only CHAR() considers a constant length in the bytes.


note: varchar(15) and varchar(255) are exactly the same thing for the mysql engine (and mssql too btw, not sure for postgress, but I bet so). Only CHAR() considers a constant length in the bytes.
-
- Registered User
- Posts: 82
- Joined: Sun Mar 02, 2003 11:54 am
- Contact:
Re: Too short fields
arf, you're right : v 1.0.0 beta 1.20 (RC) seems to be not good 
but like i never use version number like this one, i don't have this problem : i always use a version system like x.y.z and that's all

but like i never use version number like this one, i don't have this problem : i always use a version system like x.y.z and that's all

phpBB MOD-Team Member - Check my MOD's
Support For my MOD's
Attachment MOD User Guide || Log Actions MOD User Guide
No support by PM/Email - Thanks - You want to help me ? Click here
Support For my MOD's
Attachment MOD User Guide || Log Actions MOD User Guide
No support by PM/Email - Thanks - You want to help me ? Click here
- GPHemsley
- Registered User
- Posts: 1617
- Joined: Fri Apr 18, 2003 4:01 am
- Location: Long Beach, NY
- Contact:
Re: Too short fields
Is that what you're supposed to use and the only way phpBB accepts them? 
(I could be wrong, though...)

(I could be wrong, though...)
Gordon P. Hemsley
The GP Factory
EasyMOD Support Rant
My MODs: Topic Type MOD | View Topic Title While Posting MOD
The GP Factory
EasyMOD Support Rant
My MODs: Topic Type MOD | View Topic Title While Posting MOD
Re: Too short fields
At my knowledge, yep, for phpBB validation, you use a x.y.z numbering system, first being a major changes, second new feature and third fixes or slight adjustment. But as you can see in the sample, it is not a released mod, but a beta at RC stage, which will result at end in a v 1.0.0, assuming 0.0.x are alpha versions (all planed features not implemented).
-
- Registered User
- Posts: 82
- Joined: Sun Mar 02, 2003 11:54 am
- Contact:
Re: Too short fields
that's why i wanted to say : i always use version number like x.y.z and never x.y.z beta 1.20 (RC)Ptirhiik wrote:At my knowledge, yep, for phpBB validation, you use a x.y.z numbering system, first being a major changes, second new feature and third fixes or slight adjustment. But as you can see in the sample, it is not a released mod, but a beta at RC stage, which will result at end in a v 1.0.0, assuming 0.0.x are alpha versions (all planed features not implemented).

And i think that not a lot of people use them (but i'm may be wrong)
Re: Too short fields
Well, it depends of the mod and of the need to have detailed alpha or beta stage : ie, easy mod is here in 0.0.10 alpha 3 update 1 release (update 1 stands for the enhancement of the debug)
.

-
- Registered User
- Posts: 82
- Joined: Sun Mar 02, 2003 11:54 am
- Contact:
Re: Too short fields
you're right : it depends of the MOD and of the MOD Author 

phpBB MOD-Team Member - Check my MOD's
Support For my MOD's
Attachment MOD User Guide || Log Actions MOD User Guide
No support by PM/Email - Thanks - You want to help me ? Click here
Support For my MOD's
Attachment MOD User Guide || Log Actions MOD User Guide
No support by PM/Email - Thanks - You want to help me ? Click here