UPDATE
You might need edit few files.
1. Add the input field to the TPL file:/templates/frontend/yourcolor/upload_video.tpl
Name the field as description
<div class= "Separator" >
<label for= "description" >Description:</label>
<textarea name= "description" id= "Upload_video_description" >{$video. Description} </textarea><br/ >
<span class= "Expl" >description of video required.</span><br/>
<span id= "Video_tags_error" class= "error" style= "Display:none;" >{t c= ' Upload.video_description_empty '}</span>
</div>
2. edit:modules/upload/video.php
Below this: $anonymous = $filter->get (' video_anonymous ');
Add: $description = $filter->get (' description ');
Below This:channel = ". $category.", keyword = ' ". Mysql_real_escape_string ($keywords)." ',
Add:description = ' ". Mysql_real_escape_string ($description)." ',
3. Edit video.php
Find: $sql = "Select V.vid, V.uid, V.title, V.channel, V.keyword, V.viewnumber, V.type,
Replace with: $sql = "Select V.vid, V.uid, V.title, V.channel, V.keyword, V.viewnumber, V.type, V.description,
4. Edit:/templates/frontend/yourcolor/video.tpl
Find
<div class= "Video_addtime" >
{Insert Name=time_range assign=addtime time= $video. Addtime}
{$addtime}
</div>
Below that add:
<div>
Description: {$video. Description}
</div>
Step 5
Edit
Templates/backend/default/videos_edit.tpl
Below
<label for= "keyword" >keywords (tags): </label>
<textarea name= "keyword" >{$video [0].keyword}</textarea><br>
Add
<label for= "description" >description: </label>
<textarea name= "description" >{$video [0].description}</textarea><br>
Step 6
Edit
siteadmin/modules/videos/edit.php
Below
$keyword = Trim ($_post[' keyword ');
Add
$description = Trim ($_post[' description ');
-Next-
Below
ElseIf (strlen ($keyword) < 3)
$errors [] = ' Video keyword (tags) field cannot be blank! ';
Add
ElseIf (strlen ($description) < 3)
$errors [] = ' Video Description field cannot be blank! ';
-Next-
After:
Keyword = ' ". Mysql_real_escape_string ($keyword)." ',
ADD:
Description = ' ". Mysql_real_escape_string ($description)." ',
Step 7
Edit
Templates/frontend/your COLOR/EDIT.TPL
Find
<div class= "Separator" >
<label for= "upload_video_keywords" >{t c= ' global.tags '}:</label>
<textarea name= "keyword" id= "upload_video_keywords" >{$video. Keyword}</textarea><br/>
<span class= "expl" >{t c= ' upload.tags_expl '}</span><br/>
<span id= "Video_tags_error" class= "error" style= "Display:none;" >{t c= ' Upload.video_tags_empty '}</span>
</div>
Add below:
<div class= "Separator" >
<label for= "description" >Description:</label>
<textarea name= "description" id= "Upload_video_description" >{$video. Description} </textarea><br/ >
<span class= "Expl" >description of video required.</span><br/>
<span id= "Video_tags_error" class= "error" style= "Display:none;" >{t c= ' Upload.video_description_empty '}</span>
</div>
Step 8
Edit
Public html/edit.php
Find
$thumb = $filter->get (' thumb ', ' INTEGER ');
Add below
$description = $filter->get (' description ');
Find
if ($keyword = = ") {
$errors [] = $lang [' Upload.video_tags_empty '];
} else {
$keyword = Prepare_string ($keyword, false);
}
Add below
if ($description = = ") {
$errors [] = $lang [' Upload.video_description_empty '];
}
Find
Keyword = ' ". Mysql_real_escape_string ($keyword)." ',
Add below
Description = ' ". Mysql_real_escape_string ($description)." '
Step 9
Edit
public_html/language/en_us.lang.php
Find
$lang [' upload.video_file_empty '] = ' Please selected a video file! ';
Add after
$lang [' upload.video_description_empty '] = ' Please enter a video description! ';
This last STEP with the LANGUAGE NEEDS-be-done with all the LANGUAGES you'll be USING
Thats all, I don't including any CSS part so you might has to adjust the position of the CSS layout your self. You can do this also for games, by default the game table inside the database dont has description field, you might try T o add it your self.
Hope that help, good luck.
This needs to is done in the file 2 times.
Quote
4. Edit:/templates/frontend/yourcolor/video.tpl
Find
<div class= "Video_addtime" >
{Insert Name=time_range assign=addtime time= $video. Addtime}
{$addtime}
</div>
Below that add:
<div>
Description: {$video. Description}
</div>
Add a description for AVS (how to add a description to a video)