Cotonti / Open Source PHP Content Management FrameworkContent Management Framework

Forums / Cotonti / Core Labs / Archive / Automatic Name Linkage

AerialAngel
#1 2009-08-15 08:17
This idea is a bit small but i think it would be more convenient.

How about when a person types a username it will automatically be linked to their profile.

Like if i were to use to my name in a sentence

AerialAngel is currently on cotoni
Trustmaster
#2 2009-08-15 14:47
That would increase sever load dramatically on sites with say thousands of users. There is a [user] bbcode though in "seditio" plugin.
May the Source be with you!
Mynt
#3 2009-08-18 07:42
Its a great idea if the Cotonti used a Tracback system, however as Trustmaster stated it would be a terrible bog on servers. Mainly because the checks that would be involved. Heres an example.

Lets say that we have a usernamed Trust, and then there was Trustmaster. The server would first recognize Trust, then link. But what if the person's string was Trustmaster? Theres a simple way to override that, and thats using exact string matches. However, that means EVERY word will be compared to the user database. Someone types up an article, and now your server reads word by word comparing everyword to a database of users for all 900+ words someone typed.

The other downfall, is alot of people use common names. Example: Hi my name is Unique, or Hi my name is Poll.
"I only sleep when I know I won't miss a thing."