• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Titles, usergenerated ids and urls

xf_phantom

Well-known member
#1
Why does XF have different max. Lenghts for titles, ids and urls?
There are IMO too many inconsistencies
It's just confusing and making automated generation harder.

e.g.
admin_permission_id: 25
permission_id : 25
permission interface group id: 50
mediasite id: 25
option id: 50
option group id: 50

phrase title: 75
admintemplate title: 50
public template title: 50
email template title: 50
mediasite title: 75
feed title: 250
notice title: 150

media site url: 100
linkforum url: 150
feed url: 2083

i can't see any sense, why phrase titles can have a lenght of 75 but template titles only 50, it's just causing troubles with finding good names.
It's also a nightmare for debugging, with the xenforo datawriter error messages in the acp because they often doesn't say which field isn't valid (this was fixed in 1.2, or? )