Arthur
My First Thread
3
534
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
My First Thread
Hello World, This is my first thread. Everybody welcomed here....
This is my first time of posting a signature....
PHP Code:
<?php
/**
* MyBB 1.8
* MyCode buttons in Quick reply 1.0.0
* Author: Tomik
**/

if(!defined("IN_MYBB"))
{
die(
'This file cannot be accessed directly.');
}

$plugins->add_hook("showthread_start""buttonsquickreply");

function 
buttonsquickreply_info()
{
return array(
"name" => "MyCode buttons in Quick reply",
"description" => "This plugin add MyCode buttons in Quick reply.",
"author" => "Tomik",
"codename" => "buttonsquickreply",
"authorsite" => "https://community.mybb.com/user-124306.html",
"version" => "1.0.0",
"compatibility" => "18*"
);
}

function 
buttonsquickreply_activate()
{
require_once 
MYBB_ROOT."/inc/adminfunctions_templates.php";

find_replace_templatesets("showthread_quickreply""#" preg_quote('</textarea>') . "#i"'</textarea>{$codebuttons}');
}

function 
buttonsquickreply_deactivate()
{
require_once 
MYBB_ROOT."/inc/adminfunctions_templates.php";

find_replace_templatesets("showthread_quickreply""#" preg_quote('</textarea>{$codebuttons}') . "#i"'</textarea>');
}

function 
buttonsquickreply()
{
global 
$codebuttons;

$codebuttons build_mycode_inserter();
}
?>
This is my first time of posting a signature....
(17-10-2022, 05:56 PM)Arthur Wrote: Hello World, This is my first thread. Everybody welcomed here....
Welcome to our Website....
This is my first time of posting a signature....


Forum Jump:


Users browsing this thread:
1 Guest(s)