add chandesc field to profiles to provide some arbitrary text in the directory - such as to inform people what this channel is about before they connect. This will work best with a "channel detail" popup in the directory to provide more info than is available in the micro-profiles (when hovered, or clicked or something). And of course, the first thing is to enable this data to be stored in the directory.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
define( 'UPDATE_VERSION' , 1053 );
|
||||
define( 'UPDATE_VERSION' , 1054 );
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -635,3 +635,9 @@ function update_r1052() {
|
||||
return UPDATE_FAILED;
|
||||
}
|
||||
|
||||
function update_r1053() {
|
||||
$r = q("ALTER TABLE `profile` ADD `chandesc` TEXT NOT NULL DEFAULT '' AFTER `pdesc` ");
|
||||
if($r)
|
||||
return UPDATE_SUCCESS;
|
||||
return UPDATE_FAILED;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user