PHP Classes

File: upload/plugins/bulletinboard_bbcode_random/hooks.php

Recommend this page to a friend!
  Classes of James Brows   PHP Bulletin Board   upload/plugins/bulletinboard_bbcode_random/hooks.php   Download  
File: upload/plugins/bulletinboard_bbcode_random/hooks.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: 601 bytes
 

Contents

Class file image Download
<?php

add_hook
('bb_prepare_post_content','bb_bbcode_random');
add_hook('bb_prepare_post_content','bb_bbcode_random_number');

function
bb_bbcode_random($content)
{
   
$filePath=PLUGINS_PATH.'bulletinboard_bbcode_random/prepare_data.php';

    require_once(
$filePath);

   
$content=bb_bbcode_random_prepare_content($content);

    return
$content;
}

function
bb_bbcode_random_number($content)
{
   
$filePath=PLUGINS_PATH.'bulletinboard_bbcode_random/prepare_data_number.php';

    require_once(
$filePath);

   
$content=bb_bbcode_random_number_prepare_content($content);

    return
$content;
}