/**************************************************************************************************
|
| VideoWatch Professional - Video Sharing Script
| http://www.videowatchpro.com
| videowatchopro@gmail.com
| Version: 1.3.3
|
|**************************************************************************************************
|
| By using this software you agree that you have read and acknowledged our End-User License 
| Agreement available at http://www.videowatchpro.com/eula.html and to be bound by it.
|
| Copyright (c) 2008 VideoWatchPro.com. All rights reserved.
|**************************************************************************************************/

Upgrade Instructions - v1.3.2 to v1.3.3

1. Open themes/viewmessage.tpl

Find:
{$msgarray[0].message}

Replace With:
{insert name=get_stripped_phrase value=a assign=messagedetails details=$msgarray[0].message}{$messagedetails}


2. Open themes/search.tpl

Find:
{$baseurl}/members/{$listvideos[i].USERID}/{$listvideos[i].username}

Replace With:
{$baseurl}/members/profile/{$listvideos[i].USERID}/{$listvideos[i].username}


3. Open include/functions/main.php

Find:
$stripper = str_replace("\\n", "<br>", $stripper);

Add Below:
$stripper = str_replace("\\r", "<br>", $stripper);

Find:
?>

Add Above:
function insert_get_stripped_phrase2($a)
{
	$stripper = $a[details]; 
	$stripper = str_replace("\\n", "\n", $stripper);
	$stripper = str_replace("\\r", "\r", $stripper);
	return $stripper;
}


4. Open themes/mysentmessages.tpl

Find:
{$listvideos[i].message}

Replace With:
{insert name=get_stripped_phrase value=a assign=messagedetails details=$listvideos[i].message}{$messagedetails}


5. Open themes/memberprofile.tpl

Find:
<span class="metaLabelP">{$lang113}: </span>
<varP>{$profilearray[0].description}</var><br />

Replace With:
<span class="metaLabelP">{$lang113}: </span><br />
<varP>{insert name=get_stripped_phrase value=a assign=pdesc details=$profilearray[0].description}{$pdesc}</var><br />


6. Open themes/editprofile.tpl

Find:
<textarea name="description" rows=6 cols=45>{$memberarray[0].description}</textarea>

Replace With:
<textarea name="description" rows=6 cols=45>{insert name=get_stripped_phrase2 value=a assign=pdesc details=$memberarray[0].description}{$pdesc}</textarea>



7. Open themes/members.tpl

Find:
{elseif $listvideos[i].gender eq "2"}

Replace With:
{elseif $listvideos[i].gender eq "0"}


8. Open themes/channeldetails.tpl

Find:
{$channelarray[0].details}

Replace With:
{insert name=get_stripped_phrase value=a assign=cdetail details=$channelarray[0].details}{$cdetail}



9. Open themes/seriesdetails.tpl 

Find:
{$seriesarray[0].description}

Replace With:
{insert name=get_stripped_phrase value=a assign=sdetail details=$seriesarray[0].description}{$sdetail}


