PHP Classes

File: upload/plugins/bulletinboard_bbcode_you/prepare_data.php

Recommend this page to a friend!
  Classes of James Brows   PHP Bulletin Board   upload/plugins/bulletinboard_bbcode_you/prepare_data.php   Download  
File: upload/plugins/bulletinboard_bbcode_you/prepare_data.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP Bulletin Board
Manage and post messages in multi-user forums
Author: By
Last change:
Date: 2 years ago
Size: 264 bytes
 

Contents

Class file image Download
<?php

function bb_bbcode_you_prepare_content($content)
{

   
$parseData=parse_shortcode_data('you',$content);

    if(
count($parseData) > 0)
    {
       
$content=str_replace('[you]',Configs::$_['user_data']['username'],$content);
    }


    return
$content;
}